CHZ Lighting - LED Street Light Manufacturer and LED Flood Light Factory Since 2013
Automatic street lamp control is used to control the street}void }
digitalW }
Copy and paste the code in the arduino new sketch folder and then compile and upload the program as shown in the figure.
Please click on the serial window located in the upper right corner of the Arduino IDE to view the results.
The results are displayed on the serial window.
When the light is insufficient, the light will glow automatically, and when the light is sufficient, the light will turn off automatically.
According to our room condition, the threshold we take for the LDR sensor is 100.
When we put one hand on the LDR (
No light is allowed on LDR)
Arduino turns on the LED automatically.
When we remove our hands on LDR.
The Arduino turns the LED off automatically.
Thanks, TechPonder.
Quick Links
CHZ Lighting Products
Contact Us
WHATSAPP :+86 159 2122 3752
Wechat: +86 159 2122 3752
SKYPE: jolina.li
Address : No.518, Xiangjiang Road,Shanghai, China