Starting Tips | Ask Questions | Introductions | Categories

Arduino controlled LED Strips for Underglow-FastLED/ NeoPixel

Alright I would like to add some underglow lights to the board that have a fun pattern. (Not just fade and blink) I have no arduino experience so I am going to rely heavily on you guys for that. I have found 2 interesting code libraries that are supposed to run cool LED patterns. I think?

FastLED
http://fastled.io/blog/
and NeoPixel by Adafruit.

These two webpages are what turned me on to this idea and I would like to see the fire pattern and the cylon pattern under the board as it scoots along. 2nd article has the cool videos.


This second article expands on the first and has great example led pattern videos!

I need help picking an arduino or whatever board and getting this running.

3 Likes

http://www.tweaking4all.com/wp-content/uploads/2015/11/LEDEffect-Cylon.mp4?=10 http://www.tweaking4all.com/wp-content/uploads/2015/11/LEDEffect-RunningLights.mp4?=16 http://www.tweaking4all.com/wp-content/uploads/2015/11/LEDEffect-Sparkle.mp4?_=14

2 Likes

i’m almost done with my new lights.
it uses neopixels and microconroller to do tail/brake/turnsingals with the spare channel of a mini remote.

the adafruit lib has better support. a nano clone ($3-5) or a trinket/digispark($8/3) would work fine.

i’ll probably sell a few plug and play kits once i’ve tested, not posting code yet because the snakes are coming into esk8 sadly.

1 Like

From the NeoPixel Uberguide

RGB 30 LEDs: 9 Watts (about 1.8 Amps at 5 Volts). 60 LEDs: 18 Watts (about 3.6 Amps at 5 Volts). 144 LEDs : 43 watts (8.6 Amps at 5 Volts)

30 RGBW LEDs: 12 Watts (2.4 Amps at 5 Volts) 60 RGBW LEDs: 24 Watts (4.8 Amps at 5 Volts) 144 RGBW LEDs: 57 Watts (11.5 Amps at 5 Volts) The led needs its own power. If your microcontroller and NeoPixels are powered from two different sources (e.g. separate batteries for each), there must be a ground connection between the two.

When using a DC power supply, or an especially large battery, we recommend adding a large capacitor (1000 µF, 6.3V or higher) across the + and – terminals. This prevents the initial onrush of current from damaging the pixels. See the photo on the next page for an example.

Adding a 300 to 500 Ohm resistor ohm resistor between your microcontroller’s data pin and the data input on the NeoPixels can help prevent spikes on the data line that can damage your first pixel. Please add one between your micro and NeoPixels! Our NeoPixel rings already have this resistor on there

Pro Tip: NeoPixels don’t care what end they receive power from. Though data moves in only one direction, electricity can go either way. You can connect power at the head, the tail, in the middle, or ideally distribute it to several points. For best color consistency, aim for 1 meter or less distance from any pixel to a power connection. With larger NeoPixel setups, think of power distribution as branches of a tree rather than one continuous line.

1 Like

check this out, never completely finished the project, but the leds change speed based off the board’s speed: https://www.youtube.com/watch?v=sXrmD6p9eEo

2 Likes

I’ve done it. The leds are running fast led or neopixel library.
I need to re-up on my c programming to get my switches to work. I want a brightness selector based on a slide pot and a mode selector switch. I have a 10 position potentiometer from sparkfun but I have to figure out how to code it so each position determines the led pattern.

What type of Arduino do you use? I want to make the same with a Nano, but the Vesc library wants to have the Serial1 connection, but the Nano does not have it :confused:

1 Like

For the future. You can use a esp6288 this is a arduino compatible microcrontroller with wifi. You can then control the strips with your phone. Or a esp 32 that controller have wifi and bluetooth. Theoretically you can write an app which shows your speed with a color code :grin:

Old thread! How did you connect your remote to the arduino? I’ve been trying to figure it out.