View unanswered posts | View active topics It is currently Wed Jul 30, 2014 8:02 pm






Reply to topic  [ 2 posts ] 
Change PWN range for servo control 
Author Message
Rookie

Joined: Mon Oct 21, 2013 12:22 pm
Posts: 2
Post Change PWN range for servo control
I understand "stock" range is 1ms to 2ms with 1.5 being center. But our servos can do 180 degrees if they are driven with 0.5ms to 2.3ms PW. How can I change my RobotC function so it's range maps to a wider range?


Mon Oct 21, 2013 1:11 pm
Profile
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 558
Post Re: Change PWN range for servo control
Per reference to this thread (viewtopic.php?f=53&t=5030&p=26978), ROBOTC is unfortunately unable to force a pulse wave outside of the standard 1.0ms to 2.0ms range (as the Cortex's Master processor is what actually sends the pulsewaves to the motor ports). The only way to create a wider servo range is to either gear the servo appropriately or to use an additional piece of hardware, such as a 'servo stretcher', to achieve the required pulse width range.

Please be mindful of rule <R5> of the VEX Toss Up Game Manual if you choose to go with additional hardware, as it probably will not be legal for competitive use.

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Thu Oct 31, 2013 12:38 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.