Re: real time parallel port input

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It's been more than 10 years since I messed with this stuff, but as I
recall, you're right on the money about the bounce issue.

As I recall I was able to build a simple bounceless switch with some basic
AND and OR gates. I think I got the circuit diagrams from a book call the
"TTL Cook book" or something like that.


<pete_tomson@xxxxxxxxxxx> wrote in message
news:1173632156.691474.6660@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All - I'm trying to write a program that reads data fed directly
into the parallel port from a reed switch on my bike (a pc based bike
computer basically). There is no external circuitry - the opening and
closing of the switch toggles pin6 on my parallel port.
Basically I'm wondering if anyone has tried something similar and
whether they can give me some advice on accurately reading the data. I
think I get alot of bounce from the switch giving me multiple toggles
for one open-close of the switch and I don't know if I'm missing some
inputs through timer delays etc. I'm a novice to VB in the sense that
everything I know is self taught. Can anyone suggest a robust method
of collecting accurate data without going back and adding extra
circuitry?
Thanks
Cal



.



Relevant Pages

  • Re: Could this be the LARGEST recall? YES - 8 to 9 million!
    ... recall is reported to be in the 8-9 million range. ... while Toyota re-sale values appear to be ... Ford had a recall affecting 14,000,000 vehicles. ... control brake switch recall which was about as bogus as they get. ...
    (alt.autos.toyota)
  • Re: switch debouncing
    ... You obviously don't want the voltage to cross the positive threshold again. ... Using VT+ as positive threshold, VT- as negative threshold, and VH as hysteresis, a worst case calculation for the 74HC14 would look something like this when you settle on a maximum bounce time an order of magnitude larger than switch specification. ... momentary, he observed 2:1 variation in bounce times, and with identical switches he observed 3:1 variation in average bounce times. ...
    (sci.electronics.design)
  • Re: A REAL LIVE Reverse Entropy Machine-Warning
    ... She may bounce the peaceful worm and switch it as well as its ... port. ...
    (sci.crypt)
  • Re: Honda defect may cause deadly accidents
    ... The car may stall without warning while driving in traffic. ... switch replaced as part of the recall may still have this problem. ... there were additional problems with the ignition. ...
    (rec.autos.tech)
  • Re: Judge Dredd ball lock question...
    ... Diverter does work in test mode, as does the ramp entrance opto. ... Yes- as I recall that opto switch was working. ...
    (rec.games.pinball)