Go to Post I can't wait for the next season to start and my anticipation has already started. But in a way, if you think about it, the season's already started. - nehalita [more]
Home
Go Back   Chief Delphi > Technical > Kit & Additional Hardware
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-2006, 17:14
JJMax7 JJMax7 is offline
Registered User
None #0918 (Circuit Chargers)
Team Role: Driver
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Oklahoma
Posts: 22
JJMax7 is an unknown quantity at this point
Send a message via AIM to JJMax7
New Gear Tooth Sensor- Connection

My team has decided to use the gear tooth sensors this year. We installed the new ones into the transmission plates, but I don't know where to plug in the PWM. There are two sets of holes marked like a PWM (Black, Red, and White) Are these where we plug in the PWMs? If so which set, or do we use both? And if not how do we connect the sensors to the Robot Controller?

Thanks in advance for the help.
  #2   Spotlight this post!  
Unread 19-01-2006, 17:32
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,384
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: New Gear Tooth Sensor- Connection

Quote:
Originally Posted by JJMax7
My team has decided to use the gear tooth sensors this year. We installed the new ones into the transmission plates, but I don't know where to plug in the PWM. There are two sets of holes marked like a PWM (Black, Red, and White) Are these where we plug in the PWMs? If so which set, or do we use both? And if not how do we connect the sensors to the Robot Controller?

Thanks in advance for the help.
Start by reading this document. http://www2.usfirst.org/2006comp/oth..._Operation.pdf
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #3   Spotlight this post!  
Unread 19-01-2006, 17:40
SpaceOsc's Avatar
SpaceOsc SpaceOsc is offline
16 Years of FIRST!
AKA: Oscar Vasquez
FRC #4501 (Humans)
Team Role: Coach
 
Join Date: Feb 2002
Rookie Year: 2001
Location: Culver City, CA
Posts: 441
SpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant futureSpaceOsc has a brilliant future
Send a message via AIM to SpaceOsc Send a message via Yahoo to SpaceOsc
Re: New Gear Tooth Sensor- Connection

Quote:
Originally Posted by JJMax7
My team has decided to use the gear tooth sensors this year. We installed the new ones into the transmission plates, but I don't know where to plug in the PWM. There are two sets of holes marked like a PWM (Black, Red, and White) Are these where we plug in the PWMs? If so which set, or do we use both? And if not how do we connect the sensors to the Robot Controller?

Thanks in advance for the help.
plz post what you come up with
__________________

2014-2017: Team 4501 Coach/Lead Mentor
2002-2011: Team 702, Mentor
2001-2002: Team 702 Captain
  #4   Spotlight this post!  
Unread 19-01-2006, 23:30
b_mallerd b_mallerd is offline
Programmer
FRC #1346 (Trobotics)
Team Role: Programmer
 
Join Date: Dec 2005
Rookie Year: 2005
Location: Vancouver
Posts: 35
b_mallerd is on a distinguished road
Send a message via MSN to b_mallerd
Re: New Gear Tooth Sensor- Connection

I always thought the gera tooth sensors plugged into the digital input? Something about using interrupts to get the microchip to acknowledge all the things the sensor is sending since a pulse is onli like...80 microseconds or something...mayb it was milliseconds not sure.
__________________
  #5   Spotlight this post!  
Unread 19-01-2006, 23:57
BrianBSL BrianBSL is offline
Registered User
FRC #0190
 
Join Date: Sep 2004
Rookie Year: 2000
Location: Worcester, MA
Posts: 251
BrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud of
Re: New Gear Tooth Sensor- Connection

Quote:
Originally Posted by JJMax7
My team has decided to use the gear tooth sensors this year. We installed the new ones into the transmission plates, but I don't know where to plug in the PWM. There are two sets of holes marked like a PWM (Black, Red, and White) Are these where we plug in the PWMs? If so which set, or do we use both? And if not how do we connect the sensors to the Robot Controller?

Thanks in advance for the help.
You want to run them into one of the first 6 digital IO ports, so that you can use them as interrupts. Search for some posts by Kevin Watson and Brad Miller about the timing issues with trying to determine direction.

You will likely want to install two 3 posistion 0.100" headers (female if you are going to use standard IFI PWM cables, male is likely better if you are making your own cables, as it will likely create a more reliable connection) onto the boards, or you can also solder wires directly to them. You will need to modify a pwm cable to feed the 12V signal to it, which I believe by the rules will have to come off its own 20A circuit breaker and be considered a "custom circuit". Please correct me if I am wrong.
__________________
My posts represent my personal views only, and do not represent the views of either my team, Team 190, nor its primary sponsor, Worcester Polytechnic Institute.
  #6   Spotlight this post!  
Unread 20-01-2006, 10:48
JJMax7 JJMax7 is offline
Registered User
None #0918 (Circuit Chargers)
Team Role: Driver
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Oklahoma
Posts: 22
JJMax7 is an unknown quantity at this point
Send a message via AIM to JJMax7
Re: New Gear Tooth Sensor- Connection

My main problem is the connection directly onto the gear tooth sensor. We have had very little work with modifying PWM cables. For the electronics we rely heavily on the supplied information. Can anyone walk me through the connection process?
  #7   Spotlight this post!  
Unread 20-01-2006, 23:53
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,082
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: New Gear Tooth Sensor- Connection

You can use solder if you have a very steady hand and a small iron, but I don't know if that might cause problems with the sensor itself. A little bit of hot glue or epoxy should do the trick
  #8   Spotlight this post!  
Unread 21-01-2006, 04:00
ahecht's Avatar
ahecht ahecht is offline
'Luzer'
AKA: Zan
no team
Team Role: Alumni
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Billerica, MA
Posts: 978
ahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond repute
Send a message via ICQ to ahecht Send a message via AIM to ahecht Send a message via Yahoo to ahecht
Re: New Gear Tooth Sensor- Connection

The circuit boards are designed to be soldered onto, and it shouldn't be too hard. Do not use any sort of glue or adhesive to make the electrical connection, as most glues will not conduct electricity well and any connection you do manage to make will be unreliable. You can use hot glue to cover your solder connection to provide strain relief and protection from shorting out, but if you don't have a strong solder joint underneith, your connection will fail.

To make the signal connection, cut a PWM cable in half, and strip a small amount from the ends of the three wires, apply a small amount of solder to the exposed ends, fit them into the appropriate holes, and apply more solder to attach them in place. The wires will connect to the holes that say:
G 5 S
B R W
with B being Black, R being Red, and W being White.

You will also need to supply 12 volts to the board where it is labeled:
G 12
B R W
Solder a thin black wire to the hole labeled B and connect the other end to ground, and then solder a thin white or red wire to the hole labeled W and connect the other end to power through your circuit breaker panel.

I won't go into the details of how to solder here, since it's been covered many times on the board (try searching, or use Google), but just make sure you have a clean hot iron, and that you apply heat to the wires or solder pads, not the solder itself, when making the final connection.

EDIT: Can this thread be moved to the Electrical section?
__________________
Zan Hecht

Scorekeeper: '05 Championship DaVinci Field/'10 WPI Regional
Co-Founder: WPI-EBOT Educational Robotics Program
Alumnus: WPI/Mass Academy Team #190
Alumnus (and founder): Oakwood Robotics Team #992


"Life is an odd numbered problem the answer isn't in the back of the book." — Anonymous WPI Student

Last edited by ahecht : 21-01-2006 at 04:06.
  #9   Spotlight this post!  
Unread 21-01-2006, 09:28
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: New Gear Tooth Sensor- Connection

We tested one of our sensors, and all we needed was the first pwm cable and a single wire from 12 to a 20 amp "custom circuit" breaker. The pwm was plugged into a digital input. (the other ground is redundant according to my meter at the circuit board) The doc is correct about the pulse width. If there is interest I can pull a pic of each width from my tek scope. We had clean response at 5350rpm (891 Hz) on a 10 tooth #35 chain sprocket. The scope was connected to main ground and the signal header on the robot controller.
  #10   Spotlight this post!  
Unread 21-01-2006, 10:43
JJMax7 JJMax7 is offline
Registered User
None #0918 (Circuit Chargers)
Team Role: Driver
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Oklahoma
Posts: 22
JJMax7 is an unknown quantity at this point
Send a message via AIM to JJMax7
Re: New Gear Tooth Sensor- Connection

Thanks a lot for the help, it was exactly what I needed.
  #11   Spotlight this post!  
Unread 27-01-2006, 16:12
Wheelman Wheelman is offline
Mechanic/Programmer
None #1247
 
Join Date: Dec 2005
Location: New Hampshire
Posts: 3
Wheelman is an unknown quantity at this point
Re: New Gear Tooth Sensor- Connection

so to wire this sensor on the board you just wire 2 pwm cables to them according to the markings on the board?
  #12   Spotlight this post!  
Unread 28-01-2006, 02:09
radicalnerd radicalnerd is offline
Registered Luser
FRC #0668 (Apes of Wrath)
Team Role: Programmer
 
Join Date: Dec 2005
Location: San Jose, CA
Posts: 12
radicalnerd is an unknown quantity at this point
Send a message via AIM to radicalnerd
Re: New Gear Tooth Sensor- Connection

has anyone had problems determining direction?

our code uses the interrupts on digital in 01/02 and two timers at 60us. when an interrupt occurs, it waits 60us then the timer interrupt makes it check the pin again. if the pin's still on then it's spinning one way, if it's not, then it's the other.

except the counter goes berserk.
does anyone have the same problems? +is this how anybody else is doing it?
[it might be that we're not disabling the timer like i swore i did... im gonna check that now =P]
  #13   Spotlight this post!  
Unread 11-02-2006, 15:52
tckma's Avatar
tckma tckma is offline
Registered User
AKA: Tom C.
FRC #2199 (Robo-Lions)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2002
Location: Westminster, MD
Posts: 90
tckma has a spectacular aura abouttckma has a spectacular aura abouttckma has a spectacular aura about
Send a message via ICQ to tckma Send a message via AIM to tckma Send a message via Yahoo to tckma
Question Re: New Gear Tooth Sensor- Connection

Quote:
Originally Posted by Biff
We tested one of our sensors, and all we needed was the first pwm cable and a single wire from 12 to a 20 amp "custom circuit" breaker. The pwm was plugged into a digital input.
Do you need to hook these up to a Spike?

Our team is using two hall effect sensors, on the two gears for our main drive.

I looked at this thread yesterday, and hooked up the sensors as described, with power plugged into the main board on a 20 amp breaker (two sensors on one breaker). The sensor outputs were hooked into the digital inputs, and we were getting readings from the sensors just fine (save for a code problem we are working on). I left the redundant ground from the power PWM cable disconnected.

There was some discussion at this morning's meeting about whether or not to power the Hall Effect Sensors through a Spike (this would involve some coding to make sure the Spike is either always on, or only on when taking a reading). I couldn't see why you'd need one, but the discussion was left unresolved as of when I went home.

Also, does each sensor need to be on a seperate 20 amp circuit? I put them both on one just because we were trying to get it running quickly so that we could test code. I doubt those little sensors will ever draw 20 amps, personally.
__________________
Tom C.
Software and Controls Mentor
Team 2849
Prior team associations: 1418 ('08-'09), 1100 ('05-'08), 811 ('02, '04-'05), 246 ('03)

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
Gear tooth sensor vs. Optical Encoders Avarik Programming 7 17-01-2006 10:18
LabView Gear Tooth Sensor Code SkiRacer LabView and Data Acquisition 2 17-01-2006 03:53
Accelerometer vs Gear Tooth Sensors zdeswarte Electrical 4 22-01-2005 15:35
gears Michael Leicht Inventor 12 16-09-2004 10:52
Coupling the drill motor with out the 15 tooth gear Chopper_Dave Motors 1 17-01-2004 01:06


All times are GMT -5. The time now is 17:58.

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