SPS4Linux/OpenSPS supports the following hardware:
- 8255 PIO
- IO-Warrior 40
- DIL/Net PC
- Printer Port
- Joystick Port
8255 PIO Support
all kinds of ISA Bus adapters with 8255 PIO are supported, you can find one example here.
For examples of the configuration see .run_sps.cfg
You can buy supported PIO Cards at http://www.decision-computer.de/
IO Warrior 40
Currently up to 4 IO Warrior 40 are supported, but I could only test with one warrior.
more Infos about the IO Warrior may be found on the Code Mercenaries website
DIL/Net PC
the Inputs und Counter are Port 0 , the outputs are Port1.
More help may be found at http://www.ssv-embedded.de/
Printer Port
the easy way to test is to use some switches and LEDs connected to the Printer Port.
The hardware is simple. I found it somewhere in the internet. 8 LEDs and 5 switches with some resistors is all you need. Picture 3 shows the schematic  I took the needed power from a power connector for the disks.
Bild 4 shows the connector an pin assignemts of the Printer Port
Be carefull if you build it yourself. Please check everything carefully, a fault may kill your PC.
The Pictures 5 and 6 show my prototype

Joystick Port
Currently the Joystick port is the only supported analog hardware. Every linux supported Devices may be used, but only one device at the time ( e.g. /dev/js0)
generell
the circuit shown above is fine for small tests. A advanced version which is able handle inputs up to 24 V may be found on the
Website of Ulrich Vollmer. (Ulrichs Website is currently down, therefor is saved the schematic locally ). He uses a relyable circuit with his Logik Analizer which may be used for SPS4Linux/OpenSPS.
Instead of the LEDs you can connect relais as the Printer Port Modul from Kaemo or my own design homebrewed.
You can use the optocoupler and the relais schemtatic not only for the printer port, it works with all kind of IO hardware.
All schematics are licensed under the GNU Document Licence.
Links
More interesting Hardware stuff may be found at :
electronics2000.com
schaltplaene-online.de
www.loetstelle.net
|