This repo is no longer maintained. The ESP-NOW "Client" feature is included in the main Controller repo below.
See the Serial Commands documentation on how to change the mode mode client at runtime.
The client mode codebase is located in ClientMode.cpp
https://github.com/wezhunter/ESP32_LinuxCNC_MotionController_RealTime
Connects to the ESP32 Motion Controller for LinuxCNC via a low-latency point-to-point wireless link (ESP-NOW)
- Motion Controller is still able to act as a WiFi hotspot (softAp) or client (station) simultaneously
- Example project that provides bi-directional communication of both with little-to-no impact to motion controller
- Motion Controller sends its full feedback packet to this client every 1s or 200ms if an axis is moving
- Feedback packet includes IO (Input and Output) states, all axis position and velocitiee, machine control states
- Example data struct included which can be sent from this client based on any event (GPIO etc)
- Motion Controller and LinuxCNC HAL driver can be extended to support wireless client to host control with low latency
- Wireless control panel for LinuxCNC
- LCD/DRO status
- Custom MPG pendant
- Wireless VFD control (modbus/analog) to help remove any VFD control noise
- Extra GPIO for non-time-critical control aspects
- Wireless sensor data streaming directly into LinuxCNC HAL (Temp sensors, tool changer, probes etc)
- Clone this repo into Visual Studio Code PlatformIO
- Find WiFi MAC address of Motion Controller from its serial console at startup
- Modify remotePeerAddress variable in main.cpp with the mac address from above
- Flash to an ESP32 board of your choosing
- Probably lots but it's a start