... | @@ -77,10 +77,6 @@ Mechanical Feel of the Buttons |
... | @@ -77,10 +77,6 @@ Mechanical Feel of the Buttons |
|
Circuit
|
|
Circuit
|
|
-------
|
|
-------
|
|
|
|
|
|
* See also the schematic at https://www.sparkfun.com/datasheets/Components/Buttons/Button_Pad_Breakout.pdf
|
|
|
|
|
|
|
|
|
|
|
|
### Note
|
|
|
|
* It improves the feel of the buttons if none of the wire leads protrude through the top of the button board. (Otherwise, the button pad doesn't sit as nicely on top of it.) One way to assure this is to solder all connections only to the underside of the board, as is shown below. However, it is alternatively possible to poke the leads into the inside of the board as long as they don't protrude through the top.
|
|
* It improves the feel of the buttons if none of the wire leads protrude through the top of the button board. (Otherwise, the button pad doesn't sit as nicely on top of it.) One way to assure this is to solder all connections only to the underside of the board, as is shown below. However, it is alternatively possible to poke the leads into the inside of the board as long as they don't protrude through the top.
|
|
|
|
|
|
|
|
|
... | @@ -103,12 +99,25 @@ Circuit |
... | @@ -103,12 +99,25 @@ Circuit |
|
|
|
|
|
|
|
|
|
|
|
|
|
* The next step will be to use the female-to-female jumper wires to connect the button board with the Raspberry Pi. Also, insert the SD card into the Raspberry Pi board.
|
|
* The next step will be to use the female-to-female jumper wires to connect the button board with the Raspberry Pi. The wiring is specifically as follows:
|
|
|
|
* SWITCH1 to GPIO 17
|
|
|
|
* SWITCH2 to GPIO 18
|
|
|
|
* SWITCH3 to GPIO 27
|
|
|
|
* SWITCH4 to GPIO 22
|
|
|
|
* SWT-GND1 to GPIO 10
|
|
|
|
* SWT-GND2 to GPIO 9
|
|
|
|
* SWT-GND3 to GPIO 11
|
|
|
|
* SWT-GND4 to GPIO 23
|
|
![alt text](images/board_and_pi.jpg)
|
|
![alt text](images/board_and_pi.jpg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* You probably also want to look at the schematic for the button pad breakout board https://www.sparkfun.com/datasheets/Components/Buttons/Button_Pad_Breakout.pdf
|
|
|
|
|
|
|
|
|
|
|
|
* Insert the SD card into the Raspberry Pi board.
|
|
|
|
|
|
|
|
|
|
* Connect the jumper wires to the button pad breakout board as shown below.
|
|
* Connect the jumper wires to the button pad breakout board as shown below.
|
|
|
|
|
|
![alt text](images/board.jpg)
|
|
![alt text](images/board.jpg)
|
... | | ... | |