![]() |
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.
|
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. |
Re: How do light sensor(Banner) work?
This may be of some help too: http://www2.usfirst.org/2003comp/Spe...nersensors.pdf
|
Re: How do light sensor(Banner) work?
Quote:
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. |
Re: How do light sensor(Banner) work?
my bad :) the sensors should still be able to see the line, though.
|
Re: How do light sensor(Banner) work?
Quote:
|
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.
|
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?
|
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 |
Re: How do light sensor(Banner) work?
Quote:
|
| 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