unable to connect to CO2L unit
-
Have you updated to the Latest firmware for the Core2?
-
@m5stack I'm getting error 19 with latest UIFLow (1) firmware.
-
I think so: I installed the v1.12.3
-
I just checked and yes I agree that there is an issue with UIFlow.
-
I am placing another order tomorrow, and this is one of the units I was intending to add.
Does the slightly less pro version of this (the non-L version) have the same issue? Anyone know?
(and I realize the issue is almost certainly in the interface/UIFlow/libraries and not the unit itself)
-
@mtylerjr It likely works in Arduino IDE.
-
@mtylerjr Just tested the M5 demo example with my CO2 unit.. I don't have the L version, actually was not aware of its existence.
After a first run the sketch reported errors, the demo program uses Ubuntu font that does not exist on Core 2 UIFlow 1.12.3... I replaced all the labels fonts by default and yes the sensor works on Core 2 -
Thanks for checking!
I will be happy to make any additional test with my unit. It may be worth noting that on my first attempt (reproducing the example with default fonts just as @mtylerjr) I got the serial number (and nothing else) but that it was not reproducible: I got the error immediately after that first attempt.I can try to look with arduino UI, but I have no experience there, so it is likely to take some time.
In the meanwhile, I repeated the test with an ATOM Lite for the same result.
P.S.: I tried accessing the UNIT with bare I2C without success, but I have no working example to confirm that I am using the I2C blocks properly.
-
I managed to get the Arduino UI running with the CORE2 (using the M5Unified 0.1.9 and the Sensirion I2C SCD4X 0.4.4 libraries).
I took the example ino file and modified the header to use M5Unified.h instead of M5stack.h... and the problem seems to be there as well.
The first call to
scd4x.stopPeriodicMeasurement()
returns an error saying:Error writing to I2C bus
. Then it hangs apparently on the subsequentscd4x.startPeriodicMeasurement()
call, for what I can say. -
To close this topic: I have no problem with a newly ordered sensor. I was apparently unlucky enough that my first sensor was faulty.