Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Do a google search for inpout32.dll, its freeware. When you have downloaded it, place it in your Windows/system32 directory.
If the parallel cable you have is a spare one, you can either get the mating plug, so that you can solder wires to that
or cut off the socket from the end of the cable.
You will have to make a note of which wire goes to which pin on the other end.
Which ever way you choose of connecting the 'free' end of the cable you will require a PCB [ printed circuit board]
or something similar so that you can fix your LED's too.
You could just hang them to the end of the wires, but that will soon become a 'pain' to keep working on.
If you are not sure if you have inpout32.dll, use XP to search your hard drive, its unlikely that you already have it.
hi,
When you have downloaded it, place it in your Windows/system32 directory
Attached is VB5 i/o program that you can use and modify to suit your projects.
Paste the inpout text part in your VB prog as a module, the rest of the text as the VB form, OK.
When you have prepared the end of the printer cable, let us know and we will explain the next step.
If the parallel cable you have is a spare one, you can either get the mating plug, so that you can solder wires to that
or cut off the socket from the end of the cable.
You will have to make a note of which wire goes to which pin on the other end.
Which ever way you choose of connecting the 'free' end of the cable you will require a PCB [ printed circuit board]
or something similar so that you can fix your LED's too.
You could just hang them to the end of the wires, but that will soon become a 'pain' to keep working on.
You can use the VB program that came with the inpout32.dll if you wish.
As a test, connect your meter to pins #2 and pin#19 of the cable and set the meter to 10 volts say, use the VB program to switch pin2 ON/OFF. The volt meter should read about 0v or +5v as you switch the pin.
Google for parallel printer port pinout for the rest of the pin assignments.
Download from a Google, the Pinout for the Printer connector.
It will give you the port addressess and which pins are which. example: 378, 379 and 37A.
Its important you get this port pin info, you will need it.
No, the pins are not 'powerful' enough to drive motors or relays, [try a LED]
Thats why you need the PCB I keep on about, you will need to put transistors and other components on, if you want to drive motors.
Do you have a dc power supply, say about 12Vdc, you will need something to power your motors.
Do you have a specific project in mind? Example: drive a LED or Relay or a small DC motor.
If yes, then what LED's, motors do you have, if any. ?
I would suggest that you look at a hobbyist catalog and find a prototyping board, the type you just push the components into pin sockets. [no soldering].
Are you now confident you can switch the pins on the parallel port using VB.?
Did you try the LED ?
Did you get the parallel.pdf downloaded to your PC?
Its important that you give us the answers so we can advise.
I can tell that you very keen to 'get going' on the project, but plan what you intend doing.
It will save you time and money in the long run.
EDIT: Google for 'parallel port projects' there are many projects to choose, also tutorials.
If yes, then what LED's, motors do you have, if any. ?
yes, i have everything ! my dad is an electronics engg. but he neither encourages nor does he help me with my dream projects (like this)
I know how to solder!!!! I am the one who always represents my school in robotics in the UAE , so i'm familiar with it!
yes , i do have a final aim !
' i want to control a series of motors through my computer!
For eg. when i click a button , first motor#1 should run for 10 secs , then motor# 2 for another 2 sec along with moto# 3 and so on.....'
Are you now confident you can switch the pins on the parallel port using VB.? ....pin #2 , yes i am confident. but rest of the pins- i don't know!
Did you try the LED ?... yes it did work switching on/ off ! !! really!
Did you get the parallel.pdf downloaded to your PC? yes i downloaded it , but it sounds very strange to me....lilke greek!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.