Uploaded November 2017 | Updated September 2026, 1 week ago
This video shows you how to use an analog $2 joystick combined with an ESP32 to control your TinyG CNC machine from ChiliPeppr. The ChiliPeppr ESP32 for Lua workspace is used to write the code and upload it to the device.
The device reads in the ADC values on two GPIO pins from the ESP32. Those values get converted to Gcode. The Gcode is sent every 250ms over a websocket via Wifi to the Serial Port JSON Server, which then forwards it to the TinyG over USB.
ChiliPeppr ESP32 for Lua Workspace
chilipeppr.com/esp32
ChiliPeppr CNC TinyG Workspace
chilipeppr.com/tinyg
This video shows you how to use an analog $2 joystick combined with an ESP32 to control your TinyG CNC machine from ChiliPeppr. The ChiliPeppr ESP32 for Lua workspace is used to write the code and upload it to the device.
The device reads in the ADC values on two GPIO pins from the ESP32. Those values get converted to Gcode. The Gcode is sent every 250ms over a websocket via Wifi to the Serial Port JSON Server, which then forwards it to the TinyG over USB.
ChiliPeppr ESP32 for Lua Workspace
chilipeppr.com/esp32
ChiliPeppr CNC TinyG Workspace
chilipeppr.com/tinyg










