Go to Post it's possible, based on his widespread approval, that Frank is in fact a collection of kittens in a human suit - Andrew Schreiber [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
  #16   Spotlight this post!  
Unread 09-01-2005, 18:33
Caleb Fulton's Avatar
Caleb Fulton Caleb Fulton is offline
Z = Z^2 + C ......WHEEEE!
AKA: aXvXiA
#0461 (West Side Boiler Invasion)
Team Role: College Student
 
Join Date: Dec 2002
Location: West Lafayette, Indiana
Posts: 205
Caleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura aboutCaleb Fulton has a spectacular aura about
Send a message via AIM to Caleb Fulton
Re: Hall Effect Sensor.

Here are a few tips on the Hall Effect sensors:

These guys simply output a digital signal corresponding to whether or not a gear tooth is in front of them or not, and the polarity of the signal depends on the direction of gear rotation wrt the sensor itself (see the data sheet for more details: http://www.allegromicro.com/datafile/0660.pdf). Think of this device as a one-bit wheel encoder when you program for it.

The air gap, according to the manufacturer, should be 0.5-2.5mm, though they assure us that their adaptive sensing technology can make it work for an even bigger gap, especially with larger gear teeth.

The device has an open-drain output stage, but the digital inputs on the RC have pull-up resistors built-in, so you can directly connect the signal to the RC's inputs. Try to avoid grounding the signal wire, though, as this would technically be a short-circuit. Don't worry if you do -- the manufacturer says it has short-circuit protection on the output stage.
__________________
  #17   Spotlight this post!  
Unread 09-01-2005, 21:31
FreakyAntelope's Avatar
FreakyAntelope FreakyAntelope is offline
Unregistered User
AKA: Toby Waite
#0246 (Overclocked)
Team Role: Electrical
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Medford, MA
Posts: 51
FreakyAntelope will become famous soon enough
Send a message via AIM to FreakyAntelope
Re: Hall Effect Sensor.

We are given two Hall Effect Sensors. By using them to count teeth of sprockets on opposite sides of your robot you can calculate the difference in number of wheel rotations, and from that rotation of your robot.

If they are used this way, i believe, they work as a replacement for a gyro, although they would not account for being pushed or otherwise interfered with.

- Toby
  #18   Spotlight this post!  
Unread 10-01-2005, 07:29
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Hall Effect Sensor.

Guys,
Read some of the posts above before making guesses. The Hall effect sensors are easy tachometers that can tell you how fast a gear is rotating and how many gear teeth have passed by the front of it. Using two on the same gear, about 90% apart, can also give you direction information with some simple electronics or software interpretation. The accelerometer can be used only to give an indication of turning. It will give a large output for a bump or fast turn and a small output for a slow turn. Combine the data from all three and you will know that you have traveled "X" inches in some direction relative to your starting direction.
As a caveat, if your wheels are not firmly on the ground, counting gear teeth tell you nothing.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #19   Spotlight this post!  
Unread 10-01-2005, 09:47
Stu Bloom's Avatar
Stu Bloom Stu Bloom is offline
I REALLY want to be Andy Baker
FRC #1018 (RoboDevils)
Team Role: Mentor
 
Join Date: Dec 2002
Rookie Year: 2002
Location: Indianapolis, IN
Posts: 662
Stu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond reputeStu Bloom has a reputation beyond repute
Send a message via AIM to Stu Bloom Send a message via Yahoo to Stu Bloom
Re: Hall Effect Sensor.

Quote:
Originally Posted by sanddrag
Check the Accelerometer bag. They are very tiny things and many teams have found them stuck to the accelerometer so they look like part of it.
Thanks, I haven't had a chance to re-check our kit yet, but I see that this is documented in the "Guidelines, Tips and Good Practices" document (page 26 - see attachment). IMO this should have been documented on the kit checklist (to look on the accelerometer). Seems these could be easily missed, even for those who know what they are looking for
Attached Thumbnails
Click image for larger version

Name:	HallEffect.jpg
Views:	143
Size:	59.0 KB
ID:	2767  
__________________
Stuart Bloom
Mechanical Engineer
Rolls-Royce Corporation
FIRST Team 1018 - Pike HS RoboDevils
My activity for 2012:
  • Boilermaker planning committee
  • Israel Head Ref - DONE (and it was FANTASTIC!)
  • Boilermaker Regional (with 1018) - DONE
  • Midwest Head Ref - DONE
  • WORLD Championships (with 1018) - DONE
  • IRI Head Ref - DONE
  • CAGE Match Head Ref
  #20   Spotlight this post!  
Unread 10-01-2005, 12:21
dez250 dez250 is offline
54... What a good number!
no team
 
Join Date: Dec 2002
Rookie Year: 2000
Location: Upstate NY / Manchester, NH
Posts: 1,721
dez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond reputedez250 has a reputation beyond repute
Send a message via AIM to dez250
Re: Hall Effect Sensor.

http://www.allegromicro.com/datafile/0660.pdf

I can confirm that is the proper spec sheet for the hall effect gear tooth sensor that is included in the 2005 FRC KOP. It is labled Data sheet 27627.107
__________________
#5

-Michael Dessingue
  #21   Spotlight this post!  
Unread 10-01-2005, 20:07
Nucks Nucks is offline
'Nucks
#1347 (Trobotics)
Team Role: Engineer
 
Join Date: Jan 2005
Location: Vancouver
Posts: 3
Nucks is an unknown quantity at this point
Re: Hall Effect Sensor.

Quote:
Originally Posted by sanddrag
Check the Accelerometer bag. They are very tiny things and many teams have found them stuck to the accelerometer so they look like part of it.
We thought we didn't have it either, but after reading that, we checked and found it, thanks
  #22   Spotlight this post!  
Unread 10-01-2005, 20:37
xxmaddjxx's Avatar
xxmaddjxx xxmaddjxx is offline
Captain & Driver
AKA: Mark Fisher
#1396 (Pyrobots)
Team Role: Driver
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Staten Island, New York
Posts: 36
xxmaddjxx is on a distinguished road
Re: Hall Effect Sensor.

Arghhh! I don't understand lol.

Ok the Hall Effect sensor counts teeth and has to be mounted very close to the gear.

The accelerometer measures acceleration. How is that done and where does it have to be mounted.

How do all these values come together in the RC and help me?

What does the code that we get for both these sensors do?
__________________
"The One Day Wonder"
2004 - Nationals Judges Award
2004 - NYC Regional Rookie Allstar
2004 - NYC Regional Semi-Finalist

  #23   Spotlight this post!  
Unread 11-01-2005, 07:24
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Hall Effect Sensor.

Quote:
Originally Posted by xxmaddjxx
Arghhh! I don't understand lol.

Ok the Hall Effect sensor counts teeth and has to be mounted very close to the gear.

The accelerometer measures acceleration. How is that done and where does it have to be mounted.

How do all these values come together in the RC and help me?

What does the code that we get for both these sensors do?
If you know what your final gear ratio is (or you test to find out the correlation between counts and inches moved on the floor) you can determine how far the robot has moved. If it runs straight, you can tell where it is at any moment by keeping track of the counts. If you use the accelerometer, you can tell how much the robot has turned (or if it has turned the amount you want it to) so you now have direction and distance. Combine the two and get a rough idea where you are on the field. Be careful, the accelerometer output is proportional to the acceleration in one direction or the opposite direction. If it is mounted parallel to your direction of travel, it has no output. Read the spec sheet carefully to learn all of the nuances of the device and how to best filter out the info you need.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #24   Spotlight this post!  
Unread 12-01-2005, 11:39
cdawzrd's Avatar
cdawzrd cdawzrd is offline
Vice-President of Caffine
AKA: Jonathan
#0619 (CA Robotics)
Team Role: Programmer
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Charlottesville, Virginia
Posts: 63
cdawzrd will become famous soon enough
Send a message via AIM to cdawzrd
Re: Hall Effect Sensor.

So... They are sprocket-tooth encoders. Check.

How do we wire them? They have 4 pins, I haven't checked but it seems like they might fit on a PWM cable, but that only has 3 pins, so is it possible to wire it with only 3 pins or do we need to make new cables?

--Jonathan
  #25   Spotlight this post!  
Unread 12-01-2005, 16:21
scottm87 scottm87 is offline
Registered User
AKA: Scott McClure
#0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Nov 2002
Rookie Year: 2000
Location: Bloomfield Hills, MI
Posts: 24
scottm87 is on a distinguished road
Re: Hall Effect Sensor.

Quote:
Originally Posted by cdawzrd
So... They are sprocket-tooth encoders. Check.

How do we wire them? They have 4 pins, I haven't checked but it seems like they might fit on a PWM cable, but that only has 3 pins, so is it possible to wire it with only 3 pins or do we need to make new cables?

--Jonathan
To wire this sensor, I suggest you check out the spec sheet that is linked numerous times in this thread. A link to the sheet is on the FIRST site at:
http://www2.usfirst.org/2005comp/Specs/gths1.pdf

For a basic overview, looking from the top of the sensor, the pins from left to right are supply, output, int. connection, and ground. it can take 4.5 to 24 volts input voltage (you would probably use 12), and the output will provide a digital signal whenever a gear tooth passes by (whether or not the output is high or low when a tooth goes by depends on the direction of rotation).

CHECK the spec sheet before you try it. It is helpful to see the diagram and check for yourself.

Scott
  #26   Spotlight this post!  
Unread 12-01-2005, 16:32
scottm87 scottm87 is offline
Registered User
AKA: Scott McClure
#0469 (Las Guerrillas)
Team Role: Programmer
 
Join Date: Nov 2002
Rookie Year: 2000
Location: Bloomfield Hills, MI
Posts: 24
scottm87 is on a distinguished road
Re: Hall Effect Sensor.

Quote:
Originally Posted by seanwitte
Gyros measure angular velocity, not acceleration. The first integral of the velocity it the distance, so integrating a gyro provides angular distance, or relative heading.

Using a gyro to measure the robot's heading is pretty common with FIRST robots. The parts teams used last year are the Analog Devices ADXRS150EB and ADXRS300EB. The only difference is that the 150 can measure +- 150 degrees per second and the 300 measures up to 300 degrees per second.

Lots of posts describing how to do it.
Oops! You are right... With all the accelerometer discussion, I got all mixed up. The ADXRS sensors are nice, but you need to deal with the packaging. I think (not sure) the price limitations have been loosened enough that you can get an evaluation version of the accelerometer with some support circuitry brought out header pins that can be plugged into a board. This is much easier than dealing with a surface mount part, if you do decide to use it. Since there are more suppliers, it may also be possible to pick up other sensors now (the Memsic ones are also nice... and if it is allowed, you can buy it from Parallax pretty cheap.) Heh, you may even be able to get the old FIRST accelerometers from some supplier.
  #27   Spotlight this post!  
Unread 12-01-2005, 17:17
xxmaddjxx's Avatar
xxmaddjxx xxmaddjxx is offline
Captain & Driver
AKA: Mark Fisher
#1396 (Pyrobots)
Team Role: Driver
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Staten Island, New York
Posts: 36
xxmaddjxx is on a distinguished road
Re: Hall Effect Sensor.

Quote:
Originally Posted by Al Skierkiewicz
If you use the accelerometer, you can tell how much the robot has turned (or if it has turned the amount you want it to) so you now have direction and distance.
How do you use the accelerometer to know how much you turned and in what direction?

What kind of value does it give out?
__________________
"The One Day Wonder"
2004 - Nationals Judges Award
2004 - NYC Regional Rookie Allstar
2004 - NYC Regional Semi-Finalist

  #28   Spotlight this post!  
Unread 13-01-2005, 14:29
Leav's Avatar
Leav Leav is offline
Spud Gun Division
AKA: Leav Oz-Ari
FRC #3316 (D-Bug)
Team Role: Mentor
 
Join Date: Dec 2004
Rookie Year: 2005
Location: Technion, Haifa, Israel
Posts: 774
Leav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond reputeLeav has a reputation beyond repute
Send a message via ICQ to Leav Send a message via AIM to Leav Send a message via MSN to Leav
Re: Hall Effect Sensor.

Has anyone had any luck with mounting the hall effect sensors?

i haven't found anything that fits them.......

also, if you haven't read the manual it states that you must connect pin 4 to pin 3 externally.

-Leav
__________________
"We choose to build robots this season and do the other things; Not because they are easy, but because they are hard."
-Paraphrasing JFK

Participated in FIRST as a student: 2005-2006 (But still learning every season!)
Mentor: 2008 - ? (Team 2630 2008-2011, and Team 3316 since 2013)
Engineer: 2011 - ? (B.Sc. and M.Sc. in Mech. Eng. from the Technion IIT)
FIRST Volunteer - 2007 - ? (MC, FTA, FIRST Aid etc.)
  #29   Spotlight this post!  
Unread 13-01-2005, 15:47
Captain Rich's Avatar
Captain Rich Captain Rich is offline
I am 245
FRC #0245
 
Join Date: Dec 2004
Rookie Year: 2002
Location: MI
Posts: 51
Captain Rich is a jewel in the roughCaptain Rich is a jewel in the roughCaptain Rich is a jewel in the rough
Re: Hall Effect Sensor.

Quote:
Originally Posted by Al Skierkiewicz
Using two on the same gear, about 90% apart, can also give you direction information with some simple electronics or software interpretation.
Ok, someone help me, I'm not understanding how measuring the speed of the same gear twice would turn into a direction.
__________________
Richtopia Prevails Again!
http://richtopia.vzz.net www.adamsrobotics.com
  #30   Spotlight this post!  
Unread 13-01-2005, 15:51
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: Hall Effect Sensor.

Quote:
Originally Posted by Captain Rich
Ok, someone help me, I'm not understanding how measuring the speed of the same gear twice would turn into a direction.
Rich,

Please read http://www.chiefdelphi.com/forums/showthread.php?p=307123&highlight=encoders#post307 123.

We were talking about encoders on that page but the theory of quadrature remains the same as what Mr. S is talking about.
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...

Last edited by Mike Betts : 13-01-2005 at 16:16. Reason: Fix URL Link
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
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 18:08.

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