Pelican Parts Forums

Pelican Parts Forums (http://forums.pelicanparts.com/)
-   Off Topic Discussions (http://forums.pelicanparts.com/off-topic-discussions/)
-   -   Need a simple circuit (http://forums.pelicanparts.com/off-topic-discussions/915871-need-simple-circuit.html)

jyl 05-26-2016 08:19 PM

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?

rick-l 05-26-2016 09:28 PM

Cannibalize a solar light add a rectifier and use the battery/battery protection included?

jyl 05-26-2016 09:48 PM

But what about goal 2 then?

rick-l 05-26-2016 09:58 PM

When the battery voltage drops the protection circuit will shut it all down.

quint22cp 05-26-2016 11:10 PM

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
Petehttp://forums.pelicanparts.com/uploa...1464332999.jpg

Hugh R 05-27-2016 07:14 AM

You sure the generator produces AC, not DC? If AC I'd think the hertz would be dependent on hub speed.

rick-l 05-27-2016 07:22 AM

Quote:

Originally Posted by Hugh R (Post 9137381)
You sure the generator produces AC, not DC? If AC I'd think the hertz would be dependent on hub speed.

The frequency is dependent on speed. It gets rectified to DC before the LEDs


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?

jyl 05-27-2016 07:41 AM

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 . . .

rick-l 05-27-2016 09:28 AM

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

intakexhaust 05-27-2016 10:03 AM

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.

Hugh R 05-27-2016 11:56 AM

Quote:

Originally Posted by rick-l (Post 9137394)
The frequency is dependent on speed. It gets rectified to DC before the LEDs


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?

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.

rick-l 05-27-2016 01:44 PM

Quote:

Originally Posted by Hugh R (Post 9137771)
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.

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.

herr_oberst 05-27-2016 01:48 PM

Quote:

Originally Posted by rick-l (Post 9137939)
An incandescent bulb would not care.

Nor would it try very hard, ha ha! I remember those things being weak as kittens, no matter how hard I pedaled!

rick-l 05-27-2016 01:58 PM

Quote:

Originally Posted by intakexhaust (Post 9137599)
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.

The DW01, the FS8205 and the battery (click the battery data sheet from the Mouser website) are the main parts your after.

DW01 protection circuit https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUK Ewi6wOGMnvvMAhWG6CYKHRF-B6oQFggcMAA&url=https%3A%2F%2Fcdn.sparkfun.com%2Fa ssets%2Flearn_tutorials%2F2%2F5%2F1%2FDW01-P_DataSheet_V10.pdf&usg=AFQjCNESLW0teltQjoOZY1_fWn ENDIKgug&sig2=VIkgEFUTMehVDmcZRGEtkA&cad=rja



Dual MOSFET https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUK EwjqyfSZn_vMAhXLpYMKHffUDXYQFggcMAA&url=http%3A%2F %2Fwww.ic-fortune.com%2Fupload%2FDownload%2FFS8205A-DS-12_EN.pdf&usg=AFQjCNGVY7D-BO_HpylsuyYqepFWqa_95g&sig2=kt1apzIxXGLLise6XZB8wg &bvm=bv.122676328,d.eWE&cad=rja

Of course an estimate of how much power you need and how much is available would help also.


All times are GMT -8. The time now is 08:27 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website


DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.