PDA

View Full Version : detecting encoder input through parallel port....



ingenium
10-13-2004, 03:46 PM
hi group....

how to interface an ir encoder with computer parallel port?? i mean
taking inputs ... i tried it with the pin 1 and 14..... but cud not detect any input in dos debug... i was using the ckt, given by pulkit.... where he detected the signals in a calculator....
i cud detect 5 v output in a multimeter..... but, it did not show up in dos debug.....
do i need to put some additional ckt for the parallel port to detect
those signals????

Subhasis

ice
10-13-2004, 04:08 PM
Hey Subhasis,
First ,basic but easily forgotten even by experts,did you ground ur ckt..?
[sorry it's silly,but it happens :D ]
Short all pins from 18 to 25 on the PPT connector ....take a single wire from 'em...and then short it to ur ckt gnd.
remember ...ALL GND circuits must be connected...You leave one..nothing will show up..

Keep us posted
ice
//Gerry

ingenium
10-13-2004, 04:41 PM
well,
that , i m sure i did.... coz, i m using a readymade pp :wink:
but..... i even, repeated, ur program..... n still, it did not show results....
hey.... for control pins, 1,14,16,17.... what sud be the port address....
i used pin 13 in ur program.... but no result.... :?
see, if u can find something....
Subhasis

ice
10-13-2004, 04:48 PM
ingenium,
Dump your program here...It'll be good if we can see it...
control port address is normally 37fH
ice
//Gerry

ingenium
10-13-2004, 05:04 PM
i used ur program, which u gave in the parallel port tut 2.....
ok??

ingenium
10-13-2004, 05:31 PM
hey sorry..... for troubling u....
i detected the problem....
thanx for answering....
Subhasis

ice
10-13-2004, 05:43 PM
I'm kewl with it...:D
What went wrong anyway? It'll be nice if u can tell us,so we won't repeat it.

ice
//gerry

ingenium
10-13-2004, 05:48 PM
i picked the parallel port from lying in the lab.... i thought, that might be a standard port..... actually, the input pins were not connected.... :x

ice
10-13-2004, 05:58 PM
:lol: :lol: :lol:

yogi
01-17-2005, 07:07 AM
see parallel port tutorials on

www.bibinjohn.tk

see the pbm with OS