Resources — colour sensor
Use MakeCode to Program the micro:bit with a TCS34725 Colour Sensor
ages 11+ BBC microbit BBC microbit v2 colour sensor makecode microbit microbit accessories microbit tutorials skittles sorting
This tutorial shows how to program the TCS34725 sensor which can be found in the Pimoroni Enviro:bit, Adafruit RGB and Flora sensor boards. These sensor boards all use the I2C ('eye squared see') protocol to communicate - this leaves lots of pins free on your micro:bit for controlling servo motors, LEDs, and even other I2C devices so you can build larger projects e.g., colour sorting machines, or robots. In this project, you will learn: how to set up the set up the Adafruit TCS34725 sensor with the micro:bit v2.x and makecode You will need: a micro:bit v2.x a Kitronik edge...