Skip to content

Commit 8cb6465

Browse files
authored
Merge branch 'pre-launch/nano-matter' into taddy/nano-matter-product-page
2 parents be8188b + 71f5553 commit 8cb6465

File tree

36 files changed

+618
-132
lines changed

36 files changed

+618
-132
lines changed
Loading
Loading
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Cloud Agent
3+
description: The Cloud Agent allows Arduino boards to interface with the Arduino Cloud.
4+
tags: [Arduino Cloud, Cloud Agent, Cloud Editor]
5+
author: Karl Söderby
6+
---
7+
8+
The [Arduino Cloud Agent](https://create.arduino.cc/getting-started/plugin/welcome) is a plugin that you install on your computer, that enables serial communication between your board and the Arduino Cloud. This allows you to upload sketches, and read/write serial data to/from your board, via your web browser.
9+
10+
The Cloud Agent is a requirement to program your devices in the Arduino Cloud, and takes only a minute to install.
11+
12+
## Installation
13+
14+
When you configure a device or use the Cloud Editor, you will automatically receive a prompt to install the Cloud Agent.
15+
16+
You can also access the download page through [this link](https://create.arduino.cc/getting-started/plugin/welcome). It should look like this:
17+
18+
![Download Cloud Agent.](assets/install-agent.png)
19+
20+
Follow the installation guide in the page, where you will download an installation file. To install it, run the file and follow the instructions for your operating system.
21+
22+
Once installed, you can navigate back to the Cloud Editor, and you should be able to recognize the board connected to your computer.
23+
24+
![Board connected to computer.](assets/board-connected.png)
25+
26+
## Source Code
27+
28+
The source code for the Cloud Agent lives [in this GitHub repository](https://github.com/arduino/arduino-create-agent). To report issues or improvements, please do so inside in this repository.
29+
30+
## Troubleshooting
31+
32+
If you are having issues with the Cloud Agent, you can visit the link below:
33+
- [Arduino Help Center - Create Agent](https://support.arduino.cc/hc/en-us/articles/360014869820-Install-the-Arduino-Create-Agent)

content/arduino-cloud/09.business/09.arduino-cloud-for-business/content.md

Lines changed: 428 additions & 0 deletions
Large diffs are not rendered by default.

content/arduino-cloud/10.education/02.templates/content.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Templates can be imported easily by clicking on the import button from the templ
7878

7979
Below the `Import Button`, you can find information on how many [Things](https://docs.arduino.cc/arduino-cloud/cloud-interface/things), [Variables](https://docs.arduino.cc/arduino-cloud/cloud-interface/variables) and [Dashboards](https://docs.arduino.cc/arduino-cloud/cloud-interface/dashboard-widgets) are associated with this template. The Arduino Cloud platform will handle the creation of these IoT components along with setting up the device and network for the selected template.
8080

81+
***Note: with a Free Plan a user can only have two Things at same time. When you already have two Things, you won't be able to click on IMPORT TEMPLATE. To avoid this you could choose to upgrade your Cloud plan or manually delete an existing Thing.***
82+
8183
![Template creation](assets/template-creation.png)
8284

8385
This process involves creating the necessary components and uploading the sketch (program) to your device:

content/built-in-examples/03.analog/AnalogInput/AnalogInput.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ where Vin is 5V, R2 is 10k ohm and R1 is the photoresistor value that ranges fro
5656

5757
Potentiometer
5858

59-
![](assets/circuit-pot.png)
59+
![](assets/schematic-pot.png)
6060

6161

6262
Photoresistor
6363

64-
![](assets/schematic-pot.png)
64+
![](assets/schematic.png)
6565

6666
### Code
6767

content/hardware/01.mkr/01.boards/mkr-wifi-1010/tutorials/atmel-ice/using-an-atmel-ice-with-the-ide-v2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ Let's start by opening the Arduino IDE 2 and connecting our MKR WiFi 1010 board
115115

116116
![The board and port recognized by the Arduino IDE 2.](assets/ide_v2_t1_img05.png)
117117

118+
Select **Tools > Programmer > Atmel-ICE** from the Arduino IDE menus.
119+
118120
### 2. Creating the Test Code
119121

120122
Let's try the example code show below, it is a simple program that blinks the onboard LED of our board and changes the value of variables `x` and `y` while running. Open a new sketch, copy and paste the code show below:

content/hardware/01.mkr/01.boards/mkr-wifi-1010/tutorials/mkr-jlink-setup/mkr-jlink.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: This tutorial teaches you how to set up a MKR board with the Segger
99
This tutorial will show you how to debug an Arduino sketch using an Arduino MKR board and the Segger J-Link probe. It will go through how to connect these and use the Arduino IDE 2 to then debug a sketch.
1010

1111
### Required Hardware and Software
12-
- [Arduino IDE 2](https://www.arduino.cc/en/software)
12+
- [Arduino IDE](https://www.arduino.cc/en/software) version 2.3.0 or higher
1313
- Segger J-link device ([EDU](https://store.arduino.cc/products/j-link-edu) or [BASE](https://store.arduino.cc/products/j-link-base-compact))
1414
- [Arduino MKR WiFi 1010](https://store.arduino.cc/mkr-wifi-1010) (other boards from the MKR family works as well).
1515
- Soldering equipment
@@ -67,17 +67,26 @@ Now we are ready to start debugging our sketch. Connect the power to the MKR boa
6767

6868
Then create or open the sketch that you want to debug. If you don't already have a sketch in mind, feel free to use the example sketch found at the end of this tutorial.
6969

70+
Select **Tools > Programmer > Segger J-Link** from the Arduino IDE menus.
71+
7072
Now go to the folder where the sketch is located. Add a `.json` file in the same folder as your sketch and name it `debug_custom.json`. The easiest way would be to create a text file and rename it `debug_custom.json`. In the `.json` file, add the following lines:
7173

7274
```arduino
73-
{
74-
"servertype": "jlink",
75-
"device": "ATSAMD21G18",
76-
"interface": "SWD",
77-
"serverpath": "C:/Program Files/SEGGER/JLink/JLinkGDBServerCL"
78-
}
75+
[
76+
{
77+
"configId": "arduino:samd:mkrwifi1010:programmer=jlink",
78+
"server": "jlink",
79+
"servertype": "jlink",
80+
"device": "ATSAMD21G18",
81+
"interface": "SWD",
82+
"serverPath": "C:/Program Files/SEGGER/JLink/JLinkGDBServerCL",
83+
"serverpath": "C:/Program Files/SEGGER/JLink/JLinkGDBServerCL"
84+
}
85+
]
7986
```
8087

88+
If you are using a board other than the **MKR WiFi 1010**, you will need to adjust the `arduino:samd:mkrwifi1010` part of the `configId` field. Hover the mouse pointer over the board selection in the Arduino IDE toolbar in order to learn the correct identifier for the board you are using.
89+
8190
The `"serverpath"` field needs to be set to the path of the "J-Link GDB Server CL" tool executable file that is located under the folder of the J-Link package you installed in the previous step. The file is named:
8291

8392
- **If you are using Windows:** `JLinkGDBServerCL.exe`

content/hardware/02.hero/boards/zero/tutorials/debugging-with-zero/debugging-with-zero.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ For this this tutorial we will be using the Arduino Zero's built-in debugger int
2222

2323
***Important: You should connect the Arduino Zero through its programming USB port.***
2424

25-
**2.** Select the board from the board/port list. When we select the Arduino Zero, the debugger icon close to the upload button will also become more visible.
25+
**2.** Select the board from the board/port list.
26+
27+
**3.** Select **Tools > Programmer > Atmel EDBG**. The debugger icon close to the upload button will now become more visible.
2628

2729
![Debugger icon available if board is supported.](assets/icon-available.png)
2830

content/hardware/03.nano/boards/nano-33-ble-sense-rev2/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The Arduino Nano 33 BLE Sense Rev2 is a great choice for any beginner, maker or
6868
The HS3003 capacitive digital sensor measures relative humidity and temperature. It has a temperature accuracy of ± 0.2 °C and is thereby perfectly suited to detect ambient temperature.
6969
<FeatureWrapper>
7070
<FeatureLink variant="primary" title="Documentation" url="/tutorials/nano-33-ble-sense-rev2/humidity-and-temperature-sensor"/>
71-
<FeatureLink variant="secondary" title="Library" url="https://github.com/arduino-libraries/Arduino_HS300x"/>
71+
<FeatureLink variant="secondary" title="Library" url="https://reference.arduino.cc/reference/en/libraries/arduino_hs300x/"/>
7272
</FeatureWrapper>
7373
</Feature>
7474

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Board:
22
Name: Arduino® Portenta Breakout
3-
SKU: AKX00031
3+
SKU: ASX00031
44
USB port: USBA
55
Ethernet: RJ45 GBit
66
Memory slot: Micro SD card
@@ -10,4 +10,4 @@ RTC power battery: CR2032
1010
Dimensions:
1111
Weight: 69 g
1212
Width: 72 mm
13-
Length: 164 mm
13+
Length: 164 mm

content/hardware/05.pro-solutions/solutions-and-kits/portenta-machine-control/tutorials/pmc-opta-temp-ctrl/content.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ The system will send the temperature values from the Portenta Machine Control to
4343
### Hardware Requirements
4444

4545
- [Portenta Machine Control](https://store.arduino.cc/products/arduino-portenta-machine-control) (x1)
46-
- [Opta™ with RS-485](https://store.arduino.cc/collections/home-industrial-automation) (x1)
47-
- Micro-USB cable (x1)
48-
- USB-C® cable (x1)
46+
Opta™ PLC with RS-485 support: [Opta™ RS485](https://store.arduino.cc/products/opta-rs485), or [Opta™ WiFi](https://store.arduino.cc/products/opta-wifi) (x1)
47+
- [Micro-USB cable](https://store.arduino.cc/products/usb-cable-type-a-male-to-micro-type-b-male) (x1)
48+
- [USB-C® cable](https://store.arduino.cc/products/usb-cable2in1-type-c) (x1)
4949
- PT100 RTD (x1)
5050

5151
### Software Requirements
Loading

content/hardware/06.nicla/boards/nicla-voice/tutorials/user-manual/content.md

Lines changed: 79 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,122 +1325,130 @@ Serial1.println("Hello world!");
13251325
13261326
### Bluetooth® Low Energy
13271327
1328-
To enable Bluetooth® Low Energy communication on the Nicla Voice, you can use the [ArduinoBLE library](https://www.arduino.cc/reference/en/libraries/arduinoble/). The library works with the Nicla Voice with some minor modifications.
1329-
1330-
To get started with the ArduinoBLE library and the Nicla Voice, follow these steps:
1331-
1332-
Include the `Nicla System` header:
1333-
1334-
```arduino
1335-
#include "Nicla_System.h"
1336-
```
1337-
1338-
In the `setup()` function, call `nicla::begin()` to initialize the Nicla Voice board:
1339-
1340-
```arduino
1341-
void setup() {
1342-
nicla::begin();
1343-
}
1344-
```
1328+
To enable Bluetooth® Low Energy communication on the Nicla Voice, you can use the [ArduinoBLE library](https://www.arduino.cc/reference/en/libraries/arduinoble/).
13451329
13461330
Here is an example of how to use the ArduinoBLE library to create a voltage level monitor application:
13471331
13481332
```arduino
13491333
#include "Nicla_System.h"
13501334
#include <ArduinoBLE.h>
13511335
1336+
13521337
// Define the voltage service and its characteristic
13531338
BLEService voltageService("1101");
13541339
BLEUnsignedCharCharacteristic voltageLevelChar("2101", BLERead | BLENotify);
13551340
1341+
13561342
const int analogPin = A0;
13571343
1344+
13581345
/**
1359-
Read voltage level from an analog input of the Nicla Voice,
1360-
then maps the voltage reading to a percentage value ranging from 0 to 100.
1346+
Read voltage level from an analog input of the Nicla Voice,
1347+
then maps the voltage reading to a percentage value ranging from 0 to 100.
1348+
13611349
1362-
@param none
1363-
@return the voltage level percentage (int).
1350+
@param none
1351+
@return the voltage level percentage (int).
13641352
*/
13651353
int readVoltageLevel() {
1366-
int voltage = analogRead(analogPin);
1367-
int voltageLevel = map(voltage, 0, 1023, 0, 100);
1368-
return voltageLevel;
1354+
int voltage = analogRead(analogPin);
1355+
int voltageLevel = map(voltage, 0, 1023, 0, 100);
1356+
return voltageLevel;
13691357
}
13701358
1359+
13711360
void setup() {
1372-
// Initialize the Nicla system and the built-in RGB LED
1373-
nicla::begin();
1374-
nicla::leds.begin();
1361+
// Initialize the Nicla system and the built-in RGB LED
1362+
nicla::begin();
1363+
nicla::leds.begin();
13751364
1376-
Serial.begin(9600);
1377-
// Wait for the serial connection to be established
1378-
while (!Serial)
1379-
;
13801365
1381-
// Initialize the BLE module
1382-
if (!BLE.begin()) {
1383-
Serial.println("starting BLE failed!");
1384-
while (1)
1385-
;
1386-
}
1366+
Serial.begin(9600);
1367+
// Wait for the serial connection to be established
1368+
while (!Serial)
1369+
;
13871370
1388-
// Set the local name and advertised service for the BLE module
1389-
BLE.setLocalName("VoltageMonitor");
1390-
BLE.setAdvertisedService(voltageService);
1391-
voltageService.addCharacteristic(voltageLevelChar);
1392-
BLE.addService(voltageService);
13931371
1394-
// Start advertising the BLE service
1395-
BLE.advertise();
1396-
Serial.println("- Bluetooth device active, waiting for connections...");
1372+
// Initialize the BLE module
1373+
if (!BLE.begin()) {
1374+
Serial.println("starting BLE failed!");
1375+
while (1)
1376+
;
1377+
}
1378+
1379+
1380+
// Set the local name and advertised service for the BLE module
1381+
BLE.setLocalName("VoltageMonitor");
1382+
BLE.setAdvertisedService(voltageService);
1383+
voltageService.addCharacteristic(voltageLevelChar);
1384+
BLE.addService(voltageService);
1385+
1386+
1387+
// Start advertising the BLE service
1388+
BLE.advertise();
1389+
Serial.println("- Bluetooth device active, waiting for connections...");
13971390
}
13981391
1392+
13991393
void loop() {
1400-
// Check for incoming BLE connections
1401-
BLEDevice central = BLE.central();
1394+
// Check for incoming BLE connections
1395+
BLEDevice central = BLE.central();
14021396
1403-
// If a central device is connected
1404-
if (central) {
1405-
Serial.print("- Connected to central: ");
1406-
Serial.println(central.address());
14071397
1408-
// Set the LED color to red when connected
1409-
nicla::leds.setColor(red);
1398+
// If a central device is connected
1399+
if (central) {
1400+
Serial.print("- Connected to central: ");
1401+
Serial.println(central.address());
14101402
1411-
// While the central device is connected
1412-
while (central.connected()) {
1413-
// Read the voltage level and update the BLE characteristic with the level value
1414-
int voltageLevel = readVoltageLevel();
14151403
1416-
Serial.print("- Voltage level is: ");
1417-
Serial.println(voltageLevel);
1418-
voltageLevelChar.writeValue(voltageLevel);
1404+
// Turn off the LED when disconnected
1405+
nicla::leds.setColor(blue);
14191406
1420-
delay(200);
1421-
}
1422-
}
14231407
1424-
// Turn off the LED when disconnected
1425-
nicla::leds.setColor(off);
1408+
// While the central device is connected
1409+
while (central.connected()) {
1410+
// Read the voltage level and update the BLE characteristic with the level value
1411+
int voltageLevel = readVoltageLevel();
1412+
1413+
1414+
Serial.print("- Voltage level is: ");
1415+
Serial.println(voltageLevel);
1416+
voltageLevelChar.writeValue(voltageLevel);
14261417
1427-
Serial.print("- Disconnected from central: ");
1428-
Serial.println(central.address());
1418+
1419+
delay(200);
1420+
}
1421+
}
1422+
1423+
1424+
// Turn off the LED when disconnected
1425+
nicla::leds.setColor(red);
1426+
1427+
1428+
Serial.print("- Disconnected from central: ");
1429+
Serial.println(central.address());
14291430
}
14301431
```
14311432
1432-
The example code shown above creates a Bluetooth® Low Energy service and characteristic for transmitting a voltage value read by one of the analog pins of the Nicla Voice to a central device.
1433+
The example code shown above creates a Bluetooth® Low Energy service and characteristic for transmitting a voltage value read by the analog pin A0 of the Nicla Voice to a central device Bluetooth® device like a smartphone or another microcontroller.
14331434
1434-
- The code begins by importing all the necessary libraries and defining the Bluetooth® Low Energy service and characteristic.
1435+
- The code begins by importing all the necessary libraries and defining the Bluetooth® Low Energy service and characteristics.
14351436
- In the `setup()` function, the code initializes the Nicla Voice board and sets up the Bluetooth® Low Energy service and characteristic; then, it begins advertising the defined Bluetooth® Low Energy service.
1436-
- A Bluetooth® Low Energy connection is constantly verified in the `loop()` function; when a central device connects to the Nicla Voice, its built-in LED is turned on (red). The code then enters into a loop that constantly reads the voltage level from an analog input and maps it to a percentage value between 0 and 100. The voltage level is printed to the Serial Monitor and transmitted to the central device over the defined Bluetooth® Low Energy characteristic.
1437+
- A Bluetooth® Low Energy connection is constantly verified in the `loop()` function, being the built-in LED in red while looking for a connection. When a central device connects to the Nicla Voice, its built-in LED will change its color to blue. The code then enters into a loop that constantly reads the voltage level from an analog input and maps it to a percentage value between 0 and 100. The voltage level is printed to the Serial Monitor and transmitted to the central device over the defined Bluetooth® Low Energy characteristic.
1438+
1439+
You can use the [nRF Connect for Mobile](https://www.nordicsemi.com/Products/Development-tools/nrf-connect-for-mobile) app from Nordic Semiconductor to test the functionality of the example code shown below. nRF Connect is a powerful tool that allows you to scan and explore Bluetooth® Low Energy devices and communicate with them.
1440+
1441+
1442+
![Bluetooth® Low Energy service and characteristic information from a Nicla Voice device](assets/user-manual-bt.png)
1443+
14371444
14381445
### ESLOV Connector
14391446
14401447
The Nicla Voice board features an onboard ESLOV connector meant as an **extension** of the I2C communication bus. This connector simplifies connecting various sensors, actuators, and other modules to the Nicla Voice without soldering or wiring.
14411448
14421449
![Nicla Voice built-in ESLOV connector](assets/user-manual-8.png)
14431450
1451+
14441452
The ESLOV connector is a small 5-pin connector with a 1.00 mm pitch; the mechanical details of the connector can be found in the connector's datasheet.
14451453
14461454
The pin layout of the ESLOV connector is the following:
@@ -1473,4 +1481,4 @@ Join our community forum to connect with other Nicla Voice users, share your exp
14731481
14741482
Please get in touch with our support team if you need personalized assistance or have questions not covered by the help and support resources described before. We're happy to help you with any issues or inquiries about the Nicla Voice.
14751483
1476-
- [Contact us page](https://www.arduino.cc/en/contact-us/)
1484+
- [Contact us page](https://www.arduino.cc/en/contact-us/)

content/hardware/07.opta/opta-family/opta/product.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ url_shop: https://store.arduino.cc/collections/pro-family
44
url_guide: /tutorials/opta/user-manual
55
primary_button_url: /tutorials/opta/user-manual
66
primary_button_title: User Manual
7-
secondary_button_url: /software/plc-ide/tutorials/plc-ide-setup-license
7+
secondary_button_url: /software/plc-ide/
88
secondary_button_title: PLC IDE Guide
99
core: arduino:mbed_opta
1010
certifications: [CE, UL, FCC, UKCA]

content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ software:
2121

2222
This user manual will provide a comprehensive overview of Opta™, covering its major hardware and software elements. With this user manual, you will learn how to set up, configure, and use all the main features of an Opta™ device.
2323

24+
![ ](hero-banner.png)
25+
2426
## Hardware and Software Requirements
2527

2628
### Hardware Requirements
2729

2830
- [Opta™ Lite](https://store.arduino.cc/products/opta-lite), [Opta™ RS485](https://store.arduino.cc/products/opta-rs485), or [Opta™ WiFi](https://store.arduino.cc/products/opta-wifi) (x1)
29-
- USB-C® cable (x1)
31+
- [USB-C® cable](https://store.arduino.cc/products/usb-cable2in1-type-c) (x1)
3032
- +12-24 VDC/0.5 A power supply (x1)
3133

3234
### Software Requirements

0 commit comments

Comments
 (0)