DIY Arduino Color Sensor

by Alexan24 in Circuits > Arduino

10256 Views, 45 Favorites, 0 Comments

DIY Arduino Color Sensor

274917_130336197539579980.jpg
PB231330.JPG

How to make a DIY Arduino Color Sensor

Parts

PB231303.JPG
PB231302.JPG
PB231304.JPG
PB231305.JPG

4 Leds (Green,Blue,Red,Yellow)

4 220ohm resistor

1 LDR

1 10k resistor

Female Pins

PCB

Cut the PCB

PB231297.JPG
PB231298.JPG
PB231307.JPG
PB231308.JPG
PB231309.JPG

Shape your design to the PCB. Then cut it. I used 3.5cm by 2.5cm

Start Soldering Part 1

Arduino Color Sensor schematic.jpg
PB231311.JPG
PB231312.JPG
PB231313.JPG
PB231314.JPG
PB231315.JPG
PB231316.JPG
PB231317.JPG
PB231320.JPG
PB231318.JPG
PB231319.JPG
PB231321.JPG

Start Soldering the Leds like the schematic.

Soldering Part 2

PB231324.JPG
PB231325.JPG
PB231327.JPG
PB231328.JPG
PB231334.JPG
PB231335.JPG
PB231323.JPG
Arduino Color Sensor schematic.jpg

Solder the LDR with the 10k resistor and the Pins like the schematic.

Connect It and Upload the Code

PB231336.JPG
Arduino Color Sensor schematic.jpg
sensors_color_3LEDs.jpg

Connect the Pins like the Schematic and Upload the Code.

Downloads

Done!!!

PB231337.JPG
PB231338.JPG
PB231331.JPG

After you have Upload the code, see how your DIY sensor finds the colours.If a colour matches,the led colour will flash 3 times.Hope you enjoy!!