Go to Post HOLY MOLY CANOLI THIS LOOKS LEGIT - MasterEric [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 13-01-2007, 20:19
mluckham's Avatar
mluckham mluckham is offline
Registered User
FRC #0758 (Sky Robotics)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Ontario, Canada
Posts: 116
mluckham will become famous soon enoughmluckham will become famous soon enough
Re: Help with the Kit Gear Tooth sensors

According to the 2007 Sensor Manual the sensor outputs a pulse, but as chris31 says the sensor should be wired to a digital input port and use interrupts - see Kevin Watson's code.

If you just try to "poll" for the state of the sensor in user_routines or even user_routines_fast, you will miss most of the pulses. Using interrupt method guarantees the pulse will be counted.

Last year we mounted the sensor securly inside the tranmission gearbox - no problems.
 


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
where can we buy hall effect sensors or gear tooth sensors amirjpl Electrical 3 13-02-2006 11:02
Gear Tooth Sensors et1337 Electrical 7 28-01-2006 22:48
Help with Gear Tooth Sensor RedOctober Electrical 3 27-01-2006 18:38
Source for Additional Gear Tooth Sensors Madison Kit & Additional Hardware 3 18-01-2006 16:57
Accelerometer vs Gear Tooth Sensors zdeswarte Electrical 4 22-01-2005 15:35


All times are GMT -5. The time now is 20:49.

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