-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1817 from Seeed-Studio/rp2350-arduino
docs(xiao rp2350): upload arduino instruction page
- Loading branch information
Showing
2 changed files
with
103 additions
and
1 deletion.
There are no files selected for viewing
102 changes: 102 additions & 0 deletions
102
docs/Sensor/SeeedStudio_XIAO/SeeedStudio_XIAO_RP2350/XIAO-RP2350-with-Arduino.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
--- | ||
description: Using Arduino on your XIAO RP2350 board | ||
title: Seeed Studio XIAO RP2350 with Arduino | ||
image: https://files.seeedstudio.com/wiki/XIAO-RP2350/img/2-102010550%20XIAO%20RP2350-45font.jpg | ||
slug: /xiao_rp2350_arduino | ||
sidebar_position: 2 | ||
last_update: | ||
date: 2024-10-30T01:39:16.136Z | ||
author: Spencer | ||
--- | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# Seeed Studio XIAO RP2350 with Arduino | ||
|
||
The Seeed Studio XIAO RP2350 board now supports programming via Arduino, thanks to the [arduino-pico core](https://github.com/earlephilhower/arduino-pico). This guide will help you set up and begin using Arduino on your RP2350 board. | ||
|
||
## Prerequisites | ||
|
||
To get started, ensure you have: | ||
|
||
- An RP2350 board | ||
- The Arduino IDE | ||
- A USB cable | ||
|
||
## Setting Up the Software | ||
|
||
### 1. Install the Arduino IDE | ||
|
||
Download and install the latest Arduino IDE from the official site: [Arduino Software](https://www.arduino.cc/en/software). | ||
|
||
### 2. Add RP2350 Board Support | ||
|
||
1. Open the Arduino IDE and navigate to **File** > **Preferences**. | ||
2. In the **Additional Boards Manager URLs** field, add this URL: | ||
|
||
```shell | ||
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json | ||
``` | ||
|
||
<div style={{ textAlign: 'center' }}> | ||
<img src="https://files.seeedstudio.com/wiki/XIAO-RP2350/img/arduino-url.png" style={{ width: 240, height: 'auto', "border-radius": '12.8px' }} /> | ||
</div> | ||
|
||
3. Click **OK** to save your settings. | ||
4. Go to **Tools** > **Board** > **Boards Manager**. | ||
5. In the Boards Manager, search for **pico** and click **Install**. | ||
6. After installation, go to **Tools** > **Board** and select the board shown below as your board. | ||
|
||
:::note | ||
Ensure you install version 4.2.0 or later for full support of the XIAO RP2350 board. | ||
::: | ||
|
||
<div style={{ textAlign: 'center' }}> | ||
<img src="https://files.seeedstudio.com/wiki/XIAO-RP2350/img/arduino-board-option.png" style={{ width: 240, height: 'auto', "border-radius": '12.8px' }} /> | ||
</div> | ||
|
||
### 3. Uploading a Sketch | ||
|
||
Before uploading a sketch, place your XIAO RP2350 into BOOT mode. Use one of the methods below: | ||
|
||
<Tabs> | ||
<TabItem value="method1" label="Method 1: Before Connecting to Computer" default> | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/XIAO-RP2350/img/enter-boot-no-charge.gif" style={{width:500, height:'auto', "border-radius": '12.8px' }}/><div style={{ marginTop: '-8px' }}><em>Hold Boot-> Plug in Cable-> Release Boot</em></div></div> | ||
|
||
</TabItem> | ||
|
||
<TabItem value="method2" label="Method 2: While Connected to Computer"> | ||
|
||
<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/XIAO-RP2350/img/enter-boot-charged.gif" style={{width:500, height:'auto', "border-radius": '12.8px' }}/><div style={{ marginTop: '-8px' }}><em>Hold Boot-> Click Reset-> Release Boot</em></div></div> | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
1. Open the Arduino IDE and create a new sketch. | ||
2. Write your code. For example, use the `Blink` example code. | ||
3. Go to **Tools** > **Port** and select the port where your RP2350 is connected. | ||
|
||
<div style={{ textAlign: 'center' }}> | ||
<img src="https://files.seeedstudio.com/wiki/XIAO-RP2350/img/arduino-firmware-upload.png" style={{ width: 240, height: 'auto', "border-radius": '12.8px' }} /> | ||
</div> | ||
|
||
## Additional Resources | ||
|
||
- [arduino-pico GitHub](https://github.com/earlephilhower/arduino-pico) | ||
- [Arduino-Pico Core Documentation](https://arduino-pico.readthedocs.io/en/latest/install.html) | ||
|
||
## Support & Discussion | ||
|
||
Thank you for using Seeed products! We offer multiple channels for support and community discussion: | ||
|
||
<div class="button_tech_support_container"> | ||
<a href="https://forum.seeedstudio.com/" class="button_forum">Forum</a> | ||
<a href="https://www.seeedstudio.com/contacts" class="button_email">Contact Support</a> | ||
</div> | ||
|
||
<div class="button_tech_support_container"> | ||
<a href="https://discord.gg/kpY74apCWj" class="button_discord">Discord</a> | ||
<a href="https://github.com/Seeed-Studio/wiki-documents/discussions/69" class="button_discussion">GitHub Discussion</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters