Wiring for M5Stack Core2 and 4 channel relay module



  • Hello I just acquired the M5Stack Core 4 and want to connect it to a 4 channel relay.
    I see that below the device there is a table which explains the name for each of the pins,
    My question is which GPIO pins do you recommend me to use to control the signals for each channel?
    I'm thinking on using G19, G33, G22 and G14 for this purpose but I'm not sure if they're suitable for this purpose, you can correct me if I'm wrong.

    Thanks in advance,
    Jorge



  • Hello @seguidor777

    the M5Core2 talks to the 4 channel relay module via I2C which only requires 2 wires. Check out the documentation. Also have a look at the example.

    Thanks
    Felix