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 / 4720
4719  |  4721
Subject: 
Re: Og Needs More Inputs (fwd)
Newsgroups: 
lugnet.robotics
Date: 
Wed, 28 Apr 1999 22:11:18 GMT
Viewed: 
1160 times
  
Jim Choate <ravage@einstein.ssz.com> wrote:
----- Forwarded message from Kekoa Proudfoot -----

From: kekoa@pixel.Stanford.EDU (Kekoa Proudfoot)
Subject: Re: Og Needs More Inputs
Date: Tue, 27 Apr 1999 21:57:41 GMT

Also, pairing up a light sensor and a touch sensor only works if the lights
are not very bright.  Pointing the light sensor at a bright light (e.g. the
sun) generates touch events.

----- End of forwarded message from Kekoa Proudfoot -----

That's not exactly accurate. It doesn't work *if* you configure the touch
switch to recognize positive rail saturation.

If you go the other way and bias the photdector so it *never* goes to
ground (not too hard considering it's a resistor and it isn't much fun
trying to watch a robot in the dark) and then configure the touch sensor
to go to ground you can have a dual use input.

Actually, I retract what I said about the light sensor and the touch
sensor, but not on the grounds you stated, or at least on clearer grounds
than you seemed to explain.  (That you can configure the touch sensor or
bias the photodetector seems to imply that you suggest adding components to
the standard LEGO-only system, which I assumed was not possible, since the
post I was responding to had placed such a restriction...)

I had forgotten that the light sensor never drops its voltage as low a
pressed light sensor does, and therefore you can at least tell when the
touch sensor is being pressed no matter how bright the light.  With that in
mind, you can use raw sensor readings to read the light sensor when the
touch sensor is not pressed, and you can detect touch sensor presses when
the raw reading drops sufficiently low.

-Kekoa



Message is in Reply To:
  Re: Og Needs More Inputs (fwd)
 
----- Forwarded message from Kekoa Proudfoot ----- From: kekoa@pixel.Stanford.EDU (Kekoa Proudfoot) Subject: Re: Og Needs More Inputs Date: Tue, 27 Apr 1999 21:57:41 GMT Also, pairing up a light sensor and a touch sensor only works if the lights are (...) (26 years ago, 27-Apr-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
17 hours ago
Custom Search

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