Go to Post Programming isn't that hard once you get the hang of it. It has a steep learning curve like math. One day your trying to figure out 1 1, then the next day they throw x and y at you. Once you understand what x and y represent and learn to think in terms of functions, it's as easy as pi. - sciguy125 [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 28-01-2006, 11:55
et1337's Avatar
et1337 et1337 is offline
et1337
AKA: Evan Todd
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Columbus OH
Posts: 42
et1337 is a glorious beacon of lightet1337 is a glorious beacon of lightet1337 is a glorious beacon of lightet1337 is a glorious beacon of lightet1337 is a glorious beacon of light
Thumbs down Gear Tooth Sensors

Before I even start... I've already searched all over the forums.

So, our interrupt software works, and we know our sensor is hooked up and oriented right, but the software didn't register any clicks. So we hooked up an oscilloscope to it, and it's not registering any sort of pulse. So... we need help. Is it broken, or what?
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order.
et1337
  #2   Spotlight this post!  
Unread 28-01-2006, 13:01
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Gear Tooth Sensors

Check that you're getting power, that it's the right voltage, and that it's clean. Check the datasheets to see the allowable voltage range, and make sure you're not using 5V when you should use 12, or vice versa.
One of the trickiest problems I've ever debugged electronically (I'm no expert, so this may be a 'duh' thing to anyone who knows what they're doing) was when my +5V power rail was too noisy - the multimeter registered 5 just fine, but when you hooked it up to a scope it actually oscillated between 5 and 0 at something ridiculous like 5MHz. That was playing strange games with my PIC's oscillator...

If you're sure you're getting good power, try a different one? Maybe it is broken.
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!
  #3   Spotlight this post!  
Unread 28-01-2006, 17:42
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: 9,113
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
Re: Gear Tooth Sensors

Describe exactly how you have it hooked up. You say you know you did it right, but you'd probably say the same thing if you did it wrong.
  #4   Spotlight this post!  
Unread 28-01-2006, 19:56
Ryan M. Ryan M. is offline
Programming User
FRC #1317 (Digital Fusion)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Ohio
Posts: 1,508
Ryan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud ofRyan M. has much to be proud of
Re: Gear Tooth Sensors

Quote:
Originally Posted by Alan Anderson
Describe exactly how you have it hooked up. You say you know you did it right, but you'd probably say the same thing if you did it wrong.
An excellent point. I'm on his team... and haven't the faintest idea how we have it hooked up.

To keep this post from being completely worthless, I know that at least one professional electrical engineer looked at it. Beyond that... *shrug*
__________________

  #5   Spotlight this post!  
Unread 28-01-2006, 21:09
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,007
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Gear Tooth Sensors

Quote:
Originally Posted by ETodd
Before I even start... I've already searched all over the forums.
Thank you!
Quote:
Originally Posted by ETodd
So we hooked up an oscilloscope to it, and it's not registering any sort of pulse.
On the First hand, the hook up: From left to right, you want Ground, (nothing), +12 volts, Ground, +5 volts, and the last one is the signal output. That's right on the board.

On the Second hand: The GTS will sense the passing of a ferrous (Iron-based) object. Make sure a magnet will stick to your "gear".

On the Third hand: The Ferrous Gear must be within about 3 mm to be sensed. 1 mm is better and more reliable.

There is also a frequency limit, but it is doubtful you have reached that. Make sure the 'scope settings are such that you will see the pulses: The voltage will be around whatever is at the 5 volt input pin. You will see normally 0 volts with a brief pulse for each 'tooth'.

On our test rig, we used a flat steel bar, about 1/4" wide and 1/32" thick, 1.5 inches long, spun with one of the small fast motors in the KOP. We took great care to ensure the GTS was not struck by the bar as it spun.

Let us know how it turns out please! Also, we still can't figure out the interrupt code, so if you get something I'd be grateful if you could explain it to our programmer...

Don
__________________

I am N2IRZ - What's your callsign?
  #6   Spotlight this post!  
Unread 28-01-2006, 21:36
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
Re: Gear Tooth Sensors

try hooking it up away from the gear and just waving a ferous metal in front of it while it is hooked up to an oscilliscope to seeif you get a wave. If you do get a wave the sensor is not broken.
  #7   Spotlight this post!  
Unread 28-01-2006, 22:44
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Gear Tooth Sensors

Quote:
Originally Posted by Don Rotolo
...Also, we still can't figure out the interrupt code, so if you get something I'd be grateful if you could explain it to our programmer...
There are a few documents in the white paper section. I know that Eugene Brooks and Dan Katanski have written papers, so you might search by author.

-Kevin

Edit: Here's a link to Dan Katanski's paper.
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org

Last edited by Kevin Watson : 28-01-2006 at 22:47.
  #8   Spotlight this post!  
Unread 28-01-2006, 22:48
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: 9,113
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
Re: Gear Tooth Sensors

A "wave"? The GTS board produces a nice, clean, digital high-going pulse of less than a hundred microseconds each time it sees a gear tooth go by.
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
Source for Additional Gear Tooth Sensors Madison Kit & Additional Hardware 3 18-01-2006 16:57
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 19:15.

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