PICmicro & dsPIC >> PICmicro & dsPIC

Matt5



Reged: Oct 16 2003
Posts: 2
PWM for driving hobby servos at 45Hz
      Sun Oct 05 2003 09:03 PM

Hello All!

I am attempting to drive a hobby servo with my PIC18F452 by using the CCP port to output a PWM signal.  Hobby servos work with a 45Hz signal and I am having trouble slowing down the PWM signal from the PIC to anything even close to 45Hz.  I have the prescaler and period registers set so I get the slowest possible speed but its still too high.  The only option I have found left is to lower the clock speed of the PIC itself, which interferes with other elements of my code.  What I am asking is if there is a way to insert a pause or slow down the PWM output even more.  If any of you have experience driving hobby sevos any advice you have would be most welcome.  Thanks in advance!

-Matt


Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* PWM for driving hobby servos at 45Hz Matt5 Sun Oct 05 2003 09:03 PM
. * * Re:PWM for driving hobby servos at 45Hz Andrew Kalman   Mon Oct 06 2003 07:59 PM
. * * Re:PWM for driving hobby servos at 45Hz Mike Rigby-Jones   Mon Oct 06 2003 04:35 AM
. * * Re:PWM for driving hobby servos at 45Hz John Temples   Sun Oct 05 2003 11:00 PM

Extra information
1 registered and 42 anonymous users are browsing this forum.

Moderator:  mikerj, jtemples, jeff, Dan Henry, Andrew L 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Thread views: 3121

Rate this thread

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5