SunFounder Thales Kit for Raspberry Pi Pico, Release 1.0
What more?
There are two components in this kit that work on the same principle as buttons, they are tilt switch and slide switch.
These components can use the same code as the button. Their wiring is as follows:
Tilt switch
1. Connect the 3V3 pin of Pico to the positive power bus of the breadboard.
2. Insert the tilt switch into the breadboard.
3. Use a jumper wire to connect one end of tilt switch pin to the positive bus.
4. Connect the other pin to GP14 with a jumper wire.
5. Use a 10K resistor to connect the second pin (which connected to GP14) and the negative bus.
6. Connect the negative power bus of the breadboard to Pico’s GND.
When you put a flat breadboard, the circuit will be closed. When you tilt the breadboard, the circuit is open.
•
Slide switch
58
Chapter 3. For MicroPython User
Summary of Contents for Thales Kit
Page 1: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 Jimmy SunFounder Jun 04 2021 ...
Page 2: ......
Page 4: ...ii ...
Page 6: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 2 CONTENTS ...
Page 140: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 136 Chapter 3 For MicroPython User ...
Page 164: ...SunFounder Thales Kit for Raspberry Pi Pico Release 1 0 160 Chapter 4 For Arduino User ...