Thread: CAN vs PWM
View Single Post
  #11   Spotlight this post!  
Unread 19-12-2010, 01:10
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: CAN vs PWM

Quote:
Originally Posted by ratdude747 View Post
what all does the programmer need to know to convert the code written for pwm to CAN?
If you're just converting PWM control to open-loop voltage mode in CAN (also called percent Vbus), it's pretty easy.
There should be an example drive project in the CAN release.

If you're using speed or position mode, you should understand PID and how to use encoders.
If you're using Current mode, you should know that the sensor is only accurate within 1 amp, and is not suitable for small motors.
__________________
-- Marshal Horn
Reply With Quote