PTHAT Controlling Coil Winding Machine using Instant Commands

With this example, we show how to control a Coil Winding Machine with the PTHAT.

The Coil Winders we tested on are both our own production machines and use stepper motors for both the feeder arm and bobbin motor assembly.

Within the software you will see you can set the pulses per revolution for the bobbin motor and the pulses per revolution along with pulses per 1mm travel on the feeder arm.

 

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

Make sure your Coil Winder is Set to the left side of the bobbin.

Now set your Bobbin Diameter, Wire Size, Total Windings and RPM.

Now finally click on the Start button and it will send out the commands set and start the Coil Winder.

Watching the video below will give a better overview.

Commands used in this example are:

Set Axis Command

Set Auto Direction Change Command

Set Auto Count Pulse Out Command

Start Axis Command

Stop Axis Command

Pause/Resume 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 to control a Coil Winding 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.

Gallery

Closer look at the PCB's