In this lesson we show how to detect light levels with a Raspberry Pi and a photoresistor. The photoresistor is connected in a voltage divider to the ADC0834 AD converter, which then connects to the Raspberry Pi. The schematic of the circuit is below: