DPRG
DPRG List  



DPRG: Parallel port interfacing

Subject: DPRG: Parallel port interfacing
From: robotics robotics at gwr1.dot.net.in
Date: Tue Feb 8 19:00:19 CST 2000

I could get to your page. thanks. shyam

- -----Original Message-----
>From: Jim Brown <jim_brown at adc.com>
To: dprglist at dprg.org <dprglist at dprg.org>
Date: Thursday, February 10, 2000 3:06 AM
Subject: Re: DPRG: Parallel port interfacing


>"Reynolds, T C (Craig), SITS" wrote:
>
>> Roboticists,
>> I am investigating (again) the use of the parallel port for all sorts of
>> control
>> and monitoring functions. I have a laptop I'd like to interface to my
robot,
>> Murphy and have downloaded (again) quite a few documents addressing the
>> parallel port.
>> I was looking one document by Peter H. Anderson entitled 'Use of a PC
>> Printer
>> port for Control and Data acquisition'. It is useful info. but has alot
of
>> 'C' examples. The author referenced another document, but the URL was no
>> longer active. I wrote him and he was kind enough to immediately give me
>> this
>> address: http://www.phanderson.com
>> I am looking for a Windoze or Dos program that will let me do the
tinkering
>> without using 'C' at this time.
>> Are there any GUI's or such out there to anyone's knowledge?
>> By the way, some useful links to parallel port control are:
>> http://www.boondog.com/tutorials/parallel/parallel.html
>> http://www.geocities.com/SiliconValley/Bay/8302/parallel.htm
>> http://www.doc.ic.ac.uk/~ih/doc/par     which also has good links
>> http://home.rmi.net/~hisys/parport.html
>> Sorry if any of these URLs are now defunct..
>> Craig Reynolds
>
>I used the boondog site and got all the info I needed.  I was able
>to make a gizmo that controlled two servos blink some 12v lights
>(like a stop light) and blink an leds.  It was a DOS program I wrote
>in C.  It's fairly simple to control the parallel port in DOS.  A little
>harder to control it in windoze.    From my dos program I just
>send output bytes to the right port (basically depending on the monitor
>you have the lpt port number changes).  I was just doing output
>so it was rather simple.  Basically I hooked a 7404 chip between
>the printer port and the servos (to sort of isolate it), and I used
>a uln5803 chip to control the 12v lights (has isolation inside)
>you could also use it for dc motors and solenoids and such.
>If you do input, I'd suggest doing some kind of opto-isolation.
>Especially on a laptop where the printer port is a little harder
>to replace.
>
>Here's my cheezy super simple program to send a sample byte to the
>parallel port to cycle some LEDs:
>http://www.cyberramp.net/~jbrown/source/8051_stuff/PORTCHK.C
>Again, you may have to change the port address depending
>on your monitor.
>
>
>--
>    ____             ___
>    \/\_\@  ____    /  /\ __  ___          ___  jim_brown at adc.com
>    / / /\ / / /\  /--/ //\_\/\_/\ /\/\/\ /\_/\ jimgbrown at home.com
>/__/ / / // / / / /__/ // / /__/ //_/_/ // // / home: (972)495-3821
>\__\/  \/ \/\/\/  \__\/ \/  \__\/ \_\_\/ \/ \/  work: (972)889-4228
>http://members.home.net/jimgbrown http://www.dprg.org
>Cole's Law:  Thinly sliced cabbage.
>
>
>
>

------------------------------

More information about the DPRG mailing list

Copyright © 1984 - 2006 Dallas Personal Robotics Group. All rights reserved.
Website Design by NCC

For the latest robot news visit robots.net