Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   How do light sensor(Banner) work? (http://www.chiefdelphi.com/forums/showthread.php?t=25646)

roberthan 19-02-2004 21:32

How do light sensor(Banner) work?
 
Newbie here, I'm wondering how do the light sensor work or any demo programs you can give me.

deltacoder1020 19-02-2004 22:16

Re: How do light sensor(Banner) work?
 
take the banner, hook up +5v, GND, and one of the two sensor wires (they are mirrors of each other, one true when the other is false), and plug it into a digital input. play around with it. when the banner sees the line, it will return one value (either 1 or 0), and when it doesn't, it will return the other.

look at the code to map which digital I/O pins are inputs vs. outputs in the default code.

WCS V 20-02-2004 08:27

Re: How do light sensor(Banner) work?
 
This may be of some help too: http://www2.usfirst.org/2003comp/Spe...nersensors.pdf

seanwitte 20-02-2004 10:18

Re: How do light sensor(Banner) work?
 
Quote:

Originally Posted by deltacoder1020
take the banner, hook up +5v, GND, and one of the two sensor wires (they are mirrors of each other, one true when the other is false), and plug it into a digital input. play around with it. when the banner sees the line, it will return one value (either 1 or 0), and when it doesn't, it will return the other. look at the code to map which digital I/O pins are inputs vs. outputs in the default code.

This is incorrect. The Banner sensors need between 10 and 20V power supply so you will have to connect them to a 20 amp breaker. Its ok to power more than one sensor from a single breaker. Connect the BROWN lead from all of the sensors to +12V. For each sensor, connect the BLUE lead to the ground pin on the RC and the WHITE lead to the sig pin. The WHITE lead is the normally closed side, so the RC will see a 0 when the sensor does not see the line and a 1 when it does.

I haven't looked into it, but the sensors in this years kit are different than previous years. I don't know if they can be used to see the line or not.

deltacoder1020 20-02-2004 12:40

Re: How do light sensor(Banner) work?
 
my bad :) the sensors should still be able to see the line, though.

Astronouth7303 20-02-2004 17:01

Re: How do light sensor(Banner) work?
 
Quote:

Originally Posted by seanwitte
... I haven't looked into it, but the sensors in this years kit are different than previous years. I don't know if they can be used to see the line or not.

They are? they look exactly the same to me. The yellow ones, right?

Ryan Cumings 20-02-2004 17:59

Re: How do light sensor(Banner) work?
 
Yeah they are the yellow ones. I used them for the wheel encoders this year. The part number is the same. Just this years does not have the schematic on the side. I also think that the sensing indicator led is a different colour.

superlou 25-02-2004 13:25

Re: How do light sensor(Banner) work?
 
And you folks are sure we won't fry our board by jamming 12V at it even though its TTL?

Phil_Lutz 25-02-2004 13:37

Re: How do light sensor(Banner) work?
 
You connect to the digital input for the Ground/Signal and 12v for the power.
No problems at all.

5v will not work.

Phil

deltacoder1020 25-02-2004 14:05

Re: How do light sensor(Banner) work?
 
Quote:

Originally Posted by Phil_Lutz
You connect to the digital input for the Ground/Signal and 12v for the power.
No problems at all.

5v will not work.

Phil

yeah, I looked at the banner sensors after I posted and noticed the 10-30V input marker.


All times are GMT -5. The time now is 04:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi