1
\$\begingroup\$

I wish to manufacture a flashing "signal light" which is activated when the light level is low.

It needs to operate on a 3 V battery.
The application is very cost sensitive so ICs such as LMC555 / 7555 don't suit the budget.

An NE555 costs about 20% of the above ICs but requires 5 volts and has current drain issues.

I need to add components like a photodiode or light dependant resistor (LDR) in the attached circuit to make the operation light sensitive so that it starts flashing after the sun sets.


Here is a circuit that I have experimented with. Can I use MOSFETs/FETs instead of BJT due to current drain?

Can anyone provide advice re improving this circuit, or a superior circuit that would meet my requirements

It uses flashing LED blinking, single color or non flashing LEDs. Where should I add the LDR?

The flash rate is 1.5 seconds, flash on time 30 milliseconds.

It flashes when the sun sets.

It uses two 1.5 volt D cell for a total of 3 volts.

The light should work for 20 days.


Modified circuitspedia diagram.

Single LED flasher.

On and off times settable by time constants of R1.C1 and R2.C2

enter image description here

\$\endgroup\$
18
  • 3
    \$\begingroup\$ I have undeleted and reopened this question and edited it to make it more understandable (to some people) - hopefully i still says what you intended. || IMPORTANT This is a way for you to gain reputation points and have your ability to ask questions reinstated by the system. || SO Even if you no longer have this requirement please make EVERY effort to address points raised by people, to improve the question with any relevant details that are not in it. \$\endgroup\$
    – Russell McMahon
    Commented Apr 30, 2023 at 13:05
  • 1
    \$\begingroup\$ Please add the answers to these questions to your question. Some of these are in the comments which were moved to chat. Most users will not see them there. || Q1 What is the desired on and off times? |Q2 If there are TWO LEDs then "1.5 seconds, flash on time 30 milliseconds." does not make sense. do you mean 1 LED only? |Q3 is flash time 30 mS on. 1.5 s off OR if not what do you want. | Q4 VERY IMPORTANT - what power or current do you want the LED to be on at when it is on? [A D cell is far larger than you probably need]. |Q5 Why D cells? \$\endgroup\$
    – Russell McMahon
    Commented Apr 30, 2023 at 13:12
  • 4
    \$\begingroup\$ Did you note this microcontroller suggested by @Spehro. It is available here for $US0.08 in 10s and $US0.053 in 1000's. 1933 in stock :-) ! datasheet here \$\endgroup\$
    – Russell McMahon
    Commented Apr 30, 2023 at 13:26
  • 1
    \$\begingroup\$ My 2 transistor low voltage flasher included in my answer here will probably do what you want. It MAY work for you on a single battery and will certainly work on two. Some "playing" would be required to get the required mix of brightness and inter-flash delay. \$\endgroup\$
    – Russell McMahon
    Commented May 1, 2023 at 11:45
  • 1
    \$\begingroup\$ @HarshitaKapur Your total requirement is still poorly defined, making providing the best possible advice hard. eg you say 20 mA LED current, duty cycle of 10% or less, night operation, 20 days battery life. At 12 hours a day x 20 mA at 10% I average is 20 x 12/24 x 10% = 1 mA. Over 20 days that's 20 mAh. = vastly less than the capacity of a D cell, or even an AA or AAA. AA alkaline cells at approx 3000 mAh capacity would operate for ABOUT 3000 days with no daytime current. Even at 1 mA quiescent that's 1500 days or about 4 years. || Can you provide a fuller task description in the question. \$\endgroup\$
    – Russell McMahon
    Commented May 2, 2023 at 12:45

2 Answers 2

1
\$\begingroup\$

A Joule Thief Flasher from "Watson"

I am a fan of "Rusty Bolt", AKA "Watson A. Name", also AKA "Acme Fixer", who has been somewhat diligent in spelunking the Joule Thief space of Electrical Engineering which I have also studied somewhat. Watson made a circuit, a Joule Thief modification, which should do exactly what you want, and I present it here.

2011-12-02 Watson’s Blue Blinky Joule Thief Flasher

Here is a partial screen shot of the page, which tells you where to add the CdS photocell (under "Daylight Shutoff" - across the emitter-to-base of Q3):

enter image description here

The Circuit

Here is the circuit itself:

enter image description here

My Verification

What now follows is my verification of the circuit in the very good free simulator LTSpice XVII, and the code itself for you to play with it:

enter image description here

Flash Close-up

a zoom-in on one of the "flashes":

enter image description here

Measurement

and a measurement of the current going through the LED at the time of the flash (about 36mA):

enter image description here

The Code (LTSpice file):

You can also take this "LTSpice code" and paste it into an "*.asc" file, perhaps named something like "Watsons Blue Blinky.asc" on a Windows machine, in the LTSpice directory. Then you can open it and play with it there. Enjoy! (and if you meet Watson, please thank him for me! ;-)

Version 4
SHEET 1 952 680
WIRE -544 -192 -624 -192
WIRE -496 -192 -544 -192
WIRE -384 -192 -416 -192
WIRE -144 -192 -384 -192
WIRE 272 -192 -144 -192
WIRE -544 -160 -544 -192
WIRE -384 -160 -384 -192
WIRE -144 -160 -144 -192
WIRE -224 -112 -256 -112
WIRE -208 -112 -224 -112
WIRE 160 -112 32 -112
WIRE -544 -80 -544 -96
WIRE 160 -80 160 -112
WIRE 272 -80 272 -192
WIRE -384 -48 -384 -80
WIRE -256 -32 -256 -112
WIRE -624 32 -624 -192
WIRE -144 32 -144 -64
WIRE -32 32 -144 32
WIRE 32 32 32 -112
WIRE 32 32 -32 32
WIRE -32 64 -32 32
WIRE 272 64 272 0
WIRE 432 64 272 64
WIRE -384 80 -384 32
WIRE -384 80 -496 80
WIRE 160 80 160 0
WIRE 432 80 432 64
WIRE -256 128 -256 48
WIRE -624 144 -624 112
WIRE -496 144 -496 80
WIRE 272 160 272 64
WIRE -384 176 -384 80
WIRE -336 176 -384 176
WIRE -320 176 -336 176
WIRE -144 192 -144 32
WIRE 160 208 160 160
WIRE 192 208 160 208
WIRE 208 208 192 208
WIRE -624 320 -624 224
WIRE -256 320 -256 224
WIRE -256 320 -624 320
WIRE -144 320 -144 272
WIRE -144 320 -256 320
WIRE -32 320 -32 128
WIRE -32 320 -144 320
WIRE 272 320 272 256
WIRE 272 320 -32 320
WIRE 432 320 432 144
WIRE 432 320 272 320
WIRE -624 352 -624 320
WIRE -496 352 -496 208
WIRE 32 352 32 32
WIRE 32 352 -496 352
FLAG -624 352 0
FLAG -544 -80 0
FLAG -336 176 Q2b
FLAG 192 208 Q1b
FLAG -224 -112 Q3b
SYMBOL ind2 256 -96 R0
SYMATTR InstName L1
SYMATTR Value 100µH
SYMATTR Type ind
SYMATTR SpiceLine Rser=0.001 Rpar=0 Cpar=0
SYMBOL voltage -624 128 R0
WINDOW 3 30 172 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 0 -68 57 Left 2
SYMATTR Value PULSE(0 1.5 0 100n 900n 5)
SYMATTR InstName V1
SYMBOL npn 208 160 R0
WINDOW 0 52 30 Left 2
WINDOW 3 53 62 Left 2
SYMATTR InstName Q1
SYMATTR Value BC337-25
SYMBOL LED 416 80 R0
WINDOW 0 -11 -34 Left 2
WINDOW 3 42 211 VLeft 2
SYMATTR InstName LED1
SYMATTR Value NSSWS108T
SYMBOL cap -560 -160 R0
WINDOW 0 -39 31 Left 2
WINDOW 3 39 32 Left 2
SYMATTR InstName C1
SYMATTR Value 10µ
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
SYMBOL res -608 128 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName SW1
SYMATTR Value 10m
SYMBOL res -400 -176 R0
SYMATTR InstName R2
SYMATTR Value 680K
SYMBOL res -400 -64 R0
SYMATTR InstName R3
SYMATTR Value 680K
SYMBOL npn -320 128 R0
WINDOW 0 56 26 Left 2
WINDOW 3 51 58 Left 2
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL cap -512 144 R0
SYMATTR InstName C4
SYMATTR Value 1µF
SYMBOL res -272 -48 R0
SYMATTR InstName R4
SYMATTR Value 68K
SYMBOL pnp -208 -64 M180
WINDOW 0 52 62 Left 2
WINDOW 3 50 32 Left 2
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL ind2 176 16 R180
WINDOW 0 36 80 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName L2
SYMATTR Value 100µH
SYMATTR Type ind
SYMATTR SpiceLine Rser=0.001 Rpar=0 Cpar=0
SYMBOL res 144 64 R0
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL cap -16 64 M0
SYMATTR InstName C5
SYMATTR Value 10nF
SYMBOL res -160 176 R0
SYMATTR InstName R5
SYMATTR Value 3.3k
SYMBOL res -512 -176 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R6
SYMATTR Value 1m
TEXT 136 -216 Left 2 !K1 L1 L2 0.95
TEXT 72 344 Left 2 !.tran 0 4s 0 1u startup
TEXT 360 88 Left 2 ;Blue\nLED
TEXT -120 144 Left 2 ;0.01µF
TEXT -600 -280 Left 2 ;circuit Watson's Blue Blinky Joule Thief by Rusty Bolt, AKA Watson A. Name, \nAKA Acme Fixer, circuit source: https://rustybolt.info/wordpress/?p=152

Disclaimer

I have not yet built this (but I'm about to). If anybody builds this, please let us know! Thanks.

\$\endgroup\$
5
  • 1
    \$\begingroup\$ Good low cost circuit with low quiescent current. "G" Search engine didn't show on first few pages, it was few weeks ago. \$\endgroup\$
    – user275107
    Commented May 1, 2023 at 5:09
  • \$\begingroup\$ @HarshitaKapur - Thanks. If you spelunk a little more on his site, he used another white LED instead of the Cadmium-Sulfide cell to turn off a blinker during daylight (because Cadmium is a hazardous substace and these photo cells can be hard to get). Here's the link: 2016-02-23 Joule Thief With Daylight Shutoff. HTH. Enjoy! \$\endgroup\$ Commented May 1, 2023 at 19:57
  • \$\begingroup\$ Interesting circuit, but there is no way that costs less than an LMC555 circuit. The transformer alone probably costs more than the chip. \$\endgroup\$
    – AnalogKid
    Commented May 2, 2023 at 13:47
  • \$\begingroup\$ @AnalogKid -- For typical industry, you're right. But toroid ferrites can be found cheaply, and the Joule Thief which is the core of this circuit, is typically custom-wound. If I were manufacturing a Joule Thief, I would try two cheap inductors and place them next to each other, or find a cheap toroid and add a secondary winding for the feedback (1K) side of the coupled-inductor. For more profit, it would be both less expensive and less labor to substitute the classic Joule Thief in this circuit with a Single-Inductor Joule Thief that should be easily found on the web. \$\endgroup\$ Commented May 3, 2023 at 4:41
  • \$\begingroup\$ @HarshitaKapur -- Did you ever build this circuit? How did it go? Did the circuit work for 20 days? Did you ever try the free LTSpice circuit simulator, and the file that I gave you above? \$\endgroup\$ Commented Nov 22, 2023 at 2:25
1
\$\begingroup\$

It sounds like what you want is called a "Joule thief" circuit. This is an LED flash circuit that runs on very low voltage and current, such as what is available from an almost-dead battery. Many of these circuits use an inductor or small transformer in a blocking oscillator. There are many schematics for these circuits on the internet.

https://en.wikipedia.org/wiki/Joule_thief

https://en.wikipedia.org/wiki/Blocking_oscillator

\$\endgroup\$
3
  • \$\begingroup\$ I have QX5252 IC for joulethief . But I need a different design altogether , like strobe pulse of 20 millisec every 1.7 seconds using low quiescent current mosfets and not transistors. Recently I have seen circuits using transistors for joulethief , \$\endgroup\$
    – user275107
    Commented Jul 23, 2022 at 14:20
  • \$\begingroup\$ @HarshitaKapur: Metal oxide semiconductor field effect transistors (MOSFETs) are transistors. Maybe you are trying to differentiate between MOSFETs and bipolar junction transistors (BJTs.) \$\endgroup\$
    – JRE
    Commented Jul 23, 2022 at 14:31
  • \$\begingroup\$ @JRE ty, transistors are understood as general purpose bjt while mosfets are specifically mentioned as mosfets. \$\endgroup\$
    – user275107
    Commented Jul 23, 2022 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.