I am building a simple device that requires a PC to control a bi-directional motor thru USB. I have a Sabertooth 2X10 motor driver which can take serial data in. I intend to use a USB to RS232 serial converter to interface between the driver and a PC.
The question is:
What do I do on the software side on the PC? Is there something available that would work? I can’t find anything online for this purpose.
Ideally the software would have a window with a simple slider or other obvious method to control the motor speed and direction with the PC’s mouse or up/down arrow keys.
There are lots of options to do this without resorting to C++ or Java where you would have to find an object capable of what your want, or write an awful lot of code.
But Tk supports sliders, and can be integrated into Tcl or Perl or Python to do what you want. I can’t speak to the others, but in TclTk this would be about a 20 line program, assuming you take the slider value and spit it out a serial port to be interpreted by an Arduino, ARMmite or whatever.
There might be sample apps you could find in VisualBASIC to do the same.