Skip to content

Commit 2041717

Browse files
authored
Merge pull request #65 from arduino/sync/karlsoderby/rp2040-chromebook
Nano RP2040 Connect Chromebook tutorial [MKC-357]
2 parents 1346142 + 1dc67a0 commit 2041717

File tree

6 files changed

+87
-0
lines changed

6 files changed

+87
-0
lines changed

content/hardware/03.nano/boards/nano-rp2040-connect/essentials.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<EssentialElement link="/tutorials/nano-rp2040-connect/rp2040-python-api" title="Python API Guide" type="tutorial">
99
Learn how to install MicroPython and how to load scripts to your Nano RP2040 Connect.
1010
</EssentialElement>
11+
<EssentialElement link="/tutorials/nano-rp2040-connect/rp2040-chromebook-upload" title="Chromebook Setup" type="tutorial">
12+
Learn how to set up the Nano RP2040 Connect using a Chromebook.
13+
</EssentialElement>
1114
</EssentialsColumn>
1215

1316

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: 'Nano RP2040 Connect Chromebook Setup'
3+
difficulty: easy
4+
compatible-products: [nano-rp2040-connect]
5+
description: 'A quick tutorial on how to setup your Nano RP2040 Connect with a Chromebook, using the Web Editor & the Arduino Chrome App.'
6+
tags:
7+
- Chromebook
8+
- RP2040
9+
author: 'Karl Söderby'
10+
hardware:
11+
- hardware/03.nano/boards/nano-rp2040-connect
12+
software:
13+
- web-editor
14+
---
15+
16+
## Introduction
17+
18+
The [Nano RP2040 Connect](https://store.arduino.cc/nano-rp2040-connect) is a popular development board packed with features. If you are using a **Chromebook**, setting up your board is a bit different:
19+
20+
- It is only possible to use the [Web Editor](https://create.arduino.cc/editor), an online IDE that is part of the [Arduino Cloud](https://cloud.arduino.cc/).
21+
- Compiled sketches are saved (in `.uf2` format) on the RP2040's mass storage device.
22+
23+
In this tutorial, we will take you through the steps needed to set up your board using a Chromebook.
24+
25+
***Note that only the Web Editor is supported in Chromebooks. It is not possible to configure and upload to Nano RP2040 Connect boards via the [IoT Cloud](https://create.arduino.cc/iot/things).***
26+
27+
## Goals
28+
29+
The goals of this project are:
30+
31+
- Learn how to upload sketches to your Nano RP2040 board, using the Web Editor.
32+
33+
## Hardware & Software Needed
34+
35+
- [Arduino Web Editor](https://create.arduino.cc/).
36+
- [Arduino Create for Education](https://chrome.google.com/webstore/detail/arduino-create-for-educat/elmgohdonjdampbcgefphnlchgocpaij) (Chrome Web Store)
37+
- [Arduino Nano RP2040 Connect](https://store.arduino.cc/nano-rp2040-connect).
38+
39+
## Install Arduino App (Chrome Store)
40+
41+
To program your Arduino via a Chromebook, you will need the [Arduino Create for Education app](https://chrome.google.com/webstore/detail/arduino-create-for-educat/elmgohdonjdampbcgefphnlchgocpaij). This is downloaded and installed via the Chrome Web Store.
42+
43+
![Install the app.](assets/rp2040-chromebook-chromestore.png)
44+
45+
***If you have previously installed the app, make sure your version is up to date.***
46+
47+
## Web Editor
48+
49+
***To use the [Web Editor](https://create.arduino.cc/editor), you will need to be logged into your Arduino account. If you don't have an account, you will need to register one.***
50+
51+
**1.** Head over to the [Web Editor](https://create.arduino.cc/editor).
52+
53+
**2.** Create a new sketch, and write your program.
54+
55+
**3.** When you want to upload, connect your board to your computer via USB.
56+
57+
![Connect your board to your computer.](assets/rp2040-chromebook-connect-board.png)
58+
59+
**4.** After connecting, the board's **name** and **port** is visible at the top of the editor (next to upload button). In this case, it is `COM19`.
60+
61+
![Board discovered.](assets/rp2040-chromebook-board-discovered.png)
62+
63+
**5.** Click the upload button. This will start the **compilation process**. After some seconds, a popup will appear. Click **"Continue"**, and in the next frame, you will need to save it to the `RPI-RP2` mass storage device. The file is named `sketch.uf2`, which is the binary that will be uploaded to your board.
64+
65+
![Saving on mass storage device.](assets/rp2040-chromebook-mass-storage.gif)
66+
67+
**6.** After you have saved, the upload will finish, and you will see this message in the terminal:
68+
69+
```
70+
Success: Saved on your online Sketchbook and done uploading <sketchname>
71+
```
72+
73+
Congratulations, you have now uploaded a sketch to your Nano RP2040 Connect using the Web Editor on a Chromebook.
74+
75+
### Troubleshoot
76+
77+
If things are not working as expected:
78+
79+
- Make sure you have the latest version of the [Arduino Create for Education App](https://chrome.google.com/webstore/detail/arduino-create-for-educat/elmgohdonjdampbcgefphnlchgocpaij) installed.
80+
- Make sure your board is connected to your computer properly.
81+
82+
## Conclusion
83+
84+
In this tutorial, we learned how to upload sketches to the Nano RP2040 Connect board, using the Web Editor on a Chromebook. For more tutorials on the Nano RP2040 Connect board, visit the [official documentation](https://docs.arduino.cc/hardware/nano-rp2040-connect).

0 commit comments

Comments
 (0)