🤖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)

    Scheduled Pinned Locked Moved General
    34 Posts 5 Posters 20.5k Views 1 Watching
    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 Offline
      Kenzo @robski
      last edited by

      @robski I keep coming up with 140Kpa also...
      We must be missing something...

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

        just connect voltage to sensor and measure what voltage it is giving out between output pin and ground. for 0 kPa your raw Analog value should be around 1300 i think

        M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ, M5Tab, M5CardputerAdv, M5StackChan

        K 2 Replies Last reply Reply Quote 1
        • K Offline
          Kenzo @robski
          last edited by

          @robski - I think you hit on something there! I measured the voltage between the ground and the sensor and it came to around 1.1v which according to the graph should be around 0 Kpa. (see attached photos) Something is definitely strange...

          VoltageReading_1.jpg

          PressureGraph_1.jpg

          K 2 Replies Last reply Reply Quote 1
          • K Offline
            Kenzo @Kenzo
            last edited by

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

              Also here is the formula I was using to calculate Kpa

              So for 12 bit parameter, this gives a kpa resolution of 300Kpa/4096 bits or 0.0732421875 kpa/bit (73.2pa/bit)

              x = ( (0.0732421875 kpa/bit * Raw Value bit) - 100Kpa)
              x = ( (0.0732421875 kpa/bit * 3287 bit) - 100Kpa) = 140.7Kpa

              For the 16 bit parameter this gives a kpa resolution of 300Kpa/65536 bits or 0.00457763671875 kpa/bit (4.6pa/bit)

              x = ( (0.00457763671875 kpa/bit * Raw Value bit) - 100Kpa)
              x = ( (0.00457763671875 kpa/bit * 52600 bit) - 100Kpa) = 140.8Kpa

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

                @robski I sent an email to M5Stack Support about the possible issue with the Tab5 and Tube Pressure sensor BUT no response so far....

                kurikoK 1 Reply Last reply Reply Quote 0
                • kurikoK Offline
                  kuriko @Kenzo
                  last edited by

                  @Kenzo
                  This is an ADC problem. We are fixing UiFlow2 codes. Please be patient.

                  Good morning, and welcome to the Black Mesa Transit System.

                  K 2 Replies Last reply Reply Quote 0
                  • K Offline
                    Kenzo @kuriko
                    last edited by

                    @kuriko Thanks Kuriko for responding and taking a further look into the issue! Looking forward to testing out the updated version of UiFlow with the fix!

                    I will now wait quietly and patiently while your team works on an ADC fix.

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

                      @kuriko Just finished testing the latest release of UiFlow (v2.3.2 ).

                      The Kpa readings was better this time but the accuracy is not there yet... See attached photo.

                      Hopefully the next release will improve the accuracy of the Tube/Air sensor and Tab5...

                      VoltageReading_2.jpg

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

                        Just tested another release of UiFlow (version 2.3.3) for the Tab5... Unfortunately, I am seeing the same results that I saw with Version 2.3.2... -16Kpa without any air tubes connected to the M5Stack Air Tube sensor... Along with the i2c driver install error...

                        Hopefully M5Stack Team is getting close to resolving the issue... I was planning to use the Tab5 project I was working on for the M5stack Innovation contest but it looks like that will not happen due to the issues I am running into with finding an air tube sensor that will accurately work with the Tab5... Oh well... Hopefully the M5stack team will release an upgraded Air Tube sensor soon that will easily work with the Tab5... Until then, I will keep searching for a solution....

                        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