This is the control software for a walking robot controled over the
parallel port.

It uses the ppdev device from the 2.4.x Kernel series.
In oder to use the software you need the device file:
crw-rw-rw-    1 root     daemon    99,   0 Sep 27  2000 /dev/parport0

and you need to compile the PARPORT module together with the PPDEV
device. This should then look as follows in the .config file:
#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_SUNBPP is not set
CONFIG_PARPORT_OTHER=y
CONFIG_PARPORT_1284=y
#
# Character devices
#
CONFIG_PPDEV=m
#------------------------------------

Installation 

run 
 make 
to compile
and 
 make install
to install the file pprobi to /usr/bin

Make sure that the ppdev module is loaded. If it does not load
automatically then you need to load it with modprobe.
 
You can check if it is loaded with the command /sbin/lsmod:
# sbin/lsmod
parport_pc             18448   0 
ppdev                   5200   0  (autoclean)
parport                24416   0  (autoclean) [parport_pc ppdev]


#------------------------------------
The pinout for the parallel port is as follows:
Parallel port connector

25 PIN D-SUB FEMALE at the PC.

 Pin  Name   Dir   Description
 1  STROBE  [-->] Strobe
 2  D0      [-->] Data Bit 0
 3  D1      [-->] Data Bit 1
 4  D2      [-->] Data Bit 2
 5  D3      [-->] Data Bit 3
 6  D4      [-->] Data Bit 4
 7  D5      [-->] Data Bit 5
 8  D6      [-->] Data Bit 6
 9  D7      [-->] Data Bit 7
 10 ACK     [<--] Acknowledge
 11 BUSY    [<--] Busy
 12 PE      [<--] Paper End
 13 SEL     [<--] Select
 14 AUTOFD  [-->] Autofeed
 15 ERROR   [<--] Error
 16 INIT    [-->] Initialize
 17 SELIN   [-->] Select In
 18 GND     [---] Signal Ground
 19 GND     [---] Signal Ground
 20 GND     [---] Signal Ground
 21 GND     [---] Signal Ground
 22 GND     [---] Signal Ground
 23 GND     [---] Signal Ground
 24 GND     [---] Signal Ground
 25 GND     [---] Signal Ground

You connect the driver circuit to pint 18 and to
the data pins (2-9).
#------------------------------------

History:
version 0.2 2001-04-20: first public version
version 0.3 2001-06-02: Error message when parport clain fails changed.

Written by katja socher <katja@linuxfocus.org> and
           guido socher <guido@linuxfocus.org>

Copyright: GPL

pprobi is part of a LinuxFocus article. You get this software
together with the article at:
http://linuxfocus.org/English/May2001/




