diff --git a/content/hardware/03.nano/boards/nano-rp2040-connect/essentials.md b/content/hardware/03.nano/boards/nano-rp2040-connect/essentials.md index 0c75e5ed44..c4ee577d5b 100644 --- a/content/hardware/03.nano/boards/nano-rp2040-connect/essentials.md +++ b/content/hardware/03.nano/boards/nano-rp2040-connect/essentials.md @@ -8,6 +8,9 @@ Learn how to install MicroPython and how to load scripts to your Nano RP2040 Connect. + + Learn how to set up the Nano RP2040 Connect using a Chromebook. + diff --git a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-board-discovered.png b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-board-discovered.png new file mode 100644 index 0000000000..8cff85c5a3 Binary files /dev/null and b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-board-discovered.png differ diff --git a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-chromestore.png b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-chromestore.png new file mode 100644 index 0000000000..35521c5883 Binary files /dev/null and b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-chromestore.png differ diff --git a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-connect-board.png b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-connect-board.png new file mode 100644 index 0000000000..9a8718a633 Binary files /dev/null and b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-connect-board.png differ diff --git a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-mass-storage.gif b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-mass-storage.gif new file mode 100644 index 0000000000..afe113ba46 Binary files /dev/null and b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/assets/rp2040-chromebook-mass-storage.gif differ diff --git a/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/rp2040-chromebook-upload.md b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/rp2040-chromebook-upload.md new file mode 100644 index 0000000000..ff8ac76aff --- /dev/null +++ b/content/hardware/03.nano/boards/nano-rp2040-connect/tutorials/rp2040-chromebook-upload/rp2040-chromebook-upload.md @@ -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 +``` + +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). \ No newline at end of file