
SunFounder Thales Kit for Raspberry Pi Pico, Release 1.0
Wiring
1. Connect 3V3 and GND of Pico to the power bus of the breadboard.
2. Insert the potentiometer into the breadboard, its three pins should be in different rows.
3. Use jumper wires to connect the pins on both sides of the potentiometer to the positive and negative power bus
respectively.
4. Connect the middle pin of the potentiometer to GP28 with a jumper wire.
5. Connect the anode of the LED to the GP15 pin through a 220 resistor, and connect the cathode to the negative
power bus.
Code
Once the code has been successfully uploaded, open Serial Monitor and then ensure that baudrate is 9600, rotate the
potentiometer in 2 directions and you will see that the value range is 0-1023.
When the displayed value is 0, the LED goes off and as the value increases, the LED gets brighter.
152
Chapter 4. For Arduino 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 ...