Searching \ for '[PIC]: 16F87x Servo Control with PWM' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=servo
Search entire site for: '16F87x Servo Control with PWM'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: 16F87x Servo Control with PWM'
2001\05\12@170200 by Chris Carr

flavicon
face
Donovan Parks wrote
>
> I'm looking for sample code on how to control a servo motor with the
> built-in PWM pins on the 16F87x.  I need to control two seperate servo's -
> one with each PWM pin.  The PicList Source Code section has some example
on
> how to set-up PWM for the 16F87x, but doesn't show how to use it once you
> have it set up (ie. how to change the duty cycle, frequency, etc...).
> Thanks for any help.
>
I believe you need to be state exactly what type of servo motor you require
to
control.

If it is a Radio Control Model Servo Mechanism then you do not normally use
the PWM facility on a PIC to achieve control. There should also be a great
deal of information on controlling these mechanisms in the archives. So I
must assume it is a different mechanism you are trying to control.

Hence your need to specify exactly what type of mechanism you wish
to control.

Regards
Chris Carr

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\05\12@175035 by Donovan Parks

flavicon
face
Hello Chris,

I am looking to control a radio controlled servo (ie. the ones used in model
airplanes).  Why do you suggest instead of PWM?  I'm hoping ot use PWM so
that I don't need to process code to toggle a digital pin on and off in my
code.

> If it is a Radio Control Model Servo Mechanism then you do not normally
use
> the PWM facility on a PIC to achieve control. There should also be a great
> deal of information on controlling these mechanisms in the archives. So I
> must assume it is a different mechanism you are trying to control.
>
> Hence your need to specify exactly what type of mechanism you wish
> to control.

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\05\12@181751 by Bob Blick

face
flavicon
face
The usual method would be to bit-bash it by hand. On the '87x you could
also use the compare module(s).

Cheers,

Bob Blick


{Quote hidden}

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


2001\05\12@230131 by Drew Vassallo

picon face
>I am looking to control a radio controlled servo (ie. the ones used in
>model
>airplanes).  Why do you suggest instead of PWM?  I'm hoping ot use PWM so
>that I don't need to process code to toggle a digital pin on and off in my
>code.

Search the PICLIST archives.. there must be dozens of examples there as well
as around the internet.


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...