Python on the Arduino NANO RP2040 with MicroPython

Опубликовано: 01 Ноябрь 2024
на канале: Penguin Tutor
5,361
74

This video is about Python on the Arduino NANO RP2040 Connect. When first released Arduino promised support for MicroPython on the Arduino Nano RP2040, it's taken a while but it's now available.

Arduino have made some unusual choices with MicroPython, in particular the use of OpenMV for programming the Arduino boards. This is unusual as OpenMV is normally used with cameras and machine vision, and not for generic microcontroller boards. It does however provide a way to install MicroPython and upload new programs.

I was originally planning to do this all on a Raspberry Pi, but OpenMV has some issues with running on the Raspberry Pi OS. I therefore used OpenMV on Ubuntu. I did however manage to setup using the upstream version of micropython using Raspberry Pi OS Bullseye. I explained how Thonny could be used with both the OpenMV and the MicroPython.org version as well as showing how you can connect on the command line using minicom and ampy from adafruit.

For the example, I used some neopixels which I connected using my Arduino Wireless Pixels PCB. This has been covered previously in the following video:
   • PCB design for Arduino Nano RP2040 Wi...  

I also introduce the command line tools using minicom to connect to the REPL on the Arduino and Adafruit Ampy to transfer files.

For more details see my website:
http://www.penguintutor.com/programmi...

Chapters:
00:00 Introduction to Arduino MicroPython
05:49 OpenMV (IDE for cameras and arduinos)
06:34 OpenMV on Ubuntu
16:48 MicroPython.org with Thonny on Raspberry Pi
31:20 Summary of MicroPython on Arduino