MatixYo/ESP32-Drawing-Robot — reverse-engineered prompt
Reverse engineered prompt
Build me a complete ESP32 S3 SCARA drawing robot project that controls three servos and lets me draw from a browser.
I want the firmware to run on an ESP32, connect to WiFi, home the servos on startup, and expose a simple web interface at a local address like draw.local or by IP. The web app should be lightweight and let me move the pen around, send drawing paths, and control pen up and pen down. Please include configuration for the distance between the two servos and the arm linkage lengths so I can adjust it for my printed robot.
Make it buildable in PlatformIO and include a way to create one merged firmware binary that I can flash with ESPHome Web Flasher. Put the browser UI in its own web folder and make it easy to run locally during development.
Also add basic safety checks so if someone clicks outside the reachable drawing area, it doesn’t crash or reboot the robot. Look up current docs online if you need to.
Want more depth? Deep Reverse