🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.pc
Article #68947

Re: Addressing individual serial port pins - possible?

#68947
From: George Poulson
Date: Fri, 19 Apr 1996 00:00
24 lines
1627 bytes
Tim Carter (tim@pzoptic.demon.co.uk) wrote:

: Is this possible and if so how? If not serial port pins then any other
: port?

If you need +5v and 0v then you need to use the parallel port; serial port
lines drive to +12v and -12v (ish!)

Assuming you're using DOS and a "standard" PC this is quite easy to
achieve by writing directly to the hardware. I have implemented several
circuits like this, such as an A-D converter which does a 12-bit conversion
and then latches the data and reads it in into the PC parallel port as two
separate bytes (the port is only 8 bits wide).

Give us a bit more info on exactly what you want to achieve, or I can post
appropriate bits of 'C' code (either here or by email).

Hope that helps!

-- 
George Poulson                           GP Designs Limited      01782 815231
george@gpdesign.demon.co.uk              Computer systems & software
                                         Electronics design & development
                                         email: gpdesign@gpdesign.demon.co.uk
Technical Details
Message-ID: <1996Apr19.061701.9627@gpdesign.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <83h1fBA1z5cxEwpu@pzoptic.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1036bc,6e54c45d9fbd1089
X-Google-Attributes: gid1036bc,public
From: George Poulson <george@gpdesign.demon.co.uk>
Subject: Re: Addressing individual serial port pins - possible?
Date: 1996/04/19
Message-ID: <1996Apr19.061701.9627@gpdesign.demon.co.uk>
X-Deja-AN: 150578357
x-mail2news-path: disperse.demon.co.uk!post.demon.co.uk!gpdesign.demon.co.uk
x-nntp-posting-host: gpdesign.demon.co.uk
references: <83h1fBA1z5cxEwpu@pzoptic.demon.co.uk>
organization: GP Designs Limited
newsgroups: demon.tech.pc