Go to Post Look for metal shavings in a pwm port; that's caused us to crash plenty of times. - Gary Dillard [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 19-01-2005, 23:52
LaughingJack's Avatar
LaughingJack LaughingJack is offline
I'm awake really...
AKA: Mike Weeks
#0753 (High Desert Droids)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2002
Location: Bend, Oregon
Posts: 3
LaughingJack is an unknown quantity at this point
Unhappy The Hall Effect sensor wiring?

I've spent a little over two hours searching the forums now and have had little luck. Although I've gained some new valuable information I still have a pitfall in my knowledge. I've reviewed all the threads I've found and searched the official schematic for the sensor and I am still a little confused . I was wondering if someone could post a simple diagram of the wiring (because i can't find where the four prong connector goes.) or if they could give a simple "verbal" walk through in it's connection. Is my problem with the external connection of pins 3 & 4, or am i just missing something obvious. Anyway any help is appreciated and thanks in advance.
  #2   Spotlight this post!  
Unread 20-01-2005, 00:04
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: The Hall Effect sensor wiring?

Cut the male end off of a PWM cable. Connect the red wire to pin 1, the white wire to pin 2, and the black wire to pins 3 and 4. Then plug the female end of the cable into the input on the RC.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #3   Spotlight this post!  
Unread 20-01-2005, 00:17
LaughingJack's Avatar
LaughingJack LaughingJack is offline
I'm awake really...
AKA: Mike Weeks
#0753 (High Desert Droids)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2002
Location: Bend, Oregon
Posts: 3
LaughingJack is an unknown quantity at this point
Re: The Hall Effect sensor wiring?

Quote:
Originally Posted by jgannon
Cut the male end off of a PWM cable. Connect the red wire to pin 1, the white wire to pin 2, and the black wire to pins 3 and 4. Then plug the female end of the cable into the input on the RC.
I can't thank you enough, we'll start on this right away... Thanks again
__________________
If you really want something in life you have to work for it. Now quiet, they're about to announce the lottery numbers.
  #4   Spotlight this post!  
Unread 20-01-2005, 00:17
KVermilion's Avatar
KVermilion KVermilion is offline
... clearly ...
#0649
 
Join Date: Jan 2005
Location: Saratoga, Ca
Posts: 52
KVermilion is infamous around these parts
Re: The Hall Effect sensor wiring?

Quote:
Originally Posted by jgannon
Cut the male end off of a PWM cable. Connect the red wire to pin 1, the white wire to pin 2, and the black wire to pins 3 and 4. Then plug the female end of the cable into the input on the RC.
You are forgetting the regulated power supply protection.

You saboteur!

(That last line is satire.)
  #5   Spotlight this post!  
Unread 20-01-2005, 00:48
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: The Hall Effect sensor wiring?

Quote:
Originally Posted by KVermilion
You are forgetting the regulated power supply protection.
That is only necessary if the voltage supply is very noisy. I'm pretty sure that the outputs on the RC are fairly stable and well-regulated, so you can connect the sensor directly to the RC. Or was that satire too?
Quote:
Originally Posted by LaughingJack
I can't thank you enough
Sure you can. Just be sure to stop by and say hey in the pits at Sacramento.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #6   Spotlight this post!  
Unread 20-01-2005, 02:06
KVermilion's Avatar
KVermilion KVermilion is offline
... clearly ...
#0649
 
Join Date: Jan 2005
Location: Saratoga, Ca
Posts: 52
KVermilion is infamous around these parts
Re: The Hall Effect sensor wiring?

Quote:
Originally Posted by jgannon
That is only necessary if the voltage supply is very noisy. I'm pretty sure that the outputs on the RC are fairly stable and well-regulated, so you can connect the sensor directly to the RC.
"The on-chip voltage regulator provides immunity to power supply variations between 4.5V and 26.5V. However, even while operating from a regulated line, some supply and output filtering is required to provide immunity to coupled and injected noise on the supply line." -- ATS660LSB Data Sheet, Pg 10

  #7   Spotlight this post!  
Unread 20-01-2005, 08:05
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,770
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: The Hall Effect sensor wiring?

Quote:
Originally Posted by KVermilion
"The on-chip voltage regulator provides immunity to power supply variations between 4.5V and 26.5V. However, even while operating from a regulated line, some supply and output filtering is required to provide immunity to coupled and injected noise on the supply line." -- ATS660LSB Data Sheet, Pg 10

I would recommend following the circuit for regulated power supply. The use of a metal film 20 ohm resistor will also provide a little power protection should the device or the wiring short. The capacitor on that line will also kill some of the noise that might be present with all the brush tye motors running close by. The pullup load resistor may not be needed with the input circuitry of the RC.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 23-01-2005, 21:46
Jerry Kingzett Jerry Kingzett is offline
Registered User
#0677
 
Join Date: Jan 2005
Location: Columbus Ohio
Posts: 1
Jerry Kingzett is an unknown quantity at this point
Re: The Hall Effect sensor wiring?

I found out what I was doing wrong when I was testing the Hall Effect gear tooth sensor thanks to these forms. I was not putting enough load on the circuit with just the oscilloscope. The data sheet showed that by placing a 500 ohm resister (RL) between the supply and the output, I was able to get a nice square wave and a steady frequency reading. I had to set up a chain ring in the drill press, because just waving a piece of metal past it gave very poor results.
  #9   Spotlight this post!  
Unread 23-01-2005, 21:57
Sparks333's Avatar
Sparks333 Sparks333 is offline
Robotics Engineer
AKA: Dane B.
FRC #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Wilsonville, Oregon
Posts: 184
Sparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of light
Send a message via AIM to Sparks333
Re: The Hall Effect sensor wiring?

Hey,
Time for my $.02. Personally speaking, I would put the filter on it, just because it seems like a sensible idea and it seems pretty easy. Ever heard the term 'An ounce of prevention is worth a pound of cure'? Well, old cliches are often true (That's why they become cliches!). Use the instructions Al gave you, or look at the datasheet (I think they have an application circuit...). Even if you don't end up needing it, it will feel better to have some padding between it and whatever voltage fluxuations you may encounter.

Sparks
__________________
ICs do weird things when voltage is run out of spec.

I love to take things apart. The fact that they work better when I put them back together it just a bonus.

http://www.ravenblack.net/random/surreal.html
  #10   Spotlight this post!  
Unread 19-02-2005, 11:16
phillutz phillutz is offline
Registered User
FRC #0851 (The Froggers)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: El Segundo,CA
Posts: 28
phillutz is on a distinguished road
Re: The Hall Effect sensor wiring?

Okay here is my problem.
We have wired the sensor as discribed, but the that will only plug into 1 pwm per sensor.
Discussions state that you need to plug A phase into pwm6 and B into pwm 1

how do you wire one sensor to the 2 pwms?
  #11   Spotlight this post!  
Unread 21-02-2005, 10:47
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,770
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: The Hall Effect sensor wiring?

Quote:
Originally Posted by phillutz
Okay here is my problem.
We have wired the sensor as discribed, but the that will only plug into 1 pwm per sensor.
Discussions state that you need to plug A phase into pwm6 and B into pwm 1

how do you wire one sensor to the 2 pwms?
The data sheet shows only one output per device. The output state is different depending on which direction the teeth are passing the sensor. You need to make that interpretation in software.
Please cite the discussion about A phase and B phase.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #12   Spotlight this post!  
Unread 21-02-2005, 13:35
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: The Hall Effect sensor wiring?

Quote:
Originally Posted by phillutz
Okay here is my problem.
We have wired the sensor as discribed, but the that will only plug into 1 pwm per sensor.
Discussions state that you need to plug A phase into pwm6 and B into pwm 1

how do you wire one sensor to the 2 pwms?

First, I assume you mean dig io, not pwm!

Second, in using Hall sensors, you actually need two placed closely together with a slight offset. You can reference the actual application note at http://www.allegromicro.com/techpub2...ion_detection/

The first sensor gives you phaseA; the second, phaseB

Ours give execllent and reproducible results. The trick is mounting them. We machines out pieces of delrin to hold them in the desired configuration. Since there are magnets in them, they want to push apart!

Jon Mittelman
Mentor
Team236

Godd luck
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
Hall Effect Sensor. Nixterrimus Electrical 77 29-01-2005 10:48
Code violation using Hall effect sensor pickle Programming 9 19-01-2005 00:10
Chairmans Award Dinner With Dean. Josh Hambright Chairman's Award 26 20-07-2004 19:05
hall of fame nuggetsyl General Forum 15 05-05-2002 22:54
DC Motor current to an Analog Input junkyarddawg Motors 43 04-04-2002 15:53


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

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