To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 2004
2003  |  2005
Subject: 
Re: sensor input mux calculations
Newsgroups: 
lugnet.robotics
Date: 
Thu, 31 Dec 1998 17:06:12 GMT
Original-From: 
(mwalimub@aol.)IHateSpam(com)
Viewed: 
1284 times
  
I've thought about this, but I've come up empty.  If you could get between the
input line and the 10K pull-up resistor, it would be easy.  You could then
wire the CdS cells on either side, with a 10K resistor from one cell to
ground.  Then when the light was on the cell on the Negative side, the reading
would be between 512 and 1023.  When it is on the Positive side, it would be
between 0 and 512.


   A/D line
|
inside the RCX   | input port
5v--------[10k]---(CdS)------+-----(CdS)-----[10k]------gnd

But of course doing this would tamper with the hardware on a level few would
dare to go (not me, not yet any way).

You could try hooking up a voltage comparator type circuit where if the light
is on the right, it's on and if it's on the left, it's off.  I would recommend
Forrest Mims Mini-Notebooks at Radio Shack for ideas on that.

chris

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message has 1 Reply:
  Re: sensor input mux calculations
 
It is not a 100% passive solution, but I added a very simple Differential Light Sensor to my web page. It really isn't that hard to build and all the parts come from RadioShack. You can find it in the "Homebrew Sensor" area of (URL) a good New Year. (...) (26 years ago, 1-Jan-99, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
2 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR