Go to Post Ahem, a climbing xerox machine. Also known as the scariest type of xerox machine this Earth has ever seen. - itsjustjon [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 02-02-2004, 15:48
zdude255 zdude255 is offline
Registered User
AKA: Austin
#1062
Team Role: Programmer
 
Join Date: Feb 2004
Location: Florida
Posts: 2
zdude255 is an unknown quantity at this point
Light Sensors

Hi Everyone!

I know this is a pretty basic question, but i've got the line tracking code down, and I want to know where to attach the light sensors on the robot controller and how to read them in the program.

Thanks in advance!
  #2   Spotlight this post!  
Unread 02-02-2004, 16:10
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Light Sensors

Quote:
Originally Posted by zdude255
Hi Everyone!

I know this is a pretty basic question, but i've got the line tracking code down, and I want to know where to attach the light sensors on the robot controller and how to read them in the program.

Thanks in advance!
See the diagram in the rules section 5.6.8, Figure 5.2.
It shows how the wires on the banner sensor connect.


You only need the black OR the white wire connected to a digital input. One is on when the sensor sees something, the other is on when the sensor doesn't see anything.

The 12v connection is to power the light as well as the sensor feedback.
The ground can be any ground.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 14-02-2004, 10:29
platt platt is offline
Registered User
FRC #1345
 
Join Date: Feb 2004
Location: fl
Posts: 4
platt is an unknown quantity at this point
Re: Light Sensors

emergency emergency! is there a code for optical sensor
  #4   Spotlight this post!  
Unread 14-02-2004, 12:09
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Light Sensors

Quote:
Originally Posted by platt
emergency emergency! is there a code for optical sensor
Reading the optical sensor is straight forward, just read the digital input.\
There is sample code that drives the EDU bot according to Optical Sensor input here:
http://www.rec.ri.cmu.edu/education/...tent/index.htm

specifically here:

http://www.rec.ri.cmu.edu/education/...tent/index.htm
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
wiring diagram for light sensors??? pagemauck Control System 1 21-01-2004 16:32
Please...no more steenkin' light! Andrew General Forum 37 17-04-2003 23:06
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
Program Code for Light Sensors...etc Jimbo Programming 1 08-01-2002 00:36


All times are GMT -5. The time now is 23:57.

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