circuitsbeginnerArduino Uno
Photoresistor Light Sensor
Photoresistor module: a 10 kOhm resistor from VCC to AO and the LDR from AO to GND. Brighter light = lower LDR resistance = lower voltage on AO, so the sketch inverts the reading into a light percentage.
What you'll simulate
- ✓Real Arduino Uno emulation — cycle-accurate, no hardware needed
- ✓2 interactive components on the canvas
- ✓Serial Monitor included — see output in real time