GestureUnit with AtomLite



  • 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!



  • 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



  • 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.