munocat
Posts: 29
Joined: Wed Jan 16, 2019 12:28 am

Failed to initialise TCS34725 colour sensor

Tue Aug 09, 2022 11:51 pm

I am getting this error when I am running the example space_invader.py code.

I am on a Model 3A+

error:

WARNING:root:Failed to initialise TCS34725 colour sensor. (sensor not present)

what I am missing?

rooppoorali
Posts: 100
Joined: Sat Jul 16, 2022 3:45 pm

Re: Failed to initialise TCS34725 colour sensor

Wed Aug 10, 2022 3:41 am

Hi, have you re-checked your wiring? Have you selected I2C in the interfacing option of your PI?

pluthi
Posts: 1
Joined: Mon Aug 22, 2022 1:41 pm

Re: Failed to initialise TCS34725 colour sensor

Mon Aug 22, 2022 1:46 pm

Unless I am mistaken, there are 2 versions of the sense hat board:
version 1.0 without color sensor (before 2022?)
version 2.0 with color sensor[/list][/list]
the Python library has been updated and apparently incorporates this change...

Return to “Astro Pi”