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

    Strange issue using 8Encoder with AtomS3 and TailBat

    General
    2
    2
    1.1k
    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.
    • D
      dozauk
      last edited by

      Hi
      I am brand new to the M5Stack (and hardware hacking in general) and love the potential.
      I have run into an issue on my first project (a custom lighting controller prototype).

      I have an AtomS3 connected to an 8Encoder.
      On direct USB power, the Atom recognizes the 8Encoder on I2C address 0x41 as expected in the spec and everything works fine.

      I want to make the prototype portable, so I got a TailBat to provide power on the go.
      The documentation says the Port.A pins are connected straight through, so everything should work the same.
      HOWEVER, when I connect the 8Encoder through the TailBat, the 8Encoder is no longer found on 0x41.
      Instead, when doing an I2C scan, I get a peripheral come up on 0x54, and my encoder is no longer recognized. (The encoder doesn't work on 0x54.)

      FURTHER, on disconnecting the TailBat, the encoder CONTINUES to "register as 0x54" (or whatever is going on) for a while even when connected directly to the AtomS3.
      I have no idea why or how this could be possible!

      My only guess is that something is happening in the signal path to mess with the encoder, and it is retaining some charge that means it doesn't reset for several minutes.

      If someone could shed some light on it, I would be grateful!

      Evidence..

      Connected directly - works!

      0_1700841988447_encworking.jpg

      Connected via TailBat - doesn't work

      0_1700841968241_encbatbroken.jpg

      Connected directly again - STILL doesn't work!!

      0_1700841976999_encbrokennobat.jpg

      ajb2k3A 1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3 @dozauk
        last edited by

        @dozauk Check the pins on the tail bat, I have had the grove connector that plugged into the atom fail on one battery.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

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