A simple library for controlling a NeoPixel matrix display. Running the app.py file will display a simple animation on the matrix. Written for Raspberry Pi and WS2812B LED matrix displays.
Before you begin, make sure you have the following:
- Raspberry Pi (Zero 2)
- MicroSD card with Raspberry Pi OS (Raspbian) installed
- USB Wi-Fi dongle (if your Raspberry Pi Zero doesn't have built-in Wi-Fi)
- Access to a computer with an SD card reader
This guide will help you configure a Wi-Fi connection on your Raspberry Pi and make it automatically connect on boot.
sudo apt update
sudo apt upgrade
sudo apt install wireless-tools wpasupplicant
iwconfig
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Add the following lines, replacing "Your_SSID" and "Your_Password":
network={
ssid="Your_SSID"
psk="Your_Password"
}
sudo ifup wlan0
ifconfig wlan0
sudo nano /etc/network/interfaces
Add the following lines to auto-start the Wi-Fi interface. Replace "Your_SSID" and "Your_Password":
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
sudo reboot
$ pip install flask
$ python app.py