This is the code repository for Creative Embedded Systems' kinetic sculpture project. When powered, this sculpture will animate whenever the button at this link is pressed.
Usage: The code above is intended for use with a 5v DC step motor in conjunction with an ESP32 Wrover module and a step motor drive board. The code is currently set to connect the ESP32 to local wifi and to repeatly ping a link that returns a simple bool value. When the value is true, the loop action activates. Wifi credentials are accessed through credentials.h (not included in this repo). For personal usage, clone this repo, fill in the included .h template for your Wifi credentials, and include them in the code instead of "credentials.h".DO NOT COMMIT YOUR OWN WIFI TO GITHUB.
For further instructions regarding the materials used with this motor, visit, the blog past here.
Big thanks to Max Bennett for putting the API together and for providing sample HTML GET code for Arduino devices.