CNC Mill Controller for Stepper Motor Milling Machine

Making a joystick-controlled CNC Mill Controller for the stepper motors on our milling machine

Date 21 November 2009
Views 8,130
Time to read 2 minutes read

DIY CNC Mill Controller for Stepper Motor Milling Machine

This add-on to our CNC mill was made to allow manual control of the mill CNC stepper motors using a pair of 2 axis joysticks obtained from a broken radio control plane radio transmitter.

The circuit uses a 12-series PIC processor to sample the joystick position and determine a centre point. This then sends one output to the mills motor controller for the direction which switches between 0V and 5V via an optical isolator and the second output from the PIC Processor gives a voltage which corresponds to the position of the joystick between 0-5V which goes into a voltage to frequency chip which sends a pulsed output to the mills motor controller for the speed. This is also isolated using an optical isolator to protect this new circuit when the PC is controlling the mill.

The finished hand controller with the 2 joysticks which came from an old RC plane controller.

finished hand controller

For the rear of the joysticks, we are only using 3 of the 4 channels for this project.

The rear of the joysticks

For one of the three PCs for the control box, we had a problem with the PCB layout software getting the output pins on the optical isolators backwards so they had to be mounted vertically and the wires crossed.

pcbs for the control box

The mill motor controllers with the computer's parallel port connection are visible on the left side.

mill motor controllers

Tags: Projects

Comments


Leave a comment

Your email address will not be published.

Please enter the text from the image below to prove you are a human
Verify you are human

Share

Share to Bluesky

Share to X / Twitter

Share to Facebook

Share to linkedin

Share to Pinterest

Copy Link