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

    GestureUnit with AtomLite

    Units
    2
    4
    4.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
      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
        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
          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
            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
            • First post
              Last post