brightness Indicator - Photocell with Tweak

This setup takes the brightness from the photocell and displays it with 6 LEDs. To get rid of the ambient light there is a potentiometer "The Tweak"

The circuit: * LEDs from pins 2 through 7 to ground created 2006 by David A. Mellis modified 5 Jul 2009 by Tom Igoe This example code is in the public domain. http://www.arduino.cc/en/Tutorial/ForLoop

  • Photocell coming in on analog input based on examples from here http://www.ladyada.net/learn/sensors/cds.html

  • potentiometer coming in on analog input based on an example by Stefan Hermann http://fritzing.org/projects/color-fader/

By fabiantheblind
Created on October 9, 2011, 14:12

Category: Analog / Digital

Difficulty: amateurs

License:  Creative Commons Attribution 3.0 Unported License

Tags: photocell, potentiometer, led

Files

  • Print this
© 2007 - 2011 University of Applied Sciences Potsdam