153
edits
No edit summary |
|||
| Line 32: | Line 32: | ||
* drilled and milled the LED lense mounts. | * drilled and milled the LED lense mounts. | ||
* purchased parts from DigiKey | * purchased parts from DigiKey | ||
* made | ** LT3008ETS8-2.5#TRMPBFCT-ND | 1 | 2.19 | 2.5V Voltage regulator | ||
* two | ** DFLS130LDICT-ND | 7 | 0.252 | 30V | 1A Schottky Diode | ||
** 568-7420-1-ND | 4 | 0.32 | MOSFET N-CH 30V 4.9A 6TSOP | |||
** MMSZ4680T1GOSCT-ND | 1 | 0.19 | DIODE ZENER 2.2V 500MW SOD-123 | |||
** SMBJ5361B-TPMSCT-ND | 2 | 0.63 | DIODE ZENER 5W 27V SMB | |||
** 445-1386-1-ND | 1 0.17 | CAP CER 4.7UF 10V 10% X5R 1206 | |||
** PDV-P5001-ND 1 | 1.3 | PHOTOCELL 8K-16K OHM 11MM | |||
** 311-10.0KFRCT-ND | 10 | 0.01 | RES 10.0K OHM 1/4W 1% 1206 SMD | |||
** 311-825FRCT-ND | 1 | 0.02 | RES 825 OHM 1/4W 1% 1206 SMD | |||
* made [http://wiki.london.hackspace.org.uk/w/images/f/f1/Bikelight_09_s.png schema] | |||
* two board layouts, I havnt worked out how to print them yet. | |||
==Thiking progress== | ==Thiking progress== | ||
| Line 104: | Line 113: | ||
Start software development... the easy bit. | Start software development... the easy bit. | ||
==Switches for LED current== | ==Switches for LED current== | ||
* This [http://uk.farnell.com/nxp/pmn34un-135/mosfet-n-ch-30v-4-9a-sot457/dp/1758106 PNM34UN] is 2A mosfet, with Rds of 0.08 at 1.8V throu to about 0.05 at 4.5V; max Vds of 30V; £0.16 each. there are several similar parts at Vds 30V for a bit more money. [http://www.digikey.co.uk/product-detail/en/PMN34UN,135/568-7420-1-ND/2698079 digikey ] is more expensive for this part. | * This [http://uk.farnell.com/nxp/pmn34un-135/mosfet-n-ch-30v-4-9a-sot457/dp/1758106 PNM34UN] is 2A mosfet, with Rds of 0.08 at 1.8V throu to about 0.05 at 4.5V; max Vds of 30V; £0.16 each. there are several similar parts at Vds 30V for a bit more money. [http://www.digikey.co.uk/product-detail/en/PMN34UN,135/568-7420-1-ND/2698079 digikey ] is more expensive for this part. | ||
==Voltage regulator for the MCU== | ==Voltage regulator for the MCU== | ||
Needs to operate of a widely varied supply voltage. The dynamo generates a voltage proportional to the bike speed. Potentially reaching hundreds of volts. And the higher the voltage climbs, the more power I can use in the LEDs! Many components to deal with 0.5A are specced at about 40 to 60V - so that is a very high limit for the working voltage. A chain of 6 LEDs would need 24v. My plans are for 3 LEDs in a chain - so 20V is a good target. | Needs to operate of a widely varied supply voltage. The dynamo generates a voltage proportional to the bike speed. Potentially reaching hundreds of volts. And the higher the voltage climbs, the more power I can use in the LEDs! Many components to deal with 0.5A are specced at about 40 to 60V - so that is a very high limit for the working voltage. A chain of 6 LEDs would need 24v. My plans are for 3 LEDs in a chain - so 20V is a good target. | ||
* [http://www.digikey.co.uk/product-detail/en/LT3008ETS8-2.5%23TRMPBF/LT3008ETS8-2.5%23TRMPBFTR-ND/2074413 LT3008 2.5V fixed] from Digi-Key. Is easier to check for alignment on board. Doesn't need the resister network. And is cheaper. | * [http://www.digikey.co.uk/product-detail/en/LT3008ETS8-2.5%23TRMPBF/LT3008ETS8-2.5%23TRMPBFTR-ND/2074413 LT3008 2.5V fixed] from Digi-Key. Is easier to check for alignment on board. Doesn't need the resister network. And is cheaper. | ||
| Line 137: | Line 127: | ||
This diode should allow be low voltage drop - to get the LEDs working at lower speeds. | This diode should allow be low voltage drop - to get the LEDs working at lower speeds. | ||
Need to be >10V barrier. Higher barrier gives higher drops. So chosen 15V barrier diode. | Need to be >10V barrier. Higher barrier gives higher drops. So chosen 15V barrier diode. | ||
* [http://www.digikey.co.uk/product-detail/en/DFLS130L-7/DFLS130LDICT-ND/673203 digikey 1A 30V 0.31 voltage drop] £0.38/1 £3/10 | * [http://www.digikey.co.uk/product-detail/en/DFLS130L-7/DFLS130LDICT-ND/673203 digikey 1A 30V 0.31 voltage drop] £0.38/1 £3/10 | ||
| Line 150: | Line 138: | ||
== 20V, 30V or 60V diode bridge. == | == 20V, 30V or 60V diode bridge. == | ||
Since the voltage out of the dynamo is essentially a function of the road speed, it could be quite high. | |||
Since the voltage out of the dynamo is essentially a function of the road speed, it could be quite high | |||
A pair of zener diodes across the output of the dynamo - before the rectifier can discard the extra power. | |||
Two 5W 27V zeners will each conduct when the voltage exceeds 27V + Vf of the other diode (1.1V maybe). | |||
== MCU programming == | == MCU programming == | ||
| Line 173: | Line 153: | ||
I wonder how the users of SMD packages manage it? | I wonder how the users of SMD packages manage it? | ||
I have copped out and am setting up JTAG :). | |||
== rough design == | == rough design == | ||
(see actual [http://wiki.london.hackspace.org.uk/w/images/f/f1/Bikelight_09_s.png schema]) | |||
* dynamo->AC | * dynamo->AC | ||
* AC->2 back-to-back 5% 18V zener diodes->clipped AC. (Clip the input voltage to less than 20V (allowing for error and forward diode voltage) which should be a safe range of rest of components.) | * AC->2 back-to-back 5% 18V zener diodes->clipped AC. (Clip the input voltage to less than 20V (allowing for error and forward diode voltage) which should be a safe range of rest of components.) | ||
edits