|In my 30 year career, one thing I have learned is that if you truly enjoy your work, you'll be good at it. - DonRotolo [more]|
You can easily generate a PWM signal to drive a Victor, Jaguar, or Talon using the RTS & DTR pins of the RS232 serial port on an old junker laptop with an early Pentium or 486 processor.
NOTE: The third attachment below is a pre-compiled ready-to-run program. You don't have to do any programming if you don't want to.
Code Examples 20120809.pdfdownload file
PWM DEMO 20120809.zipdownload file
PWM-GEN 8-9-2012.zipdownload file
Make a DOS boot diskette 20120810.pdfdownload file
Signal conversion circuit 20120809.pdfdownload file
PWM Signal Generator 2012-08-13.pdfdownload file
FreeDOS boot USB 2012-08-13.pdfdownload file
07-18-2012 04:33 PMEther
There was a small error in the Code Examples so I updated that file.
I also uploaded a complete working demo program (full source code) that can serve as a starting point for creating your own app. Just add a user interface. Or, you can just use the TP7 IDE as the user interface.
Remember: this program works properly ONLY on DOS machine, where the app has full and exclusive control of the machine and direct access to the hardware.
It will not work properly in a "DOS Window" under Windows.
07-24-2012 06:52 AMEther
I just uploaded a beta-test version of a ready-to-run app which supports both the RTS and DTR pins of the RS232, so you can generate two independently-adjustable PWM signals with one RS232 serial port:
Note that you can drive up to 4 motor controllers (in parallel) with each signal.
Screenshot of the user interface. I'd be interested in constructive feedback from users.