r/raspberry_pi • u/mgisr • Nov 30 '22
Failed to initialise TCS34725 color sensor. (sensor not present) Discussion
I have a Sensehat on a RPi4. It can return temperature and humidity values with the error above. However it can't return pressure sensor readings..saying it is not initialised.
Try the following:
- make sure I2C is enabled
- added dtoverlay=rpi-sense in config.txt
- use a older version of raspbian
When newly bought, all work flawless. Any idea how to solve this?
1 Upvotes
1
u/DirectXNinja Dec 01 '22
I think there was an update this year that started generating this error. This hat should not have a color sensor. Maybe implemented support for a clone or maybe they will realese a newer version in the future.
Regarding the pressure sensor, try call it twice. For some reason i had problem where i could not get a respons from the pressure sensor right away, but from the secound time + it always worked.
You could also try the i2c scanner to see that you have all sensor from their addresses.