Arduino Nano RP2040...
Clear all

Arduino Nano RP2040 Connect - Arduino meets Raspberry Pi

DroneBot Workshop
Workshop Guru Admin
Joined: 2 years ago
Posts: 1004
Topic starter  

Let’s get started with the new Arduino Nano RP2040 Connect, an Arduino board with a Raspberry Pi RP2040 MCU.

The highly-anticipated fusion between Arduino And Raspberry Pi has finally arrived!

Article with code is here.

The Arduino Nano RP2040 Connect board fuses a Raspberry Pi RP2040 MCU with an ESP32-based WiFi & Bluetooth Module, a MEMS Microphone, an IMU with Machine Learning capabilities, extra Flash memory, and a Cryptographic Coprocessor. All in the same form-factor and pinout as the original Arduino Nano.

This powerful little board brings the power of the new RP2040 microcontroller to the Arduino ecosystem. And with the addition of WiFi and Bluetooth, along with a number of advanced onboard peripherals, this little board is certain to find a myriad of uses.

Today we will take a first look at the Arduino Nano RP2040.

After examining the board's many advanced features we will set up our Arduino IDE to work with our new microcontroller. Linux users will want to make note of a possible bug in the installation process, but don’t worry, I have a simple fix for that.

Once we have the IDE up and running and have tested out the board with the usual Blink sketch we will run a few Arduino-supplied experiments to get a feel for using some of the Nano RP2040’s advanced features.

The Arduino Nano RP2040 Connect has an onboard RGB LED, and in our first experiment we will create a WiFi Access Point with a web page that will allow us to control the Red, Green, and Blue segments. You can use this simple sketch as the basis for more advanced remote control applications.

Next, we will put the 6-axis IMU (Inertial Measurement Unit) to the test by exploiting one of its most unique features - built-in Machine Learning. We will use this to build a motion sensor that can determine whether we are stationary, walking, jogging, cycling, or driving. As I’m doing this in the confines of my workshop I'll just have to shake the board to simulate walking and jogging!

And finally, we will use the onboard MEMS Microphone to control the blue segment of the RGB LED by clapping - similar to the old “Clapper” device from the 1980s!

Here is the Table of Contents for today’s video:

00:00 - Introduction
01:55 - Arduino Nano RP2040 Connect Intro
06:12 - Look at Nano RP2040
08:48 - Installing the Boards Manager
09:39 - Linux Post Install
12:58 - Blink Test
15:00 - Web Server AP Mode Demo
22:01 - IMU Machine Learning Core Demo
29:31 - Reading Microphone Data Demo (“Clapper”)
35:59 - Conclusion

Hope you enjoy the video!

"Never trust a computer you can’t throw out a window." — Steve Wozniak

Trusted Member
Joined: 8 months ago
Posts: 56

Great video, Bill!  Thanks.

Like: Python, Adept: C++, Don't like: Java