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

    Possible issue with Tab5 and UiFlow v2.3.1 - (i2c driver install error)

    General
    3
    12
    101
    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.
    • K
      Kenzo
      last edited by

      I was trying to test the Tab5 with the M5Stack Tube/Air Pressure Unit sensor (U130).

      Unfortunately, every time I try to deploy and run a simple program to show the readings from the Tube Pressure sensor using UiFlow v2.3.1 I get a i2c driver install error and the program does not load on the Tab5. See attached images...

      Has anyone had success with using the Tab5 with the Tube Pressure sensor and UiFlow v2.3.1?

      Thanks!

      Tab5andTubePressureError_1.png

      Tab5andTubePressureError_2.png

      Tab5andTubePressureError_3.png

      Tab5andTubePressureError_4.png

      1 Reply Last reply Reply Quote 0
      • robskiR
        robski
        last edited by

        for start Tube Air Pressure unit is not i2c device, it gives out analog value... something not right with unit/tube pressure lib

        K 1 Reply Last reply Reply Quote 0
        • K
          Kenzo @robski
          last edited by

          @robski Ok, so I am not going crazy... I thought the Tube Pressure sensor was analog [PortB(GPIO)] but when tried to configure the settings for Tube Pressure port in the Unit window of UiFlow, the port it came up with was Port A(G54, G53, V, G) as the default port... See attached photos...

          Is there anyone at M5Stack support team we can reach out to regarding a possible bug with the Unit/tube pressure lib?

          DefaultTubePressurePort_1.png

          1 Reply Last reply Reply Quote 0
          • robskiR
            robski
            last edited by

            ports in general are configurable, some units have just one general port which can be analog, uart, I/O, i2c.... try to build project with diff analog sensor (even without this being connected) like potentiometer unit or something...

            K 1 Reply Last reply Reply Quote 0
            • K
              Kenzo @robski
              last edited by

              @robski Thanks again for responding to the post... I tried the Mini Angle Unit Rotary Switch with Potentiometer (SKU: U005) with a very simple code and the same error occurred... Very strange... I wonder if I am the only one having this error show up when trying to use Tab5 with UiFlow v2.3.1... Is anyone else seeing this error message occur when trying to use Tab5 with a M5Stack sensor unit in UiFlow v2.3.1?

              Tab5andAngleUnitError_1.png

              Tab5andAngleUnitError_2.png

              Tab5andAngleUnitError_3.png

              Tab5andAngleUnitError_4.png

              1 Reply Last reply Reply Quote 0
              • robskiR
                robski
                last edited by robski

                try with analog value, delete get voltage block

                on your original "tube pressure" example use raw analog value for start too

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

                  Hi guys

                  I tested M5Tab5 (running UIFlow 2.3.1) with all the units I have available and most of them worked ok.

                  Note: I also got the i2c driver install error, but it didn't cause I2C to actually fail.

                  GPIO units

                  • SSR - ok

                  I2C units (bus speed 100k)

                  • Env III - ok
                  • Env IV - ok
                  • ExtIO2 - ok
                  • Color LCD - ok
                  • OLED - ok
                  • PaHUB - Env IV - ok

                  I2C units (bus speed 400k)

                  • PbHUB - ok
                  • 4Relay - ok

                  Unit Gesture and AMeter did not work for me with either bus speed 100k or 400k. M5Tab5 seemed to hang in setup and a hard reset was required.

                  Thanks
                  Felix

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

                  robskiR K 2 Replies Last reply Reply Quote 0
                  • robskiR
                    robski @felmue
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • K
                      Kenzo @felmue
                      last edited by

                      @felmue - Thanks felmue for tube air sensor with your Tab 5 with UIFlow 2.3.1! So your UIFlow test program with the Tube air sensor connected to Port A successfully uploaded to the Tab5 and captured air pressure readings? If so, can you post a screen shot of your simple program you used to test the sensor with?

                      I wonder what is causing i2c driver install error to be generated.

                      I will give it another try with the suggestions robski made but if you could post your testing code that ran successfully that would great!

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

                        Hello @Kenzo

                        I think you might have misread my post. I do not have a Tube Pressure unit so I cannot test this case, sorry.

                        Thanks
                        Felix

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

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          Kenzo @felmue
                          last edited by

                          @felmue Yep, I read that wrong... my fault...

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kenzo
                            last edited by

                            Well I started doing the process of elimination and decided to compile a default blank Tab5 project in UiFlow v2.3.1 with no unit sensors and the i2c driver install error still occurred... See screen shots... So something else is trying to load the i2c drivers in UiFlow v2.3.1 for the Tab5 device and is having a problem installing it...

                            Question: Could this be a possible bug somewhere when it comes to Tab5 and the UiFlow IDE???

                            Tab5andTest4_Error_1.png

                            Tab5andTest4_Error_2.png

                            Tab5andTest4_Error_3.png

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