Hi guys
I now have the LTE-M modem fully integrated into M5Tab5 (including proper external antenna). Info here.
Thanks
Felix
Hi guys
I now have the LTE-M modem fully integrated into M5Tab5 (including proper external antenna). Info here.
Thanks
Felix
Hello @Boomvalt
I do not have an M5AtomS3R, but with my M5AtomS3 it works for me. See M5AtomS3_PaHUB_EnvIII_EnviV_UIFlow2.2.8 example in UIFlow2 Project Zone.
Make sure you power-cycle everything after changing the I2C address of PaHub. And maybe try another channel for the EnvIII unit?
Thanks
Felix
Hello @Boomvalt
PaHub and ENV III unit share the same I2C address 0x70 by default. See here.
Thanks
Felix
Hello @wrs642
from this and your previous post I would guess that there is no battery connected or it is not charged (enough).
Thanks
Felix
Hello @Schnoble
clever! Maybe you could put your modified version into an Execute mpy code (eg. import)
? This block can be found under System
.
Thanks
Felix
Hello @Schnoble
you are not doing anything wrong I think. The issue is with UIFlow2 firmware for M5AtomLite. As far as I can tell the default pins are for M5AtomS3 (Lite) and there is one additional pin, which cannot be set from the init block and it is set to a GPIO (8) only available in S3. See here.
BTW: I've created a PR for the issue. So hopefully it will be fixed in a future firmware version.
Thanks
Felix
Hello @smily77
I believe SDIO2 is used so the communication between ESP32P4 (master) and ESP32C6 (slave) can be exclusive, e.g. not shared with other slaves.
Thanks
Felix
Hello @robouden
hmm, running UIFlow2 on my M5CoreS3 and measuring current on USB-C I get about 140 mA / 5 V.
Is your M5CoreS3 maybe charging the battery?
Thanks
Felix
Hello @smily77
no, AFAIK there is no specific 'how to' for M5Tab5 - only the generic about how to build your own Arduino library using Arduino library builder or how to use Arduino as ESP-IDF component. See links above.
Thanks
Felix
Hi guys
the ESP32C6 is connected via SDIO bus to the ESP32P4 but unfortunately the GPIOs used in Tab5 differ from the GPIOs used by the ESP32P4 eval board.
In other words the pre-compiled Arduino library is setup to use SDIO GPIOs which do not match the Tab5 hardware.
So in order to use Arduino you'll need to pre-compile the Arduino library yourself using the Arduino library builder or setup the build system to use Arduino as ESP-IDF component. Both ways should allow to modify the SDIO GPIOs accordingly.
Note: the SDIO GPIOs used in Tab5 can be found here.
Thanks
Felix
Hi guys
please find some information and pictures of my M5Tab5 with soldered M5Stamp LTE-M module here.
Thanks
Felix
Hello @daniel-edge456
in UIFlow2 v2.2.6 using touch blocks for M5Paper and then look into the Python tab I get the following code to get touch coordinates:
if (M5.Touch.getCount()) > 0:
x = M5.Touch.getX()
y = M5.Touch.getY()
doing the same with power blocks I get:
Power.deepSleep(1000, True)
to put M5Paper into deep sleep.
Thanks
Felix
Hello @huanfai
looking at the soucre code for UIFlow2 device firmware I think authentication keys are fixed to default values. See here and here.
In ohter words I don't think the RFID blocks in UIFlow2 can handle anything different than default authentication keys.
Thanks
Felix
Hello @oracle_sod
ok, I see, the DFRobot version has an UART interface. M5ExtIO2 GPIOs can be set to multiple modes (input, output, ADC, servo, neopixel and PWM) but I am afraid none of these modes can be used for an UART connection.
According to the wiki page RX is used to select the mode, this could be achieved via M5ExtIO GPIO set as output.
However the TX line sends data with 9600 Baud, which I doubt M5ExtIO2 can handle.
That said, what is the reason you don't connect all three Ultrasound units directly to the M5Core? That would require 6 GPIOs.
And if you could live with the fact that all three Ultrasound units use the same mode you could get away with only 4 GPIOs, 1 GPIO to select the mode for all three units, and 1 GPIO for each unit to receive the UART data.
Thanks
Felix
Hello @oracle_sod
Note: I don't have the UltrasonicIO unit so my conclusions might be inaccurate.
Looking at the Arduino code, I see it uses a function called pulseIn()
which does some sort of timing. I doubt it exists on the EXTIO2 unit so you would have to emulate this functionality yourself.
BTW: I think an easier setup would have been a PaHub unit with three Ultrasonic (I2C variant) units connected to it.
Thanks
Felix
Hello @Robertof
hmm, using variables in MQTT publish works for me.
How are you testing your code? Make sure your test software uses a different MQTT client id than your UIFlow2 code, else the first registered client gets kicked out.
BTW: my example is in the Project Zone, named M5CoreS3_MQTT_4Relay_UIFlow2.2.5
Thanks
Felix
Hello @lenswerks
afaik Unit CatM GNSS (U137) uses a SIM7080G which can not use both, a LTE and GNSS, at the same time due to some shared RF circuitry.
See this posting on Stack Overflow.
Thanks
Felix
Hello guys
some ideas for the next version of M5StamPLC:
Notes for 1.: the existing ICs can be used by connecting output (P3) of (U5 PI4IOE5V6408) to the enable (EN) of (U4 LPW5209AB5F) instead of having EN tied to SYS_5V.
Notes for 2.: the existing ICs can be used by connecting output (P1_0) of (U4 AW9523B) to the enable (EN) of (U8 LPW5209AB5F) instead of having EN tied to PMU_5V.
Thanks
Felix
Hello @Krmiller
have you tried getType()
to determine the correct AXP? See here.
For AXP2101 you could try getVBUSVoltage
. See here.
Thanks
Felix