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
 
Old Oct 3, 2007 | 11:55 PM
  #1  
ModManKev's Avatar
Thread Starter
|
New Member
5 Year Member
Joined: Jan 2007
Posts: 13
From: Santa Clara, CA, USA
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
 
Old Oct 4, 2007 | 01:14 AM
  #2  
GeniuneFit's Avatar
Member
5 Year Member
Joined: Aug 2007
Posts: 65
From: Rowland Heights, CA
That looks great. How long did it take you?
 
Old Oct 4, 2007 | 02:17 AM
  #3  
smatts's Avatar
Honda Fit Forums Moderator
iTrader: (1)
Joined: Apr 2007
Posts: 1,704
From: New Wesminster, BC
Very nice job on the custom work! Post a DIY will ya
 
Old Oct 4, 2007 | 02:56 AM
  #4  
koolkevin1107's Avatar
Member
iTrader: (22)
Joined: Jun 2006
Posts: 2,997
From: La Crescenta, CA
5 Year Member
dude that looks siiick!!! it looks like an alien space ship!!!!
 
Old Oct 4, 2007 | 07:42 AM
  #5  
thejroisgo's Avatar
Member
iTrader: (1)
Joined: Jun 2006
Posts: 408
From: Lake Forest, Ca
TOTALLY bitchin', i wanted to do something like this, but it was WAY beyond me, lol
 
Old Oct 4, 2007 | 09:33 AM
  #6  
Illusive's Avatar
Retired Moderator
iTrader: (4)
Joined: Apr 2006
Posts: 4,742
From: Calgary, AB, Canada
ROFLMAO! I like your contraption with the watermelon hahaha
 
Old Oct 4, 2007 | 01:59 PM
  #7  
vtecdreamer's Avatar
Member
5 Year Member
Joined: Sep 2007
Posts: 95
From: Deltona,FL
wow that is pretty cool.good job!!
 
Old Oct 4, 2007 | 02:10 PM
  #8  
sonicsc1's Avatar
Member
5 Year Member
Joined: Apr 2007
Posts: 196
From: S.I
how much could you make me one??????
 
Old Oct 4, 2007 | 02:24 PM
  #9  
manxman's Avatar
Banned
iTrader: (3)
Joined: Sep 2006
Posts: 3,288
From: Boulder Creek, CA, USA
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.
 
Old Oct 4, 2007 | 05:19 PM
  #10  
TOOL's Avatar
Retired Moderator
iTrader: (4)
Joined: Jun 2007
Posts: 9,487
From: San Ramon, CA
Looks pretty cool!
 
Old Oct 4, 2007 | 06:13 PM
  #11  
ModManKev's Avatar
Thread Starter
|
New Member
5 Year Member
Joined: Jan 2007
Posts: 13
From: Santa Clara, CA, USA
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

 
Old Oct 5, 2007 | 12:00 PM
  #12  
ciburri's Avatar
Member
5 Year Member
Joined: Sep 2006
Posts: 549
From: Dublin, CA., USA
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.
 
Old Oct 5, 2007 | 04:32 PM
  #13  
koolkevin1107's Avatar
Member
iTrader: (22)
Joined: Jun 2006
Posts: 2,997
From: La Crescenta, CA
5 Year Member
All Electronics Ftw!!!!!
 
Old Oct 9, 2007 | 08:43 AM
  #14  
sortanewinatl's Avatar
Member
Joined: Mar 2007
Posts: 173
From: Atlanta, Ga
GREAT work man!!
any chance you'll share the schematics and c code?
 
Old Oct 9, 2007 | 08:57 AM
  #15  
Adizzam's Avatar
New Member
Joined: Jun 2007
Posts: 11
From: Fl
Tats badass!!!
 
Old Oct 9, 2007 | 09:49 AM
  #16  
Wave's Avatar
Member
5 Year Member
iTrader: (1)
Joined: May 2006
Posts: 1,093
From: Long Island, New York
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!?!?
 
Old Oct 9, 2007 | 10:39 AM
  #17  
Illusive's Avatar
Retired Moderator
iTrader: (4)
Joined: Apr 2006
Posts: 4,742
From: Calgary, AB, Canada
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!
 
Old Oct 9, 2007 | 02:18 PM
  #18  
sortanewinatl's Avatar
Member
Joined: Mar 2007
Posts: 173
From: Atlanta, Ga
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...
 
Old Oct 11, 2007 | 04:57 PM
  #19  
ModManKev's Avatar
Thread Starter
|
New Member
5 Year Member
Joined: Jan 2007
Posts: 13
From: Santa Clara, CA, USA
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
 
Old Oct 30, 2007 | 11:06 PM
  #20  
OneStopCustoms's Avatar
Member
5 Year Member
iTrader: (15)
Joined: Jan 2006
Posts: 780
From: L.A., CA
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; Oct 30, 2007 at 11:10 PM.



All times are GMT -4. The time now is 07:40 AM.