I am working on making my own torch height control for my plasma table. I can get the signal fairly easily from the Powermax45 because it outputs a 1/50 voltage out the back. I am going to use an Arduino microcontroller to sample this every half second or something similar and compare the analog input to a set parameter and adjust the height accordingly.

The problem I am running into(in my head) is how to interface the Arduino with the Gecko G540 I am using.

Example...

I dont remember the voltage range the Powermax outputs but I know it is higher than what the Arduino can handle so I will be using a voltage divider to be decided at a later time.

Arduino gets a signal...signal will be 0-1023

Arduino compares signal...Input signal is 700, set range is 500-550

Arduino outputs signal...Lower Torch(output 1) <---How would I make this actually control the stepper motor? Intercept the signal from the DB25 connection and use pin 6 and 7 to control it?

Like if I need to lower it, set pin 7(step direction) high or low and then pulse or power pin 6 to get motor to move?