Go to Post Eliminate the scavenger hunt, stop updating the software every two seconds, and make sure your examples and tutorials work. That will help a majority of the people I feel. - sircedric4 [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 19-02-2004, 21:32
roberthan roberthan is offline
Registered User
None #0702 (Bagel Bytes)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Culver City
Posts: 15
roberthan is an unknown quantity at this point
Send a message via AIM to roberthan
Question 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.
  #2   Spotlight this post!  
Unread 19-02-2004, 22:16
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
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.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #3   Spotlight this post!  
Unread 20-02-2004, 08:27
WCS V WCS V is offline
Registered User
#1168 (Malvern Prep Robotics)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Malvern, PA
Posts: 16
WCS V is an unknown quantity at this point
Re: How do light sensor(Banner) work?

This may be of some help too: http://www2.usfirst.org/2003comp/Spe...nersensors.pdf
__________________
WCS - Chief Technology Officer Malvern Prep Robotics #1168
"I can only do that in the code if its physically possible for it to happen."
  #4   Spotlight this post!  
Unread 20-02-2004, 10:18
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
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.
  #5   Spotlight this post!  
Unread 20-02-2004, 12:40
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: How do light sensor(Banner) work?

my bad the sensors should still be able to see the line, though.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #6   Spotlight this post!  
Unread 20-02-2004, 17:01
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
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?
  #7   Spotlight this post!  
Unread 20-02-2004, 17:59
Ryan Cumings's Avatar
Ryan Cumings Ryan Cumings is offline
Programmer and University Rejected
#0134 (Team Discovery)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Pembroke, NH
Posts: 65
Ryan Cumings is an unknown quantity at this point
Send a message via AIM to Ryan Cumings
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.
__________________
Suddenly being rejected from college feels right during the build season. Now I am a mentor.
  #8   Spotlight this post!  
Unread 25-02-2004, 13:25
superlou superlou is offline
Registered User
#0528
 
Join Date: Feb 2004
Location: Lansdale, PA
Posts: 3
superlou is an unknown quantity at this point
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?
  #9   Spotlight this post!  
Unread 25-02-2004, 13:37
Phil_Lutz's Avatar
Phil_Lutz Phil_Lutz is offline
Phil Lutz
#0851 (Froggers)
Team Role: Mentor
 
Join Date: Jan 2004
Location: El Segundo, CA
Posts: 67
Phil_Lutz is on a distinguished road
Send a message via Yahoo to Phil_Lutz
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
  #10   Spotlight this post!  
Unread 25-02-2004, 14:05
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
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.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
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
FRC Problems, will not work nevrgonastopme0 Programming 4 04-02-2004 21:01
Please...no more steenkin' light! Andrew General Forum 37 17-04-2003 23:06
light visibility Erinn888 General Forum 30 17-02-2003 15:56
Important info about light Jay Lundy Technical Discussion 10 12-04-2002 11:37
How many posters does it take to change a lightbulb? Brandon Martus Chit-Chat 7 22-02-2002 19:48


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

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