Skip to content

314rs/gyrolights_arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GyroLights

A pair of pneumatic stilts, where both stilts are equipped with an ESP32, gyroscope and APA102 LED Strips. The LED effects can react to the movement using a accelerometer/gyroscope. Different modes can be set using a rotary switch on the master unit. The currently active mode is communicated to the slave unit via Bluetooth Low Energy.

Installation

To install and run this project, follow these steps:

  1. Clone this repository to your local machine.
  2. Open the project in VSCode with the PlatformIO plugin installed
  3. Edit the configuration files at include/effectsConfig.h and include/projectConfig.h
    • a pair of stilts must have the same BLE_MASTER_NAME
    • a pair of stilts can actually be exactly one master and any number of slaves
  4. To select the master/slave sketch, select the environment accordingly. (eg. VSCode Statusbar in the bottom where its says env:master (gyrolights_arduino))

Documentation

Doxygen documentation can be found here.

Todo

  • event driven
  • e1.31 sACN
  • ota update
  • move bluetooth stack to nimble (maybe better with esp-idf buildsystem)
  • refactor leds** to leds*