Adding a Button to a Raspberry Pi Pico (CircuitPython School)

Published: 21 March 2025
on channel: Build With Prof. G.
4,721
85

In this lesson we use CircuitPython to read a button wired to a Raspberry Pi Pico or Pico W. We'll also learn about different types of buttons, how code for external buttons differs from the built-in button on the CircuitPlayground boards, and we'll see why a Pull.UP resistor is necessary as we observe floating or high impedance state.
We'll also show how the Pico 2 might not show high impedance state, but STILL NEEDS the internal Pull.UP resistor.
This playlist is used in Prof. Gallaugher's Physical Computing course. All teachers, students, and other independent learners are welcome to use this content. If you find it helpful, PLEASE let me know! You are also most welcome to share with others and use this material in your own courses. For more info, including parts lists, suggestions for faculty, and more, see: https://bit.ly/circuitpython-school
or just the pico lessons in:
https://bit.ly/pico-school
#button #raspberrypipico #circuitpython #adafruit #python #electronics #microcontroller #stem #stemeducation #cseducation #steam #breadboard #wiring #beginner #tutorial #explained #explanation #college #university #course #free #class #press #release #resistors #pullup #pull #up


On this page of the site you can watch the video online Adding a Button to a Raspberry Pi Pico (CircuitPython School) with a duration of hours minute second in good quality, which was uploaded by the user Build With Prof. G. 21 March 2025, share the link with friends and acquaintances, this video has already been watched 4,721 times on youtube and it was liked by 85 viewers. Enjoy your viewing!