🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Wiring for M5Stack Core2 and 4 channel relay module

    Core 2
    2
    2
    1.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      seguidor777
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • felmueF
        felmue
        last edited by

        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

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • First post
          Last post