Subject:
|
Sensor monitoring
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Wed, 20 Jan 1999 19:52:45 GMT
|
Original-From:
|
Bible, Bryan <bryan.bible@compaq.comIHATESPAM>
|
Viewed:
|
1096 times
|
| |
| |
I have a project that I am building, it is a finish line monitor for a
pinewood derby track. What I am doing is putting two light sensors above the
track pointing down so the ambient light will change when the car crosses
the finish line. One sensor for each track. I am using NQC to monitor the
sensors, so my question is can I monitor both the sensors in parallel so
neither one has an advantage? Which ever sensor changes first then it will
flag that lane as the winner.
Any ideas?
Thanks,
Bryan Bible ---
__o --- __o
Tandem Computers --- _ \<,_
--- _ \<,_
Austin Texas --- (*) /
(*) --- (*) / (*)
bryan.bible@compaq.com
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message has 4 Replies: | | Re: Sensor monitoring
|
| (...) I think the sensors are read every 3ms and the value stored somewhere. I don't think they are read just when you ask for them in software. You get the last value read. I base this on the way the rotation sensor and some of the sensor modes (...) (26 years ago, 20-Jan-99, to lugnet.robotics)
| | | Re: Sensor monitoring
|
| according to the sdk, all tasks are run in parallel, with each task being visited round-robin and executing one instruction. this would mean they are not being monitored at *exactly* the same time, but i would think a tight loop in two tasks (...) (26 years ago, 20-Jan-99, to lugnet.robotics)
| | | Re: Sensor monitoring
|
| Bryan: make touch plates. use some heavy metal foil in swaths across each chute. When the derby car crosses the finish line, it depresses a curved piece of foil, thus breaking (or making, your choice) an electrical connection and maybe turning on a (...) (26 years ago, 22-Jan-99, to lugnet.robotics)
| | | Re: Sensor monitoring
|
| I'm new here and don't have much experience yet with the RCX, but I was just wondering... Is it possible to attach both sensors to a single input using one of the multi-input multiplexers (voltage divider arrangements) that I've read about on here? (...) (26 years ago, 22-Jan-99, to lugnet.robotics)
|
10 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|