Searching \ for 'Parallel port' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ios.htm?key=port
Search entire site for: 'Parallel port'.

Truncated match.
PICList Thread
'Parallel port'
1997\02\02@192628 by Ed Todd

picon face
We've amanged from a PIC (16C57) into a PC parallel port in standard mode.
We use 5 input lines (including 1 IRQ line) and 2 output, though I forget
which preceise lines we use.  We have a simple protocol:

1. PIC places 4 bits on input lines to PC.
2. PIC raises IRQ line
3. PC IRQ handler takes 4 bits of data and raises an output line (we call
it a strobe line)
4. PIC sees strobe line rise, places other 4 bits on input lines and clears
IRQ line
5. PC sees IRQ line drop, takes next 4 bits, clears strobe line, ends IRQ
processing

We use the second output line to test for PIC presence on the port: if the
PIC sees that line go high, it sends a couple of test bytes to the PC.

Our application is complex and code cannot be shared: our PIC is gathering
data full time in a time critical operation and communicates with the PC in
limited time during certain phases of the operation.  I can get the LPT
line names we use tomorrow when I'm back in the office if anyone needs
them.

1997\02\02@215950 by Steve Hardy

flavicon
face
{Quote hidden}

I don't know what 'amanged' means, but a similar technique was used by
me in 1-bit form to communicate between a PC and a PIC.  Just toggling
the IRQ line (as is done above) for each bit seems more efficient than
strobing it.  Naturally, one doesn't have to use interrupts on the PC
if polling is adequate for the application.

By the bye, I do everything using 3 or 4 PIC pins:

       Clock (input to PIC)
       Handshake (output from PIC)
       Data (input/output)
       Hard reset (optionally attached to !MCLR pin to
                   grab the PIC's attention in no uncertain
                   terms).

All pins are tied to the respective parallel port pin by 1K
resistance.  In addition, the data pin is tied to a P/P output
_and_ a P/P input pin by separate resistors (common point at
the PIC pin).  This allow the PIC to input from the PC by
setting its pin to high impedance.  Otherwise, the PIC can
blast away with its own data without regard to the P/P data
pin.  This also allows a crude form of 'plug and play' because
(if the PIC allows it) the PC can read its own data signal
back (i.e. loopback) once the PIC unit is plugged in.

If anyone is interested I could give some more detailed info
on this technique.  I have used it successfully in two
projects so far - GPIRS (Peter Crowcroft where are you?) and
a programmable remote control.

Regards,
SJH
Canberra, Australia


'Parallel port'
2000\02\02@132131 by Rich Leggitt
picon face
Hi all, I need to use PC parallel port in bi-directional mode to
read/write 16C74B via PORTD slave for factory test. Anyone have info or
links (especially for the PC side)?

TIA - Rich

2000\02\02@142336 by Severson, Rob

flavicon
face
> -----Original Message-----
> From: Rich Leggitt [.....rleggittKILLspamspam@spam@CONCENTRIC.NET]
> Sent: Wednesday, February 02, 2000 12:20 PM
> To: PICLISTspamKILLspamMITVMA.MIT.EDU
> Subject: Parallel port
>
>
> Hi all, I need to use PC parallel port in bi-directional mode to
> read/write 16C74B via PORTD slave for factory test. Anyone
> have info or
> links (especially for the PC side)?
>
> TIA - Rich
>

Jan Axelson's "Parallel Port Complete" http://www.lvr.com

2000\02\02@173335 by jamesnewton

face picon face
see:
204.210.50.240/techref/default.asp?url=io\parallel\port.htm
for just a little bit <GRIN> of information (from a lot of sources) on
parallel ports and their use. I put this together from a lot of people
before I thought that I would be running a web site, so if you see something
that you aren't getting credit for, or feel is proprietary or copyrighted,
please let me know and I will correct it post haste.

---
James Newton .....jamesnewtonKILLspamspam.....geocities.com 1-619-652-0593
http://techref.homepage.com The Technical Details Site.
Members can add private/public comments/pages ($0 TANSTAAFL web hosting)


-----Original Message-----
From: pic microcontroller discussion list
[EraseMEPICLISTspam_OUTspamTakeThisOuTMITVMA.MIT.EDU]On Behalf Of Rich Leggitt
Sent: Wednesday, February 02, 2000 10:20
To: PICLISTspamspam_OUTMITVMA.MIT.EDU
Subject: Parallel port


Hi all, I need to use PC parallel port in bi-directional mode to
read/write 16C74B via PORTD slave for factory test. Anyone have info or
links (especially for the PC side)?

TIA - Rich

2000\02\02@174400 by Severson, Rob

flavicon
face
I stopped looking for parallel port info on the web after I bought Jan
Axelson's "Parallel Port Complete". Her book is absolutely great.

But if I need to point to a web source, this is the one to point to. You did
a great job, James.

> -----Original Message-----
> From: James Newton [@spam@jamesnewtonKILLspamspamPICLIST.COM]

> see:
> http://204.210.50.240/techref/default.asp?url=io\parallel\port.htm

2000\02\02@201448 by Dan Creagan

flavicon
face
Actually, I was quite surprised at the amount of information that was in
Jan's book - but her book was not an exhaustive coverage of the topic.
Peter Anderson has some good circuits in his two texts and I have found some
interesting bus expansion circuits on the net that worked very well (making
a 32 port circuit for the parallel port for instance).

Take a look at the parallel port expander by Francis Deck, I have a copy of
his instructions at:      http://204.233.101.40/robots/pportexp.txt

Dan

> I stopped looking for parallel port info on the web after I bought Jan
> Axelson's "Parallel Port Complete". Her book is absolutely great.
>
> But if I need to point to a web source, this is the one to point to. You
did
> a great job, James.
>
> > -----Original Message-----
> > From: James Newton [KILLspamjamesnewtonKILLspamspamPICLIST.COM]
>
> > see:
> > http://204.210.50.240/techref/default.asp?url=io\parallel\port.htm

2000\02\04@135723 by Paul Dartanian

flavicon
Hi all

I am making a project with PIC that uses the parallel port of the PC. But I
do
not have enough information about how to program it. Any help or anything
related.


Thank You

Paul

2000\02\04@141406 by Severson, Rob

flavicon
face
Paul,

Book: "Parallel Port Complete" by Jan Axelson
Website: http://204.210.50.240/techref/default.asp?url=io\parallel\port.htm

You will need little else...

-Rob

J. Gordon Electronic Design, Inc.
Minneapolis, MN 55433
Email:       RemoveMEseversonTakeThisOuTspamjged.com
Web Page:    http://www.jged.com
USBSIMM:     http://usbsimm.home.att.net



{Quote hidden}

2000\02\04@142038 by Severson, Rob

flavicon
face
Note that "Parallel Port Complete" by Jan Axelson and more info is at
http://www.lvr.com

> {Original Message removed}

2000\02\04@182025 by Tim Hamel

picon face
Hi Paul,

If you don't wanna buy a book, there's an excellent site along with some
tutorials here:

http://www.doc.ic.ac.uk/~ih/doc/par/

Regards,

Tim Hamel

In a message dated 2/4/00 10:57:52 AM Pacific Standard Time,
RemoveMEpauligspamTakeThisOuTCYBERIA.NET.LB writes:

{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...