Maker Pro
Maker Pro

Daylight-turn off

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
 
I'd use an LDR connected to a comparator, with the comparator output switching the LEDs on/off.
(LDR = light-dependent resistor)
 
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