How to Use a Photoresistor!
Learn how to use a photoresistor in a matter of minutes!
Components and supplies
1
LED (generic)
1
Jumper wires (generic)
1
Arduino UNO
1
Resistor 10k ohm
1
Photo resistor
1
Breadboard (generic)
Apps and platforms
1
Arduino IDE
Project description
Code
sketch_mar11a.ino
arduino
This code basically checks if electricity is running through the photoresistor, and if there is, it should turn on the LED.
Downloadable files
Circuit Diagram
Wire up your circuits like this, and you should be good to go.
Circuit Diagram

Circuit Diagram
Wire up your circuits like this, and you should be good to go.
Circuit Diagram

Comments
Only logged in users can leave comments