Go to Post Batteries are like clamps or money, you can never have enough. - IndySam [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
  #12   Spotlight this post!  
Unread 29-01-2005, 00:24
MyFeetHurt MyFeetHurt is offline
Registered User
AKA: Christine Laing
#1018 (RoboDevils)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Indianapolis
Posts: 1
MyFeetHurt is an unknown quantity at this point
Re: Hall Effect Sensor.

Hey, Stu, it's Christine. I did some calculations.

Wheel radius = 4", Robot speed = 10 ft/sec, gear by sensor has 45 teeth

2 * pi * 4" / revolution

* 1 revolution / 45 teeth

* 1 sec / 120 "

* 1000 mSec / sec

= 4.65 mSec / tooth

In other words, you can't do this by polling the sensors in a 26 mSec cycle, and you probably can't do it in the fast cycle either.

I think the right way to do this is to hook the sensors to a digital counter and poll the counter. I could be wrong. I don't know squat about counters, it's after midnight, and I can't remember how quickly the fast code cycles.

I won't be there this weekend. See you all Monday.
 


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
Making a Sensor Board SpaceOsc Technical Discussion 11 15-05-2004 12:46
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Banner Sensor Programming Problem 2Crisis Programming 4 24-02-2004 13:40
IR sensor trouble D.Viddy Electrical 2 30-01-2004 09:49
Quick Optical Sensor Question zorro Technical Discussion 10 21-01-2003 06:39


All times are GMT -5. The time now is 11:37.

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