Skip to content

Nano RP2040 Connect Chromebook tutorial [MKC-357] #65

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
<EssentialElement link="/tutorials/nano-rp2040-connect/rp2040-python-api" title="Python API Guide" type="tutorial">
Learn how to install MicroPython and how to load scripts to your Nano RP2040 Connect.
</EssentialElement>
<EssentialElement link="/tutorials/nano-rp2040-connect/rp2040-chromebook-upload" title="Chromebook Setup" type="tutorial">
Learn how to set up the Nano RP2040 Connect using a Chromebook.
</EssentialElement>
</EssentialsColumn>


Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
title: 'Nano RP2040 Connect Chromebook Setup'
difficulty: easy
compatible-products: [nano-rp2040-connect]
description: 'A quick tutorial on how to setup your Nano RP2040 Connect with a Chromebook, using the Web Editor & the Arduino Chrome App.'
tags:
- Chromebook
- RP2040
author: 'Karl Söderby'
hardware:
- hardware/03.nano/boards/nano-rp2040-connect
software:
- web-editor
---

## Introduction

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:

- 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/).
- Compiled sketches are saved (in `.uf2` format) on the RP2040's mass storage device.

In this tutorial, we will take you through the steps needed to set up your board using a Chromebook.

***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).***

## Goals

The goals of this project are:

- Learn how to upload sketches to your Nano RP2040 board, using the Web Editor.

## Hardware & Software Needed

- [Arduino Web Editor](https://create.arduino.cc/).
- [Arduino Create for Education](https://chrome.google.com/webstore/detail/arduino-create-for-educat/elmgohdonjdampbcgefphnlchgocpaij) (Chrome Web Store)
- [Arduino Nano RP2040 Connect](https://store.arduino.cc/nano-rp2040-connect).

## Install Arduino App (Chrome Store)

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.

![Install the app.](assets/rp2040-chromebook-chromestore.png)

***If you have previously installed the app, make sure your version is up to date.***

## Web Editor

***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.***

**1.** Head over to the [Web Editor](https://create.arduino.cc/editor).

**2.** Create a new sketch, and write your program.

**3.** When you want to upload, connect your board to your computer via USB.

![Connect your board to your computer.](assets/rp2040-chromebook-connect-board.png)

**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`.

![Board discovered.](assets/rp2040-chromebook-board-discovered.png)

**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.

![Saving on mass storage device.](assets/rp2040-chromebook-mass-storage.gif)

**6.** After you have saved, the upload will finish, and you will see this message in the terminal:

```
Success: Saved on your online Sketchbook and done uploading <sketchname>
```

Congratulations, you have now uploaded a sketch to your Nano RP2040 Connect using the Web Editor on a Chromebook.

### Troubleshoot

If things are not working as expected:

- 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.
- Make sure your board is connected to your computer properly.

## Conclusion

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).