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 / 6548
6547  |  6549
Subject: 
RE: touch sensors aren't just switches (was Re: ideas for a RIS 2.0
Newsgroups: 
lugnet.robotics
Date: 
Wed, 25 Aug 1999 16:13:22 GMT
Viewed: 
699 times
  
You could always make a multiplexing circuit which does the thresholding and
debouncing for you.  Once the status of each switch has been turned into a
binary state you could then use resistors to create a sort of D/A which
works reliably -- just as you wanted.

The debouncing isn't the real problem, it's the variable resistance as the
switch is being pressed which alaises the touch sensor. By building a
MUX circuit which does thresholding and debouncing you effectively make
the system way more complicated than it has to be.

By using good microswitches (from a mouse) you get the clean resistive
transitions you need, the sampling algorithm can take care of the debounce.

One VERY easy method is to take successive samples at an interval greater than
the switch bounce (from the spec sheet for the switch) and just make
sure you have two identical readings before processing it as a state
change...

Cheers,

Ralph Hempel - P.Eng

--------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbFORTH>
--------------------------------------------------------
Reply to:      rhempel at bmts dot com
--------------------------------------------------------



Message is in Reply To:
  RE: touch sensors aren't just switches (was Re: ideas for a RIS 2.0
 
You could always make a multiplexing circuit which does the thresholding and debouncing for you. Once the status of each switch has been turned into a binary state you could then use resistors to create a sort of D/A which works reliably -- just as (...) (25 years ago, 25-Aug-99, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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