Lauren Von Dehsen- A4

This circuit consists of 3 LEDs, a switch, a potentiometer, and a light sensing diode. The potentiometer acts like a tuner so values close to zero or 1023 (the max) produce a red light, and values around the average, 511ish, produce a green light. The light sensor controls the speed of the blinks so the more light, the slower the blink. And the switch, when pressed, turns off the circuit.

Arduino Sketch: code for analog circuit

Advertisements

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: