Ricky_nz
10 kW
I brought 2 of these on special for about nz$75 each a while ago and they are not too bad. I brought the version that takes 3xAA batteries with the intention to run them off the pack power. 
Since I have 2 on the handle bars for more visibility ( not a single point source as a higher power unit would be) turning them on is a pain. 3 quick pushes each to get them into full beam.
I want them to come on when the bike is powered up, preferably at full brightness on the main beam, ignoring the small constant / flash group on 5mm leds at the top.
I have for a while now been running an older halogen light during the day since the law in NZ recently made it a requirement for motorbikes and I figured I should do on my ebike due to the minimal impact on main pack energy and the extra visibility is always good.
Preliminary investigation:
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en010102
The PIC12C508 is a one time programmable microcontroller
The D311 is a single-channel constant current LED driverhttp://www.google.co.nz/url?sa=t&so...sg=AFQjCNFDlD3l55Qp8D1CM2vjnwbQo65rdA&cad=rja
CDT7025 Low voltage detect chip 2.55V http://www.google.co.nz/url?sa=t&so...sg=AFQjCNF6JCS2FS2BVSyWTdKOrvLDEEH-4w&cad=rja
I will have to do some research to see if there is a flash based PIC in the same footprint (Don't want to mess with OTP chips) otherwise I may just bypass the pick and hardwire the constant current generator to the high current level.
since all critical datasheets are available modifing it should be easy and the PCB looks simple.
The running off pack power is easy for my 300W bike as its 24 V and I already run a turnigy BEC to giver 6V for the old halogen
http://www.hobbyking.com/hobbyking/...roduct_Name=Turnigy_5A_(8-40v)_SBEC_for_Lipo_

Since I have 2 on the handle bars for more visibility ( not a single point source as a higher power unit would be) turning them on is a pain. 3 quick pushes each to get them into full beam.
I want them to come on when the bike is powered up, preferably at full brightness on the main beam, ignoring the small constant / flash group on 5mm leds at the top.
I have for a while now been running an older halogen light during the day since the law in NZ recently made it a requirement for motorbikes and I figured I should do on my ebike due to the minimal impact on main pack energy and the extra visibility is always good.
Preliminary investigation:

The PIC12C508 is a one time programmable microcontroller
The D311 is a single-channel constant current LED driverhttp://www.google.co.nz/url?sa=t&so...sg=AFQjCNFDlD3l55Qp8D1CM2vjnwbQo65rdA&cad=rja
CDT7025 Low voltage detect chip 2.55V http://www.google.co.nz/url?sa=t&so...sg=AFQjCNF6JCS2FS2BVSyWTdKOrvLDEEH-4w&cad=rja
I will have to do some research to see if there is a flash based PIC in the same footprint (Don't want to mess with OTP chips) otherwise I may just bypass the pick and hardwire the constant current generator to the high current level.
since all critical datasheets are available modifing it should be easy and the PCB looks simple.
The running off pack power is easy for my 300W bike as its 24 V and I already run a turnigy BEC to giver 6V for the old halogen
http://www.hobbyking.com/hobbyking/...roduct_Name=Turnigy_5A_(8-40v)_SBEC_for_Lipo_