For this, I wanted to set up a situation where, when a button was pressed, the photoresistor would take a light reading and convert that to LED brightness. When the button wasn't pressed, the photoresistor would not engage and have a 0 reading (LED if off). The setup required a bunch of wires so the picture on the setup isn't very easy to see (I should use fritzing to do this!). A video of the button and sensor in action is below. As noted above, the photosensor needs to be covered with something really dark (a finger isn't enough) to get a noticeable reduction in light reading.
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .