/ESP-NOW_CNC_Pendant

Wireless pendant for CNC machines using the ESP-NOW protocol, by Steve M. Potter

Primary LanguageC

ESP-NOW_CNC_Pendant

Wireless pendant for CNC machines using the ESP-NOW protocol, by Prof. Steve M. Potter.

The code is not polished or optimized...Use at your own risk.

Here is a video explaining the pendant and showing its functionality and performance: https://youtu.be/lYjtsSwlnhk?si=rMGWDyle2SELfMjO

I designed and programmed a wireless remote controller for my portable MPCNC carver. After nearly a year of hacking, coding, soldering, and learning, this pendant is now working very well. But it is still in the prototype stage, as there are some more bells and whistles to add. It uses Espressif's ESP-NOW wireless protocol, which is not WiFi or Bluetooth and does not need a router or internet connection.

My CNC router:

    • Portable MPCNC by Steve M.  Potter - https://youtu.be/ztcMPmEYCmw?si=rol4FsBMR3oWiyDZ
    
    • MPCNC V2 by Steve M. Potter test draw...  https://youtu.be/SJ8Mcgfx2aY?si=LbUnD--btqMe2pDg
    
    • Terrain Carving CNC Tutorial by Steve...  https://youtu.be/QPqFPspLMyI?si=XdtRTkhQCy7Utfjm

ESP-NOW: • ESP NOW: Espressif's Wireless-Communi... https://youtu.be/QmvMtgNs9r8?si=IjlicyEZRQglDU54


Pendant video Timeline:

00:00 Intro

00:12 Potter's Portable Primo MPCNC

00:50 Inspirations for my pendant design

01:01 ESP-NOW intro

01:51 Knobs and buttons!!

02:30 My pendant's functions, overview of its controls

03:03 Homing function demo

03:47 Fast jogging with the Rotary Optical Encoder

04:16 Joystick proportional control

04:59 Setting origin manually

05:10 Z-probing

06:21 Set origin to current Z

06:35 Step movement with pushbuttons

07:17 Move rapidly to Home and Park locations

07:45 Fine jogging with the ROE, speed comparison

10:53 Components used to build the wireless pendant

12:08 More about ESP-NOW wireless protocol

12:51 Receiver (ESP32) and Teensy 4.1 controller

14:00 Programming and software

15:11 Future improvements

16:01 Outro