Skip to content

Commit 8c21bad

Browse files
Merge branch 'main' into pedromsousalima/modulinos/revamp-get-started
2 parents c08ac55 + 84278ae commit 8c21bad

File tree

1,197 files changed

+39078
-3257
lines changed

Some content is hidden

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

1,197 files changed

+39078
-3257
lines changed

.github/workflows/preview.yml

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,27 @@ concurrency:
1212
cancel-in-progress: true
1313

1414
jobs:
15-
run:
15+
16+
# This job is used to render datasheets, but only if they have changed.
17+
# It's a separate job so we don't have to cleanup the machine afterwards.
18+
render-datasheets:
19+
name: Render Datasheets
1620
if: ${{ contains(github.event.pull_request.labels.*.name, 'preview') || github.ref_name == 'main' }}
1721
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 1
26+
27+
- uses: ./.github/actions/generate-datasheets
28+
with:
29+
artifact-name: datasheets
30+
datasheets-path: static/resources/datasheets
31+
32+
preview-build:
33+
if: ${{ contains(github.event.pull_request.labels.*.name, 'preview') || github.ref_name == 'main' }}
34+
runs-on: ubuntu-latest
35+
needs: render-datasheets
1836
concurrency:
1937
group: netlify
2038
cancel-in-progress: false
@@ -45,15 +63,22 @@ jobs:
4563
Waiting for deployment to complete...
4664
4765
- uses: actions/checkout@v4
66+
with:
67+
fetch-depth: 1
4868

69+
- name: Cleanup runner disk
70+
uses: ./.github/actions/cleanup-disk
4971
- uses: actions/setup-node@v4
5072
with:
5173
node-version: 18
5274
cache: "npm"
5375
cache-dependency-path: "**/package-lock.json"
5476

55-
- name: Render Datasheets
56-
run: cd ${GITHUB_WORKSPACE}/scripts/datasheet-rendering;./render-datasheets.sh
77+
- name: Retrieve Datasheets
78+
uses: actions/download-artifact@v4
79+
with:
80+
name: datasheets
81+
path: static/resources/datasheets
5782

5883
- name: Copy Static Files
5984
run: |
@@ -83,7 +108,7 @@ jobs:
83108
${{ runner.os }}-public-gatsby-main
84109
85110
- run: npm install
86-
- run: npm run build
111+
- run: GATSBY_HF_CDN_URL="" npm run build
87112

88113
- name: Install Netlify
89114
run: npm install netlify-cli@17.23.2 -g

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/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

0 commit comments

Comments
 (0)