Possible issue with Tab5 and UiFlow v2.3.1 - (i2c driver install error)
-
for start Tube Air Pressure unit is not i2c device, it gives out analog value... something not right with unit/tube pressure lib
-
@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?
-
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...
-
@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?
-
try with analog value, delete get voltage block
on your original "tube pressure" example use raw analog value for start too
-
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 -
This post is deleted! -
@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!
-
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 -
@felmue Yep, I read that wrong... my fault...
-
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???