An arduino nano project based on the excellent article from Adafruit: Fake TV Light for Engineers by Phillip Burgess.
This code is essentially a working version of Phillips code with some extra delicious tweaks.
- Arduino Nano / Mega / Uno
- NeoPixel from Adafruit (either a Ring in 24-LED or 16-LED or a Stick)
- Arduino Nano - clone from eBay, $5 AUD!
- NeoPixel Ring - 16x 5050 RGB LED
It's been running for years sipping on such tiny power at our office.
The two main things you'll need to configure to use this are found in neopixel-tv.ino
:
#define NUM_LEDS 16
#define PIN 12
- NUM_LEDS signifies the number of LEDs your NeoPixel has. (Eg. 16)
- PIN signifies the PIN you've plugged the NeoPixel into. (Eg. D12 = 12)
You'll need to import the NeoPixel library from Arduino IDE or PlatformIO to flash this on your Arduino.
Sketch uses 29278 bytes (95%) of program storage space. Maximum is 30720 bytes.
Global variables use 57 bytes (2%) of dynamic memory, leaving 1991 bytes for local variables. Maximum is 2048 bytes.
1991 was a great year - it was when Id Software was born.