Тёмный

Simple dusk detector for battery operated Christmas lights. 

bigclivedotcom
Подписаться 1,1 млн
Просмотров 42 тыс.
50% 1

This is a super-simple circuit that you can use to extend the battery life of Christmas lighting strings. Ideal for garden use where it's more convenient than running cables.
It's basically a waterproof box (a Tupperware style box) containing a battery pack and a light sensor based on any general purpose small transistor you can find. I used a 2N7000 FET but you can also use a BC547, 2N3904 or whatever you can find. In this circuit it has to be an NPN or N-channel transistor.
You'll also need an LDR (Light Dependent Resistor) also sometimes called a Cadmium Sulfide photocell. You probably have a scrap nightlight with a cadmium sulfide cell in it already, just ripe for scavenging. In some instances it may actually be cheaper to buy a product with a photocell in it than just the component on its own!
The circuit is simple. A resistor is connected between positive and the transistors base, then the photocell is also connected from the base to the negative. When there's a modest amount of ambient light the photocell conducts and pulls the base down, keeping the transistor off. When it gets dark the photocell goes high resistance and the transistor turns on. You can adjust the turn-on point by varying the resistor value. When the transistor turns on it pulls the LED strings negative to the battery negative and the other terminal for the LED string is connected to positive via a resistor to limit the current. (10 to 100 ohms depending on how bright you want them.)
Battery life is generally very good with this arrangement. And the circuit is great for the long strings of "copper wire" LEDs where two lacquered copper wires have surface mount LEDs tacked along their length and are dipped in resin.

Опубликовано:

 

17 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@rickyspecs
@rickyspecs 2 года назад
Having watched a ton of your other videos I have been impressed by the reverse engineering explanations you do. Sadly most of it goes straight over my head! This one though I understood, so now I’m on the lookout for more “my level” stuff that I can use to build things. I’m still going to enjoy being mystified and amazed and watching you blow things up and melt them! Great channel. Thanks
@Bosse8808
@Bosse8808 9 лет назад
To get the build last longer on batterys you can change that LDR to a IR phototransistor, and put it where the 100K resistor is and put a 1M ohm resistor where the LDR are, and you will improve battery life, just a thought. Great video!
@PunakiviAddikti
@PunakiviAddikti 8 лет назад
I have one led string still lit up after a month on 3 AA batteries! It's pretty dim but still lights up the dark sightly, just enough for a decorative lamp. I'm not kidding. The batteries were slightly dead to start with so yeah, it's still going.
@shaunsautorepairs5410
@shaunsautorepairs5410 4 года назад
As its wet n windy outside im tinkering in the garage. ive just made a set of these with my £1.50 set of lights from pound savers...3x AA batterys.. They come wired with a 20ohm resistor. So i changed that for a 39ohm i believe it was and a 150k for the other.. Seems to work ok. Had to use the 150k instead of the 100k because they didnt go out unless it was fairly bright. I can see lots more of these being made...thanks for sharing clive..
@bobhatcher5505
@bobhatcher5505 7 лет назад
A Christmas project. Great stuff Clive, thanks!
@me_asme
@me_asme 3 года назад
Brilliant little project guide... Cheers
@webchimp
@webchimp 8 лет назад
Aha, so handy, just what I'm wanting to make at the moment.
@kyoudaiken
@kyoudaiken 9 лет назад
Quite interesting. I try to figure out to remove the voltage divider on the base or gate of the transistor or FET. I wonder if it is possible to just add the LDR with a series resistor from positive 4,5V rail directly into the collector/base to prevent current flowing to the 0V rail. This will make the battery last much longer.... If it works. :D
@paratroy
@paratroy 7 лет назад
Clive could you do another video like this for a solar panels style build? Could you just add a solar panel for charging? In Australia it's pretty sunny all the time too! Cheers Troy
@edwardbaines5384
@edwardbaines5384 8 лет назад
Thank's for this I have used it on some old garden lights on which the circuit boards got corroded. I will also use it on Christmas lights too, I was wondering if could turn on a relay what do you think? I have learned a lot from you keep the good work up.
@paulmacgiollacaoine8619
@paulmacgiollacaoine8619 8 месяцев назад
very cool
@markae0
@markae0 Год назад
I am going to change this , change the LDR for a temperature dependant resistor and put it in/on my fridge, to let me know my fridge is working properly.
@bigclivedotcom
@bigclivedotcom Год назад
A fridge thermometer is very useful for temperature monitoring.
@waldenhouse
@waldenhouse 9 лет назад
Enjoying all your series' on varying projects. Have you written a book and/or made a portfolio of "hints tips and ides" at all?
@ChrisFredriksson
@ChrisFredriksson 8 лет назад
I really like these lights and I've watched I think most if not all of your string light videos as we've this year received these in stores pretty much everywhere. I haven't seen these in previous years, but might just be that I haven't been looking for them. Anyhow, great video by the way! =) But I got a couple of these now at home, runs off 4.5V / 3AA cells just like yours, they also feature a timer with 6h on and 18h off. Works more or less perfect! However, the batterylife comes down to around 6 or maybe 7 days. I'm thinking of sticking a 5V power adapter on it instead, I guess it shouldn't be a huge problem. But I'm not a huge fan of having these wall adapters plugged in 24/7.. So Have you thought of increasing the battery life on these in any way? Maybe solarpowered version? I watched your solarpowered meteor light video just a few minutes ago and I like it. However, I hate LiPo batteries ;) Any chance you would be interested in making a solarpowered version of these with some "safer" batterycell? I'm not completely sure, but it feels like rechargable AA are more "safe" than LiPo? Just a thought for a coming video, would be fun =)
@bigclivedotcom
@bigclivedotcom 8 лет назад
+Chris Fredriksson If you stick a resistor in series with the LEDs it will extend the battery life at the expense of initial intensity. Try something in the range of 10 to 100 ohms.
@ChrisFredriksson
@ChrisFredriksson 8 лет назад
+bigclivedotcom Is it that simple? I know quite "a lot" of electronics, no way near what you know for sure! But I mean, I know a good amount I guess.. =D However, just thinking of such an easy thing, that doesnt work for me =( But thanks! I really appreciate it, gonna try this tomorrow! =D Really appreciate the reply! =D
@-yeme-
@-yeme- 8 лет назад
i misread the title as duck detector and now Im disappointed :/
@veraxis9961
@veraxis9961 8 лет назад
Nice. Does this sort of layout result in the lights gradually coming on as it gets darker, or is it a fairly sharp turn-on? using a 10 ohm resistor (approximately 120mA max assuming a 0.3V min Vce?) might be on the high side for a 200mA-rated 2N3904, and a switching transistor like 2N2222 or 2N4401 might work better. A much more complex version of this would be to use a low power op-amp or comparator to drive the transistor, then use a 10-turn trimmer or something as a reference voltage to allow for fine tuning of the turn-on threshold for a specific location. One might even add in a feedback resistor to give it hysteresis on the turn on/off level, although then you would need to be extra careful to shield the LDR from the light from the LEDs to prevent the circuit from oscillating.
@bigclivedotcom
@bigclivedotcom 8 лет назад
It does turn on gradually. The circuit is designed for absolute simplicity as opposed to using a schmitt trigger and accurate threshold detecting.
@veraxis9961
@veraxis9961 8 лет назад
That makes sense. Absolutely nothing wrong with having a simple design, and a more complex circuit might have lower battery life, anyway.
@BCbikerhippy
@BCbikerhippy 2 года назад
Am I correct to suppose this would not work with a 2x AA cell (3v) string, having insufficient voltage for resistors?
@meowzic
@meowzic Год назад
I really wish you could remake this using the components because I have no fing idea what you're drawing
@CuteRock1995
@CuteRock1995 4 года назад
Hi, will any mistakes on wiring can possibly destroy the copper LED lights? also, if i make 3 set of fairy lights, can the LDR handle it all?
@KDubSanDiego
@KDubSanDiego 3 года назад
I wish I understood this as I really want to make this work for some battery powered LED lights in my little library. It seems like you need a LDR, a transistor, and a resistor, however, in your drawing there seems to be two transistors, one 10-100 ohms and the other 10k-100k? Is that ohms? It would really help to actually see the parts and how they are assembled instead of a drawing for people who are unfamiliar with circuit drawings.
@theoneohmresistor
@theoneohmresistor 3 года назад
Yes, there are two resistors, one for current limiting for the LEDs, and one for the transistor to turn on... The principle how the transistors work, is quite complicated, so let's just call the 100k resistor, the resistor for the transistor. Now about the lower value resistor, 10-100Ω (yes, ohm), the lower the resistance the brighter the LEDs will be. If you live in dark spots of the city (barely any street light), you will be ok with 100R (hundred ohm) resistor. Also depends on the number of LEDs... If you live in okay lighting, then 51/62Ω will be enough. You can always play around the resistance, and see what's working out for you.
@kd8fki
@kd8fki 7 лет назад
Can these be bought premade where you just hook a power source and whatever light in this voltage range? I have seen the ones for out door lighting and some the size or ardeuino but those seem a bit big looking for one that maybe found in a solar light maybe potted. Any suggestions,
@falfas55bgas
@falfas55bgas 5 лет назад
Clive, I'm trying to figure out how to power LED christmas lights with a Bosch 12V power tool battery. The AA battery style lights have too short a run time (180 hrs?) and the power tool batteries I have plenty of. I want to power them for at least a couple weeks. The strings made for AA batteries seem to be smaller lights on shorter strings. I'd like typical strings of at least 50 or 100 lights and be able to run at least two strings. It's been awhile since my circuits class but I understand more than the average lay person. I'm not sure of the LED's specs. What voltage it requires to determine the resistance needed. I also liked the daylight sensor circuit in this video. Can this be incorporated? If I know the specs on the parts, I have no problem building it. I have some pine trees on a hill in some horse trails and thought it would be neat to put red and white lights out there so when riders go through with the snow on the ground, it would be kind of magical.Cheers.
@bigclivedotcom
@bigclivedotcom 5 лет назад
For simple parallel strings that run from a battery pack you can use a USB power bank to run them for a long time if you add a series resistor. I looked at that recently when I made a video showing how to add a chopped USB lead to a string of dollar store lights.
@rimmersbryggeri
@rimmersbryggeri 9 лет назад
what about using a micro pot in series with the ldr?
@johnturner9561
@johnturner9561 7 лет назад
Great video BigC, will this circuit work on a 12 volt setup. I am wanting to mod a 10 watt rechargable work light with a 3 watt green led and install a six cell 18650 protected pack and charge it with a solar panel. Keep taking sh#t to bits, love it.
@darrylbuckingham7440
@darrylbuckingham7440 5 лет назад
I am installing red LEDs on a gate at someone's house on a dead end road, people keep running over the gate so I want to put self sufficient solar powered with a 12 volt backup battery powering the gate opener but I want the LEDs to only come on at night. To save battery life, will this work being powered from the 12 volt battery???
@meowzic
@meowzic Год назад
So is that a breadboard you have rhe components connected to?
@SICDavid
@SICDavid 6 лет назад
I’m a non electrical DIYer and I really like your video. I too live in a remote area and cars are parked outside with mice and wood rats seeking shelter. They heed light so your solution is great and would keep criders out from under my hood. Can I just buy a photocell and connect to the string of led lights?
@retrogamerjapanVids
@retrogamerjapanVids 8 лет назад
I built this circuit with a 2N3904 but had to use a 640K resistor with the LDR. The 100K resistor resulted in LEDs being always on. The 640K solution worked, but I was only getting about 2.6v to the LEDs. Is my LDR defective? thanks for the cool video.
@bigclivedotcom
@bigclivedotcom 8 лет назад
It might just be a less sensitive LDR, but you could always try a different one.
@richardsandwell2285
@richardsandwell2285 5 лет назад
Currently trying to build a similar circuit, I was trying to keep things simple, I like Mosfets, low resistance channels, and less power wastage, no moving parts to go wrong, however, I need to switch around 3-15 watts 12 volts from my 12-volt off-grid supply bank. I do not do lots of electronics, so I am not super clever with it. My test circuit uses a P-channel Mosfet an IRF9540N because I need to switch on the positive, high side of the circuit, however, I want it to function more like a proper dusk to dawn sensor, I am getting feedback issues with the circuit and also threshold point issues when it is not quite dark enough to fully trigger the Mosfet. What I really need is an Hysterisis adding, but I am not sure how to simply achieve this with resorting to more complex electronics. Any ideas anyone?
@townbell2248
@townbell2248 Год назад
Could you make a video you creating this project?
@joshnicoll6761
@joshnicoll6761 9 лет назад
technicaly they dont absorb water they adsorb it which means the moisture sticks to the surface of the silica
@darrylbuckingham7440
@darrylbuckingham7440 5 лет назад
I'm wanting to install red LEDs on a elderly lady's gate tied into her solar powered gate opener with a 12v backup battery. I only want the lights to come on at night to make sure the battery doesn't die, will this work connecting to the 12v marine battery???
@bigclivedotcom
@bigclivedotcom 5 лет назад
You can get 12V dusk sensor modules.
@markhodgson2348
@markhodgson2348 6 лет назад
Or a 2N3055 transistor haha great cuicuit Clive
@bm8292
@bm8292 3 года назад
Can the circuit be used with a 12v DC power supply
@bigclivedotcom
@bigclivedotcom 3 года назад
It should, but you can also get 12V dusk sensors.
@rogerbeck3018
@rogerbeck3018 5 лет назад
now watching again 2019. WouldClive comment upon waterproofness (or otherwise) of the led array?
@bigclivedotcom
@bigclivedotcom 5 лет назад
The copper wire LED strings with resin Bob LEDs are very weather resilient.
@rogerbeck3018
@rogerbeck3018 5 лет назад
@@bigclivedotcom excellent, thanks. [now you should sleep].
@stewartcaldwell5299
@stewartcaldwell5299 5 лет назад
Was this before the purple pen ?
@bigclivedotcom
@bigclivedotcom 5 лет назад
Same type of pen, but to colour of the barrel indicates the ink colour. I actually get the purple ones because I like the case colour, and then empty them and refill with black printer ink.
@JerryEricsson
@JerryEricsson 5 лет назад
I have done a LOT of your projects, and usually get all screwed up trying to convert from the BC547 to the 2N3904. Must be dislepsic or something but I came on a simple solution! It is now easier to just order the BC547's bulk off EBAY, they come just as quickly as the 3904's and there is no longer that pin out confusion for us old farts who's brains are no longer firing on all 8 cylinders (US Motorcars you know!) So now when a quick project comes up like these, I can just use the British version and all is once again right with the world, well until it comes to the damn 240v vs 120v again confusion reigns and i simply skip the project.
Далее
Simplest solar light possible, using old phone battery.
26:58
Photoelectric light controls are weirder than they seem
19:20
Apocalypse solar lighting system.
9:08
Просмотров 87 тыс.
The cause of the Bored Ape UVC eye burn incident?
11:00
How 3 Phase Power works: why 3 phases?
14:41
Просмотров 978 тыс.
The LED's Challenge to High Pressure Sodium
21:40
Просмотров 1,4 млн
YX805 - Solar Charge Controller?
13:11
Просмотров 55 тыс.
What La Niña Will do to Earth in 2025
19:03
Просмотров 74 тыс.
How to fix your low voltage LED Christmas lights
11:44