Maker Pro
Maker Pro

Daylight-turn off

Mike_shams71

Aug 1, 2015
2
Joined
Aug 1, 2015
Messages
2
Hi everyone!
I want outdoor LED lights that work off a 5V DC power bank, but they need to automatically turn off when it's daylight. How can I do that?
Thanks for your ideas
 

Old Steve

Jul 23, 2015
734
Joined
Jul 23, 2015
Messages
734
I'd use an LDR connected to a comparator, with the comparator output switching the LEDs on/off.
(LDR = light-dependent resistor)
 

cjdelphi

Oct 26, 2011
1,166
Joined
Oct 26, 2011
Messages
1,166
I just created this basic circuit, the resistor value that changes is a light diode resistor (ldr) low resistance means high light level, high resistance would mean little light..

The two screenshots show the different states basically swap it for the ldr, if you need more power a darlington pair or maybe swap out for a mosfet
 

Attachments

  • Screenshot_2015-09-05-17-52-01.png
    Screenshot_2015-09-05-17-52-01.png
    165.9 KB · Views: 85
  • Screenshot_2015-09-05-17-52-36.png
    Screenshot_2015-09-05-17-52-36.png
    179.2 KB · Views: 106
Top