Posts
-
RE: MQTT connection
-
RE: ⚠️ M5Stack Core2 v1.3 - Ouroboros-like power loop -
Hello @YO3HJV
yes, I measured the current from the battery with this mA-meter and also used the AXP192 registers.
Thanks
Felix -
RE: ⚠️ M5Stack Core2 v1.3 - Ouroboros-like power loop -
Hello @YO3HJV
glad to hear you figured it out.
I was just setting up a test to see if I get this 400 mA power loop too with my M5Core2; but I do not.
When I set input mode I see about 82 mA drawn from the battery. When I set output mode I see about 99 mA drawn from the battery. (Note: an LED is connected to the Grove port.)
In case your still interested in my UIFlow2 test program. It's in UIFlow2 Project Zone called: M5Core2_Input_Output_Test_UIFlow2.4.6
Thanks
Felix -
RE: Stufenlose Drehzahl einer Pumpe
-
RE: Stufenlose Drehzahl einer Pumpe
Hello @studi97
ja, ich denke, das ist machbar; allerdings hat M5Stack, soviel ich weiss, keinen wasserdichten Temperatursensor im Sortiment.
Moegliche Komponenten:
0-10V Steuerspannung: M5Stack Unit DAC2.
Wasserdicher Temperatursensor: DS18B20
Viel Erfolg!
Thanks
Felix -
RE: M5PaperColor: Can't read both SHT40 and battery data?
Hello @Shipbrook
M5Unified uses Wire1 for internal I2C and Wire for external I2C.
The example for SHT40 incorrectly uses Wire which causes issues as soon as other internal I2C communication is required, e.g. reading battery status.
The quick way to fix this is replacing Wire with Wire1 in below line:
//if(!sht4.begin(&Wire, SHT40_I2C_ADDR_44, SHT_SDA_PIN, SHT_SCL_PIN, 400000U)) if(!sht4.begin(&Wire1, SHT40_I2C_ADDR_44, SHT_SDA_PIN, SHT_SCL_PIN, 400000U))The better way is to get the actual port used by M5Unified for internal I2C and the use that information:
i2c_port_t PortIn = M5.In_I2C.getPort(); TwoWire * WireIn = (PortIn == 1) ? &Wire1 : &Wire; if(!sht4.begin(WireIn, SHT40_I2C_ADDR_44, SHT_SDA_PIN, SHT_SCL_PIN, 400000U))Thanks
Felix -
RE: atomdtu2-NB-IOT sim7028 not working
Hello @daniyyel
ah, ok. So the correct documentation is here.
Have a look at the code examples in Quick Start Guide to see how the M5IOE1 needs to be programmed to turn on power etc.
The function is called
SIM7028_EN()and first turns on power then resets the modem.Thanks
Felix -
RE: atomdtu2-NB-IOT sim7028 not working
-
RE: Using M5Stack GPS Module v2.1 (ATGM336H) with Raspberry Pi Pico — No UART Output
Hello @obolland
according to the schematic GNSS_TX becomes M5-RXD which is then available (depending on set dip switch) on GPIOs: 3, 13, 16, 34 or 35 which translates to pins 13, 22, 15, 26 or 2 on the M5 Stack bus.
BTW: Since you are not stacking the module you can set all dip switches to 'on' at the same time (if you like).
Note: I do not have the M5Stack GPS Module v2.1 so I cannot test this myself.
Thanks
Felix -
RE: StamPLC Run Issue
Hi guys
it looks like another unfortunate regression. If I burn UIFlow2 firmware 2.4.2 onto my M5StamPLC I can control the relay and LED just fine.
Unfortunately the UIFlow2 firmware source code in github repository uiflow-micropython (at the time of writing this) is still on version 2.4.2. So it's impossible to tell what has changed between 2.4.2 and 2.4.3 causing this issue.
Thanks
Felix -
RE: paper s3 micropython example for Power.lightSleep()
Hello @jhfoo2
well, in my experience and with my M5PaperS3 it takes a couple of readouts (e.g. M5.update()) until the return value from the touch controller goes back to 0.
Please let me know if you find a more elegant solution.
Thanks
Felix -
RE: paper s3 micropython example for Power.lightSleep()
Hi @jhfoo2
well, in my case, without the 1 second delay the UI label wasn't fully updated on the display. Or in other words, ESP32 already went into light sleep while in the background the display was still finishing to update. (In your case it might be ok without the delay as the
print()takes some time.)Edit:
I think the reason for not getting the touched X, Y is that internally the wake-up code already read the touch IC registers and by doing so cleared the values. But I could be wrong about that as it is simply a guess.I updated my example M5PaperS3_Light_Sleep_Test_UIFlow2.4.3 in the UIFlow2 Project Zone to read touch coordinates after wake-up from touch. It's a bit tricky as
M5.update()needs to be called repeatedly until the number of touch points drops back to 0.Thanks
Felix -
RE: The Stick S3 makes soft clicking noises.
Hello @Wambo6000
maybe you are hearing what's described on the product page here: "Abnormal Device Noise".
Thanks
Felix -
RE: paper s3 micropython example for Power.lightSleep()
Hello @jhfoo2
please have a look at the UIFlow2 Project Zone example I created: M5PaperS3_Light_Sleep_Test_UIFlow2.4.3
Thanks
Felix -
RE: M5Burner and commenting FWs
Hi guys
I looked at some of the comments - they are all dated from last year. I did not see anything recent. That makes me believe that the commenting feature has been turned off.
Thanks
Felix -
RE: ESP32 and RS485
-
RE: RGB unit issues
Hello @JohnSal
I think you only need to add one RGB unit but with number set to 6 instead of 3.
Thanks
Felix -
RE: UIFlow 2.0 + Cardputer ADV, where is the GPIO 14pin header support?
Hello @hotellonely
yes, it looks like the drop-down box needs fixing. In the mean time you can use all GPOs on the 14 pin header via some custom code blocks.
I created an example in UIFlow2 Project Zone called M5CardputerAdv_ExtPin_Test_UIFlow2.4.2
Thanks
Felix
