Flashing LED for 10 seconds using one 555 chip

WBahn

Joined Mar 31, 2012
33,354
That capacitor only charges once per operation, so its charge usage is negligible.
Possible, even probable. But it depends on how long he needs the battery to last (and just what battery is being used), as well as how often the circuit is activated. There's also the matter of leakage current, which generally increases with capacitor size. It sounds like the circuit will be unpowered most of the time, which mitigates this factor, but if there are times that it is powered for extended periods, that leakage current could add up pretty quickly. We simply don't have enough information to evaluate these things (or at least I don't, but they are things that the TS should be aware of. Since the TS seems to be concerned about parts count and, possibly, physical size, this might be being powered by something like an A27 12 V battery. Each cycle would remove about 4 mAs of charge. If he needs it to last a year and this is something that's going to get activated a few dozen times a day, then just charging that cap will deplete the battery. If it only gets activated once a day, then it would only account for about 2% of the capacity over a year.

Of course, I've assumed that it is battery powered (maybe carryover from another thread?) and I don't see where the TS has actually indicated how it is powered. If it's not, then this is a non-issue for this project, but still a consideration to be aware of for future projects.
 

WBahn

Joined Mar 31, 2012
33,354
12V is an absurd battery level if you ask me. Either it is 8 1.5V batteries or a power supply.
Why is it 8 1.5 V batteries instead of something like a single A27 or A23 battery, commonly used in remote controls, wireless doorbells, cigarette lighters, and quite a few other things?

The more relevant question is why 12 V in the first place? There is probably a more appropriate supply level, but we aren't given enough information to even guess.
 

74F00

Joined Oct 26, 2026
59
not necessarily... in a case like this MCU will need voltage regulator, which then will need in and out caps. then add R and C at reset pin... and still need resistor and LED. just saying that things do add up.
Try out PIC10F320. Its my personal favorite. Its one of the cheapest microcontrollers that you can put in a breadboard.
 

74F00

Joined Oct 26, 2026
59
I got it to be an 8 bit timer with shift registers for the inputs and outputs. One of my favorite parts is the puzzles in assembly! I know it also is the reason other people give up on it but it really is fun. (C is a bit too much for it) (I can show how I did it in more detail if anybody is wondering)
 

crutschow

Joined Mar 14, 2008
38,952
That depends on how often the user intends to power up the circuit.
Still will be very small compared to the total charge taken by the 555 and the LED during the 10 second flash interval, and the subsequent quiescent current if a bipolar 555 is used..
 
Last edited:

panic mode

Joined Oct 10, 2011
5,479
i have used MCUs for decades, and actively work of 4 projects right now that each use an MCUs. decade ago i was also using FPGA and did 60fps image compression (among other things). i think i know what MCUs and FPGAs can do. ;-)

but i also read TS post and see supply is 12V, yet several forum members are dismissing that for some reason. not that is impossible to put regulator inside MCU nut normally it is not there and normally supply voltage for MCU us 5V or less.
 

Thread Starter

spiral8

Joined Aug 5, 2024
38
Free download from Analog Devices.
..... snip .....
I have found many problems in my designs from their simulation before I actually built them.
I downloaded and installed LTspice. It is a wonderful piece of software.
Working on an even simpler version for my circuit.
One thing that I can't figure out with LTspice. Every time I click "play", it overlays the "Spice text output log" and I haven't been able to figure out how to stop that. Is there a way to stop the output log from popping up?
 

eetech00

Joined Jun 8, 2013
4,751
Which version of LTSpice are you using?
Mine is Version: LTSpiceXVIII

E
You should update to the latest V26.
You'll lose compatibility with some older V17 schematics but they can be fixed, and the V26 benefits outweigh the cost.
Since your simulating a lot for others, learning how to fix the V17 schematics is a plus.

Just a suggestion...
 

Thread Starter

spiral8

Joined Aug 5, 2024
38
Will the following astable 555 circuit flash the LED for 10 seconds on power on and then stop flashing until power off?
.... snip ....
Here's the explanation for why I want the flashing LED circuit:

I don't carry my cell phone with me while I'm at home. It's normally left at the charging station in our house whether it's being charged or not. (We rely on our landline phones in our house to hear ringing of incoming calls anywhere in our house.)

When I go out with our mini-van, I sometimes forget to bring my phone. So my idea is to install a circuit in a male cigarette adapter and plug it into the 12 volt power outlet on the dashboard. The circuit would flash for about 10 seconds when I start the engine and then stop flashing. The flashing would remind me to get my cell phone if I forgot to bring it.

Trying to find the minimum components that will fit in about 1 inch cube space in the cigarette adapter.

The voltage from the power outlet will vary from about 11.5 volts during engine cranking, and then go to about 14.3 volts when the alternator starts recharging the battery. I just showed 12 volts as the car's battery voltage for my circuit diagram.

I may need to protect the circuit from voltage spikes using an automotive transient voltage suppressor (TVS) and a 47 ohm resistor so that will also take up some space. Not really sure if these will be needed or not.

With this information, what's the minimum amount of components that will fit in about a 1 inch cube space to do the job? Schematic diagrams welcome.

NOTE:
I already tried putting a large reminder on a 8.5 x 11 sheet of paper on the door to our carport. I cease to notice it after a few days. I tried sticking a small note next to the start button in the mini-van. I cease to notice it after a few days. This is why I think a flashing LED will work as I won't be able to ignore it when starting the engine.

Also note that I have high frequency hearing loss. I'm not able to hear the higher frequency of small piezo electric buzzers so they are out. Plus they are much larger than a LED.
 
Last edited:

WBahn

Joined Mar 31, 2012
33,354
You should update to the latest V26.
You'll lose compatibility with some older V17 schematics but they can be fixed, and the V26 benefits outweigh the cost.
Since your simulating a lot for others, learning how to fix the V17 schematics is a plus.

Just a suggestion...
I'm using V17. What are some of the compatibility issues?
This is why I only update software when I'm really forced to. Not maintaining backwards compatibility is a pretty cardinal sin in my book. Plus, I hate having to figure out all over again how to do simple, common things because the developers always have to change stuff, seemingly just to justify their jobs.
 

Thread Starter

spiral8

Joined Aug 5, 2024
38
What I would do.
View attachment 372990
With 555 timer if you insist.
View attachment 372989
In your first circuit:
1. What's the purpose of the 1K resistor across the 12 volts supply?
2. Can you give a step-by-step explanation of how the P and N mosfets oscillate and how they stop oscillating after 10 seconds? I'll try to figure it out but I'm not familiar with mosfet operation. Thanks.

In your second circuit:
1. I'm not sure that 555 will oscillate to flash the LED. Will try to figure that out.

EDIT:
After analysis, it appears to me that neither your circuit-1 or circuit-2 will oscillate and flash the led. Appears to me that both will turn the LED on solid and then turn it off. Please correct if I'm wrong. Thanks for posting.
 
Last edited:

WBahn

Joined Mar 31, 2012
33,354
Here's the explanation for why I want the flashing LED circuit:

I don't carry my cell phone with me while I'm at home. It's normally left at the charging station in our house whether it's being charged or not. (We rely on our landline phones in our house to hear ringing of incoming calls anywhere in our house.)

When I go out with our mini-van, I sometimes forget to bring my phone. So my idea is to install a circuit in a male cigarette adapter and plug it into the 12 volt power outlet on the dashboard. The circuit would flash for about 10 seconds when I start the engine and then stop flashing. The flashing would remind me to get my cell phone if I forgot to bring it.

Trying to find the minimum components that will fit in about 1 inch cube space in the cigarette adapter.

The voltage from the power outlet will vary from about 11 volts during engine cranking, and then go to about 14.3 volts when the alternator starts recharging the battery. I just showed 12 volts as the car's battery voltage for my circuit diagram.

I may need to protect the circuit from voltage spikes using an automotive transient voltage suppressor (TVS) and a 47 ohm resistor so that will also take up some space. Not really sure if these will be needed or not.

With this information, what's the minimum amount of components that will fit in about a 1 inch cube space to do the job? Schematic diagrams welcome.

NOTE:
I already tried putting a large reminder on a 8.5 x 11 sheet of paper on the door to our carport. I cease to notice it after a few days. I tried sticking a small note next to the start button in the mini-van. I cease to notice it after a few days. This is why I think a flashing LED will work as I won't be able to ignore it when starting the engine.

Also note that I have high frequency hearing loss. I'm not able to hear the higher frequency of small piezo electric buzzers so they are out. Plus they are much larger than a LED.
The electrical environment of a car is very harsh, so some care has to be taken to protect IC circuits. I think that the 555 (at least the TTL version) is probably pretty resilient, but this might be a case where a simple discrete analog flasher might be best (or at least in the running.

You might try this circuit (I haven't built it up, so you may have to play around with the values to get the timing you want).

1793845145953.png

Note that this circuit won't simulate because it relies on the transistor operating in a regenerative reverse avalanche breakdown mode that few transistor models are designed to replicate. Also note that the emitter is connected toward the positive supply intentionally, as is the fact that the base is unconnected. I think these values should give you roughly a flash rate of around 1 Hz and should shut off after somewhere around 10 seconds.

When you turn off the car, this circuit probably will not flash if you start it back up any time soon, it may take a few minutes to discharge the capacitors. But, given the intended purpose, I don't think you'll care about this. It's always possible to add some stuff to discharge them more quickly, but why do it if it will work fine as is. Be sure to orient the capacitors correctly since they are electrolytics (and I didn't see a standard symbol in LTSpice that show polarity). I also don't know how sensitive it will be over the range of summer/winter temperatures it will be exposed to.

After it stops flashing, it will consume something around 6 mA. This shouldn't be a problem in an automotive application.

One thing you might object to is that there is a delay of a couple seconds or so before it starts flashing because C1 has to charge up. If you really want it to start flashing the moment you turn the key, some tweaking needs to be done.
 

Thread Starter

spiral8

Joined Aug 5, 2024
38
It can do that when there's a problem with your schematic.
What does it say?
Post a screen shot of it.
I created a new file in LTspice with just a 6v voltage source and three 1k resistors. Now clicking play does not pop up the output log. So I understand now that the output log pops up when there is something wrong. Thanks.
 
Top