![]() |
|
|
|
Registered
|
Need a simple circuit
In need of a simple electrical circuit.
My bicycle has a generator hub, with two contacts, hot and ground. When riding at 10+ mph, it produces 6 volts AC and will drive two LED headlights wired in parallel. Voltage and frequency are speed dependent. At 7 mph it produces 5 volts, at 5 mph 3 volts. When the bicycle is stationary, such as at a stoplight, the hub produces 0 volts, obviously. Goal 1: to incorporate a rechargeable battery or super capacitor in the circuit, so that one (or if possible both) of the lights will stay illuminated for a few minutes when the bicycle is stationary. Goal 2: to switch power from both lights to only one light, when the hub voltage drops below 5 volts, then to switch power back to both lights, when hub voltage rises above 5 volts. Goal 3: to do this with common electrical components, all analog stuff, that even I can solder together. Goal 4: to fit this all in a very small, weatherproof box (ideally about Altoid tin size) that can be mounted to the underside of my front rack. Any ideas?
__________________
1989 3.2 Carrera coupe; 1988 Westy Vanagon, Zetec; 1986 E28 M30; 1994 W124; 2004 S211 What? Uh . . . “he” and “him”? |
||
![]() |
|
Registered
Join Date: May 2002
Location: St Louis
Posts: 4,211
|
Cannibalize a solar light add a rectifier and use the battery/battery protection included?
__________________
Rick 88 Cab |
||
![]() |
|
Registered
|
But what about goal 2 then?
__________________
1989 3.2 Carrera coupe; 1988 Westy Vanagon, Zetec; 1986 E28 M30; 1994 W124; 2004 S211 What? Uh . . . “he” and “him”? |
||
![]() |
|
Registered
Join Date: May 2002
Location: St Louis
Posts: 4,211
|
When the battery voltage drops the protection circuit will shut it all down.
__________________
Rick 88 Cab |
||
![]() |
|
Life moves pretty fast.
|
Hi John,
This will do what you want but you have left out some information that I have had to make a guess at. For C1 you can use a large electrolytic cap'. The bigger the cap' the longer the light stays on. As I don't know what light you are using I can't say how long. A super cap is better, but more expensive and they are relatively low voltage devices (usually 3.3V or 5V) If you apply more voltage then they will fail. It works like this. The variable a.c. voltage from you generator (alternator) gets rectified into a variable voltage d.c. and this lights LED D2. When the voltage is higher, the +ve input of the comparator (LM311) is > -ve and the output is HI turning on the MOSFET Q1 and so the second LED light. regards Pete ![]()
__________________
Twin plugging, you know it makes sense ![]() |
||
![]() |
|
Detached Member
Join Date: May 2003
Location: southern California
Posts: 26,964
|
You sure the generator produces AC, not DC? If AC I'd think the hertz would be dependent on hub speed.
|
||
![]() |
|
![]() |
Registered
Join Date: May 2002
Location: St Louis
Posts: 4,211
|
Quote:
Now you need to measure the voltage across the LEDs and the current through them (or a part number). Is there a current limiting resistor?
__________________
Rick 88 Cab |
||
![]() |
|
Registered
|
I don't have the LEDs in hand yet. They are supposedly designed for 6 volts and are advertised to have over voltage protection built in. Ordering them from the UK . . .
__________________
1989 3.2 Carrera coupe; 1988 Westy Vanagon, Zetec; 1986 E28 M30; 1994 W124; 2004 S211 What? Uh . . . “he” and “him”? |
||
![]() |
|
Registered
Join Date: May 2002
Location: St Louis
Posts: 4,211
|
I was thinking more along the line of a battery that you charge as you ride to cover slow moments.
If you use this all you would have to add is a way to limit charge to Capacity/5 (if you knew the alternator output) and a current limit resistor to the LEDs (if you knew what they were). It will shut off when fully charged and discharged. Look at the schematic on page 9 of the data sheet. This is to keep it from catching fire MIKROE-1120 MikroElektronika | Mouser
__________________
Rick 88 Cab |
||
![]() |
|
závodník 'X'
|
Take the guts out of a portable / emergency weather radio with LED flashlight, USB charger, etc. Powered by choice of generator, battery + ac/dc transformer.
Find them $15.
__________________
“When these fine people came to me with an offer to make four movies for them, I immediately said ‘yes’ for one reason and one reason only… Netflix rhymes with ‘wet chicks,'” Sandler said in a prepared statement. “Let the streaming begin!” - Adam Sandler |
||
![]() |
|
Detached Member
Join Date: May 2003
Location: southern California
Posts: 26,964
|
Bikes have come along way, when I was a kid 50 years ago, they were DC generators that were powered by a little wheel that rubbed against the tire. I guess with today's electronics, an alternator makes a lot of sense.
__________________
Hugh |
||
![]() |
|
Registered
Join Date: May 2002
Location: St Louis
Posts: 4,211
|
That little silver thing you clicked against the rear tire may have been just a magnet spinning in a coil of wire i.e. an alternator. An incandescent bulb would not care.
__________________
Rick 88 Cab |
||
![]() |
|
![]() |
Model Citizen
Join Date: May 2007
Location: The Voodoo Lounge
Posts: 18,823
|
Nor would it try very hard, ha ha! I remember those things being weak as kittens, no matter how hard I pedaled!
__________________
"I would be a tone-deaf heathen if I didn't call the engine astounding. If it had been invented solely to make noise, there would be shrines to it in Rome" |
||
![]() |
|