Skip to content

Commit 5290724

Browse files
committed
Merge branch 'main' into mcmchris/portenta-h7/secure-boot-revamp
2 parents 398c5fa + 4230e1a commit 5290724

File tree

948 files changed

+38580
-309310
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

948 files changed

+38580
-309310
lines changed

content/_dev-test/product.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ primary_button_title: Test
77
secondary_button_url: /test/
88
secondary_button_title: Test
99
core: ""
10-
certifications: []
1110
sku: []
1211
essentials_title: "test"
1312
---

content/arduino-cloud/01.guides/00.overview/overview.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Setting up a project in the Arduino Cloud is easy, and can be done through a few
7676

7777
To use the Arduino Cloud, you will need an Arduino account, which you can register [here](https://login.arduino.cc/login).
7878

79-
By default, you will have a **free plan**, which can be upgraded to a number of affordable plans starting at 1.99$ a month.
79+
By default, you will have a **free plan**, which can be upgraded to a number of affordable plans.
8080

8181
***Read more about [Arduino Cloud plans](https://cloud.arduino.cc/plans)***
8282

@@ -92,10 +92,12 @@ The configurations varies between boards, but everything is covered in the insta
9292

9393
### 3. Create a Thing
9494

95-
After configuring a device, we can create a Thing, which is the **virtual twin** of your board. Here we configure network details, select device we want to associate and create the variables that we want to synchronize.
95+
After configuring a device, we can create a Thing, which is the **virtual twin** of your board. Here we can select the device to associate and create the variables that we want to synchronize with.
9696

9797
![Things in the Arduino Cloud.](assets/thing.png)
9898

99+
To configure network details go to the [devices page](https://app.arduino.cc/devices), select your device and set the network credentials.
100+
99101
Variables we create will be used in the sketch, and will keep synchronizing as long as the board is connected to the Cloud.
100102

101103
When working with your IoT projects, consider this the "main space" for configurations, as you can access your sketches from here as well.

content/arduino-cloud/01.guides/02.arduino-c/arduino-c.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The default option for programming your board to connect to the Arduino Cloud is
1212
Whenever you create a [Thing](/arduino-cloud/cloud-interface/things) in the Arduino Cloud, you automatically start generating a set of files that will handle the configurations, credentials & connection:
1313
- `<sketchname>.ino` - your main sketch file,
1414
- `thingProperties.h` - your main configuration file,
15-
- `arduino_secrets.h` - your credentials file (for API key, Wi-Fi network etc.)
15+
- `arduino_secrets.h` - your credentials file (for API key, Wi-Fi network etc.), if the board is using provisioning version 1.0. If the board is using version 2.0 the credentials are stored on the board. To find out more about this read [here](https://docs.arduino.cc/arduino-cloud/hardware/device-provisioning/).
1616

1717
***If you want to find out more about what the Arduino Cloud service can do, go to the [overview](/arduino-cloud/guides/overview) section.***
1818

@@ -47,8 +47,10 @@ Next, navigate to the **Things** tab. Here you will see a list of your Things, a
4747
A "Thing" is a virtual twin of your hardware, and it is here that we create variables that we want to synchronize between the Cloud and board. Any changes we make here will be reflected in an [automatically generated sketch](/arduino-cloud/cloud-interface/sketches#iot-sketches).
4848

4949
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.
50-
2. let's create a new variable, call it `test`, and select it to be a `boolean` type and with a **read/write** permission.
51-
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.
50+
2. Let's create a new variable, call it `test`, and select it to be a `boolean` type and with a **read/write** permission.
51+
52+
3. Finally, configure your network in the **Network** section on the device page. 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.
53+
5254

5355
![Enter network credentials.](assets/esp32-only.png)
5456

content/arduino-cloud/01.guides/03.esp32/esp32.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ Next, navigate to the **Things** tab. Here you will see a list of your Things, a
4747
A "Thing" is a virtual twin of your hardware, and it is here that we create variables that we want to synchronize between the Cloud and board. Any changes we make here will be reflected in an [automatically generated sketch](/arduino-cloud/cloud-interface/sketches#iot-sketches).
4848

4949
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.
50-
2. let's create a new variable, call it `test`, and select it to be a `boolean` type and with a **read/write** permission.
51-
3. finally, configure your network in the **Network** section. Here you will enter your Wi-Fi® credentials, and your **Secret Key**, obtained when configuring your device.
50+
2. Let's create a new variable, call it `test`, and select it to be a `boolean` type and with a **read/write** permission.
51+
52+
3. Finally, configure your network in the **Network** section on the device page. Here you will enter your Wi-Fi® credentials, and your **Secret Key**, obtained when configuring your device.
53+
5254

5355
![Enter network credentials.](assets/esp32-only.png)
5456

content/arduino-cloud/01.guides/07.node-red/nodered-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The Thing we will create for this example is quite simple. It is a sketch to rea
130130
Follow the steps below to set up the Thing:
131131

132132
- Go to the Arduino Cloud -> Thing -> Create a Thing
133-
- Add your Device and your Network credentials
133+
- Add your Device and your Network credentials, which can be changed on the device page
134134
- Add an integer Variable, with the name humidity, and set permissions to Read Only
135135
- Go to the **"Sketch"** tab and replace the code with the code below:
136136

content/arduino-cloud/01.guides/08.alexa/alexa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,6 @@ One great way of knowing if data is coming through from the Alexa app is by chec
167167

168168
Did you know that the Arduino Cloud supports over the air uploads? When you've uploaded a sketch to your board once, it will become available for you to upload a new sketch to the board without connecting it to your computer!
169169

170-
***Over the Air uploads require an Entry plan to the Arduino Cloud***
170+
***Over the Air uploads require a Arduino Cloud subscription plan***
171171

172172
To use this feature, make sure the board has power. If your board is already connected to the Arduino Cloud, you will be able to upload to it over the air. Navigate to the Things sketch tab in the Arduino Cloud interface, and you should see it being discovered just as if it was connected via USB.

content/arduino-cloud/02.hardware/01.devices/devices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Wi-Fi® devices connect to the Arduino Cloud via a local network and are suitabl
4646

4747
Most Wi-Fi® supported Arduino boards have a crypto chip that enables secure communication. This chip is configured during setup and enables secure communication for the board without having to enter any API keys in the code.
4848

49-
Wi-Fi devices require you to enter valid credentials for the Wi-Fi network you attempt to connect to. This is done in the Thing configuration.
49+
Wi-Fi devices require you to enter valid credentials for the Wi-Fi network you attempt to connect to. This is done in the Device configuration.
5050

5151
***Read more and see the list of all compatible Wi-Fi® boards in the [Arduino Cloud Wi-Fi documentation](/arduino-cloud/hardware/wifi).***
5252

content/arduino-cloud/03.cloud-interface/00.sketches/sketches.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The file cannot be edited in the Arduino Cloud as it is in sync with the platfor
125125

126126
### Secret File
127127

128-
The "Secret" File contains your secret credentials, such as Wi-Fi® network SSID/PASS or device secret key.
128+
The "Secret" File contains your secret credentials, such as Wi-Fi® network SSID/PASS or device secret key, if the board is using provisioning version 1.0. If the board is using version 2.0 the credentials are stored on the board. To find out more about this read [here](https://docs.arduino.cc/arduino-cloud/hardware/device-provisioning/).
129129

130130
This file will be visible as a "Secret" tab in the Cloud Editor and is named `arduino_secrets.h`, which is not visible on the Cloud platform.
131131

content/arduino-cloud/03.cloud-interface/01.things/things.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ author: Karl Söderby
88
The communication between IoT devices and the Arduino Cloud is handled through something called **Things**. Things are a virtual twin of your hardware/setup, where you perform a lot of the configurations for your projects.
99

1010
In the Thing interface you can:
11-
- Create Cloud variables that can be synced across devices,
12-
- select the main device you want to associate with,
13-
- enter network credentials (such as Wi-Fi network/password),
11+
- create Cloud variables that can be synced across devices,
12+
- select the main device you want to associate with
1413
- edit & upload sketches to your board,
1514
- set webhooks that trigger whenever data changes,
1615
- edit the timezone.
@@ -23,7 +22,7 @@ The Thing interface is designed for ease-of-use and only has a few sections, whi
2322

2423
- **1. Cloud Variables** - create variables that synchronize between a device and the Arduino Cloud.
2524
- **2. Devices** - configure a device that will be associated with your Thing.
26-
- **3. Network** - network credentials, e.g. Wi-Fi® network/password.
25+
- **3. Network** - to add your Wi-Fi® network/password go to Device page.
2726
- **4. Setup** - the main configuration space tab.
2827
- **5. Sketch** - access the sketch associated with your Thing.
2928
- **6. Metadata** - metadata such as tags, timezone and Thing ID.
@@ -68,12 +67,12 @@ The status of your device is also displayed in this section (online/offline).
6867

6968
## Network
7069

70+
***This option has been moved to the [Devices](/arduino-cloud/hardware/devices) section on the specific device page.***
71+
7172
In the network section, you configure the credentials for your network, such as your Wi-Fi® network, secret key (for ESP32 boards) and other credentials e.g. LoRa®-based networks & cellular. The network details are securely stored.
7273

7374
![Network configuration.](assets/network-creds.png)
7475

75-
The credentials entered are automatically included in your sketch (see [automatic sketch generation](#automatic-sketch-generation)).
76-
7776
## Sketch
7877

7978
The sketch tab will open the Cloud Editor where you can edit, compile and upload sketches to your devices.
@@ -128,7 +127,7 @@ For example:
128127
- Associating a Wi-Fi board will automatically update the connection method.
129128
- Creating a variable will add it to your `thingProperties.h` file.
130129
- Creating a variable with **read/write** permission will also add a callback function at the bottom of your sketch. This will trigger any time the value changes.
131-
- Changing your network credentials will update the `arduino_secrets.h` file.
130+
- Changing your network credentials will update the `arduino_secrets.h` file, if you are using provisioning version 1.0, for more information read [here](https://docs.arduino.cc/arduino-cloud/hardware/device-provisioning/).
132131

133132
This is implemented so that the connection and synchronization between the board and Cloud is handled automatically, meaning you do not need to do any networking code when using the Arduino / C++ language.
134133

content/arduino-cloud/03.cloud-interface/02.variables/variables.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,10 @@ To read the location values, we can use the following method `Location coordinat
265265

266266
| Property | Type | Read value | Set value |
267267
| --------- | ------- | ----------------- | --------------------------- |
268-
| Latitude | `float` | `coordinates.lat` | This variable is ready only |
269-
| Longitude | `float` | `coordinates.lon` | This variable is ready only |
268+
| Latitude | `float` | `coordinates.lat` | See information below |
269+
| Longitude | `float` | `coordinates.lon` | See information below |
270+
271+
The value of a `CloudLocation` variable is set using a `Location` object. The coordinate values are passed as arguments to the `Location` constructor: `x = Location(latitude, longitude);`.
270272

271273
***The format of the `lat` and `lon` is in Decimal Degrees (DD), for example `41.40338`, `2.17403`.***
272274

0 commit comments

Comments
 (0)