SunFounder Thales Kit for Raspberry Pi Pico, Release 1.0
1. Connect the 3V3 pin of Pico to the positive power bus of the breadboard.
2. Insert the slide switch into the breadboard.
3. Use a jumper wire to connect one end of slide switch pin to the negative bus.
4. Connect the middle pin to GP14 with a jumper wire.
5. Use a jumper wire to connect last end of slide switch pin to the positive bus
6. Use a 10K resistor to connect the middle pin of the slide switch and the negative bus.
7. Use a 104 capacitor to connect the middle pin of the slide switch and the negative bus to realize debounce that
may arise from your toggle of switch.
8. Connect the negative power bus of the breadboard to Pico’s GND.
When you toggle the slide switch, the circuit will switch between closed and open.
•
•
3.4.4 Reaction Game
Microcontrollers not only appear in industrial equipment, they are also used to control a large number of electronic
devices in the home, including toys and games. In this chapter, we will use “button” and “LED” to build a simple
reaction timing game.
The study of reaction time is called mental chronometry, it is a hard science, and it is also the basis of many games
(Including the games you are about to make).
Reaction time is the time that elapses between a person being presented with a stimulus and the person initiating a
motor response to the stimulus, in milliseconds, the average reaction time of a person is about 200-250 milliseconds.
People with quick reaction time have a huge advantage in the game!
3.4. Projects
59
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 ...