My experimental head lamp 2nd built

Microa

Enlightened
Joined
Mar 10, 2011
Messages
256
Location
Hong Kong
This is my 2nd built of an experimental head lamp. Because the only power tools I have are a mini drill press and a Black & Decker RTX rotary tool. I am looking for the material which is ready made for the housing. Recently, I bought a MR11 DIY housing kit which I use in this project.
1) The housing is constructed by the MR11 barrel and a 45x45x18mm Aluminum case.
The DIY MR11 housing kit

2) The original design is for Taiwan made LED. I modified to use Cree XPE or XPG. The Aluminum slug beneath the star is used to compensate of the difference of the height. If you use a XML, a lens specially made for XML is required.

The LED compartment with the front cover and lens removed

3) The driver is a homemade buck driver. The MCU is temporary connected to the programming adaptor for fine tuning the settings.

The schematic of the driver
sschematic.jpg

4) The User Interface software is BLF-VLD 0.4 which you can download here.http://budgetlightforum.com/node/799
I would like to thank Tido who shares this wonderful software with us and DrJones helps me solve the problems.
I don't want the blinking signal when the light level is ramping down as the battery voltage drops below the threshold.
You should omit these codes by putting // at the beginning of the line of the source codes.

When the light level starts to ramp down, you have fifteen minutes to replace your battery before the protection circuit cut the power off.
5) The battery pack is 2S1P Sanyo UR18650F or UR18500F. The charger is Max1757 which I have posted here. http://www.candlepowerforums.com/vb/showthread.php?324128-Max1757-8-Li-ion-Battery-Charger-DIY

The homemade battery protection PCB with balancer.
p1100705e.jpg

6) Findings:
The XPE is driven at 1A while the ambient temperature is 25C, the case will rise to 50C in still air. For the peoples who live in the tropical area,the ambient temperature is always as high as 32C which implies the case temperature will rise above 65C. I think a temperature monitor is required to maximize the light output while the lamp can be kept in a compact size. I am testing to replace the R2 with a NTC sensor which ramps down the light level when the LED is too hot. The primary testing is workable. I shall fine tune the setting in the near future.

There are a lot of different angles 20mm interchangeable can be used. The following are the few I have had. From left to the right, 5, 8, 45, 60, 120.







 
Last edited:

moderator007

Enlightened
Joined
Jan 1, 2010
Messages
990
Amazing job as always Microa. I kind of figured you had been up to something good.:wave:
 

moderator007

Enlightened
Joined
Jan 1, 2010
Messages
990
I recently cut down a mini mag here. Right know I'm searching for something different again. Considering try out some of tido's hard work. Is there a site that you know of to learn programming for a newbie.
 

Microa

Enlightened
Joined
Mar 10, 2011
Messages
256
Location
Hong Kong
Wow, excellent mod I have omitted to see. I wish I have a mill to make something different like you did.
I have visited these sites for a newbie like me, I think they are helpful for you too.
http://www.avrfreaks.net/
http://www.avrbeginners.net/
http://www.avr-asm-tutorial.net/avr_en/index.html
http://elm-chan.org/works/avrx/report_e.html
http://www.kmitl.ac.th/~kswichit/avrthermo/avrthermo.html
http://home.ict.nl/~fredkrom/pe0fko/g8voi_guide/
http://imakeprojects.com/Projects/avr-tutorial/
Getting Started with C Programming for the Atmel AVR Microcontroller by Lam Phung which is available to download at www.elec.uow.edu.au/avr
Haha, You have a lot of time to kill.
 

moderator007

Enlightened
Joined
Jan 1, 2010
Messages
990
Thanks for the links Microa. I knew this would be alot to take in. Now I just have to put in the time.
 

Microa

Enlightened
Joined
Mar 10, 2011
Messages
256
Location
Hong Kong
Recently, I have updated the driver with a LM35 temperature sensor. The low battery monitoring function is replaced by temperature monitoring. The LM35 is PTC so the program should be revised as below: I set the driver have 3 levels. normal(0x40), turbo(0xFF) if too hot will ramp down to (0x80), low(0x08).

Line52 #define LOWBAT_TRIG 130 --> 116=50C, 127=55C, 138=60C.
Line54 #define LOWBAT_MIN_LVL 0x80
Line55 #define LOWBAT_MAX_LVL 0xFF
Line133 0x06, 0x08, 0x03, 0x00, 0x00
Line459 if (ADCH<LOWBAT_TRIG) --> if (ADCH>LOWBAT_TRIG)
Line559 PWM_LVL=0 --> // PWM_LVL=0
Line560 _delay_ms(100) --> // _delay_ms(100)

I would like to thank DrJones who taught me how to turn off the blinking.

Driver with LM35
 
Last edited:

Microa

Enlightened
Joined
Mar 10, 2011
Messages
256
Location
Hong Kong
The finalized appearance of my headlamp.

To do list:
1) 2 LEDs, one for spot and the other for flood.
2) waterproof housing.
3) more fins to increase surface area for better thermal management.
 
Top