🔴 WARNING - the hardware / firmware of the project is not stable and has a showstopper issue #1
Firmware project for Wireless CNC targeting ESP-01 board.
The firmware implements a simple WebSocket server that re-transmit all the messages from / to serial interface and WebSocket.
- Install VSCode and PlatformIO. The latter will take care of downloading all necessary toolchains and libs.
- Create
.envfile at the root of the repo. - Put the
CNCD_HOTSPOT_PW=<password>into this file. That is a WiFi hot spot password you'll need to enter on first connect to the device. - Compile and flash firmware using PlatformIO.
- Grab the ESP-01 board and flash it with firmware
- Insert ESP-01 into the slot of the cncd-esp01-board , the arrow on the top side shows the direction of the ESP-01 antenna
- Connect the board with the CNC Controller Board using Offline Controller's cable
- Power on CNC
- Configure WiFi connection of CNCD
- Install and run Wireless CNC Controller
- Now you can upload CNC job to controller and launch it!
- Device will start a WiFi hot spot called "WirelessCNC" protected with the password you specified in
.envfile before the build. - Connect to it from smartphone or other device.
- Smartphone will show you are captive portal hosted by the device that will be asking you to select and then connect to your home WiFi network.
- After selecting the network and entering password device will reboot and connect to your home network.
- After that it becomes discoverable by Wireless CNC Controller app
- Wifi connection configuration powered by WiFiManager library
- The firmware starts a hotspot that allows to configure connection to your home WiFi network and then reboots
- mDNS server that allows CNC Controller app to discover the device