Skip to content

Commit eaff743

Browse files
authored
Merge pull request #1985 from e-dudzi/main
New Learning Path:Learn How to Run AI on Edge Devices-Arduino Nano RP2040
2 parents eeb3760 + 4aa3e6a commit eaff743

28 files changed

+703
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
title: Board Connection and IDE setup
3+
weight: 4
4+
5+
### FIXED, DO NOT MODIFY
6+
layout: learningpathall
7+
---
8+
9+
### Arduino Nano RP2040
10+
11+
To get started with your first **TinyML project**, a great option is the **Arduino Nano RP2040 Connect**. Built by Arduino, it uses the powerful **RP2040 microcontroller** and is fully supported by the Arduino core package. The board comes with built-in Wi-Fi, Bluetooth, and an onboard IMU—features that make it ideal for deploying machine learning models at the edge.
12+
13+
![example image alt-text#center](Images/nano.png "Arduino Nano RP2040")
14+
15+
Its compatibility with popular tools like Edge Impulse and the Arduino IDE makes it a beginner-friendly yet powerful choice for TinyML applications. You can learn more about the Arduino Nano RP2040 Connect on the [official Arduino website](https://store.arduino.cc/products/arduino-nano-rp2040-connect-with-headers?_gl=1*1laabar*_up*MQ..*_ga*MTk1Nzk5OTUwMS4xNzQ2NTc2NTI4*_ga_NEXN8H46L5*czE3NDY1NzY1MjUkbzEkZzEkdDE3NDY1NzY5NTkkajAkbDAkaDE1MDk0MDg0ODc.).
16+
17+
## Put everything together
18+
19+
### Step 1: Connect the LED to the Arduino Nano RP2040
20+
21+
To visualize the output of the voice command model, we will use a simple LED circuit.
22+
23+
### Components Needed
24+
25+
- Arduino Nano RP2040 Connect
26+
- 1x LED
27+
- 1x 220Ω resistor
28+
- Breadboard and jumper wires
29+
30+
#### Circuit Diagram
31+
32+
- **Anode (long leg) of the LED** → Connect to **GPIO pin D2** via the 220Ω resistor
33+
- **Cathode (short leg)** → Connect to **GND**
34+
35+
![example image alt-text#center](Images/LED_Connection.png "Figure 14. Circuit Connection")
36+
37+
![example image alt-text#center](Images/LED_Connection_Schematic.png "Figure 15. Circuit Schematic Connection")
38+
39+
### Step 2: Set Up the Arduino IDEs
40+
41+
To program and deploy your trained model to the Arduino Nano RP2040, you first need to configure your development environment.
42+
43+
Follow the detailed setup instructions provided in the following learning path:
44+
45+
[Arduino Nano RP2040 Setup Guide](https://learn.arm.com/install-guides/arduino-pico/)
46+
47+
This guide will walk you through:
48+
49+
- Installing the Arduino IDE
50+
- Adding the board support package for the Nano RP2040
51+
52+
{{% notice Note %}}
53+
**Note:** Follow every instruction in the guide **except** `How do I set up the Raspberry Pi Pico W?`, as it is not needed for this project.
54+
{{% /notice %}}
55+
56+
### Step 3: Select Your Board and Port in the Arduino IDE
57+
58+
First, open the **Arduino IDE**.
59+
60+
To select your board:
61+
62+
1. Go to **Tools** > **Board**.
63+
2. From the list, choose **Arduino Nano RP2040 Connect**.
64+
65+
To select your port:
66+
67+
1. Connect your Arduino board to your computer using a USB cable.
68+
2. Go to **Tools** > **Port**.
69+
3. Select the port labeled with your board’s name, e.g., `COM4 (Arduino Nano RP2040 Connect)` or `/dev/cu.usbmodem...` on macOS.
70+
71+
*Your Arduino IDE is now ready to upload code to the Arduino Nano RP2040.*
1.15 MB
Loading
234 KB
Loading
189 KB
Loading
478 KB
Loading
225 KB
Loading
45.4 KB
Loading
167 KB
Loading
261 KB
Loading
269 KB
Loading

0 commit comments

Comments
 (0)