Introduction to parallel port

The computer parallel port is the easiest way to control devices outside the PC, like LEDs, lights and even home appliances.
In fact the idea behind parallel port is really simple. It is an 8-bit parallel interface, so you have eight bits available there. Simple put, since each data bit can be set as either “0” (“turned off”) or “1” (“turned on”), we can directly turn on or off up to eight devices, like LEDs, lights and even home appliances. You can connect LEDs direclty to the parallel port and play with them. I did play with them.
And trust me its very interesting and enjoyable to control something with computer.

So, all you need to do is to connect the positive terminal( longer leg) of the LED to any one of the pins (2-9) and the other to any of the pins from 18-25. Pins 18-25 are ground pins and are internally shorted in your computer. Pins 2-9 are data pins and you can give 0V or 3V to them through programming. So when you give a +3V to the pin to which you have connected the LED's longer leg, there is a potential difference created across it and it starts to glow.

Its a common practice to put a resistance (1K) in series with the LED so that it does not burn.
There are many programs to operate your parallel port pins. Just explore the internet for further information.

And yes, you can always use MATLAB and C too.
I will recommend MATLAB for this purpose. So, ALL THE BEST.....

0 comments: