Maybe OT if so, sorry but;
Could anyone point me to a solution or examples for doing step/direction input into a DC Brushed servo based upon a PIC?Have taken the many Application notes from Microchip and have a working board with a PIC17, quad encoder feedback and LMD18xxx bridges with the pic doing the PID, trajectory and accleration calcs. The input is from a PC VB app that sends commands of the form M, -800 or M +230, or Move axis to relative position. It appears to work better than I expected, the tuning section especially, thans to Microchip. Here's the question, I want to rework these to use in a three axis machine, to use some of the new Microchip Pics with Encoder interface in hardware, to maybe use CAN, but most of all to take direction from a step and direction motion command from the commmonly avaiable software. I know I can do the motor control, it's the step/direction input to move instruction bit I'm having trouble with.
Could anyone point me to a solution or examples for doing step/direction input into a DC Brushed servo based upon a PIC?