electronic chameleon

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

HOW ITS WORKS

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 

components needed for this project

connections

Color Sensor      Arduino
———–      ——–
 VCC               5V
 GND             GND
 s0                     8
 s1                     9
 s2                    12
 s3                    11
 OUT                10
 OE                GND

 s0 = 8
 s1 = 9
 s2 = 12
s3= 11
greenLed = 3
blueLed  = 4
red Led  = d2

download code

 chameleon body
.stl

Leave a comment