Enclosure for my custom LED Bike controller.

Enclosure for my custom LED Bike controller. Teensy 3.1, Power on/off, momentary press for pattern changes, mic input for audio based patterns, potentiometer for hue/brightness control. The bike will have a strand of 300 ws2812b leds running various fastLED based patterns I’ve culled from the group.

Noice. What are you using for power? And how’s power getting into your control box there? 300 LEDs is a lot of juice, but at least it’s bike mounted and you can pull however many amps you like out of a 12V SLA battery :slight_smile:

(Sidenote: aren’t water/dustproof switches surprisingly expensive?)

sweet! nice clean box setup

@Robert_Atkins I’m using a 5Ah 12v battery that will be mounted on the bike. I still have to finish getting the LEDs onto the bike and wiring up power to the VIN on the teensy and the LEDs with shared ground. I have a 12v to 5v voltage adjuster to get to the right voltage for powering both. Hopefully I’ll get a full night’s worth of power out of the system before having to recharge the battery. Yes those power buttons are expensive! Sexy white led backlight though!

I’ve got 180 LEDs on my “BikeBlinder” underlights and the idea is they will run full-brightness all the time. I’m calculating I’m going to get about 3 hours of continuous use out of a 4.5Ah 12V SLA battery. Beefy DC-DC converter too. Yours isn’t going in the control box with the teensy?

@Robert_Atkins

I used too small a box to fit the converter. :O. I have a larger metal enclosure I could use for the next bike that would easily fit the whole power circuit sans battery but I was slightly concerned about heat and sun exposure.

My adventures tonight have convinced me that nobody who manufactures electronics project boxes has ever done any electronics, I feel your pain :stuck_out_tongue:

Use the bike frame as a common ground. Why use 12V and then convert it, when you could use a 6V PLA battery, or even better and lighter, a Lipo or similar rechargeable?

That being said, I am a big fan of the LM2596… that’s really all you need.

@Mike_Thornbury that part won’t cut it—3A? He’d need seven of 'em to light the whole thing up. The reason to go with SLA rather than lipo for something bike mounted like this is cost. The lipo solution would be 3x the price, easily.

Lipo’s are getting pretty cheap… just bought 2x 5000mah 2S lipos for $15 each.

You can get B-grade 5000mah Lipos for $12-13.

I need a 10Ah battery. I’m thinking of getting a lipo 5v but they are $45 At 16mA per led I’d get about 2.5-3 hours for 300 leds.

You are buying your Lipos in the wrong place:

$16.30 for 5000mah and just add a y-cable and a buck converter for a couple of bucks (or make your own loom). Adafruit have a design using the Tracopower DC::DC converter - I have a couple of them, but for $15, I can buy 7 cheapo transistor-based buck converters from China - or again, make your own with a 25c transistor from TI.

2S: http://www.hobbyking.com/hobbyking/store/_16783__ZIPPY_Flightmax_5000mAh_2S1P_20C_USA_Warehouse.html