LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Old November 8th 06, 12:11 AM posted to rec.radio.amateur.homebrew
external usenet poster
 
First recorded activity by RadioBanter: Jul 2006
Posts: 58
Default How connect two EPP ports to "talk" between them?

Hope this isn't too far off-topic, but maybe somebody who has actually
done something homebrew like this can give me some pointers.

I'd like to connect two PC's with EPP ports so they could "talk" to each
other (mono-directional at any instant but reversible -- probably by
passing a "token" back and forth -- and preferably NOT using interrupts
because I'll be doing most of the programming in a high-level language).

This is a one-off job and I'm not looking for elegance or portability;
I just want something to work reliably.

Maximum cable length will be be less than 10 meters, so propagation
time should be minimal.

The programming, itself, doesn't bother me, but it's how to CONNECT
the two parallel ports and how to implement half of the handshake.

Each port has the following pins/functions available:
DIRECTION: DESCRIPTION(#)
Out: Write
InOut: Data (8)
In: Interrupt
In: Wait
Out: DataStrobe
Out: Reset
Out: AdrsStrobe
In: Spare (3)
Ground: (8)

Some connections are fairly obvious:
* 8 data lines to corresponding 8 data lines
* 1 (or a few) ground line(s) to ground line(s)
* DataStrobe outputs to the other's Interrupt inputs
(but I'll DISable the Interrupts).

Possible algorithm:
Assume one PC is started as SeNDeR and the other as ReCeiVeR:
Not sure how RCVR lets SNDR know it is ready to receive,
but RCVR furiously polls the Interrupt input.
SNDR writes the data to its port.
which causes Write to go low
which causes data to be dumped on the output data lines
Not sure what signal from RCVR should be the SNDR's Wait signal.
but when SNDR's Wait is low SNDR's DataStrobe is set high

Something tells me this just isn't going to work!

HELP! Please!
--
--Myron A. Calhoun.
Five boxes preserve our freedoms: soap, ballot, witness, jury, and cartridge
NRA Life Member and Rifle, Pistol, & Home Firearm Safety Certified Instructor
Certified Instructor for the Kansas Concealed-Carry Handgun license
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ICOM AT-150 tuner antenna ports KC0JBJ Equipment 3 March 29th 06 08:49 PM
Adding serial ports to PC notebook Hatfield Scanner 4 December 19th 05 08:59 AM
MFJ 1278 and usb ports instead of serial ports. Aaron Jones General 0 July 13th 04 12:47 AM
How to connect external antenna to GE Super Radio III Jim Antenna 2 October 18th 03 03:12 PM


All times are GMT +1. The time now is 05:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017