[sci.electronics] How do I get sensor data into a pc?

sekoppenhoef@rose.waterloo.edu (Shawn E. Koppenhoefer) (07/10/90)

On 9 Jul 90 22:03:00 GMT,
baron@donald.uhcc.hawaii.edu (Baron Fujimoto) said:
Baron> Sender: news@uhccux.uhcc.Hawaii.Edu

Baron> and .01 second accuracy.  While I have a vague idea of what I would like
Baron> to do (get switch opening/closing info into the PC -- probably via the
Baron> parallel port --  and use software to determine which switch has been 
Baron> activated and some built in timer function to  determine elasped time),
Baron> I am rather clueless as to the actual implementation.

The book to read on this is: 
     "Interfacing Sensors to the IBM PC"  editors Willis Tompkins John Webster
     Prentice Hall, Englewood Cliffs, New Jersey 07632
     ISBN 0-13-469081-8























--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|       _ _       KLEIN BOTTLE for sale...
        Shawn E. Koppenhoefer |        |        enquire within.
 ...watmath!rose!sekoppenhoef |	       -		 
~~~~~~~~~~~~~~~~~sekoppenhoef@rose.uwaterloo.ca sekoppenhoef@rose.uwaterloo.edu

baron@donald.uhcc.hawaii.edu (Baron Fujimoto) (07/10/90)

I am hoping some kind and knowledgeable person out there in net.land
can help me out (I am slightly desperate, and becoming increasingly so): 

I would like to be able to us a PC to detect and and store some sensor
data for further analysis.  Actually  what I currently want to do is to
be able to detect and distinguish between the opening and closing of 
several magnetically activated reed switches so that I can measure and
store elapsed time between switch activation to somewhere between .001
and .01 second accuracy.  While I have a vague idea of what I would like
to do (get switch opening/closing info into the PC -- probably via the
parallel port --  and use software to determine which switch has been 
activated and some built in timer function to  determine elasped time),
I am rather clueless as to the actual implementation.

How does one go about getting such information such as a switch's activation
onto the parallel port?  What sort of harware/interface is required?  Once
on the parallel port, how do I get this data into my program?  Any hardware/
software advice or examples would be tremendously helpful and appreciated!

E-mail would be the preferred method of response since I have difficulty
keeping current with newsgroups, but I promise to summarize responses if
people are interested.


--
INTERNET:	baron@uhunix.uhcc.hawaii.edu   -
BITNET:		baron@uhccux.bitnet            -    "Make beans into peas!"
ICBM:		21 19 N     157 52 W           -

amichiel@rodan.acs.syr.edu (Allen J Michielsen) (07/10/90)

In article <SEKOPPENHOEF.90Jul9211050@rose.waterloo.edu> sekoppenhoef@rose.waterloo.edu (Shawn E. Koppenhoefer) writes:
>
>The book to read on this is: 
>     "Interfacing Sensors to the IBM PC"  editors Willis Tompkins John Webster
>     Prentice Hall, Englewood Cliffs, New Jersey 07632
>     ISBN 0-13-469081-8
>
 I didn't see the standard disclaimer at the end of this.  Are you related to
the publisher or author ?  I saw a book by this title in a k-mart blue light
book sale for $.99.  I was excited and started looking it over...  After a VERY
short period of time, I kinda discovered that this book was so far out of date
that it wasn't funny.  I hope this is a newer edition, else a different book.
  However, if you really want to be up to date, look in your local libraries
magazines in print, else stop by a EE dept.  There are several magazines that
are dedicated to sensor technology.  Advertisers in these mags are more than 
willing (usually) to send information, publications, and even give tech help
on the cutting edge of technology.
al

sekoppenhoef@rose.waterloo.edu (Shawn E. Koppenhoefer) (07/11/90)

>The book to read on this is: 
>     "Interfacing Sensors to the IBM PC"  editors Willis Tompkins John Webster
>     Prentice Hall, Englewood Cliffs, New Jersey 07632
>     ISBN 0-13-469081-8


I am *not* related in any way to anyone connected with this book nor
did I contribute to any chapters in this book.
I found this in our University Library and found it to be an excellent
book... certainly not something only worth $0.99 on sale at a local K-MART.
I don't have it handy to check the publishing date but it is a red
book about an inch thick.



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|       _ _       KLEIN BOTTLE for sale...
        Shawn E. Koppenhoefer |        |        enquire within.
 ...watmath!rose!sekoppenhoef |	       -		 
~~~~~~~~~~~~~~~~~sekoppenhoef@rose.uwaterloo.ca sekoppenhoef@rose.uwaterloo.edu

cgordon@vpnet.chi.il.us (Gordon Hlavenka) (07/13/90)

>I would like to be able to us a PC to detect and and store some sensor
>data for further analysis.  Actually  what I currently want to do is to
>be able to detect and distinguish between the opening and closing of 
>several magnetically activated reed switches so that I can measure and
>store elapsed time between switch activation to somewhere between .001
>and .01 second accuracy.  [...]

I think you'll want to look into optical and/or Hall-effect sensors; contact
bounce is not going to allow you to obtain this level of precision with reed
switches.

----------------------------------------------------------
Gordon S. Hlavenka                 cgordon@vpnet.chi.il.us
Disclaimer: He's lying