![]() |
Re: EE question: convert RS232 voltages to RC servo
1 Attachment(s)
Quote:
|
Re: EE question: convert RS232 voltages to RC servo
Quote:
After some research and some experimentation on three old PCs I had languishing here, I've determined that the RS232 control pins typically1 output only about 8 milliamps when shorted. A simple 1N914 diode2 is all that is required to turn that into a PWM signal suitable for driving a Jag or Vic motor controller3. 1 warning: YMMV 2 available at Radio Shack! 3 bucks for a pack of 50 3 I hope. I haven't looked at the waveform on a scope yet to see how crisp it is, nor tried running a motor controller with it. |
Re: EE question: convert RS232 voltages to RC servo
Quote:
|
Re: EE question: convert RS232 voltages to RC servo
Quote:
1) Before doing this, check the short-circuit current output of the RTS pin of the RS232 port you plan to use. All the ones I tested were limited to approx 7 milliamps, but yours may not be. If not, add a series resistor to limit the current.More details later. |
Re: EE question: convert RS232 voltages to RC servo
Just to be clear, which circuit were you using? I've been lurking in this thread and have been curious to the solution myself.
|
Re: EE question: convert RS232 voltages to RC servo
1 Attachment(s)
Quote:
|
Re: EE question: convert RS232 voltages to RC servo
The zener would be useful only if there was a maximum voltage tolerable; that's not the case here. So Figure H would be fine IMHO (and seems like it is). R can be adjusted to limit current if necessary
|
Re: EE question: convert RS232 voltages to RC servo
Quote:
http://www.chiefdelphi.com/media/papers/2702 It includes circuit diagrams and complete source code for a demo app to generate the PWM signal with an old unwanted laptop or desktop PC. Thanks to Eric, Don, Hugh, Al, and others who helped with the circuit stuff. |
| All times are GMT -5. The time now is 05:51. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi