Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. emsea22
    E
    • Continue chat with emsea22
    • Start new chat with emsea22
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    emsea22

    @emsea22

    0
    Reputation
    4
    Posts
    498
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    emsea22 Follow

    Posts made by emsea22

    • RE: PbHub + 2-Relay Units - only 1 relay channel working?

      @felmue SOLVED - thanks for that - CH2 works as expected!

      posted in Units
      E
      emsea22
    • PbHub + 2-Relay Units - only 1 relay channel working?

      Hi - I have a PbHub with a 2-relay unit connected to (if it matters) CH5. The 2-relay unit works fine when connected directly to the Core 2 device/Port C, but when connected to the PbHub, only 1 or the two relays will switch.

      I'm using micropython and:

      pbhub_0.digitalWrite(5, 0, 0)
      pbhub_0.digitalWrite(5, 0, 1)

      -- works (off/on)

      pbhub_0.digitalWrite(5, 1, 0)
      pbhub_0.digitalWrite(5, 1, 1)

      -- doesn't do anything

      the 2-relay unit (confusingly) has labeled channels of 1 and 2 on the device, A and B on the schematic - and takes 1 and 2 as relay identifiers if you're controlling it directly (via Port A) the UI flow code/micropython is:

      relay2_0.set_value(1, 0)
      relay2_0.set_value(1,1)
      relay2_0.set_value(2,0)
      relay2_0.set_value(2,1)

      I'm considering addressing the PbHub directly or trying arduino code, but just wondering if there's some obvious reason I'm missing.

      -Thanks!

      posted in Units
      E
      emsea22
    • RE: IEXT.IO2 I2C address change

      Hi @felmue - thanks for that - although I have to admit it didn't help me quite as much as it ideally would. My vague understanding is that to flash the new address you attach an FTDI dongle to some of the pins - hope I don't sound completely incompetent, but was hoping for a tutorial...

      Thanks!

      posted in Units
      E
      emsea22
    • IEXT.IO2 I2C address change

      Hi - the EXT.IO2 says that it "Supports configuration of device I2C address, which means that users can mount multiple EXT.IO2 UNITs on the same I2C BUS to extend more IO resources." but I don't see any documentation on how to actually do this. Does anyone have a tutorial or explanation?

      Thanks!

      posted in Units
      E
      emsea22