Go to Post Remember everyone, during build season, if you mess something up..... In the words of Adam Savage... Failure is always an option! (and so is blowing stuff up) - J.Warsoff [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 14-01-2003, 18:23
DaveG702's Avatar
DaveG702 DaveG702 is offline
Registered User
#0702 (Bagel Bytes)
 
Join Date: Dec 2002
Location: Culver City, CA
Posts: 11
DaveG702 is an unknown quantity at this point
Question Optical Sensor Return

Can anyone tell me what the optical sensor returns to the RC in terms of a number (i.e. if the optical sensor sees white, what will it tell the brain?)
  #2   Spotlight this post!  
Unread 14-01-2003, 18:26
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
1

*jeremy
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #3   Spotlight this post!  
Unread 14-01-2003, 19:09
FotoPlasma FotoPlasma is offline
\: |
no team
 
Join Date: Jul 2001
Rookie Year: 2001
Location: San Jose
Posts: 1,900
FotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond reputeFotoPlasma has a reputation beyond repute
Send a message via AIM to FotoPlasma
Ergh.

Read my sig.

There're two digital outputs (either 1 or 0) on the Banner Optical Sensor. When the sensor sees its reflection, one is high (on) and the other is low (off), and when the sensor is not seeing the reflection, the opposite is true, the one which was low is high, and the one which was high is low.
__________________
I played hacky sack with Andy Baker.

2001-2004: Team 258, The Sea Dawgs
2005: Team 1693, The Robo Lobos
  #4   Spotlight this post!  
Unread 15-01-2003, 13:38
bigqueue bigqueue is offline
Registered User
#0811 (A.R.C.)
 
Join Date: Dec 2001
Location: Nashua, NH
Posts: 231
bigqueue will become famous soon enough
Send a message via AIM to bigqueue Send a message via Yahoo to bigqueue
Have it your way! (no supersizing though) :mad:

Quote:
Originally posted by Jeremy_Mc
1

*jeremy
or Zero....your choice!
__________________
Live free or die....
  #5   Spotlight this post!  
Unread 15-01-2003, 16:55
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
It depends which wire you use for the digital input (black or white).

Quote:
Posted by Jnadke (last year):

Hook the brown to + (12V circuit breaker), blue to - (ground).

Don't tie black and white together.

When nothing is sensed, the circuit for the black is closed (1) and the white is open (0). When the light is reflected and sensed, the black is open (0) and the white is closed (1).

Just hook both white and black to SEPARATE digital inputs and debug the variables. You can find out by trial and error. When you figure it out, you only really need 1 wire to detect 1 or 0.
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.

Last edited by Jnadke : 15-01-2003 at 16:58.
  #6   Spotlight this post!  
Unread 15-01-2003, 19:34
crazycliffy crazycliffy is offline
Registered User
#0846
 
Join Date: Jan 2003
Location: San Jose
Posts: 11
crazycliffy is an unknown quantity at this point
If we supply 12V power to the sensor, then
What happens if we plug the sensor outputs to
the robot controller's (RC) digital input?

Couldn't the amount of current, and voltage
going to the digital input blow up the circuits
in the RC? I though we could only supply
voltages in the range of zero to five volts.
  #7   Spotlight this post!  
Unread 15-01-2003, 19:44
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
When the optical sensor "sees" something, it will connect the sensor wire to ground, not to +12V. You are correct to be careful about how much voltage you are pumping through the RC, but in this case you are safe. Likewise, when you wire up limit switches, etc, always connect them between ground (from the RC switch port) and the switch pin.
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #8   Spotlight this post!  
Unread 15-01-2003, 22:45
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
The 12V power source is for powering the light source on the optical sensor. None of it gets sent to the robot controller.


The robot input is actually a positive lead that supplies 5V @ a maximum of 10mA. This is far too little to power the sensor.
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.
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
optical sensors majormusic2005 Electrical 5 11-03-2003 21:32
Q&A Discuss: optical sensors CD47-Bot Extra Discussion 0 15-02-2003 22:58
optical sensors great_one411 General Forum 1 15-02-2003 19:54
optical sensors majormusic2005 General Forum 1 28-01-2003 20:37
OPTICAL SENSORS??????????????????? NM_programming Technical Discussion 2 13-01-2002 17:41


All times are GMT -5. The time now is 13:32.

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