Digital Inputs with the Raspberry Pi Pico and MicroPython

preview_player
Показать описание
In this video we will will learn how to read digital inputs using the Pi Pico and build a circuit to include push button control.

00:00 Intro
00:19 What is a button
00:59 Circuit Build
01:51 Pullup Resistor
02:09 Floating GPIO
02:28 Code Walk Through
03:42 Internal Pullup Resistor
04:18 Recap

The parts you will need to follow along with this video are:
1x Raspberry Pi Pico
1x Micro USB Cable
1x Breadboard
1x 10k Ohm Resistor
4x Jumper Wires
1x Momentary Push Button

Hardware Links:

Helpful Links:
Рекомендации по теме
Комментарии
Автор

Thanks for all the effort, my (engineer) son bought me a Pico to challenge my electronically idiotic brain. I can do the code no worries, but understanding the hardware is another matter. Cheers. $0.02

MatthewHarrold
Автор

This was really clear and exactly what I needed! It helped me get my head around using the pico and gave me an idea for a first project. Thank you Brad

epicgardenboyepicgardenboy
Автор

Thank you Brad! I really appreciate the clear, precise and thorough way you explain things. I also really appreciate your brevity, it’s a really tricky skill to achieve all of these but you do so very well. I look forward to more videos and you deserve a much bigger audience and credit for what you do. Have you thought of having a Patreon page?

robinlefever
Автор

Amazing work Brad! Looking forward to more videos from you!

runyourlife
Автор

2:00 pull up resistor, or use button=Pin(22, mode=Pin.IN, pull=Pin.PULL_UP)
i prefer Pin.PULL_DOWN and have the circuit connect to 3.3v when button is pressed, it also lights up the led i have on the opposite side (going to the pico), 1 press acts on the external led and the input pin, instant visual feedback

jyvben