Hello @alex9
it looks like yes, GPIO0 is TX pin for RS485. See pinmap here.
The platformio.ini example can be found here.
Running a quick search I did not find an RS485 example, sorry.
Edit: Maybe try this RS485 library.
Thanks
Felix
Forum wide moderators
Hello @alex9
it looks like yes, GPIO0 is TX pin for RS485. See pinmap here.
The platformio.ini example can be found here.
Running a quick search I did not find an RS485 example, sorry.
Edit: Maybe try this RS485 library.
Thanks
Felix
Hello @JohnSal
I think you only need to add one RGB unit but with number set to 6 instead of 3.
Thanks
Felix
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
Hi guys
I can confirm receiving IR from Unit IR is broken for M5Core2 as well.
Thanks
Felix
Hello @MitchBuckanon
like @robski mentioned, M5Dial has two ports: A and B which gives you 4 GPIOs you can use. In my test I configured the GPIOs like below:
#define ETH_PHY_CS 1
#define ETH_PHY_IRQ -1
#define ETH_PHY_RST -1
#define ETH_SPI_SCK 13
#define ETH_SPI_MISO 15
#define ETH_SPI_MOSI 2
Below is how I wired M5Dial to the LAN module (using a Bus Module) and some Grove/Dupont cables.

Hope this helps.
Thanks
Felix
Hello @HappyUser
ESP32P4 has 5 (five) UARTs. See here.
AFAIK all other ESP32 variants only have 3 (three) or less UARTs. (Of which the first one is used for debugging.)
Edit: ESP32S3 devices which have USB-C connected directly to the MCU (e.g. no dedicated USB-Serial chip) can use USB-C to debug (e.g. Serial) and still has 3 (three) UARTs free (e.g. Serial0, Serial1, Serial2).
Please find an example here.
BTW: are you aware of the fact that SIM76XXX is different from what is in IoT Base CatM (SIM7080G) and Atom DTU NBIoT2 (SIM7028)?
Thanks
Felix
Hello @HappyUser
glad to hear you figured it out.
Well, part of M5GFX is used to try to figure out which board is in use. See code starting from here. Maybe this detection went wrong somehow?
Thanks
Felix
Hello @HappyUser
hmm, both examples (w/o any modifications) work for me ok - no error.
Question: why are you using SPI.begin() in your code? I don't see that in the linked example.
Thanks
Felix
Hello @MitchBuckanon
Arduino Espressif library now contains Ethernet drivers for W5500 and it seems W5500 can be used without RST or INT.
I successfully ran ETH_W5500_Arduino_SPI example with Base LAN module connected to M5Dial via port A and B. I only needed to adapt SCLK, MOSI, MISO and CS to the proper GPIOs and set RST and INT to -1 (eg not used).
Thanks
Felix