ESP32 Wireless Joystick over Websockets for ChiliPeppr CNC Control

jlauer12
Posts: 9
Joined: Mon Nov 06, 2017 6:14 pm

ESP32 Wireless Joystick over Websockets for ChiliPeppr CNC Control

Postby jlauer12 » Mon Nov 27, 2017 3:35 am

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
http://chilipeppr.com/esp32

ChiliPeppr CNC TinyG Workspace
http://chilipeppr.com/tinyg

https://www.youtube.com/watch?v=ITgh5epyPRk
Image

jlauer12
Posts: 9
Joined: Mon Nov 06, 2017 6:14 pm

Re: ESP32 Wireless Joystick over Websockets for ChiliPeppr CNC Control

Postby jlauer12 » Tue Dec 26, 2017 8:20 am

A product was just released on Aliexpress specifically to this video and project. I'm not related to the seller on Aliexpress, so it's pretty cool to see that this project influenced a product release there. https://www.aliexpress.com/item/Joystic ... 71340.html

Who is online

Users browsing this forum: No registered users and 101 guests