|
| 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 | + |
| 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 | + |
| 36 | + |
| 37 | + |
| 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.* |
0 commit comments