View Single Post
  #7   Spotlight this post!  
Unread 26-05-2012, 18:25
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Arduino PWM output

Quote:
Originally Posted by sand500 View Post
Can the Arduino support reverse PWM or can it only output values from 0-255 so only one direction?
Although this has been implied, there is no such thing as reverse PWM. Duty cycles can be anywhere between 0 and 255, with 0 being full reverse, 255 being forward, and a deadband in the middle for neutral.

Quote:
Originally Posted by sand500 View Post
Would the PWM output be compatible with Jaguars, Victors and the VEX motor controllers?
The Arduino PWM library will not. The Servo library will. See above for the reasons why.
Using the Servo library will give you the full range of control over a Victor. We have developed testing platforms which feed Arduinos an analog input to drive a Victor; no recalibration was necessary, but the code had to be tweaked a little.
You will have to either recalibrate the Jaguar or adjust the methods found in the Servo library to achieve a full range of control.

Quote:
Originally Posted by sand500 View Post
I know that the RobotOpen shield gives ability to use the digital side car but is it worth the price?
You don't need RobotOpen for a task like this. RobotOpen is designed to replace a cRIO, allowing teams to work with a larger budget and replace the core of their control systems with little hassle.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners