View Single Post
  #2   Spotlight this post!  
Unread 23-05-2007, 13:08
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Interfacing a digital compass with the RC

Quote:
Originally Posted by Kelly View Post
We have a holonomic drive train, and we want to use the compass to determine which way our robot is pointing so we can make a field-centric drive system. We aren't worried about it being off relative to the Earth, we just need it to be consistently off.

We're trying to use the 2007 RC for this project. Can it receive PWM input?
Ahhh I always wanted to try this! Though with the added bonus of a fluxgate compass in the OI pannel too, so a crab drive could always be relative to the OI pannel, even if the operator is walking with the robot. ANYHOW....

Absolutely it can recieve PWM input, thats the great thing about embedded processors, you can do about anything you want! If you need help with how to program up a pulse timer using a hardware timer and a PORTB external interrupt, i can definitely help, just get me in touch with your programmer and i'll see what i can do.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08