Pulse Train HAT Jog Control of a CNC Machine

Story

We now have created a platform on Hackster.IO for the Pulse Train Hat, if you could help us by becoming a member, then it would help us a lot as we need 25 members to get it featured.pulse train hat jog control of a cnc machine

https://www.hackster.io/pulse-train-hat

Pulse Train Hat for Raspberry Pi Jog Control of a CNC Machine using Instant Commands

With this example, we show how to use the PTHAT as a simple Jog Controller.

We have connected the PTHAT to our CNC machine at work as a test.

Within the software you can alter the settings to suit your own CNC machine, such as Pulses per mm on each Axis and speeds.

Within the application you first connect to your Raspberry Pi serial port by clicking the Connect button.

Also we have interfaced an external Jog controller to show how easy it is to use with the combination of the Raspberry Pi and the PTHAT.

The External Jog Controller is made using simple push buttons that connect to the Raspberry Pi GPIO pins. Within the software we monitor these pins to see if they go high or low and call the routines within the software to send out the movement commands.

Commands used in this example are:

Set Axis Command Set Auto Count Pulse Out Command Start Axis Command Stop Axis Command Request Current Pulse Count Command Toggle Motor Enable Line Request Firmware Version Reset PTHAT

In this video we give an overview of the example software we supply enable jogging on your CNC machine.

The end developer has easily modify this example to build their own application.

The example application was developed in Visual Studio 2015 that can be used with Windows 10 IOT on the Raspberry Pi or compiled to x86/x64 for use on a PC.The example has been written in C# as a Universal Windows Platform (UWP).

Please use the following link to download the full source code.

Download Now

Gallerypulse train hat jog control of a cnc machine

The example application was developed in Visual Studio 2015 that can be used with Windows 10 IOT on the Raspberry Pi or compiled to x86/x64 for use on a PC.The example has been written in C# as a Universal Windows Platform (UWP).

Please use the following link to download the full source code.

For more detail: Pulse Train HAT Jog Control of a CNC Machine


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top