Light Sequence Controller

xLights Interactive Buttons

This is a tutorial on how to create a xLights xScheduler interactive button prop that will engage spectators by allowing them to manually move backward or forward through a playlist of a xLights light show sequence by selecting a “Back” or “Next” buttons.

Required items:
  1. Buck Converter
  2. Wemos D1 Mini
  3. Wemos Protoboard Shield (Optional)
  4. Wemos Dual Base Shield (Optional)
  5. Button Switch
  6. Drain Cover
  7. Waterproof Project Box
  8. 12 Volt Power Supply
  9. 3″ PVC Pipe
  10. PVC Closet Flange
  11. Modified Code
Details:

It stands about 36 inches and is decorated with red and green ribbons for that true Christmas theme. The support post is about 26 inches high, and is made from 3 inch diameter PVC pipe and is inserted into a closet flange that is attached to the ground with 6 inch metal spikes.

The buttons are attached to a 5 x 8 waterproof project box mounter on top of the PVC pipe with a drain cover. The instructions and the function of each buttons is clearly labeled across the surface of the box.

The normally open pin of each switch connects to D5 (GPIO14) and D6 (GPIO12) respectively of the D1 Mini. Both normally open pins of each switch are also pulled to ground by a 10K Ohm resistor. The common of each switch are also pulled to ground.

Exploded view with Duel Base and Proto Board shields

There is a button sketch on the xLights GitHub repository, however this was designed for an Arduino with an Ethernet shield and has to be modified to work correctly with the ESP8266 .

Please follow and like us:
error

Leave a Reply

Your email address will not be published. Required fields are marked *