Skip to content

[MKC-1073] Add Nano ESP32 Cloud Article #1249

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 1 commit into from
Aug 8, 2023
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
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.
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.
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,70 @@
---
title: Arduino Nano ESP32 IoT Cloud Setup Guide
description: A step-by-step guide on how to set up the Nano ESP32 with the Arduino IoT Cloud.
hardware:
- hardware/03.nano/boards/nano-esp32
author: Hannes Siebeneicher
tags: [Nano ESP32, IoT Cloud]
---

The ESP32 microcontroller on the Nano ESP32 allows for Wi-Fi® functionality. This also means you can use it with Arduino's IoT Cloud!

This article shows you how to set up your board and connect it to the cloud allowing you to upload code over the air, create dashboards to monitor your data and control your Arduino remotely.

## Software & Hardware Needed

- [Arduino Nano ESP32](https://store.arduino.cc/products/nano-esp32)
- [Arduino IoT Cloud](https://cloud.arduino.cc/home/)

## Setup and Process

***If you are new to the Arduino IoT Cloud before check out [Getting Started With the Arduino IoT Cloud](/arduino-cloud/getting-started/iot-cloud-getting-started).***

To use the Arduino IoT Cloud you will need to register and set up a **free** account.

### Configure Your Board

After you have set up your account you can connect your board to your pc. Inside the IoT Cloud Things overview click on **Create**.

![Create new Thing](./assets/thingsOverview.png)

This will take you to the setup menu for creating your Thing. Here you can set up your device, configure your network connection and add cloud variables. You can learn more about cloud variables in [Getting Started With the Arduino IoT Cloud](/arduino-cloud/getting-started/iot-cloud-getting-started). First, under associate device, click on **Select Device**.

![Select Device](./assets/selectDevice.png)

Then click on **Set Up New Device**.

![Set Up New Device](./assets/setUpNewDevice.png)

You can now choose between three different options depending on what type of board you are using. In this case, using the Nano ESP32 continue by clicking on **Arduino board**.

![Select Arduino](./assets/selectArduino.png)

If this is your first time using the Arduino IoT Cloud you will be asked to download the **Arduino Create Agent**. The Create Agent is a piece of software that is necessary for your Arduino board to communicate with your browser. Download and install it by clicking on download and following the installation process.

![Arduino Create Agent](./assets/createAgent.png)

When the installation is finished you will see a short loading screen and once your board has been found continue by pressing **configure**.

![Configure Device](./assets/configureDevice.png)


Choose a name for your board and press next. The next part needs a little bit more attention. Because the Nano ESP32 doesn't have a crypto chip it needs a **secret key** that works as an identifier, guaranteeing a safe connection. That secret key is shown to you in the next step and you can either download a pdf containing all the information you need to save or copy and paste the secret key and the device ID someplace where you won't lose it.

***Note: If you don't save the secret key you will not be able to continue with the next step so make sure you document and save it! In case you lose it, start over and you will receive a new key.***

![Secret Key](./assets/secretKey.png)

After completing the steps in the popup you should be greeted by a prompt telling you that you can now use the board with the IoT Cloud.

![Finish set up](./assets/finishSetUp.png)

### Network Configuration

We are almost done with the setup. In the following step, you will need the **secret key** previously saved. Under Network click on **configure** and add your Wi-Fi credentials as well as your secret key.

![Network Configuration](./assets/network.png)

## Summary

You have now successfully set up your Nano ESP32 to work with the IoT Cloud. To get started with your first IoT project, check out our [Getting Started With the Arduino IoT Cloud](arduino-cloud/getting-started/iot-cloud-getting-started) guide.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.