|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||||
|
|||||
|
Re: Light Sensors
Quote:
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. |
|
#3
|
|||
|
|||
|
Re: Light Sensors
emergency emergency! is there a code for optical sensor
|
|
#4
|
|||||
|
|||||
|
Re: Light Sensors
Quote:
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |