Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

A light installation for raves, consisting of multiple light tubes with addressable pixel strips, driven by an ESP32 microcontroller.

License

Notifications You must be signed in to change notification settings

niliha/ravelights-standalone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaveLights

A light installation for raves, consisting of multiple tubes with addressable pixel strips, driven by an ESP32 microcontroller.

Demo video of RaveLights in action

Setup

So far, RaveLights has been tested with WS2812 LEDs. The setup can be seen as one long LED strip with N * M LEDs, arranged as matrix with N rows and M columns.

Getting started

A PlatformIO installation is required, and optionally an IDE integration, e.g. for VSCode.
Using PlatformIO, you can build the project and upload it to an ESP32.

See src/main.cpp for usage and adapt the config to your setup.

Contributing patterns

Patterns are represented by classes that inherit from the abstract base class AbstractPattern and implement a method with signature unsigned perform(std::vector<CRGB> &leds, CRGB color), which is called repeatedly by the RaveLights instance. This is where a single cycle of a pattern must be implemented (see existing patterns). The leds vector holds RGB color values for all (rowCount_ * columnCount) pixels which can be modified as desired. To finally light up the pixels, FastLED.show() can be used. See also the convenience methods provided by AbstractPattern.

About

A light installation for raves, consisting of multiple light tubes with addressable pixel strips, driven by an ESP32 microcontroller.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published