View Single Post
  #14   Spotlight this post!  
Unread 07-03-2004, 17:25
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Getting Fancy with Sensors

Quote:
Originally Posted by KevinB
We're having great success with "counting ticks on a stupid encoder".
not only did we have great sucess, but we can control turning, distance and speed down to 1/4", and its shorter, faster, and simpler then writing a gyrp algortiom. 2 intrupts, 2 banner sesors, 2 wheels, 2 variables. lol thats it.

Quote:
Originally Posted by Random Dude
Well, they could be using an external micro for the sensor IO. Thats how I'd do it atleast.. collect and process all the data externally, and just ship it back in a nice neat format to the RC.
That way you don't need to waste cycles on the RC integrating the gyros, and counting the encoders, etc...
for next year im working right now on a pic16F84 in basic (yea i know; shush up) to integrate the gyros (2x) 2 banner sensors (for the wheels) and a compass. it will output the data in rs232 format as (speed)-(direction) every time its polled, and a (time)-(distance) may get built it soon. i might might write a white paper on it if i can pass history

edit: once agein, my education is interfering with my schooling
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"

Last edited by jacob_dilles : 07-03-2004 at 17:31.