Skip to content

resal1510/rpiLedWebController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpiLedWebController

Raspberry Led Web Controller is simply a webpage that can command your Neopixel led strip (or any another ws2812 led strip).

Prerequisites

  • Python 3
  • PIP3

##Wiring guide

add images

Installation

Part 1 (Prerequisites for the ledstrip)

1. Update package list

sudo apt-get update

2. Install needed package to compile needed files

sudo apt-get install gcc make build-essential python-dev git scons swig

3. Disable the Audio output (mandatory idk why) :
Edit this conf file

sudo nano /etc/modprobe.d/snd-blacklist.conf

And add this line on it. Save it and close it

blacklist snd_bcm2835

4. Disable the Audio output on the Boot conf file too :
Edit this conf file

sudo nano /boot/config.txt

Search these lines and un-comment the 2nd line. it should look like this :

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

Save it and close it

5. Reboot the system

sudo reboot

6. Download the needed library to use the ws281x led strips :

git clone https://github.com/jgarff/rpi_ws281x

7. Compile the library :

cd rpi_ws281x/
sudo scons

8. Install the python libray

cd python
sudo python3 setup.py build 
sudo python3 setup.py install 
sudo pip3 install adafruit-circuitpython-neopixel

Part 2 (Webserver)

1. Clone this repository

git clone https://github.com/resal1510/rpiLedWebController.git

TO CONTINUE

Usage

python3 controller.py

Releases

No releases published

Packages

No packages published