A set of Arduino scripts I made for my LED strip.
A collection of animation scripts for a WS2812B LED strip. Makes use of the FastLED library to address the pixels.
- Arduino IDE or CLI
- FastLED library (can be installed directly through IDE)
- WS2812B LED strip (or similarly individually addressable strip, with small code changes)
- I used this 16.4ft LED strip with 300 pixels
- Power supply for LED strip
- I used this 5V 10A DC power supply
- Arduino
- I used an Arduino Uno REV3
- Connect the negative terminal of the power supply to grounds of both the Arduino and the LED strip
- Connect the positive terminal of the power supply to the VCC terminal of the LED strip
- Connect one of the Arduino's DO ports to the DATA_IN terminal of the LED strip
- Clone repo:
git clone [email protected]:Aramist/light-show.git git clone https://github.com/Aramist/light-show.git
- Open desired script
- If necessary, change the DATA_PIN macro to match the DO pin connected to the DATA_IN terminal of the LED strip.
- If necessary, change the NUM_LEDS macro to match the LED count of your LED strip
Inspiration, code snippets, etc.