Thank you for the reply, but I have already thought of that. the "decode" block removes everything other than the message (b'M105'\n -> M105)
Posts made by HWTaro9
-
RE: UART Equal function always returns false
-
UART Equal function always returns false
For context, I am trying to adapt a Marlin 3D printer smart screen by connecting it to M5Station Port.C1 and the UART response I am expecting (and that is being sent) is "M105". However when I compare the UART variable (which is the decoded UART response) to the code being sent "M105" it always returns false regardless.
Here is the snippet of code if it helps to diagnose:
uart1 = machine.UART(1, tx=14, rx=13)
uart1.init(115200, bits=8, parity=None, stop=1)while True:
if uart1.any():
UART = str((uart1.readline()).decode())
if UART == 'M105': #This erroneously returns false regardless
pass
wait_ms(2) -
RE: Cant get 5v output to work from a stripped down M5Core2. Urgent Help Needed
@NotInTheMafia The touchscreen uses i2C, so does the AXP192. What could be happening is an i2C bus error, due to the address of the touchscreen not being present, and no more data being sent to the AXP192, resulting in no power past that point.
-
i2c library bug
Every time I try to read from an i2c register on my core 2, using UiFlow 1.11.8 it shows this error:
File "<string>", line 29, in <module>
File "i2c_bus.py", line 79, in read_reg
OSError: I2C bus error (19) -
RE: multiple i2c bugs
@felmue page 4 in this document http://www.everest-semi.com/pdf/ES7210 PB.pdf
-
RE: M5 Matrix Newbie Setup - Always just flashing Green
If you just need the API Key, just connect it to your computer, open M5Burner, and select “configurate” button under the AtomMatrix firmware, select the serial port atom matrix is connected to, and it will show your API key on the next screen. To get to AP mode you need to plug in/turn on the atom while holding the button under the matrix until it turns yellow.
-
RE: multiple i2c bugs
Thank you very much for the info and code! But the reason I need to send a start command is because the microphone decoder only sends code after a start condition is sent, and I'm not sure that it is sent automatically.
-
multiple i2c bugs
I am trying to get the CoreS3's proximity and ambient light sensor to work in UiFlow2.0 and I am having these problems.
1: i2c "Generate START condition" block shows this error "OSError: I2C operation not supported"
2: i2c "Scan Device" block returns addresses, but the address for the LTR553 (0x23) does not show up.
3: You need an object with buffer protocol to send data via i2c but something with buffer protocol (like bytearray) does not work.Any help or bug fix/update is much appreciated!
-
Weird Push6060 problem
I modified my Push6060 to be 500mm tall, and I swapped the stepper motor, but now when I send an RS485 command, the blue light dimly flashes, and it does not do anything. Even when i query its current position, or ID, it returns "None". (I am using an ISO485 for interface) . Does anyone know why this would be happening?
-
M5f files are "Not supported" on some devices.
I cant import M5F files for core, core2 or paper devices, simply saying that their not supported. This bug mainly happens on mobile devices (Apple iPad 7th generation, Safari browser) and is hard to replicate on PC.
-
Is the RCA unit bi-directional?
Can the RCA unit receive data as well as transmit? I noticed a few extra components on the board that might prevent it from doing so.
-
Buttons For M5Paper!
Please add UiFlow buttons to M5Paper. Similar to Core2. As it is right now, its REALLY annoying to make a simple square toggle button. (If anyone already has a solution, please tell me it in the replys)
-
Better UiFlow Execute block
Maybe use exec(STRING) so you can use variables and other things to execute.
-
RE: [SOLVED] Execute code downloaded from MQTT/saved to EEPROM
I managed to solve this issue with this custom block
-
RE: Add a JTAG connection on future revisions & products
According to images released by M5Stack on Twitter CoreS3, and StickS3 will have JTAG debugging. I don’t think it’s going to be included with AtomS3 though, due to space constraints.
-
[SOLVED] Execute code downloaded from MQTT/saved to EEPROM
Is there a way to execute python code from MQTT/EEPROM in UiFlow. I am trying to make an OTA update system that maintains user customization. (I'm trying to make a phone-like program for M5Paper.)
-
RE: M5Stack UnitV1
The OV2660 version is EOL, but you can buy the OV7740 version here: https://shop.m5stack.com/products/unitv-k210-edge-computing-ai-camera-ov7740
(There are no noticeable differences between the 2 versions)