Photoresistors are used to control circuits by makng them reactive to light. Find out how they work, as well as how to build a circuit that includes one and some code to run the circuit in this quick lesson!

Photoresistors are designed using materials that react to light, allowing them to measure the amount of light in a room.  Learn how they work in the video below.

Build a simple photoresistor circuit with this diagram, and learn to put a photoresistor into any circuit.

Code your photoresistor with this code, and then see how the values change in the serial monitor when you change the light levels near it.