Fit Interior & Exterior Illumination Threads discussing interior and exterior lighting modifications for the Fit/Jazz

Custom LED Brake Light - Microcontroller Controlled (Pics + Video)

Thread Tools
 
Search this Thread
 
  #1  
Old 10-03-2007, 11:55 PM
ModManKev's Avatar
New Member
5 Year Member
Thread Starter
Join Date: Jan 2007
Location: Santa Clara, CA, USA
Posts: 13
Custom LED Brake Light - Microcontroller Controlled (Pics + Video)

So I finally completed my project - a custom LED Brake Light controlled by a Microcontroller.

I programmed the microcontroller with some C code, so I could make it do whatever I wanted. I decided on a quick, decelerating pattern that would be super cool but relatively subtle.

Here's the video of it in action -
YouTube - Custom LED Brake Light - 2007 Honda Fit

In the dark.


In the light


The Insides


The whole thing


How I got the brake light to stay on for pictures


It was such a fun project, and I definitely learned a lot about LEDs - like how to blow them up, burn them up, make them too bright, too dim, and then... juuust right.


Tell me what you think :-D

-ModManKev
 
  #2  
Old 10-04-2007, 01:14 AM
GeniuneFit's Avatar
Member
5 Year Member
Join Date: Aug 2007
Location: Rowland Heights, CA
Posts: 65
That looks great. How long did it take you?
 
  #3  
Old 10-04-2007, 02:17 AM
smatts's Avatar
Honda Fit Forums Moderator
iTrader: (1)
Join Date: Apr 2007
Location: New Wesminster, BC
Posts: 1,704
Very nice job on the custom work! Post a DIY will ya
 
  #4  
Old 10-04-2007, 02:56 AM
koolkevin1107's Avatar
Member
5 Year Member
iTrader: (22)
Join Date: Jun 2006
Location: La Crescenta, CA
Posts: 2,997
dude that looks siiick!!! it looks like an alien space ship!!!!
 
  #5  
Old 10-04-2007, 07:42 AM
thejroisgo's Avatar
Member
iTrader: (1)
Join Date: Jun 2006
Location: Lake Forest, Ca
Posts: 408
TOTALLY bitchin', i wanted to do something like this, but it was WAY beyond me, lol
 
  #6  
Old 10-04-2007, 09:33 AM
Illusive's Avatar
Retired Moderator
iTrader: (4)
Join Date: Apr 2006
Location: Calgary, AB, Canada
Posts: 4,742
ROFLMAO! I like your contraption with the watermelon hahaha
 
  #7  
Old 10-04-2007, 01:59 PM
vtecdreamer's Avatar
Member
5 Year Member
Join Date: Sep 2007
Location: Deltona,FL
Posts: 95
wow that is pretty cool.good job!!
 
  #8  
Old 10-04-2007, 02:10 PM
sonicsc1's Avatar
Member
5 Year Member
Join Date: Apr 2007
Location: S.I
Posts: 196
how much could you make me one??????
 
  #9  
Old 10-04-2007, 02:24 PM
manxman's Avatar
Banned
iTrader: (3)
Join Date: Sep 2006
Location: Boulder Creek, CA, USA
Posts: 3,288
Great job! A lot of us would buy a ready-made kit if you could produce them at a reasonable price and a comfortable level of profit for yourself.
 
  #10  
Old 10-04-2007, 05:19 PM
TOOL's Avatar
Retired Moderator
iTrader: (4)
Join Date: Jun 2007
Location: San Ramon, CA
Posts: 9,487
Looks pretty cool!
 
  #11  
Old 10-04-2007, 06:13 PM
ModManKev's Avatar
New Member
5 Year Member
Thread Starter
Join Date: Jan 2007
Location: Santa Clara, CA, USA
Posts: 13
This project definitely took a long time to figure out (done as a side project over a couple months).

I'll try to explain the different pieces.

There are 41 LEDs in total - these ones:
SPECIAL ULTRABRIGHT RED LED - 5MM | All Electronics Corp - Parts, Supplies and Components

25 of them are in the center starburst, and they just turn on like a conventional brake light. These have a 5 Volt regulator and because of my weird layout and the odd number I decided to give each LED their own resistor to best match the brightnesses.

The other 16 that are in the horizontal line are controlled with an ATmega32 microcontroller (this chip has 32 pins of I/O, so I'm only using half of its potential). The LEDs are being sunk into the microcontroller and have their own resistors (all powered by a 2nd 5 Volt Regulator).

I programmed the
ATmega32 microcontroller with my computer and this board / programmer - Wright Hobbies Robotics - that's a good site to check out to learn about microcontrollers / robotics / basic code stuff.

The C program I used was pretty simple, just getting the loop working that moved the LED the right way and increasing the delay between light changes to create the awesome decelerating effect. (I'll post the code if people are interested)

Hope that helps, and I'm happy you guys like it.

-ModManKev

 
  #12  
Old 10-05-2007, 12:00 PM
ciburri's Avatar
Member
5 Year Member
Join Date: Sep 2006
Location: Dublin, CA., USA
Posts: 549
Beautifully executed job! Great creativity and "know-how"! Very usefull mod for safety. It definately gets attention of a driver behind you.
Props to you man!
You got rep. points from me for it.
 
  #13  
Old 10-05-2007, 04:32 PM
koolkevin1107's Avatar
Member
5 Year Member
iTrader: (22)
Join Date: Jun 2006
Location: La Crescenta, CA
Posts: 2,997
All Electronics Ftw!!!!!
 
  #14  
Old 10-09-2007, 08:43 AM
sortanewinatl's Avatar
Member
Join Date: Mar 2007
Location: Atlanta, Ga
Posts: 173
GREAT work man!!
any chance you'll share the schematics and c code?
 
  #15  
Old 10-09-2007, 08:57 AM
Adizzam's Avatar
New Member
Join Date: Jun 2007
Location: Fl
Posts: 11
Tats badass!!!
 
  #16  
Old 10-09-2007, 09:49 AM
Wave's Avatar
Member
5 Year Member
iTrader: (1)
Join Date: May 2006
Location: Long Island, New York
Posts: 1,093
Potential $$$ maker right there if you could bang out a few more or make custom patterns based on customer design.

Could you make one for me that says "I eat Vette's" every time I hit the brakes!?!?
 
  #17  
Old 10-09-2007, 10:39 AM
Illusive's Avatar
Retired Moderator
iTrader: (4)
Join Date: Apr 2006
Location: Calgary, AB, Canada
Posts: 4,742
I want one that says "PWNED!" everytime I hit the brakes hahaha! And with the microcontroller, if it's just C code, I could probably program it to light up each letter spelling it out, then make it blink ROFLMAO!
 
  #18  
Old 10-09-2007, 02:18 PM
sortanewinatl's Avatar
Member
Join Date: Mar 2007
Location: Atlanta, Ga
Posts: 173
Originally Posted by Wave
Potential $$$ maker right there if you could bang out a few more or make custom patterns based on customer design.

Could you make one for me that says "I eat Vette's" every time I hit the brakes!?!?

Agreed!! I could do it for myself, but I'de much rather pay someone else...
 
  #19  
Old 10-11-2007, 04:57 PM
ModManKev's Avatar
New Member
5 Year Member
Thread Starter
Join Date: Jan 2007
Location: Santa Clara, CA, USA
Posts: 13
The only limit on how many things you can flash are the number of output pins on the microcontroller - the one I was using had 32 :-D.

But even then, if you really wanted to control more things you can use shift registers and push serial data into them - thus multiplying you controlling power by 5, 10, or as many as you want (if you can deal with the minute delay that it takes to fill the shift registers).

Eventually I want to put super bright LEDs under my car and control them in the same way - then scroll them along the bottom of my car.

This took so long to make I don't think I would want to do any sort of production, I'd have to charge way more than anyone would want.

It's all good though, now I'm going to help my buddy make a custom brake light / running light / turn signal for his motorcycle.

Have fun with all your projects

-ModManKev
 
  #20  
Old 10-30-2007, 11:06 PM
OneStopCustoms's Avatar
Member
5 Year Member
iTrader: (15)
Join Date: Jan 2006
Location: L.A., CA
Posts: 780
can you post a how to thread? :-D

is this the one that you used?
http://www.wrighthobbies.net/catalog...2.9.1white.jpg
 

Last edited by OneStopCustoms; 10-30-2007 at 11:10 PM.


Quick Reply: Custom LED Brake Light - Microcontroller Controlled (Pics + Video)



All times are GMT -4. The time now is 02:12 AM.