TINKER PIEDESIGN IN INDIA

Colour sensor TCS34725 with TinkerPie

Hold an object over it and read its colour.

TypeSmart sensors (I2C)
Connect toSENSOR port · 0x29
Givescolour, or 0-255 per part
SimulatorYes: a control appears under the simulated board

How to wire it

Plug into any SENSOR 1-4 port (SDA, SCL, 3.3 V, GND). Each type has a fixed I2C address, so different types can share the bus.

Code

In blocks: Accessories category in TinkerPie Studio. As code:

// JavaScript
sensors.colourSensorColour()
sensors.colourSensor(ColourPart.Red)

// Arduino C++
sensors::colourSensorColour()
sensors::colourSensor(ColourPart::Red)

Projects with the Colour sensor TCS34725

Colour detectiveHold something over a TCS34725 colour sensor: the whole matrix lights up in its colour.Sensor projects

Similar modules