Go to Post Wow! Shipping to Israel?!? It's exciting to have a fan from so far away :D - stens987 [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 24-01-2006, 11:17
cprogrammer's Avatar
cprogrammer cprogrammer is offline
Registered User
FRC #1595 (Gremlins)
Team Role: Programmer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Washington
Posts: 42
cprogrammer will become famous soon enoughcprogrammer will become famous soon enough
Gear Tooth Sensor Trouble

I have a question on the G.T.S. when we try to get a read out on the screen all we get is a value of zero. Is teh GTS defined as an rc_dig_inxx or is it a rc_dig_outxx. Another thing the J1 pins are connected to the 12V circut breaker and J2 goes to the Dig in/outputs. Also can anybody tell me the way that they mounted their gyro. If anybody could answer even one of these questions that would be very helpful.
  #2   Spotlight this post!  
Unread 24-01-2006, 13:48
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Gear Tooth Sensor Trouble

The Gear Tooth Sensor emits a pulse whenever a tooth passes it, varying in length vased on the direction, however our controller isn't very capable of decoding the direction while remaining stable and functional But you can measure the counts by setting up an interrupt to fire on each pulse, then incrementing a counter, take a look at Kevin Watson's interrupt and encoder code at http://kevin.org/frc/

Also, it goes in a digital input, 1 to 6 for interrupts.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
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
Will the gear tooth break? sanddrag Technical Discussion 11 23-01-2006 14:24
Gear Tooth Sensor AMIRAM Electrical 2 22-01-2006 04:09
Gear tooth sensor vs. Optical Encoders Avarik Programming 7 17-01-2006 10:18
Accelerometer vs Gear Tooth Sensors zdeswarte Electrical 4 22-01-2005 15:35
gears Michael Leicht Inventor 12 16-09-2004 10:52


All times are GMT -5. The time now is 01: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