Components and supplies
1
LDR, 5 Mohm
1
Male to male wires
1
Arduino UNO
1
5 mm LED: Red
1
Resistor 220 ohm
1
Resistor 10k ohm
Tools and machines
1
Arduino IDE
Project description
Code
Code to see results and to connect LDR with arduino
c_cpp
This is Arduino code. Upload this code and see results!
Code to see results and to connect LDR with arduino
c_cpp
This is Arduino code. Upload this code and see results!
Downloadable files
LDR with Arduino UNO connection
Connect LDR with arduino with this diagram and also connect a LED with 220Ω to Arduino digital pin number '11' and you can connect buzzer also!
LDR with Arduino UNO connection

Comments
Only logged in users can leave comments