Go to Post We could not make weight so we got rid of the cRIO. - Mike Copioli [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 10-02-2011, 18:39
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Line Sensor

Its a digital input, hook up the brown to the negative and the blue to the positive, the black is normally closed and the white is normally open. Hack a pwm cable so that the black and white line up (read: soldering iron).

Have Fun
  #2   Spotlight this post!  
Unread 10-02-2011, 18:41
MathFreak's Avatar
MathFreak MathFreak is offline
Team Leader/Electrical
AKA: Hikari Iwasaki
FRC #5701 (Indigo Ninjas)
Team Role: Electrical
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Japan
Posts: 76
MathFreak is on a distinguished road
Re: Line Sensor

Quote:
Originally Posted by Robototes2412 View Post
Its a digital input, hook up the brown to the negative and the blue to the positive, the black is normally closed and the white is normally open. Hack a pwm cable so that the black and white line up (read: soldering iron).

Have Fun
We got all of them, but we don't get why it shows all of the 3 sign (Green, Yellow, Yellow and Orange)....
__________________
Hikari Iwasaki
2nd Grade student at Senior High school at Otsuka,University of Tsukuba

2014 Team5701 Team leader
2011 Team 296 Youngest team member

Team 5701 Indigo Ninjas
Website
Facebook
Twitter
Blog (in Japanese)
  #3   Spotlight this post!  
Unread 10-02-2011, 22:32
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Line Sensor

Quote:
Originally Posted by Robototes2412 View Post
Its a digital input, hook up the brown to the negative and the blue to the positive, the black is normally closed and the white is normally open. Hack a pwm cable so that the black and white line up (read: soldering iron).
I hope nobody follows this advice. It's completely wrong.

Brown is the positive supply to the sensor, and needs to come from the red terminal of a 20 Amp circuit on the Power Distribution board (or from an output on the solenoid breakout if you want to use 24 volts instead). Blue is the power return (ground), and should come from the adjacent black terminal on the Power Distribution board.

Either black or white can be connected to the SIGnal pin of a Digital Input on the Digital Sidecar. The LabVIEW autonomous line-following sample code expects the white wire.
  #4   Spotlight this post!  
Unread 10-02-2011, 22:41
MathFreak's Avatar
MathFreak MathFreak is offline
Team Leader/Electrical
AKA: Hikari Iwasaki
FRC #5701 (Indigo Ninjas)
Team Role: Electrical
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Japan
Posts: 76
MathFreak is on a distinguished road
Re: Line Sensor

Quote:
Originally Posted by Alan Anderson View Post
I hope nobody follows this advice. It's completely wrong.

Brown is the positive supply to the sensor, and needs to come from the red terminal of a 20 Amp circuit on the Power Distribution board (or from an output on the solenoid breakout if you want to use 24 volts instead). Blue is the power return (ground), and should come from the adjacent black terminal on the Power Distribution board.

Either black or white can be connected to the SIGnal pin of a Digital Input on the Digital Sidecar. The LabVIEW autonomous line-following sample code expects the white wire.
Blue is negative and Brown is positive, that's what a site on the internet was saying....
__________________
Hikari Iwasaki
2nd Grade student at Senior High school at Otsuka,University of Tsukuba

2014 Team5701 Team leader
2011 Team 296 Youngest team member

Team 5701 Indigo Ninjas
Website
Facebook
Twitter
Blog (in Japanese)
  #5   Spotlight this post!  
Unread 11-02-2011, 10:31
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Line Sensor

We've been using Blue as negative and brown as positive and nothing has broken by us doing it.
  #6   Spotlight this post!  
Unread 11-02-2011, 10:35
Vikesrock's Avatar
Happy Birthday! Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Line Sensor

Quote:
Originally Posted by Robototes2412 View Post
We've been using Blue as negative and brown as positive and nothing has broken by us doing it.
Which is exactly the setup Alan described and is the opposite of what you originally posted.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
  #7   Spotlight this post!  
Unread 11-02-2011, 11:20
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Line Sensor

Quote:
Originally Posted by Vikesrock View Post
Which is exactly the setup Alan described and is the opposite of what you originally posted.
I agree.

Robototes2412, please remove/correct your post.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #8   Spotlight this post!  
Unread 11-02-2011, 12:31
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Line Sensor

So in this setup, what is done with the black wires? Just connect them (a) to nothing or (b) to each other?
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #9   Spotlight this post!  
Unread 11-02-2011, 12:33
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Line Sensor

Quote:
Originally Posted by pfreivald View Post
So in this setup, what is done with the black wires? Just connect them (a) to nothing or (b) to each other?
Neuter them. (Cut them off).
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #10   Spotlight this post!  
Unread 11-02-2011, 12:39
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Line Sensor

That's what I thought. The kids managed to tear out several wires yesterday, and I wanted to be sure how to re-wire them properly (and am limited on time before build).

I won't GIVE them the answer, but I wanted to be sure what the answer IS so that I can check their work and make 'suggestions'...
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
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


All times are GMT -5. The time now is 03:46.

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