Hello all
I am using my Microcontroller to read a status of digital input, but when I put long wire to read the status, my MC can not read a clear value, sometimes it ON and sometimes it is OFF, when I measure the value by the oscilloscope, I can see a square wave from 0V to 2.5V, with 60 HZ.
Help me guys to eliminate this? (You can see the design in the attachment)
Thanks in Advanced
Omar
I am using my Microcontroller to read a status of digital input, but when I put long wire to read the status, my MC can not read a clear value, sometimes it ON and sometimes it is OFF, when I measure the value by the oscilloscope, I can see a square wave from 0V to 2.5V, with 60 HZ.
Help me guys to eliminate this? (You can see the design in the attachment)
Thanks in Advanced
Omar