/opcu

Open Pixel Control protocol over UDP

Primary LanguagePythonApache License 2.0Apache-2.0

Web Frontend

WORK IN PROGRESS A web frontend using the Flask Webserver is currently in the process of being written. It consists of a single dropdown menu and a Go Button. The dropdown menu is generated based on the opc.yml config file. It sends the name of the dropdown menu using Unix Domain Sockets to the multi_opc.py file.

UDP version of Open Pixel Control

Consuming raw or undercooked meats, poultry, seafood, shellfish or eggs may increase your risk of foodborne illness.

translate.py

This file is designed to be used the the official OpenPixelControl simulator. Simply put that file on the machine that will run the simulator. Start the simulator then run translate.py.

Installing spidev

sudo apt-get install python3-spidev

docker-compose run opc

Building Feather firmware

  1. Make a copy of the wifi_secrets.h.template file and name it wifi_secrets.h
  2. Edit the wifi_secrets.h file to include the WiFi credentials
  3. Install the WiFi101 library by Arduino for the WINC1500 module using the IDE Library Manager.
  4. Manually install the following library:
  1. Add the Adafruit boards index to the IDE's preferences, under "Additional Boards Manager URLs".
  2. Select the "Adafruit Feather M0" under the Tools menu.
  3. Compile and Upload to the Feather over USB.

For more information about using the IDE with the Feather see: https://learn.adafruit.com/adafruit-feather-m0-basic-proto/using-with-arduino-ide

This project is based on: https://github.com/adafruit/Adafruit_Lightship/