During the summer, we created a generic library for asynchronously controlling the LED strips with sensors.
https://github.com/dutchhagelslag/twinkleToes
While the library is incompatible with our revised vision of a wireless system of sensors and outputs for dancers, the ideas and large parts of the code can be copied and revised as the core operations haven’t changed. We’ll just need to incorporate a wireless protocol.
For no particular reason, we have decided to start with testing the MQTT protocol. The current test setup look like this: LED Strip D1Mini my router RPI MQTTool (iPhone). While the subscriber publisher model is good for scalability and uniform deployment, the current setup has some latency which is probably no good for dancing. We will try setting up a shorter network cutting out the router by making the RPI the wireless access point like so: LED Strip D1Mini RPI MQTTool (iPhone). Depending on how much this reduces latency, we will consider moving to a UDP based system which might introduce packet loss idk, but TCP is probably fine. We’ll be working on it.