A highly configurable Knight Rider (larson display) routine for your AdaFruit NeoPixel (WS2812 RGB LED) using the Arduino.
- An Arduino Development board.
- (2x) AdaFruit NeoPixel Stick (or other NeoPixel products)
- Adafruit NeoPixel library
- Install Adafruit NeoPixel library
- Connect the NeoPixel to ground and power. Power requirements here: AdaFruit NeoPixel
- Connect the NeoPixel DIN to Analog Input #5 of the Arduino (we are using this A5 pin as a digital output). A5 is nice because it's on the same side of the Arduino as the 5V and GND connections. Connect NeoPixel ground to the ground of the Arduino (if not done already). Reference image
- Upload NeoPixel-KnightRider sketch to the board and run it. You'll see a collection of demos, the first one is the default Knight Rider display ;-)
Inspiration from: Arduino Knight Rider Tutorial and Doug Diego's KnightRiderNeoPixel Repo and of course the Knight Rider TV Series Intro.
See attached MIT License