Mint Tin Bike Light 3

Aug 27
Posted by justDIY Filed in LEDs, Microcontroller, Power, Project, Prototyping

I completed PCB revision three of the mint tin bike light on Tuesday, but due to lack of batteries for the camera, no pictures were taken! Luckily I’ve found and recharged a second set of batteries and the camera is once again operational.

Feature-wise, this revision adds nothing over the previous light, all the changes are in board design. Firstly, the artwork was redone using polygon pours instead of straight point to point wiring (traces). The revision two switcher was running pretty warm, mostly because it didn’t have much copper to dump the heat into.

The switcher’s ground pin is now tied directly into a very large copper pour, as are the Vin and Switch pins. Using a burning finger temperature probe, the chip remained at or below Tbody even operating in constant on mode at full power. Compared to the revision two board which saw the switcher running quite hot in constant on mode.

The current sensing resistor was moved a lot closer to the feedback pin. With a feedback voltage of 190mV, the tiny resistance of the trace was actually affecting output. Shortening the trace to roughly 1mm has helped a great deal.

Finally, the layout for the battery clips was fixed, and generous polygon pours were drawn around the pads. The spring clips are now soldered down very firmly and hold the batteries quite well. I have yet to take this unit on the trail, so we’ll see if a rubber band is required or not to retain the batteries while bouncing along.

I plan on making one more prototype before sending the design off to Custom PCB or Gold Phoenix. I think I’ll eliminate the battery clips on the chance excessive force could cause one to separate from the laminate and severely damage the pcb. I also want to try a board that hosts both driver circuit and LEDs. Additionally, I plan to add a tilt / vibration sensing switch (roller ball switch), so inactivity of the bike can be detected and the light switched off to save on batteries.

Thanks for reading!

Snapleds Continued

Aug 25
Posted by justDIY Filed in LEDs, Prototyping

I finished my first snapled array, and they are damn impressive! I was expecting slightly better performance than the superflux, but was blown away. I haven’t come up with a method of comparing the two yet, as I don’t have a light meter. A side by side with the reflect signs outside the house would be nice, but it’s raining cats and dogs right now!

lumileds snapled vs 3mm superflux

Here’s a size comparison of the snapled versus a 3mm superflux led. Both have a body measuring 7.6mm, but the snapled has those huge contacts, and a much heavier internal structure compared to the superflux. The 5mm snapled lens also looks huge compared to the superflux.

Hand soldering the snapled smt style is fairly easy – this connection lifted up on me because I was pressing down on the opposite side. Soldering the rest I just placed the led and then slid the iron in next to the contact without touching it, then fed in the solder, which sucked the contact right onto the pad like it’s supposed to.

The finished product, before washing. Once I decide on a layout I like, I’ll probably have some boards made and will try reflowing these either in a toaster over or on a skillet.

Lumileds Snapled

Aug 25
Posted by justDIY Filed in LEDs, Project, Prototyping

I don’t have much to say on these, other than I scored a bunch from Future for a seemingly great price.

lumileds snapled

These appear to be HEAVY DUTY leds, destined for the automotive market. They’re discontinued now, as Lumileds is pushing the all mighty rebel for every application under the sun.

Apparently lumileds marketed these leds strictly as automotive indicator grade leds. Their design guide shows a stop light made of six of these leds, spot welded in a 2 x 3 array to heavy solid aluminum buss bars instead of a typical PCB mounting. I won’t be doing any of that, but I did draw up a layout in Eagle and came up with a 2 x 8 array for my mint tin bike light.

This board is etched and waiting to be cleaned and assembled, more pics to follow!

Comments Off

Mint Tin Bike Light Continued

Aug 20
Posted by justDIY Filed in LEDs, Project

Nothing much new on a technical note. I do have a new pcb layout ready to iron on to some blank copper, should get that done this weekend. I ordered more switchers and LEDs from Future on Wednesday. Originally I was excited, the estimated delivery date was 8/21. However, it has now been pushed to 8/26, oh well!

Here are some new pictures, and some video worth posting in the blog:

2010 Trek 3700

This is my new 2010 Trek 3700 Mountain Bike… I’ve upgraded to alloy pedals and a super tough downhill rim for the rear wheel. I had been buying cheap-o department store bikes, on average two or three per year and trashing them basically riding on streets and trails. So I wanted to upgrade to something that should hold up a bit better.

Same composure, dialed down the flash output and decreased the shutter speed a little.

Video “tour” of the bike with both lights going.

Strobe effects demonstration on some reflective signs near my house. Sorry for the wind noise, a storm is rolling in!

Mint Tin Bike Light

Aug 20
Posted by justDIY Filed in LEDs, Microcontroller, Power, Project, Prototyping

I started this project a little more than a year ago, but shelved it because it wasn’t working right and I didn’t have the correct components. It was a seasonal project that would have little use over the winter, so I sort of forgot about it.

This year I’ve been going on a lot of bike rides with friends, sometimes on public roadways, sometimes after dark. My bike has a nine watt 500 some odd lumen headlight, which makes it easy to see where I’m going, and definitely makes me visible head on. The tail of my bike however still has the stock reflector, plus the little reflector stripes in my shoes, not exactly high visibility. Not wanting to pale in comparison to the headlight, the taillight is a three watt 140 lumen beast powered by three AA rechargeable batteries.

The light is based on a boost converter from National Semiconductor, the LM3410. I’m using the 525kHz SOT-23 version, the LM3410Y. Originally I had trouble with the chip self destructing, as discussed on the Linear1 forums. It was hypothesized either the inductor was underrated or the diode was too slow. Ordering parts for another project later in 2008, I bought some better inductors and diodes, which more closely resembled the specs of parts used in National’s web bench simulator. So, lacking sufficient rear light, I rekindled this project and have a “working prototype” that’s gone on two rides with me so far.

bike taillight schematic small

The basic function is fairly simple. The 3410 is a constant current boost (step-up) driver. A small inductor is used to ramp up the input voltage, from 3.6vdc nominal to 15.4v at approximately 200mA. The current is monitored by a one ohm resistor. A pair of output capacitors help smooth out the ripple and an input capacitor helps the batteries cope with the high demand current (as high as 1.5a in some cases). I’m using nickle metal hydride batteries, which have a rather low internal resistance – they’re designed for high demand applications and when fresh, barely sag at all under the load.

bike taillight pcb layout small

Originally I had planned on carrying the batteries directly on the PCB, using some through-hole spring clip battery holders I found in the Sparkfun library. However, AA batteries must be bigger in Colorado than they are in Michigan, because using Sparkfun’s layout gave me about a quarter inch gap between the spring and the battery. The pads were also woefully undersized for physically mounting the clip and holding it securely enough to survive the stress of batter insertion and extraction. So I dropped their layout and drew my own that looks exactly like it, but is based on measurements from a real AA battery.

Along for the ride is a Microchip PIC microcontroller, the 12F683. It provides a bit of user interface for the light, creating different blink patterns as well as putting the light into a “stand by” mode, with the switcher shut down. I’ve programmed several blinking patterns, and somewhat organized them into “modes” which I can select using the little button.

A year ago, I didn’t have any sort of enclosure in mind. The led array was assembled on a ‘standard’ sized protoboard, so I probably thought about using a plastic or aluminum prototype enclosure. However, this year, I was thinking it would be a nice fit for a large mint tin. After printing out some mock-ups and messing around with battery configurations, I settled on using three batteries and having the electronics crammed into one side of the tin with the led array mounted in the lid of the tin. This setup might have worked, except for the battery snafu. I’m using a plastic three cell holder right now, and the extra thickness it adds is preventing the lid from completely closing. It closes enough that the light is easily held shut by some big rubberbands, and it survived bouncing around under my seat for two short rides. The next revision will have the battery situation resolved and I might have a better mounting solution by then too.

Overall I’m very pleased with the outcome of this project. I have more parts on order to make a few more lights for my other bikes and friends, and I want to experiment with other array configurations and colors. There are a two videos of the light on my youtube channel, but they’re nothing to get excited about.

Thanks for reading!