Certified FOCBOX Suppliers | Get Focbox Unity

E-Skate RGB LED / Break light Controller

electric-skateboard

#1

Hi Guys,

i recently had to much free time and therefore started to built a RGB LED controller for my E-Longboard.
First off i simply built an normal controller with allowed me to set static Colors and let the LEDs fade in different patterns and speeds. But then a friend of mine had an idea why not let the throttle you give the Board also control the LEDs.

Therefore i added two new modes:

  1. The throttle controls the fade speed. More throttle --> faster fade

  2. The throttle controls the Color of the LEDs.
    When the throttle is in the idle position the LEDs are Blue when you start to accelerate they fade from blue to green and
    finally to red when you maxed out the throttle.

Here you can the the controller which uses an Arduino Mini and 3 N-Channel MOSFETs. You can also see the RGB strip which is temporary mounted with Duct tape :sweat_smile:


/
/
I then also got the idea to add an fourth MOSFET to control a LED break light. Since i already got the throttle value for the RGB modes i simply had to add 5 extra lines and got a nice break light. The IR-Receiver is mounted in the cutout for the trucks, so it is easy to reach while standing on the board.


#2

Nice find! I’m looking to so something similar but with a VESC, would you mind posting your parts used, schematics and arduino code? Would appreciate it!


#3

KILLER!!!
You might want to switch to an RF controller, but I absolutely love this idea and can’t wait to see more! I have been advised that IR controller can have issues when used outside and the IR beam can be easily interrupted.
I’m excited to see such awesome work!
THANKS dude!!


#4

Sounds like fun!


#5

@Skitzor will post my code when i get back home tomorrow. What website do you suggest i use for sharing?
And i dont have any schematics ready but maybe i can draw something for you.

This is the Arduino i used. To power the Arduino I use the BEC from the ESC. I used these Buck Converts to get 12V from the 6s Battery i am using. Four of these N-Channel MOSFETs. And a common Anode LED Strip. The break light uses the same MOSFETs and this LED break light

@Ulfberht I am already using an IR Remote to control the different modes. Similar to this one http://cdn.instructables.com/F9P/659Z/HNL5QQHT/F9P659ZHNL5QQHT.MEDIUM.jpg

@torqueboards Night rides are awesome with this setup. People stare at you and think you are a wizard.


#6

@Skitzor I just uploaded the code to my Google Drive. I hope you can understand the Code because i only have a few Comments in it. O lot of the code is just copy from examples which were provided with the libraries i used. Speaking of these you need the RGBMood, IRremote and PinChangeInt libraries. Here is the link to my Code.