View More Like this at my website jamespoole.me where I have other projects similar to this! 🙂
***Github Repo For This Project***
I built this project a few months ago but never got around to documenting it until now. The idea for this project is to have an RGB light strip that can be turned on and off and have the colours changed from a phone app. It’s a simple idea with a relatively simple solution. While it is not fully supported, I think it is possible to get a Neopixel light strip working with a Raspberry Pi. But for this I used an Arduino Nano to operate the light strip and a Raspberry Pi to serve the website.
- Raspberry Pi
- Adafruit NeoPixel Light Strip (https://www.adafruit.com/products/1376)
- WiFi Dongle
- 5v 3A Power Supply
- DC Barrel Adapter
- Jumper cables (male to male and female to female)
- Block of wood and metal strip
Setting up the Hardware
I installed standard Raspbian on the RPi and set it to boot to the command line in the raspi-config menu. The “arduino_lights” folder in the Github repo contains the file that is to be placed on the Arduino. Use the Arduino IDE to load the file onto the board. The wiring is as in the Fritzing diagram. I will include photos of my setup but it is a real mess due to a lack of female to female jumper cables and my poor soldering skills!
Not Included is the DC Barrel Jack that splits the power supply into Positive and Negative lines that can be connected to the NeoPixel.