You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this section, we will go through the steps necessary to connect your Arduino board to the Arduino Cloud. To follow these steps, please make sure you have a [registered Arduino account](https://login.arduino.cc/login), and that you have access to the [Arduino Cloud](app.arduino.cc).
25
32
26
33
### Configure Device
27
34
28
-
First navigate to [Arduino Cloud](app.arduino.cc), and click on the **Devices** tab. Here you can see all your devices, and configure a new one. Depending on what type of board you have, the configuration will vary.
35
+
First navigate to [Arduino Cloud](app.arduino.cc), and click on the **Devices** tab. Here you can see all your devices, and configure a new one. Depending on what type of board you have, the configuration will vary.
29
36
30
37
***For more details, see the [documentation for devices](/arduino-cloud/hardware/devices).***
31
38
@@ -39,13 +46,17 @@ A "Thing" is a virtual twin of your hardware, and it is here that we create vari
39
46
40
47
1. First, let's attach the device we want to use, by clicking the **"Select Device"** button in the **"Associated Devices"** section to the right.
41
48
2. let's create a new variable, call it `test`, and select it to be a `boolean` type and with a **read/write** permission.
42
-
3. finally, configure your network in the **Network** section. Here you will enter your Wi-Fi® credentials, and if you are using an ESP32 based board, you need to enter the secret key here.
49
+
3. finally, configure your network in the **Network** section. Here you will enter your Wi-Fi® credentials, and if you are using an ESP32 based board, you need to enter the secret key here.
***Your secret key is obtained during the device configuration. Read more at [Configuring ESP boards](/arduino-cloud/hardware/wifi#configure-esp-boards).***
43
54
44
55
All the above configurations have now been generated into a set of files that can be accessed in the **Sketch** tab.
45
56
46
57
***For more details, see the [documentation for Things](/arduino-cloud/cloud-interface/things).***
47
58
48
-
### Complete Sketch
59
+
### Create Sketch
49
60
50
61
The automatically generated sketch is now available to be edited. This sketch includes all necessities to connect to the cloud, and has a callback function generated for each **read/write** variable.
51
62
@@ -91,10 +102,11 @@ void onTestChange() {
91
102
92
103
When our sketch is ready, we can **compile & upload** our sketch to our board. This process can take some time, depending on how large your sketch is.
93
104
94
-
1. First, make sure your board is connected and visible in the board selection menu.
95
-
2. Click the verify/upload button.
96
-
3. Wait until the code has successfully been uploaded.
97
-
4. Open the serial monitor tool to check for debug messages. If your board is failing to connect, it will print the errors here.
105
+
1. First make sure that you have the [Create Agent](https://create.arduino.cc/getting-started/plugin/welcome) installed. This allows Arduino Cloud to communicate with your board in the web interface.
106
+
2. Check that your board is connected and visible in the board selection menu.
107
+
3. Click the verify/upload button.
108
+
4. Wait until the code has successfully been uploaded.
109
+
5. Open the serial monitor tool to check for debug messages. If your board is failing to connect, it will print the errors here.
0 commit comments