Go to Post With your eyes open, there are wonders to behold, keep them closed and all you will do is bump into walls. - Al Skierkiewicz [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 12-02-2004, 18:55
Dinush Dinush is offline
Build Team!!
AKA: Dina Begun
#0912 (Iron Lyons)
Team Role: Student
 
Join Date: Feb 2002
Location: Toronto, Ontario, Canada
Posts: 26
Dinush is an unknown quantity at this point
Send a message via ICQ to Dinush Send a message via MSN to Dinush
Line Sensor hookup

On the controller, it says that the Digital I/O ports have a grnd a +5V I/O. However, the output on the line sensor outputs at 12 V. Will it be okay to connect the white wire directly to the digital in? Has anyone actually done that?
__________________
--> 2003: Winners of Canadian Regional. Thanks 1088 and 378!
  #2   Spotlight this post!  
Unread 12-02-2004, 19:03
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: Line Sensor hookup

Quote:
Originally Posted by Dinush
On the controller, it says that the Digital I/O ports have a grnd a +5V I/O. However, the output on the line sensor outputs at 12 V. Will it be okay to connect the white wire directly to the digital in? Has anyone actually done that?
We have been experimenting with line tracking and the 2004 controller since week 2. Here is how we have wired it up. The desired signal wire (white/black) from the banner sensors are plugged into the RC's digital inputs, the signal port. The ground wire from the sensors (blue, if I remember correctly) are connected to the ground port on the controller. The power line to the sensor cannot be plugged directly into the controller. The sensor requires +12V to operate. We powered it off the main breaker block, through a 20A circuit breaker.

As a side note, the white and black cables carry signals which are just NOTs of each other, so either one can be connected to the signal line of the RC. Also, the light sensors may power up from the +5V line of the RC, but they will not function reliably.

Good luck with line tracking! It is serving us well over here.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #3   Spotlight this post!  
Unread 12-02-2004, 19:20
Dinush Dinush is offline
Build Team!!
AKA: Dina Begun
#0912 (Iron Lyons)
Team Role: Student
 
Join Date: Feb 2002
Location: Toronto, Ontario, Canada
Posts: 26
Dinush is an unknown quantity at this point
Send a message via ICQ to Dinush Send a message via MSN to Dinush
Re: Line Sensor hookup

I was also wondering what we use to connect the line sensor wires to the pins on the controller.
__________________
--> 2003: Winners of Canadian Regional. Thanks 1088 and 378!
  #4   Spotlight this post!  
Unread 12-02-2004, 19:30
Venkatesh Venkatesh is offline
Registered User
FRC #0030
 
Join Date: Jan 2003
Rookie Year: 2002
Location: USA
Posts: 260
Venkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to beholdVenkatesh is a splendid one to behold
Re: Line Sensor hookup

Quote:
Originally Posted by Dinush
I was also wondering what we use to connect the line sensor wires to the pins on the controller.
On our robot, we used 20 gauge wire. However, the wire from PWM cables proves extremely convenient to work with, and the fact that a female cable header is already available on one side would let those cables work well.

I believe that FIRST rules require a minimum of 24 gauge wire to/from sensors. I don't believe that rule is modified by the fact that the light sensors require +12V as a source.
__________________
-- vs, me@acm.jhu.edu
Mentor, Team 1719, 2007
Team 30, 2002-2005
  #5   Spotlight this post!  
Unread 14-02-2004, 18:47
blindguyinanorg's Avatar
Happy Birthday! blindguyinanorg blindguyinanorg is offline
Matt Spencer
AKA: Sexy Beast
#1007 (Team Generals)
Team Role: Engineer
 
Join Date: Feb 2004
Location: Snellville GA
Posts: 93
blindguyinanorg has a little shameless behaviour in the past
Send a message via AIM to blindguyinanorg
Re: Line Sensor hookup

Quote:
Originally Posted by Venkatesh
We have been experimenting with line tracking and the 2004 controller since week 2. Here is how we have wired it up. The desired signal wire (white/black) from the banner sensors are plugged into the RC's digital inputs, the signal port. The ground wire from the sensors (blue, if I remember correctly) are connected to the ground port on the controller. The power line to the sensor cannot be plugged directly into the controller. The sensor requires +12V to operate. We powered it off the main breaker block, through a 20A circuit breaker.

As a side note, the white and black cables carry signals which are just NOTs of each other, so either one can be connected to the signal line of the RC. Also, the light sensors may power up from the +5V line of the RC, but they will not function reliably.

Good luck with line tracking! It is serving us well over here.

do the both have to be plugged in to work properly??? just want to double check before i come across unknown errors
  #6   Spotlight this post!  
Unread 14-02-2004, 19:09
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,899
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Line Sensor hookup

Quote:
Originally Posted by blindguyinanorg
do the both have to be plugged in to work properly??? just want to double check before i come across unknown errors
No, just pick one of the two.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #7   Spotlight this post!  
Unread 14-02-2004, 20:17
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: Line Sensor hookup

Quote:
Originally Posted by Dinush
On the controller, it says that the Digital I/O ports have a grnd a +5V I/O. However, the output on the line sensor outputs at 12 V. Will it be okay to connect the white wire directly to the digital in? Has anyone actually done that?
All,
This is one of those confusing issues in electronics. The sensors reguire 12 volts but the output is not 12 volts. The output circuitry is actually two transistors whose collectors are the output pins. They require a pullup to a voltage from the device they are feeding. In this case the pullup is built into the RC and "pulls up" to 5 volts, the RC power supply. The two outpus are electronically opposite of each other such that one is "on" when the other is "off". When an output is "on" the transistor conducts to ground and so acts like a relay or switch closing a circuit to ground. When connected to the RC current flows from the RC power supply through an internal resistor to the output lead of the sensor and then to ground. The internal resistor limits the current drawn from the internal power supply.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 15-02-2004, 13:29
blindguyinanorg's Avatar
Happy Birthday! blindguyinanorg blindguyinanorg is offline
Matt Spencer
AKA: Sexy Beast
#1007 (Team Generals)
Team Role: Engineer
 
Join Date: Feb 2004
Location: Snellville GA
Posts: 93
blindguyinanorg has a little shameless behaviour in the past
Send a message via AIM to blindguyinanorg
Re: Line Sensor hookup

another ? can i hook all the sensors to the same ground. it would make thinks a bunch easier
  #9   Spotlight this post!  
Unread 15-02-2004, 15:29
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: Line Sensor hookup

okay this is being made more confuzing then it is. you feed the sensors +12 and ground in the red and brown blue wires. you can then connect the signal wire you want (nc/no) to the RC digital inputs. they are already pulled up for you at 5v so you dont have to do any work. i would ground the sensor sepretly then from the pin on the RC, but it realy doesnt matter
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #10   Spotlight this post!  
Unread 15-02-2004, 23:13
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: Line Sensor hookup

Quote:
Originally Posted by blindguyinanorg
another ? can i hook all the sensors to the same ground. it would make thinks a bunch easier
We don't think it makes things easier. If you are making your own plugs, you want the extra pins in place to hold the connector body on the RC pins. If you have modified a PWM cable to splice to the sensor, you would want to have a single cable in case the PWM cable goes bad. For best noise isolation, it is best to run a parallel ground lead with the sense lead since the flow of current is from the RC power supply back to the RC ground system.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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
Sprockets and Roller Chain Models Madison Inventor 3 04-02-2003 11:51
Q&A Discuss: Does the line continue up the ramp? CD47-Bot Extra Discussion 5 18-01-2003 01:01
iParts on firstcadlibrary.com Ed Sparks Inventor 3 08-01-2003 23:30
approach to autonomy Mike375 Programming 32 08-01-2003 14:04
emulationFIRST v0.04 Matt Leese Programming 7 09-07-2002 08:54


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

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