Arduino Color Recognizer

by teddysung517 in Circuits > Arduino

106 Views, 0 Favorites, 0 Comments

Arduino Color Recognizer

PXL_20210412_170653257.jpg

This work origin product is from here. I make some changes to improve this design. I add a button to let people can see more clearly what is the color that the sense recognize.

Prepare the Materials

  1. An Arduino UNO
  2. Several wires
  3. One LCD with I2C mod
  4. A TCS3200
  5. A button
  6. One metal film resistor

Circuit

PXL_20210412_173524745_2.jpg
PXL_20210412_173503783.jpg
PXL_20210412_173532799_2.jpg

S0 ==> pin D4

S1 ==> pin D5

S2 ==> pin D6

S3 ==> pin D7

OUT ==> Pin D8

VCC ==> +5V

GND ==> GND

SDA ==> Pin A4

SCL ==> Pin A5

Upload the Code

螢幕擷取畫面 2021-04-13 081125.png

Upload this code. Using the online Arduino editor or download the file.

But It in Box

PXL_20210412_170647097.jpg

Finish

Color Recogniser