Multiple Motor Control Via Printer Parallel Port: |
This circuit can control up to 16 motors using the printer parallel port of a PC. The circuit is plugged into the printer port using a DB25 pin connector and cable. Only the data out pins (D0 to D7) of the port are needed. Because there are a total of 8 data pins and this circuit uses just 4 of them another identical circuit can be added to control a grand total of 32 motors. Just about any programming language can be used to send data out to the printer port such as BASIC, C++, FORTRAN, COBOL,etc. |
Heres a simple Qbasic program to get output from the parallel printer port: |
REM Parallel Port Output REM Data Pins 2 to 9 CLS FOR N = 1 to 15 STEP 2 OUT 888,N FOR T = 1 to 5000:NEXT T NEXT N OUT 888,0 END |