MuTech RoboticsLearning Hub
Kids OK with adultESP32Level 2/3

Talking Colour Detector

Hold it against a shirt, press the button, and it says the colour out loud.

Sign in to save
Talking Colour Detector
Kids OK, with an adult

DIY project. Children must build this only with an adult (16+ years) beside them at all times. Not suitable for children under 8 years.

Plain, solid colours work best.

Strictly follow the description given with this video.

Video

The video link will be added here soon.

How it works

  1. Pressing the button starts a reading.
  2. The colour sensor measures red, green and blue light from the surface.
  3. The ESP32 picks the nearest colour name.
  4. The MP3 module plays that colour's voice clip on the speaker.

Parts you need

  • Colour sensor (I2C)× 1Buy
  • ESP32 development board (30-pin)₹518× 1Buy
  • Small speaker× 1Buy
  • Push button₹3.45× 1Buy
Kit for this projectPrice on request
Get the kit

Wiring

5V railMP3VCCGNDRXTXSPK1 / SPK2GNDrail(ESP32 D13)ESP32D26D253V3GNDD18D19SpeakerButtonColour sensorVINGNDSCLSDA
PowerGroundSignal
#FromConnect to
1 PowerMP3 VCC5V rail
2 GroundMP3 GND (pin 10)GND rail
3 SignalMP3 RXESP32 D26
4 SignalMP3 TXESP32 D25
5 SignalMP3 SPK1 / SPK2Speaker
6 SignalButtonESP32 D13 → GND
7 PowerColour sensor VINESP32 3V3
8 GroundColour sensor GNDESP32 GND
9 SignalColour sensor SCLESP32 D18
10 SignalColour sensor SDAESP32 D19
A wiring step from the video
A wiring step from the video

3D print files

This project has no 3D-printed parts.

Code

Get the code