hello all
a bit a simple question at a first glance, but i have had some problems earlier with this....
if i have a button some centimeters or a few meters away from a pic, what would be the best method to connect this? try to avoid all environment influences..
perhaps to route out the ground to the button, and the input side with a pull up (10k?) to the pic? a capacitor (value, typ?) from the input line to ground? a 100 ohm resistor in serial to the input line near by the pic? (i have sawn this recommendation in a microchip app note in relation with a keyboard once, but i am not able to refind this document again....)
thanks for some hints or links to other threads
cheers
Bookmarks