PDA

View Full Version : urgent help



engkhlaif
12-14-2007, 02:44 PM
dear all,
i have and gp2d12 ir sensor in my project
i need a help in writing a code that operate this sensor
the idia is to interface the GP2D12 sensor with PIC16F877A and the sensor will detect the object (moving on a line) and then display the distance on an LCD 16*2
note:
this sensor gives analog output and then we need to convert it to digital through PIC A/D pins
plz any one can give me help as i need it as soon as he can
thanx

Alex
12-14-2007, 04:07 PM
What sort of help do you need? What seems to be the problem?

engkhlaif
12-15-2007, 09:45 AM
What sort of help do you need? What seems to be the problem?

dear
what i need is asamp;e code in c language that will operate this type of sensor using pic c compiler for pic16f877a
thanx