He all,
Looking for the simplest design to run 1 LED and have it blink, powered by a button battery, with an on/off switch.
And I have a VERY tight space for all the parts: 3/8" x 3/8" x 1" with the LED at the top, and switch at the bottom.
Tiny circut to blink a light??
Moderators: Sparky, Moderators
- Johnnycrash
- Posts: 5563
- Joined: Fri Jul 12, 2002 12:57 pm
- Location: Timmins, Ontario, Canada
Tiny circut to blink a light??
John Fleming
I know that's not what the instructions say, but the kit's wrong anyway.
I know that's not what the instructions say, but the kit's wrong anyway.
- Richard Baker
- Posts: 16324
- Joined: Tue Feb 07, 2006 10:23 am
- Location: Warrior, Alabama
This site has flashing LEDs on different types- no circuit needed-
http://www.modeltrainsoftware.com/ledlights1.html
http://www.modeltrainsoftware.com/ledlights1.html
"The future is not what it used to be" - G'Kar
Things go wrong and bad things happen- that is just the way the world is-
It is how you deal with it that tells the world who you truly are.
“Censorship is telling a man he can’t have a steak just because a baby can’t chew it.” -Mark Twain
Deviant Art Gallery-
http://phaedrus-3.deviantart.com/
Things go wrong and bad things happen- that is just the way the world is-
It is how you deal with it that tells the world who you truly are.
“Censorship is telling a man he can’t have a steak just because a baby can’t chew it.” -Mark Twain
Deviant Art Gallery-
http://phaedrus-3.deviantart.com/
With that kind of space I could (and would, honestly) use one of my microcontroller boards:
Raven PCB project (a bit outdated)
The smaller boards are in the neighborhood of 9mm x 11mm and can be cut smaller (at the expense of some I/O pins)
Disadvantages:
Of course the easiest solution for a blinking LED, as Richard pointed out, is just to get a LED that has a blinky circuit built into it. There are a few limitations to going that route - it may limit your choice of what LEDs to use, you can't choose how fast the LED will blink or synchronize it to other LEDs - but if those limitations are OK for what you're doing, then that's a perfectly fine way to go.
Raven PCB project (a bit outdated)
The smaller boards are in the neighborhood of 9mm x 11mm and can be cut smaller (at the expense of some I/O pins)
Disadvantages:
- You need to know how to program a microcontrollers
- A microcontroller costs a few bucks, compared to the $1-$2 maximum that a blinky circuit should cost
- You have to solder the microcontroller to the board
- The microcontroller is pretty much the only component you need, and soldering it to a PCB makes for a pretty robust circuit
- If you want to do anything more complicated than a fixed-rate blink, a microcontroller makes that way easier.
- If you ever change your mind about how the LED should blink, a microcontroller makes that way easier, too.
Of course the easiest solution for a blinking LED, as Richard pointed out, is just to get a LED that has a blinky circuit built into it. There are a few limitations to going that route - it may limit your choice of what LEDs to use, you can't choose how fast the LED will blink or synchronize it to other LEDs - but if those limitations are OK for what you're doing, then that's a perfectly fine way to go.
---GEC (三面図流の初段)
There are no rats.
The skulls eat them.
There are no rats.
The skulls eat them.
- Johnnycrash
- Posts: 5563
- Joined: Fri Jul 12, 2002 12:57 pm
- Location: Timmins, Ontario, Canada