Lydia is a thoughtfully created, RESTfully controlled quadruped robot. She's fun to play with and easy to build.
Lydia is made to be simple and affordable. She's 100% 3D printable and is powered by an ESP8266 so any device with WiFi can be used as a controller.
If you like or are using this project, please give it a ⭐ for motivation :)
Lydia is controlled by sending her HTTP request. This means that you can simply open up a web browser or use curl
to start issuing her commands.
Issue walk commands to Lydia by making a post request to /walk/
.
Arguments:
direction: the direction to move Lydia
- forward
- backward
- left
- right
duration: the amount of ms to move Lydia
Example walk request:
POST /walk?direction=forward&duration=3000
Responds with 200
upon success.
Lydia may be rotated by making a post request to /turn/
.
Arguments:
direction: the direction to rotate Lydia
- clockwise
- counter
duration: the amount of ms to rotate Lydia
Example Turn Request:
POST /turn?direction=clockwise&duration=3000
Responds with 200
upon success.
You may request API info by making a GET request to Lydia's webroot:
GET /
This will respond with a JSON object describing the other endpoints.
Instructions how to flash and program ESP8266 can be found here. More instructions will be released with time, including how to print everything and what parts to order.
- Implement webserver API (in-progress).
- Update documentation to be beginner friendly.
- Write client to contact with API.
Controllers:
- Feather Huzzah: ESP 8266, docs on the controller.
- Feather PWM / Servo Sheild, servo controller product listing.
- 16 Channel PWM / Servo Shield, docs on similar servo controller.
Chassis:
- Allbot STL files for 3D printing.
- Allbot documentation for parts list, assembly information.
- Allbot Website
Misc:
ESP8266 / NodeMCU:
- ESP8266 Arduino Port github.
- ESP8266.com Forums
- ESP8266.com Wiki
- NodeMCU docs
- NodeMCU Builds, builds custom firmware in the cloud.
- MIT, see LICENSE for more details.