LPT port, anyone ?

From: Bjørge Sæther (bjorge_at_hahaha_itte.no)
Date: 10/25/04


Date: Mon, 25 Oct 2004 13:05:11 +0200

Hi, all !

I'm building a simple temperature logger for connecting to the LPT port
("modern" ECP). I'm planning for max. 8 sensors (type SMT160-xx), so the
parallell port seems easiest. The sensors are working on 5V (0.2 mA) and
produce 1-4kHz square wave with a variable duty cycle (=value indicating
temperature).

I have found myself a driver and wrote a test application in Delphi. But
when I watch the signal from the sensor using an oscilloscope, it can't pull
the low level low - min. value is some 3V (disconnected from LPT it works
fine). Current draw is no problem, as I borrowed 5V from the USB port to be
sure this is not a problem.

Q: Do I have to set the port to take input instead of producing output (I've
been using Data0 line) ?

Thanks in advance !

-- 
Regards,
Bjørge Sæther
bjorge@haha_itte.no
-------------------------------------
I'll not spend any money on American Software products
until armed forces are out of Iraq.


Relevant Pages

  • Re: LPT port, anyone ?
    ... and depending on which ECP chip you've got in your system ... >> have to reconfigure the port and access the data using IOControl ... If you've got 10 years of electronics, how is it you don't know the difference ... >just some 5 sensors on one port. ...
    (comp.lang.pascal.delphi.misc)
  • Re: [PATCH] Request only really used I/O ports in w83627hf driver
    ... And you should not request I/O addresses into which chip does not respond. ... It was not parallel port, ... my demonstration clearly shows that sensors chip answers to C05 and C06 only, ... they are free for use by the driver. ...
    (Linux-Kernel)
  • Re: LPT port, anyone ?
    ... The chip has to be ... > Input pin to gather the data one bit at a time. ... put a signal into a pin that's pulled high by the chip port. ... >> for just some 5 sensors on one port. ...
    (comp.lang.pascal.delphi.misc)
  • Re: LPT port, anyone ?
    ... >> pull down a high level, but my sensor doesn't have the capacity. ... > have to reconfigure the port and access the data using IOControl ... electronic equipment is a new field to me. ... just some 5 sensors on one port. ...
    (comp.lang.pascal.delphi.misc)
  • RE: UDP Port Sweep question
    ... These port numbers are all in the range used by UDP-based versions ... The client is being hit on the same 8 ... > cisco IDS sensors and I am unsure as to how to get the actual packet ... > Might I suggest you post some of the packets here? ...
    (Incidents)