This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RPi 3 Pypilot control via GPIO push buttons
The resistor is mainly in case software on the pi somehow set the pin to output and then you pressed the button as well. A 27-47 ohm resistor won't protect this, I think 240 is the minimum for raspberry gpio.

Having a resistor for every key protects even if you press multiple keys at the same time when one pin is set to output high and the other low which is relatively unlikely.

So the resistor is only needed if the wrong software is running, because the right software all the pins are inputs.

Forum Jump:

Users browsing this thread: 1 Guest(s)