Skip to content

MartenKiehn/NeoPixelMatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NeoPixelMatrix

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.

img.png

Prepare Raspberry Pi

Prerequisites

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

Set Up Wi-Fi and Enable Auto-Connect on Raspberry Pi

This guide will help you configure a Wi-Fi connection on your Raspberry Pi and make it automatically connect on boot.

1. Update and Upgrade Raspberry Pi OS

sudo apt update
sudo apt upgrade

2. Install Wi-Fi Tools

sudo apt install wireless-tools wpasupplicant

3. Check Available Wi-Fi Interfaces

iwconfig

4. Edit Wi-Fi Configuration File

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"
}

5. Enable the Wi-Fi Interface

sudo ifup wlan0

6. Check Your Wi-Fi Connection

ifconfig wlan0

7. Edit the Network Interfaces File

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

8. Reboot to Apply Changes

sudo reboot

Start Application

Install Flask

$ pip install flask

Usage

$ python app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published