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

    UIflow support for Relay module bases?

    Units
    2
    2
    2.4k
    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.
    • W
      wkearney99
      last edited by

      Is there any way to use the M121 4-Channel Relay module in UIFlow?

      Is it going to use the same UIFlow Unit as the U097 4-Relay unit (that connects via Port A i2c)?

      The U097 has some added features (the LEDs, NO and NC) that the M121 does not.

      And if the M121 needs something different, how do I get that integrated with a UIFlow app?

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

        Hello @wkearney99

        I don't see 4-Relay module in UIFlow (yet).

        No, I don't think you can use the UIFlow for 4-Relay unit since the I2C registers are different. 4-Relay module uses register 0x10 to control the relay vs. 4-Relay unit uses register 0x11 to control the relay and LED (register 0x10 is a control register).

        Documentation for 4-Relay module. Documentation for 4-Relay unit.

        BTW: you could use the default I2C Master blocks (under Hardwares) to control the 4-Relay module.

        Thanks
        Felix

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

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