A Raspberry Pi build monitor for use with NeoPixels. It currently supports CircleCI, though support is intended for Jenkins as well.
- 1 LED Pixel Strip
- 1 5V Power Supply for the Pixel Strip
- 1 Raspberry Pi 1B+ - the library may or may not work with Pi 2
- 1 MicroUSB Power Supply
- 1 USB WiFi Adapter - Optional
- 1 1000µF 6.3V Capacitor
- 1 1N4001 diode
- 1 2.1mm Female DC Power adapter
- Assorted jumper cables
- 1 ethernet cable
You will probably also need a monitor and keyboard for initial setup.
- Get the Pi on the network.
- Power up (plug it in).
- Login -- username: pi - password: raspberry
- If your network is setup for DHCP, the Pi should just receive an IP address once it's connected with the ethernet cable. You can optionally follow the instructions to setup WiFi.
- If you need multiple WiFi networks, the accepted answer here worked for me.
- Install updates and such.
- Most of the things you need should be in bin/setup.sh. This sets up the Pi-Pixel library and installs the python requests library for HTTP handling.
-
Turn off the Pi.
-
Wire up the pixels. TL;DR - For those that like pictures, I found this guide invaluable. The only difference there is that I didn't use the Pi GPIO extender into the breadboard.
- DO NOT PLUG ANYTHING INTO LIVE CURRENT YET
- Put one of the capacitor's pins in the female power adapter's ground jack, the other in the positive jack.
- Wire the Pixels' ground wire to the ground jack on the female power adapter.
- Wire the Pixels' +5V power-in wire to the diode, strip-side facing the pixels. The non-strip-side should connect to the positive jack on the female power adapter.
- Connect the Pi's GPIO ground to the ground jack on the female power adapter.
- Connect the Pi's GPIO Pin 18 to the Pixels' DIN.
- Power up the pixels.
- Power up the Pi.
- Verify wiring.
- There are a number of example scripts available. The low-level Pi interface provides some testing scripts, or you can jump straight to some of the examples here.
- Profit.