Tuesday, July 28, 2009

Can anybody give me the ckt diagram to interace an electronic device(using printer port) using c codings?

i am to do project this year and i have planned to do a project using c language. it would be useful for me if anybody can give me the circuit diagram to connect the pc and the electronic device throught the printer port

Can anybody give me the ckt diagram to interace an electronic device(using printer port) using c codings?
That is a pretty cool project. In general, your parallel port is an open collector device. So it's Open Circuit when active. A simple 20K pullup should convert it to an accepable digital level.





Depending on the language, and computer configuration, the Output command from C++ will work, once that port is enabled for WRITE. You've got to check the manual on this; as it related to your printer port. For Windows, you may have to disable the LPT1 port for normal operations. I did this many years ago under DOS.


No comments:

Post a Comment