Go to Post Dave Lavery just responded to one of my posts. I think that I might die. - Karibou [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Events   CD-Media   CD-Spy   FRC-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 01-20-2007, 04:06 PM
Nicodemus Nicodemus is offline
Head Electrician of 1599
FRC #1599 (Full Metal Racket)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Mechanicsville, VA
Posts: 8
Nicodemus is an unknown quantity at this point
Question about Gear-tooth?

Ok I have searched through this forum and through the manuals but I still have a question about how to actually wire the gear-tooth sensor if someone could please send me a link for that or explain it to me I would be greatly appreciated. I have a feeling I know how it goes but last year I fried two and I'm just not sure.
  #2   Spotlight this post!  
Unread 01-20-2007, 04:59 PM
Commander07 Commander07 is offline
Registered User
FRC #1730
 
Join Date: Jan 2007
Location: Lee's Summit
Posts: 4
Commander07 is an unknown quantity at this point
?

What exactly is the Gear-tooth sensor used for?
  #3   Spotlight this post!  
Unread 01-20-2007, 05:08 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 7,734
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Send a message via AIM to Alan Anderson
Re: ?

Quote:
Originally Posted by Commander07 View Post
What exactly is the Gear-tooth sensor used for?
It's for detecting the passage of gear teeth past the sensor. Its output turns on and off in step with the metal teeth going by. When it is connected to a digital input on the Robot Controller, the software can set things up to count the pulses and thus tell how far the gear has turned in a given amount of time. It's useful for speed and/or position feedback on a motor.

Last year the TechnoKats used gear tooth sensors on the output of each gearbox for the drive wheels. In autonomous mode, that let the robot know how far it was traveling and how much it was turning, so it could control its motors to get to where it needed to be. I know a few teams used them to monitor and adjust the shooter wheel speed.
  #4   Spotlight this post!  
Unread 01-20-2007, 08:11 PM
Phalanx's Avatar
Phalanx Phalanx is offline
Registered User
AKA: Michael Reffler
FRC #1089 (Mercury)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Hightstown, NJ
Posts: 370
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: Question about Gear-tooth?

Quote:
Originally Posted by Nicodemus View Post
Ok I have searched through this forum and through the manuals but I still have a question about how to actually wire the gear-tooth sensor if someone could please send me a link for that or explain it to me I would be greatly appreciated. I have a feeling I know how it goes but last year I fried two and I'm just not sure.
Everythng you need to know is in this thread......
http://www.chiefdelphi.com/forums/sh...t=51840&page=2

First off, download and read Kevin Watsons encoder code and encoder FAQ
http://www.kevin.org/frc/encoder/
http://www.kevin.org/frc/frc_encoder.zip

To make his code work with the gear tooth sensors you need to remove the "Phase B" logic from it.

Second you wire them to digital I/O 1 and digital I/O 2 with a pwm cable. You also need to power them on a 12volt power supply as well.

See the 2007 Sensor Manual for more information.

To wire the sensor...

Take one end of a pwm cable, and solder it to J2, the black wire to GB (ground-black) the red wire to 5R (+5 volts-red) the white wire to SW (signal white). Connect the other end of this pwm to digital I/O 1.

Take a 2nd pwm cable and solder it to J1, the black wire to GB, the white wired to (12W), the red wire is unused. Connect the other end to a 20amp circut on one of your atc breaker panels.

Mount the sensor from .5 to 2.75 mm away from the gear to be measured.

Repeat this for the second one except connect it to digital I/O 2.

As for the code...
Use encoder 1 and encoder 2, disable the others. Then remove the "Phase B" logic in the interrupt handler for encoder 1 and encoder 2.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #5   Spotlight this post!  
Unread 01-21-2007, 01:19 AM
Nicodemus Nicodemus is offline
Head Electrician of 1599
FRC #1599 (Full Metal Racket)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Mechanicsville, VA
Posts: 8
Nicodemus is an unknown quantity at this point
Re: Question about Gear-tooth?

Thank you... though the code information and the such I don't need I'm just an electrical person anything doing with code goes right over my head I just know that our programmer wants a gear-tooth sensor working and I'm just trying not to fry it this year. Thank you again I really appreciate it.
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
Gear Tooth Sensor Zoom Programming 46 01-22-2008 07:05 AM
Quick question regarding the gear tooth sensor... Brad Voracek Electrical 3 01-12-2007 12:07 AM
Question About Gear Boxes CE Mexican Motors 5 12-19-2006 02:14 PM
Gear Tooth Sensor nukem Programming 9 02-04-2006 07:21 PM
Gear Tooth Sensor Question (InsrtNameHere) Electrical 2 01-20-2006 01:19 AM


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

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


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