I'm working on a project where I need to connect a button to a Raspberry Pi, but the button needs to be about 20 feet away. I think I know how to do this, but since I am fairly new, I wondered if someone with more experience could confirm that this will work:
The best example I've seen is the button set up from the 'Grandpa Scarer' tutorial, where it looks like they've soldered their wires to the button, then run those wires into female/female jumper wires plugged onto the GPIO pins.
If that will work, that seems like the easiest thing, but if there's something I'm missing, or there's a better way I haven't thought of, I would love to hear about it. I just want to make sure I'm on the right track before I jump in.
Thanks in advance!