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

    GestureUnit with AtomLite

    Scheduled Pinned Locked Moved Units
    4 Posts 2 Posters 5.3k 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.
    • W Offline
      water5
      last edited by

      Hi,

      I can't use the GestureUnit with the AtomLite.
      Is there anything I can do?

      I tried ...
      AtomLite & GestureUnit & some Arduino Lib -- failed!
      AtomLite & GestureUnit & UIFlow 1.8.9 -- failed!
      AtomLite(G25&G21 pins for i2c) & GestureUnit & UIFlow 1.8.9 -- failed!
      AtomLite & "TofUnit" & UIFlow 1.8.9 -- worked!
      M5Stack & GestureUnit & UIFlow 1.8.9 -- worked!
      M5StickPlus & GestureUnit & UIFlow 1.8.9 -- worked!
      Another AtomLite & GestureUnit & UIFlow 1.8.9 -- failed!

      I put only "gesture_0 begin" at UIFlow and I get below.

      Traceback (most recent call last):
      File "flow/m5cloud.py", line 82, in _exec_fun
      File "<string>", line 6, in <module>
      File "unit.py", line 144, in get
      File "<string>", line 1, in <module>
      File "units/_gesture.py", line 20, in init
      File "units/_gesture.py", line 26, in _available
      Unit: Gesture unit maybe not connect

      Thanks!

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

        Hello @water5

        hmm, not sure why it would fail when used with UIFlow. I assume you selected port A for the gesture unit, correct?

        Note: there is always the possibility something's broken in UIFlow. I don't have a gesture unit so I cannot test myself whether it should work or not with UIFlow.

        For Arduino it should work after disabling internal I2C (not used in AtomLite) and starting I2C on Groove port A with this statements in setup:

          M5.begin(true, false, true); // turn off internal I2C
          Wire.begin(26, 32); // Groove I2C on port A
        

        Thanks
        Felix

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

        1 Reply Last reply Reply Quote 0
        • W Offline
          water5
          last edited by

          Hello Felix,

          Yes, I use port A for the gesture unit.

          According to my results, I suspect that there is compatibility problem bitween AtomLite & GestureUnit.

          Does anybody use a AtomLite & a GestureUnit?

          Thanks.

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

            Hello @water5

            today I got my gesture unit and I can confirm that it works fine with M5Core2 but fails to work with M5AtomLite using UiFlow firmware 1.9.8.

            What I found however is, that the gesture unit starts to work with M5AtomLite as soon as I add another I2C unit. I also double-checked with an I2C scan: only gesture unit connected to M5AtomLite and the scan finds nothing. Gesture unit and PbHub connected to M5Atom and the scan finds both. Go figure...

            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