Intro to Raspberry Pi Pico and RP2040 - MicroPython Part 1: Blink | Digi-Key Electronics

preview_player
Показать описание
The Raspberry Pi Pico is Raspberry Pi’s first microcontroller board, based on their custom RP2040 chip. It uses a dual-core Arm Cortex-M0+ and is capable of running a variety of languages. In this series, we will look at MicroPython, which is one of the languages officially supported by Raspberry Pi.

In this tutorial, we will use MicroPython to first run the popular “Hello, World!” program. We can experiment with commands by using the REPL that comes with the MicroPython firmware. REPL allows us to run one command at a time on the Pico to see what happens. This can be useful for trying functions before writing a full program.

Next, we run the classic “blinky” program to toggle the Pico’s onboard LED on and off. Blinky is the “Hello, World!” of the embedded world. We can use the machine library (module) that comes with MicroPython to control pins.

The following documentation are the official guides from Raspberry Pi:

Product Links:

Related Videos:

Related Project Links:

Related Articles:

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

Very nice presentation.
Feel like I'm back in college, but only far far better... awesome!

JSStrom
Автор

Thanks for the great and short introduction. I heard about MicroPython and the Pi Pico, but never had the time to have a look into it. I am looking forward to the future videos as I am very interested on how it compares to other solution (like C++ on an ESP) in more complex problems.

MindOfIsaac
Автор

Could you please do some machine learning examples using rpi pico and edge impulse?

kamalkannan
Автор

Amazing series shwan. Could you please focus more on TinyML. Really you are the best one.

Mohamm-ed
Автор

NIce! Please take a look into debugging via SWD. :)

FruchtcocktailUndCo
Автор

So it's not locked to uPy. Getting interested now. Hope to see the PlatdormIO integration for full freedom :)

ZsomborZsombibi
Автор

How do I put the PICO running micropython into dormmate after running a loop then using a button to wake it?

SoggyCashew
Автор

Hope you will cover the C/C++ dev environment as well.
Is it more powerful than the ESP32? Same same?

piconano
Автор

Doesn't work for me. I am using the exact same code, only difference is I am using MicroPython 1.19, not 1.14
It says invalid syntax on line 7.
It carefully tired twice, nothing works, I can't do this.
nothing is going right for me with this stuff. I need to just give up.

peterbelanger
Автор

For every project I can imagine myself using the pico, I also find that I can use the attiny at a fraction of the cost.

I just don't understand the purpose of the pico.

NomenNescio
Автор

Pin *25* DOES NOT WORK on a *Pi Pico W, * you have to use *"LED"* if using Thonny. You didn't UN-comment machine!

tubeDude
Автор

I ordered some components and almost Immediately i needed to add another
component. They said they couldn't do this (shortly after my original
order) and suggested I had to make another order (And pay a huge 26$
shipping fee). Terrible customer service. I suggest you work on this before posting videos!

lancekraakman