Copy Files to & Run Scripts between your Tiny 2040, Raspberry Pi Pico, & Other MicroPython Devices

preview_player
Показать описание
What is the best way to copy files & run scripts on your MicroPython device? Thonny isn't always the best workflow. In this video we show you how to use the same tools we use on your Tiny 2040, Raspberry Pi Pico or other Microcontroller.

We take files from a Pimoroni Tiny 2040 and copy them to a Raspberry Pi Pico via a Raspberry Pi making use of our RP2040 boards. We also run scripts and repl, giving an overview of Ampy, Rshell, and Minicom.

00:00 Introduction
01:16 Package Manager
01:48 Installing Ampy
02:00 Overview of Ampy
02:20 Connecting Tiny 2040 and Raspberry Pi Pico to Raspberry Pi 400
03:00 Listing files
03:20 Listing files on Raspberry Pi Pico using Ampy
03:45 Making a Directory on the Pi 400
04:02 Transferring files from Tiny2040 to Raspberry Pi then transferring to Raspberry Pi Pico
06:14 Introduction to rshell
07:12 Cool thing about rshell - repl
07:21 Controlling the Board with repl and changing the code
08:09 Introduction and installing minicom and how to change your code

#RaspberryPiPico
#Tiny2040
#RP2040

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

Fantastic, that is the best tutorial on using amy I have seen, all the others were so unnecessary complicated, this helped me a lot thanks

bern
Автор

Nice job on the video! I'm impressed with how much you've done with the Pi and Pi Pico. I've actually been using Putty as well as minicom. Keep up the awesome videos!

MrBlyck
Автор

Just a new video by you and clicked it. Nothing you shouldn't do...

bananahacks
Автор

Thank you very much. This is the one bit of information that i was missing to copy custom fonts on my pico. And yes modal text editors are the best. Mind you vim is miles better than Emacs. That's a bit controversial but not as much as little endian is superior to big endian. LOL. Great job keep the good work!

DavidCabanis
Автор

Hello. Earlier when I used to connect pico with arduino ide it was recognising the port. But dont know y it has stopped reading serial port when I upload a file.? Can you help me?

sudtripathi
Автор

rshell has the option to use board.py to store a name, see github rshell from dhylands for all options/tricks,
so even if you have several picos, print the name using main.py [import board, print(board.name)].
So in rshell the command "boards" will be more descriptive, showing name and port it is on, just do repl boardname to open the repl on the named board.
Also why not add a file which has as filename the identifying name, so any ls or os.listdir() shows it.
rshell can also activate the bootloader, no "run" button needed. rshell.py repl ~ machine.bootloader()~

jyvben