bmartin
Posts: 16
Joined: Thu Dec 31, 2015 1:55 pm
Delivery Date: 20 Jun 2015
Leaf Number: 2012

Leaf Underglow / Charging port LEDs

Sat Feb 25, 2017 5:52 pm

Back in December I did this to my Leaf on an obsessive DIY binge. It's still working three months later, I'm planning on buying more LEDs to redo the bottom strips, but haven't had time or money.

https://www.youtube.com/watch?v=IfSNyIn9wNw

It looks purple in this photo, this is an iPhone effect. The true color is blue.
Image
Image
Image


I've been wanting to share, but had problems initially with cheap LEDs (in series) going bad and really haven't been able to utilize the underglow affect since 2 weeks after I installed them. The charger LEDs only worked for the first 5 inches or so. I believe stretching them and bending them during the install ruined these low quality waterproof strips.

I designed 3D printed clips to make this happen.

Image
Image
Image
Image

They can be downloaded here

The brains of the operation is an Adafruit Trinket (Arduino), and a PWM enabled 12v power supply. The power supply is connected to the 12v battery (fuse in wire) and passes 5v to the Arduino.

Image

Download case here

Two PWM pins from the Arduino go to the PWM pins on the 12v power supply. I've programmed the Arduino to pulsate while on, a smooth "breathing" effect. The Arduino quickly fades the lights on when the charging port switch presses the tactile button, completing a 5v connection to the Arduino's input pin.

Image
Image
Image

Download switch here

I'll post more pictures and maybe some instructions/part list when I have a fully working setup :D
2012 Nissan Leaf SV - Purchased June 2015 with 16.2k miles.
Lost 1st bar 09/2016 at 37.7k miles, 84% SOH
01/01/2017 - 41k miles, 86% SOH, 226 GIDs

Projects:
Happy Leaf Bluetooth ELM app
Carwings Siri Intigration
Leaf Underglow/charging port lights

gshepherd
Forum Supporter
Posts: 175
Joined: Wed Apr 27, 2016 12:01 am
Delivery Date: 03 Jun 2016
Location: Seattle / Phoenix

Re: Leaf Underglow / Charging port LEDs

Fri Mar 03, 2017 8:56 am

8-)

Great job! I like reading about practical 3D Printed projects like this. Even better integrating Arduino and all that.
2016 LEAF SV

BenTheRighteous
Posts: 59
Joined: Tue Feb 14, 2017 5:36 am
Delivery Date: 14 Feb 2017
Location: Raleigh, NC

Re: Leaf Underglow / Charging port LEDs

Fri Mar 03, 2017 11:34 am

Yeah, this is really nifty! At first I was wondering why you needed the Arduino, but then I reread the part where the lights have the breathing effect. That's neat for sure. Thanks for sharing. :)
2017 Leaf S
OpenEVSE P50-D WiFi Kit
Raleigh, NC
USA

Return to “Accessories / Mods”