Page 1 of 1

p.p.m to p.w.m conversion

Posted: Sat Dec 15, 2001 4:27 am
by toejam
hi,
T'm looking for a way to convert the servo output of an r.c. reciever to p.w.m to control the foward and reverse speed of a motor.Instead of using an h bridge i want to use a relay to reverse the motor. The speed must be ramped up with an adjustable rate.I think a pic would handle this but am lacking in this area thanks, jim

Re: p.p.m to p.w.m conversion

Posted: Tue Dec 18, 2001 5:59 pm
by James Cart
Hi Toejam,
I don't have any URL's handy, but do a search for RC car speed controllers. There are plenty of examples for the PIC micro, schematics, source code and all.
I have also seen simple analog controllers schematics that can do the same thing. I fooled around one afternoon with an analog speed controller, it was easy to breadboard and worked suitably well.
On the ramping, it sounds like that is best done on the transmitter end. The coding could get a little sticky if your not that experienced.
regards,
James

Re: p.p.m to p.w.m conversion

Posted: Thu Dec 20, 2001 12:27 am
by toejam
Thanks for that info,James.I just finished researching that before i posted this question.There were many sites listed but none seemed to be responding.I did find one analog version but no leads reguarding the use of pics.It seems like any information related to that subject has been erased.

Re: p.p.m to p.w.m conversion

Posted: Sat Dec 29, 2001 2:17 pm
by josmith
I haven't actually tried this conversion on a stamp but just about anything on a stamp is easy. <p>It has commands like pulsein to read the length of the incoming pulse and pulseout to send the conditioned pulse to your amp.Use either math or a lookup table in between. It also has a pwm output but it's more for controlling an analog voltage. Download stamp.exe and the documentation free form www.parallaxinc.com. Make your own programming cable and you'll just have to buy the stamp itself.

Re: p.p.m to p.w.m conversion

Posted: Tue Jan 08, 2002 6:29 am
by toejam
thank you joesmith. that is an great website.I've still been lookin around and came up with some info in seattlerobotics.org on servo modification.The neat part is the hardware design gives me good insight about possable programs for the stamp.Now to get down to basics whew!!

Re: p.p.m to p.w.m conversion

Posted: Tue Jan 08, 2002 6:30 am
by toejam
thank you joesmith. that is an great website.I've still been lookin around and came up with some info in seattlerobotics.org on servo modification.The neat part is the hardware design gives me good insight about possable programs for the stamp.Now to get down to basics whew!!

Re: p.p.m to p.w.m conversion

Posted: Tue Jan 08, 2002 6:31 am
by toejam
thank you joesmith. that is an great website.I've still been lookin around and came up with some info in seattlerobotics.org on servo modification.The neat part is the hardware design gives me good insight about possable programs for the stamp.Now to get down to basics whew!!