![wiring on off switch wiring on off switch](https://i.ebayimg.com/images/g/RjcAAOSwcB1eIBn5/s-l400.jpg)
The resistor is also connecting back to the GPIO's input pin via gray jumper wire.The resistor is connecting the RPi's power to the switch (both pins at the same time).
![wiring on off switch wiring on off switch](https://newwiremarine.com/wp-content/uploads/marine-toggle-switch-600x600.jpg)
This brings us to the center of the beadboard, where that big fat 10-kOhm resistor is hanging out:
Wiring on off switch how to#
I then subsequently inferred my own rendition of this, which more clearly shows the joining of the switch's left and right pins together (giving it the desired on-off behavior) as well as how to wire the 3.3V power on the RPi to the GPIO input pin: I was given this diagram to follow for wiring things up: That is: push it once, the circuit is closed and sending an input signal on to my RPi. The kicker here is that although I'm using an on-off-on-off switch, I really just want it to function like a normal (on-off) switch.
![wiring on off switch wiring on off switch](https://i.ebayimg.com/images/g/y7oAAOSwd6pbg7hl/s-l400.jpg)
I am trying to connect my RPi 1 Model A to a breadboard with a single, simple on-off-on-off switch on it. Please note: although this question involves a Raspberry Pi (hereafter RPi), it is really a pure electronics question at heart!