Home     Contact     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS     Terms of services     Privacy policy  
   
 Home      Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science   


<< Back to INDEX

Colour Sensor [Project]
posted March 27 2014 4:42.48 by spic0m




Basically, the sensor consists of three LEDs and Light Dependent Resistor (LDR). The LDR will detect the colour and display it to another RGB LED. Besides display it on the RGB LED, the colour will also display on PC. RGB LED is commonly used in display colours on LCD or OLED such as the monitor and television.
There are actually many methods to detect colour, but using only LED and LDR should be the cheapest way to do this job. First, the LDR has to detect the contrast between black and white surface. To detect the colour, each LED takes turn to shine onto the surface and the Arduino will read the voltage on LDR.
Finally, the colour value will be used to display it on another RGB LED. The output RGB LED requires Pulse Width Modulation (PWM) pin on the Arduino. Since the PWM output on Arduino is 8 bit, this gives 8 bit resolution, 255 steps on each colour. The output is also displayed on the PC. Arduino will communicate with the PC through serial communication and pass the colour value to Processing. Some calculations will be done on Processing and display the colour on PC.



[Link: ZX LEE]
 
Share



You might also like...


GSM Interface with PIC16F877 [Project]

DIY Precision LC Meter with a PIC Micro [Project]

USB Condenser Microphone [Project]

An Excellent Switching Regulator Circuit Collection [Document]

You can DIY your Nokia phone Video cable

3D-Print your own hole measuring caliper cones

How about a cup of coffee with SMS printed on the cream???? [Video]

How to hack a wireless connection [Hack]


<< Back to INDEX



Comments

  Name

  Email (shall not be published)

  Website

Notify me of new posts via email


Write your comments below:
BEFORE you post a comment:You are welcome to comment for corrections and suggestions on this page. But if you have questions please use the forum instead to post it. Thank you.


      

No comment yet...

Be the first to comment on this page!












 Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Time for Science     RSS   

Site design: Giorgos Lazaridis
© Copyright 2008
Please read the Terms of services and the Privacy policy