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,