Devtronic SmartPendant

This project allow to control grblHAL based CNC machine withot PC. It also make work way more convinient.

Store: https://devtronic.square.site/

Image Image

Firmware

Source code for this project can be found there: https://github.com/nickshl/SmartPendant

Latest firmware placed in Release folder: SmartPendant.hex

To load new firmware STM32CubeProgrammer is used. Connect SmartPendant to PC using USB-C cable. Press and hold BOOT0 button, then short press NRST button, couple seconds later BOOT0 button can be released. Open STM32CubeProgrammer. In top right corner choose "USB" from drop down list. If field "Port" in "USB Configuration" show "No DFU detected" click update button near it. Click "Connect" button - STM32CubeProgrammer should establish connection and show current device memory content. Click "Open File" in left to corner, select firmware HEX file, then click "Download" button in top left corner. When flashing is done, close STM32CubeProgrammer and short press NRST button on the Controller to restart it.

Note: if flashing is successful, but firmware isn't work, check STM32CubeProgrammer log. If it says "sector 0000 does not exist" erasing operation wasn't successful and new firmware "merged"(write operation can only flip bits from 1 to 0) with old one. To fix this issue, press "eraser" button in bottom right corner and click "Ok" button in pop up window. After erasing is finished "Device memory" should show only FFFFFFFF. Flash new firmware after that.

PCB files

https://oshwlab.com/nick_shl/smart_pendant

Parts

To make this project yourself, you will need this essential parts:

Case

Image

3D_Print folder of this repo contain 3D files(OpenSCAD and STLs) of the case.

Dimensions

160 mm x 65 mm x 20 mm (55 mm with handwheel and handle) Approx. 6-3/8" x 2-5/8" x 3/4"

Schematic

Image

Firmware

Source code can be found there