Arduino Tutorial 26: More Fun with Photo Resistors

In this lesson we create an audible signal where the tone of the signal is proportional to the brightness of the light in the room. We use a photoresistor to measure the light in the room, and then use a passive buzzer to create the audible signal. The video shows you how to hook everything up, and the code we use is below. Your code might be a little different, as the math will depend on the light values where you are.

If you want to follow along at home, you can order the Arduino Kit we are using HERE. The nice digital voltmeter used in the lesson is available HERE.