Elecrow Raspberry Pi & Arduino Starter Kit User Manual page 15

Table of Contents

Advertisement

Connection Diagram
As we can see in the diagram, we connect the button to the 10K ohm resistor on the negative side as well as to the
GPIO port at GPIO17. The other pin of the button goes to 3V pin on the raspberry pi.
Please note: if you connect the button on the wrong direction the raspberry pi might indicate the opposite, GPIO
HIGH when the button is released and GPIO LOW when the button is pressed, therefore the script might not work as
expected.
Connection
Button
Pin 1
Pin 2
Raspberry Pi
GPIO17
3V3
15 of 114

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Raspberry Pi & Arduino Starter Kit and is the answer not in the manual?

Table of Contents