Go to Post Our robot will use sensors to collect information about its environment, then discard that information and drive into a wall. - Jared Russell [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-05-2007, 12:11
Kelly Kelly is offline
Registered User
FRC #1418
 
Join Date: Jan 2007
Location: VA
Posts: 78
Kelly has much to be proud ofKelly has much to be proud ofKelly has much to be proud ofKelly has much to be proud ofKelly has much to be proud ofKelly has much to be proud ofKelly has much to be proud ofKelly has much to be proud ofKelly has much to be proud of
Re: Interfacing a digital compass with the RC

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?
  #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
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I get a digital compass sensor? EHaskins Technical Discussion 6 26-09-2007 18:33
Interfacing with Allen-Bradley Sensors doubleslash Electrical 9 31-01-2006 14:11
I2C Digital Compass Programming CyberWolf_22 Programming 7 03-01-2005 00:20
Interfacing a PC with last year's Robot Controller punarhero Technical Discussion 2 21-04-2004 00:05
Interfacing a second Micro to the RC Matt Reiland Programming 3 08-06-2003 00:11


All times are GMT -5. The time now is 11:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi