infrared sensor to pic16f877a problem

Status
Not open for further replies.

emperror123

Member level 5
Joined
Dec 11, 2010
Messages
86
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,880
dear all,

i am facing a problem for more than 2 days but still not have any solution

actually i build the circuit as same as below where the output connect to PIC16f877a and i found some problem
PS: coding i has been modified with working but still unable get expected result

problem comes
when i switched on the power to 5v automatic the port for output is on too even it din sensed anything

with some troubleshooting
i trying to use dmm and measure the voltage, come out with expected result i wan which when sense an object the port is on, but when take out back to problem mentioned above,

what thing shall i add before goes to the pic?

thank,




 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…