hey..all of you know about the chameleons.yeay they have a special character to change their colour according to with the environments biologically this is known as mimicry. they use this ability to escape from predators and also to capture their prey.
so in this tutorial I am replicate that ability electronically with the help of Arduino and colour sensor please watch the making and working video first
now lets start
Step 1: How Its Work
with the help of tcs230 sensor we can read the reflected colour values of a surface with that data we can control an RGB led
Step 2: Components Needed
1.arduino nano-https://s.click.aliexpress.com/e/_d6wh1xH
2.tcs 230 colour sensor-https://s.click.aliexpress.com/e/_dVxe3J9
3.common cathode RGB led-https://s.click.aliexpress.com/e/_dV8mwP1
4.jumper wires-https://s.click.aliexpress.com/e/_dSRayV5
5.breadboard-https://s.click.aliexpress.com/e/_dY1Flg1
Step 3: Circuit Diagram
Step 4: Connections
Color Sensor Arduino
----------- --------
VCC 5V
GND GND
s0 8
s1 9
s2 12
s3 11
OUT 10
OE GND
LED CONNECTIONS
greenLed = 3
BlueLed = 4
red Led = d2
Step 5: Code
Step 6: 3D Printed Body and Form Board Base
PLEASE WATCH VIDEO FOR DETAILS
chameleon body
Comments