Skip to content

Commit d317710

Browse files
Merge pull request #2142 from madeline-underwood/edge
Edge_JA to sign off
2 parents 8686dfd + fa02e7d commit d317710

File tree

5 files changed

+317
-233
lines changed

5 files changed

+317
-233
lines changed

content/learning-paths/embedded-and-microcontrollers/edge/_index.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
---
2-
title: Learn How to Run AI on Edge Devices- Arduino Nano RP2040
3-
4-
draft: true
5-
cascade:
6-
draft: true
2+
title: Learn how to run AI on Edge devices using Arduino Nano RP2040
73

84
minutes_to_complete: 90
95

10-
who_is_this_for: This learning path is for beginners in Edge AI and TinyML, including developers, engineers, hobbyists, AI/ML enthusiasts, and researchers working with embedded AI and IoT.
6+
who_is_this_for: This Learning Path is for beginners in Edge AI and TinyML, including developers, engineers, hobbyists, AI/ML enthusiasts, and researchers working with embedded AI and IoT.
117

128
learning_objectives:
13-
- Understand Edge AI and TinyML basics.
14-
- Collect and preprocess audio data using Edge Impulse.
15-
- Train and deploy an audio classification model on Arduino Nano RP2040.
16-
- Interface with LEDs to switch them on and off.
9+
- Understand the basics of Edge AI and TinyML.
10+
- Collect and preprocess audio data using Edge Impulse.
11+
- Train and deploy an audio classification model on the Arduino Nano RP2040.
12+
- Control LEDs by turning them on and off based on model predictions.
1713

1814
prerequisites:
19-
- Explore this [learning path](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/arduino-pico/) if you are an absolute beginner.
20-
- An [Edge Impulse](https://edgeimpulse.com/) Studio account.
21-
- The [Arduino IDE with the RP2040 board support package](https://learn.arm.com/install-guides/arduino-pico/) installed on your computer
22-
- An Arduino Nano RP2040 Connect [board](https://store.arduino.cc/products/arduino-nano-rp2040-connect-with-headers?_gl=1*9t4cti*_up*MQ..*_ga*NTA1NTQwNzgxLjE3NDYwMjIyODk.*_ga_NEXN8H46L5*MTc0NjAyMjI4Ny4xLjEuMTc0NjAyMjMxOC4wLjAuMjA3MjA2NTUzMA..).
15+
- Completion of this [Learning Path](https://learn.arm.com/learning-paths/embedded-and-microcontrollers/arduino-pico/) if you're an absolute beginner.
16+
- An [Edge Impulse](https://edgeimpulse.com/) Studio account.
17+
- The [Arduino IDE](https://learn.arm.com/install-guides/arduino-pico/) with the RP2040 board support package installed on your computer.
18+
- An [Arduino Nano RP2040 Connect board](https://store.arduino.cc/products/arduino-nano-rp2040-connect-with-headers).
19+
2320

2421
author: Bright Edudzi Gershon Kordorwu
2522
### Tags
@@ -38,15 +35,15 @@ operatingsystems:
3835

3936
further_reading:
4037
- resource:
41-
title: TinyML Brings AI to Smallest Arm Devices
38+
title: TinyML brings AI to smallest Arm devices
4239
link: https://newsroom.arm.com/blog/tinyml
4340
type: blog
4441
- resource:
45-
title: What is edge AI?
42+
title: What is Edge AI?
4643
link: https://docs.edgeimpulse.com/nordic/concepts/edge-ai/what-is-edge-ai
4744
type: blog
4845
- resource:
49-
title: Edge Impulse for Beginners
46+
title: Edge Impulse for beginners
5047
link: https://docs.edgeimpulse.com/docs/readme/for-beginners
5148
type: doc
5249

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,72 @@
11
---
2-
title: Board Connection and IDE setup
2+
title: Board connection and IDE setup
33
weight: 4
44

55
### FIXED, DO NOT MODIFY
66
layout: learningpathall
77
---
88

9-
### Arduino Nano RP2040
9+
## Arduino Nano RP2040
1010

11-
To get started with your first **TinyML project**, the **Arduino Nano RP2040 Connect** is a good option. Built by Arduino, it uses the **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 is useful for deploying machine learning models at the edge.
11+
To get started with your first **TinyML project**, the **Arduino Nano RP2040 Connect** is a good option. Built by Arduino, it uses the **RP2040 microcontroller** and is fully supported by the Arduino core package.
12+
13+
14+
The board comes with built-in Wi-Fi, Bluetooth, and an onboard IMU. These are features that are useful for deploying machine learning models at the edge.
1215

1316
![example image alt-text#center](images/nano.png "Arduino Nano RP2040")
1417

1518
Its compatibility with popular tools like Edge Impulse and the Arduino IDE makes it a suitable 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.).
1619

17-
## Put everything together
20+
## Connect and set up the Arduino Nano RP2040 Connect
21+
22+
This guide will help you connect the Arduino Nano RP2040 Connect to your computer and set up the Arduino IDE for programming.
1823

19-
### Step 1: Connect the LED to the Arduino Nano RP2040
24+
## Gather the components
2025

21-
To visualize the output of the voice command model, you will use a simple LED circuit.
26+
To visualize the output of the voice command model, you'll use a simple LED circuit.
2227

23-
### Components Needed
28+
You will need the following components:
2429

25-
- Arduino Nano RP2040 Connect
26-
- 1x LED
27-
- 1x 220Ω resistor
30+
- Arduino Nano RP2040 Connect
31+
- LED
32+
- 1× 220 Ω resistor
2833
- Breadboard and jumper wires
2934

30-
#### Circuit Diagram
35+
## Connect the LED to the Arduino Nano RP2040
3136

32-
- **Anode (long leg) of the LED**Connect to **GPIO pin D2** via the 220Ω resistor
33-
- **Cathode (short leg)**Connect to **GND**
37+
- **Anode (long leg) of the LED**connect to **GPIO pin D2** through a 220 Ω resistor
38+
- **Cathode (short leg)**connect to **GND**
3439

35-
![example image alt-text#center](images/led_connection.png "Figure 14. Circuit Connection")
40+
![Diagram showing the physical breadboard circuit connecting an LED to GPIO D2 and GND on the Arduino Nano RP2040 alt-text#center](images/led_connection.png)
3641

37-
![example image alt-text#center](images/led_connection_schematic.png "Figure 15. Circuit Schematic Connection")
42+
![Schematic diagram showing the LED connected between GPIO D2 and GND with a 220 Ω resistor in series alt-text#center](images/led_connection_schematic.png)
3843

39-
### Step 2: Set Up the Arduino IDEs
44+
## Set up the Arduino IDE
4045

4146
To program and deploy your trained model to the Arduino Nano RP2040, you first need to configure your development environment.
4247

43-
Follow the detailed setup instructions provided in the [Arduino Nano RP2040 Install Guide](https://learn.arm.com/install-guides/arduino-pico/)
48+
Follow the steps in the [Arduino Nano RP2040 install guide](https://learn.arm.com/install-guides/arduino-pico/).
4449

45-
This guide will walk you through:
50+
This guide walks you through:
4651

47-
- Installing the Arduino IDE
52+
- Installing the Arduino IDE
4853
- Adding the board support package for the Nano RP2040
4954

50-
{{% notice Note %}}
51-
**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.
52-
{{% /notice %}}
55+
{{< notice Note >}}
56+
Follow all steps in the guide except *How do I set up the Raspberry Pi Pico W?*, which is not required for this project.
57+
{{< /notice >}}
5358

54-
### Step 3: Select Your Board and Port in the Arduino IDE
59+
## Select your board and port in the Arduino IDE
5560

56-
First, open the **Arduino IDE**.
61+
Open the Arduino IDE. To select your board:
5762

58-
To select your board:
59-
60-
1. Go to **Tools** > **Board**.
61-
2. From the list, choose **Arduino Nano RP2040 Connect**.
63+
Go to **Tools** > **Board** then select **Arduino Nano RP2040 Connect**
6264

6365
To select your port:
6466

65-
1. Connect your Arduino board to your computer using a USB cable.
66-
2. Go to **Tools** > **Port**.
67-
3. Select the port labeled with your board’s name, e.g., `COM4 (Arduino Nano RP2040 Connect)` or `/dev/cu.usbmodem...` on macOS.
67+
Connect your board to your computer using a USB cable, then follow these steps:
68+
69+
- Go to **Tools** > **Port**
70+
- Select the port labeled with your board's name, such as `COM4 (Arduino Nano RP2040 Connect)` or `/dev/cu.usbmodem...` on macOS.
6871

69-
*Your Arduino IDE is now ready to upload code to the Arduino Nano RP2040.*
72+
Your Arduino IDE is now ready to upload code to the Arduino Nano RP2040.

0 commit comments

Comments
 (0)