All Projects → chrisys → led-pixel-controller

chrisys / led-pixel-controller

Licence: other
A balenaCloud setup for Fadecandy and Glediator, to control a 250 RGB LED matrix

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to led-pixel-controller

rosetta-at-home
Fold for Covid - Help fight the COVID-19 pandemic with your old laptop, Raspberry Pi, or other spare computer
Stars: ✭ 78 (+151.61%)
Mutual labels:  balena, balenacloud
kerberos-balena
Run Kerberos Open Source on Balena Cloud with just a few clicks.
Stars: ✭ 29 (-6.45%)
Mutual labels:  balena
multicontainer-demo-rpi3
A demo of balena multicontainer on Raspberry Pi3 with PiTFT LCDs
Stars: ✭ 18 (-41.94%)
Mutual labels:  balena
Lightwork
Computer vision based LED mapping framework
Stars: ✭ 124 (+300%)
Mutual labels:  fadecandy
balenaPrint
Managed CUPS on Raspberry Pi devices, running balenaOS
Stars: ✭ 67 (+116.13%)
Mutual labels:  balena
rpi3-bluetooth
Raspberry Pi 3 on-board Bluetooth example
Stars: ✭ 17 (-45.16%)
Mutual labels:  balena
wifi-connect
Easy WiFi setup for Linux devices from your mobile phone or laptop
Stars: ✭ 1,043 (+3264.52%)
Mutual labels:  balena
balena-yocto-scripts
Helper scripts for balena yocto builds
Stars: ✭ 14 (-54.84%)
Mutual labels:  balena
awesome-balena
A curated list of helpful balena.io resources.
Stars: ✭ 55 (+77.42%)
Mutual labels:  balena
balena-plant-saver
We're building a plant monitor (and saver) - this is the early stage
Stars: ✭ 68 (+119.35%)
Mutual labels:  balena
builder
Treehouses Awesome 👓 Raspberry Pi Image Builder 🏗
Stars: ✭ 44 (+41.94%)
Mutual labels:  balena
balena-wpe
Fullscreen WebKit browser with hardware accelerated CSS, WebGL, and HTML5 video for the RaspberryPi 3.
Stars: ✭ 372 (+1100%)
Mutual labels:  balena
balena-python-hello-world
Example of how to deploy Python code on a balena supported device.
Stars: ✭ 31 (+0%)
Mutual labels:  balena
home-urbit
Sovereign software for the Urbit internet appliance.
Stars: ✭ 56 (+80.65%)
Mutual labels:  balena
balena-rpiplay
Turn a Raspberry Pi into an Airplay server using RPiPlay to enable screen mirroring on tvs, monitors and projectors.
Stars: ✭ 1,341 (+4225.81%)
Mutual labels:  balena
balena-node-red
a node-red application with balena-supervisor support, can be managed remotely via balena publicURL
Stars: ✭ 54 (+74.19%)
Mutual labels:  balena
balena-chromium-kiosk
BalenaOS/BalenaCloud based Kiosk using Chromium on a RaspberryPi
Stars: ✭ 46 (+48.39%)
Mutual labels:  balena
balena-fin
General information about the balenaFin including design files, software support, and more
Stars: ✭ 44 (+41.94%)
Mutual labels:  balena
background-radiation-monitor
Monitor and record background radiation levels with a cheap detector and a Raspberry Pi.
Stars: ✭ 25 (-19.35%)
Mutual labels:  balenacloud

LED Pixel Controller

This project provides a VNC or web-client VNC interface to Glediator, which ultimately allows you to control an array of WS2811 or compatible RGB LED pixels/neopixels via an Adafruit Fadecandy board.


Hardware needed

The project has been built to run on Raspberry Pi 3 or 4 and balenaFin.

  • 250 5-volt WS2811 LEDs in the form of 5x 50 LED strings - I got mine from AliExpress of course, but Amazon and others carry them too.
  • A Raspberry Pi 3B/3B+, 4 or balenaFin (others will likely work too, but probably not the Pi Zero for this project)
  • SD Card - 8GB is plenty, but go for the Sandisk Extreme Pro
  • A 5V power supply - get the Mean Well LRS-100-5
  • An Adafruit Fadecandy board
  • LED string connectors - you can just solder the wires but the connectors are nice for modularity
  • Optionally, if you want to print your own case, a 3D printer or 3D printing service to print the case - recommended!

Assembly and building

A full blog post is published here with a complete tutorial on assembly and setup.


Deployment

This project has been built to be deployed to balenaCloud in order to enable remote access from anywhere and management of multiple devices and updates.

Get started deploying all the software you need by clicking the button below.

The deployment process will ask you to sign up or sign in to balenaCloud, and then add a device to the application. This will automatically set up your device with all the software required.


Customization

Different matrix sizes

The project is set up and configured to run with a 25x10 matrix based on 5 folded strings of 50 LEDs each. This is entirely configurable, and there's more information in this blog post that explains how.

Scheduler

What good is a light controller if you can’t schedule a simple on and off time?! Set the device service variables below for the glediator service within the balenaCloud dashboard to enable automated switching of the lighting. This works by toggling the output of Glediator on and off, so although the device itself will stay powered on and online, the LEDs themselves will turn on and off.

The timer uses cron format to specify times. I recommend using crontab.guru to figure out what you need.

Set the TIMER_ON variable to set the on time for your lighting. For example: 0 9 * * * to turn on at 9AM.

Set the TIMER_OFF variable to set the off time for your lighting. For example: 0 2 * * * to turn off at 2AM.

After you've set your on and off time, set ENABLE_TIMER to 1 to enable the timer function, and be sure to set your timezone as below to ensure the times you're setting are in your local time. The default is UTC.

Timezone

In order for the scheduler to work correctly, you'll of course have to tell the device what timezone you'd like to use. Set the TZ environment variable to any IANA timezone, e.g. Europe/London, America/Los_Angeles, Asia/Taipei etc.


Credits

This project is made possible by some great free software, both in terms of usage and inspiration:

Amongst a lot of other supporting software, too!

Note: this project includes freely available software (Glediator) from solderlab.de. At the time of writing the site is currently down and so we have mirrored the download within this project. This will be removed upon request by the author or when the site comes back online.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].