Uses arduino-esp32 FreeRTOS core. Hosts a web server which allows nearby users to control the device when in the same local network. Supports SVG file inputs and lists of coordinates.
ESP32-Arduino, FreeRTOS
AccelStepper
src/iot
contains modules for WiFi and the HTTP Web Serversrc/iot/webserver.h
HTTP Web Serversrc/iot/webserver.cpp
src/iot/templates.h
Web Server front end HTML templatessrc/iot/iot_config.h
Quick WiFi settingssrc/iot/wifi_setup.h
WiFi connection functionssrc/iot/json_parse.h
JSON parse functions
src/polargraph
contains the polargraph device class, motor control, and the coordinate buffersrc/polargraph/polargraph.h
src/polargraph/polargraph.cpp
static
HTML and JS source files used to generate the string literals in the web server templates
- WiFi ssid, pass, and mode set in
src/iot/iot_config.h
WIFI_MODE
Modes:AP
Access Point: Device Broadcasts an access point, webserver IP default192.168.4.1
STA
Station : Device connects to existing access point, webserver IP based on access point settingsAUTO
Auto: Device searches for existing access point, and broadcasts if it can't find one
Stepper | Step | Direction |
---|---|---|
R | GPIO 12 | GPIO 13 |
L | GPIO 4 | GPIO 5 |