🤖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

    Scheduled Pinned Locked Moved Core 2
    2 Posts 2 Posters 2.2k Views
    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 Offline
      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 Offline
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post