A UCCNC Plugin to receive commands from an Arduino Nano-powered CNC Pendant Uses Solid.Arduino library to talk to Arduino Nano
https://zero-divide.net/?article_id=5319_custom-cnc-pendant-project
- Electronics Design: https://a360.co/3NGWRTP
- https://a360.co/3NLhfDk
- https://a360.co/3JObaVh
-
All resistors used were 10K
-
Speed and Feed potentiometers are 10K Their pinout goes like this: Wiper->ground = 0%, Wiper -> +5V = 200%
-
Axis and Handwheel Increment rotary switches are 4-position and their pinout goes like this:
- Axis select pins: 1-X, 2-Y, 3-Z, 4-A, C-Common (+5V)
- Handwheel Increment pins: 1-0.0001, 2-0.0010, 3-0.0100, 4-0.1000, C-Common (+5V)
-
All function buttons such as Jog +/-, M1, M2, etc are sending +5V signals to the digital pins D2-D12 D13 digital pin is connected to a LED indicator and is used to tell the user that the Pendant is allowed to send signals to the plugin.
- Install the Full Firmata library onto your Arduino Nano (Or any other Ardiono that supports USB Serial Communication):
StandardFirmata
sketch used for Arduino NANO is also added to the release package
- Please note that you might need to install
Arduino USB Driver
in order for your Arduino to work on the target computer!
- Download the latest LEETArduinoPendant from the releases and extract it to your PC.
- Copy the
LEETArduinoPendant.dll
plugin file to theC:\UCCNC\Plugins
directory! - Copy the
Solid.Arduino.dll
file from theSolid.Arduino
release folder to theC:\UCCNC
directory. - Please note that you might need to install
Arduino USB Driver
in order for your Arduino to work on the target computer! - Launch UCCNC.exe, go to
Settings->Configure Plugins
, and mark theLEET Arduino Pendant
plugin asEnabled
andCall startup
- After everything is installed, Arduino is connected and UCCNC is running, press the "Enable" (+5v to D2-B-ENABLE ) button that will tell the plugin that the pendant is ready to send signals! D13 (LED+) will then have a continuous +3.3V signal alerting you of that!