Go to Post What's a pirate's favorite robotics tournament? Aye-arrrrrrrrrr-aye, matey! - John Wanninger [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-01-2006, 12:12
GlennGraham's Avatar
GlennGraham GlennGraham is offline
Registered User
AKA: Glenn Graham
FLL #0006 (Shark Bait!)
Team Role: Coach
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Beaverton, Oregon
Posts: 20
GlennGraham is an unknown quantity at this point
Vex navigation with ultrasonic and encoders

I'm a 3 year veteran FLL coach and I am starting to investigate what Vex has to offer "out of the box". I've been working with the Starter Kit and added tank treads, encoders, and the ultrasonic sensor. I'm using MPLAB for code development and the libraries installed with easyC. I'm trying to test the envelope of the encoders and sonic sensor to see what they can and can't do using the routines provided in the easyC libraries.

With the encoders hooked directly to the motors running at top speed, if start the encoders, start the motors, execute a while (count < 100) loop, stop the counting, stop the motors, I find the the ending counts are 104 and 106. At that rate, can the encoders achieve single count resolution? Could be skipped counts and I'm looking into whether I can improve things by adjusting the code.

With the ultrasonic sensor, I find that it works pretty well if it faces a smooth, flat, solid surface but gets pretty "iffy" with anything else (hand, leg, cat, etc.). Is this typical? I also noticed that the "cone" of sensitivity is pretty narrow. I was hoping for about 20-30 degrees but its more like 10-15. I suspect I would need to use several to cover a wide enough area to track a moving person/robot/cat.

If anyone has been spent time to characterize the limitations of the sensors I would really enjoy reading an overview of what they have learned. If not, I will be writing one later once I have more experience with them.
 


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
VEX UltraSonic and Encoder SOLD OUT... Chris_Elston Electrical 5 09-01-2006 13:22
VEX Optical Shaft encoders in FRC sanddrag FIRST Tech Challenge 8 04-10-2005 07:52


All times are GMT -5. The time now is 10:03.

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