Skip to content

Commit 13707eb

Browse files
committed
Small sentences changes and grammar refinements
1 parent 8568e74 commit 13707eb

File tree

1 file changed

+18
-18
lines changed
  • content/hardware/05.pro-solutions/solutions-and-kits/opta/tutorials/getting-started-connectivity

1 file changed

+18
-18
lines changed

content/hardware/05.pro-solutions/solutions-and-kits/opta/tutorials/getting-started-connectivity/content.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ hardware:
2222

2323
## Overview
2424

25-
The Arduino Opta™ is a powerful micro PLC device that has many features, allowing you to customize its use for your solution. Among these features are the standard connectivity features: Wi-Fi®, Ethernet and Bluetooth®. Please note that these connectivity features are not available on all variants of the Arduino Opta™. In this tutorial we will go through how to use these features with the Arduino IDE and the Arduino Opta™.
25+
The Arduino Opta™ is a powerful micro PLC device with many features that can be customized to meet the requirements of each professional solution. Among these features, you can find standard connectivity protocols such as Wi-Fi®, Ethernet and Bluetooth®. Please note that these connectivity features are not available on all variants of the Arduino Opta™. In this tutorial we will go through how to use these features in Opta™ using the Arduino IDE.
2626

2727
## Goals
2828

@@ -33,52 +33,52 @@ The Arduino Opta™ is a powerful micro PLC device that has many features, allow
3333

3434
### Required Hardware and Software
3535

36-
- [Arduino Opta™](https://store.arduino.cc/pages/opta)
37-
- Ethernet cable
36+
- [Arduino Opta™](https://store.arduino.cc/pages/opta) (x1)
37+
- Ethernet (RJ45) cable (x1)
3838
- [Arduino IDE](https://www.arduino.cc/en/software)
39-
- USB-C® cable (either USB-C to USB-A or USB-C to USB-C)
39+
- USB-C® cable (either USB-C to USB-A or USB-C to USB-C) (x1)
4040
- Wi-Fi® Access Point with Internet Access
4141

4242
## Instructions
4343

4444
### Setup With the Arduino IDE
4545

46-
Using the Arduino IDE we can easily work with the connectivity features, which have their own libraries that we can make use of. Make sure the latest version of the Arduino IDE is installed. The IDE can be downloaded [here](https://www.arduino.cc/en/software).
46+
Using the Arduino IDE we can easily work with the connectivity features, which have their own libraries that we can make use of. First, make sure the latest version of the Arduino IDE is installed. The IDE can be downloaded [here](https://www.arduino.cc/en/software).
4747

48-
Then we need to install the appropriate core for the Arduino Opta. Go to **Tools > Board > Boards Manager**, in the board's manager section search for **Opta mbed** and install it. For more detailed instructions on setting up the Arduino Opta with the Arduino IDE, have a look at the [Getting started with opta™ tutorial](/tutorials/opta/getting-started).
48+
Then we need to install the appropriate core for the Arduino Opta. Go to **Tools > Board > Boards Manager**, in the board's manager section search for **Opta mbed** and install it. For more detailed instructions on setting up the Arduino Opta with the Arduino IDE, have a look at the [Getting started with Opta™ tutorial](/tutorials/opta/getting-started).
4949

5050
### Wi-Fi®
5151

52-
The files necessary for using the Wi-Fi® on the Arduino Opta are included in the core. To try it out, we can go to **File > Examples**, and under **Examples for Opta**, we can find the **WiFi** section. Inside there is an example sketch called **WiFiWebClient**. Open this example sketch and fill out the WiFi details in the **arduino_secrets.h** tab. The sketch will make the Arduino Opta® connect to the desired website defined within `char server[] = "example.com";` variable. If the connection is successful, it will then print the website's HTML content to the serial monitor. If the sketch ran successfully, the output should look like the image below.
52+
The files necessary for using the Wi-Fi® on the Arduino Opta are included in the core. To try it out, we can go to **File > Examples**, and under **Examples for Opta**, we can find the **WiFi** section. Inside there is an example sketch called **WiFiWebClient**. Open this example sketch and fill out the Wi-Fi® details in the **arduino_secrets.h** tab. Once uploaded, the sketch will make the Arduino Opta® connect to the desired website defined within `char server[] = "example.com";` variable. If the connection is successful, it will then print the website's HTML content to the serial monitor. If the sketch ran successfully, the output should look like the image below.
5353

54-
![Running WiFi sketch on the Arduino Opta in the Arduino IDE](assets/opta-wifi.png)
54+
![Running Wi-Fi® sketch on the Arduino Opta in the Arduino IDE](assets/opta-wifi.png)
5555

56-
If you want to take a deeper look at what features the **WiFi** library has to offer, [take a look at the API reference page](https://www.arduino.cc/reference/en/libraries/wifi/).
56+
If you want to take a deeper look at the features that the **WiFi** library has to offer, [take a look at the API Wi-Fi® reference page](https://www.arduino.cc/reference/en/libraries/wifi/).
5757

5858
### Ethernet
5959

60-
The Arduino Opta has an RJ45 ethernet port with a LED that will indicate the status of the connected cable. The files necessary for using Ethernet with the Arduino Opta are included in the core. To try it out, we can go to **File > Examples** and under **Examples for Opta** we can find the **Ethernet** section. Inside there is an example sketch called **WebClient**. Connect the Ethernet cable to the Arduino Opta and upload the example. This example will function the same way as the one mentioned in the Wi-Fi® section. The device will connect to the website defined in the sketch and print the website's HTML content in the serial monitor. If the sketch ran successfully, the output should look like the image below.
60+
The Arduino Opta has an RJ45 ethernet port with a LED that will indicate the status of the connected cable. The files necessary for using Ethernet with the Arduino Opta are included in the core. To try it out, we can go to **File > Examples** and under **Examples for Opta** we can find the **Ethernet** section. Inside there is an example sketch called **WebClient**. Connect the Ethernet cable to the Arduino Opta and upload the example using the USB-C® cable. This example will function the same way as the one mentioned in the Wi-Fi® section. The device will connect to the website defined in the sketch and print the website's HTML content in the serial monitor. If the sketch ran successfully, the output should look like the image below.
6161

62-
![Running the Ethernet sketch on the Arduino Opta in the Arduino IDE](assets/opta-ethernet.png)
62+
![Running the Ethernet sketch on the Arduino Opta in the Arduino IDE](assets/opta-ethernet.png)
6363

64-
If you want to take a deeper look at what features the **Ethernet** library has to offer, [take a look at the API reference page](https://www.arduino.cc/reference/en/libraries/ethernet/).
64+
If you want to take a deeper look at the features that the **Ethernet** library has to offer, [take a look at the API Ethernet reference page](https://www.arduino.cc/reference/en/libraries/ethernet/).
6565

6666
### Modbus TCP Via Ethernet Port
6767

68-
The Arduino Opta can be configured to use Modbus TCP protocol, which runs a Modbus protocol layered over a TCP/IP stack. Thus the coverage distance is dependent on the capacity of the Ethernet cable. In the case of an industrial environment, a good cable choice could be an RJ45 cable with the category Cat6 or Cat6A allowing a maximum distance of 100 meters.
68+
The Arduino Opta can be configured to use Modbus TCP protocol, which runs a Modbus protocol layered over a TCP/IP stack. Thus the coverage distance is dependent on the capacity of the Ethernet cable. In the case of an industrial environment, a good cable choice could be an RJ45 cable with the category Cat6 or Cat6A, allowing a maximum distance of 100 meters.
6969

7070
### Bluetooth® Low Energy
7171

72-
To use the Bluetooth® Low Energy feature, you will need to download the **ArduinoBLE** library in the Arduino IDE. Go into the **library manager** and search for **ArduinoBLE**. if you can't find it, try sorting by official libraries published by Arduino. Once the ArduinoBLE library is installed, let's try and run a simple example that scans for other Bluetooth® devices within range. The sketch will print the found devices address, local name and the advertised service UUIDs, if present. The example can be found under **File > Examples > ArduinoBLE > Central**, the sketch is called **Scan**. When the sketch is running on the Opta, the output on the serial monitor should look something like the image below.
72+
To use the Bluetooth® Low Energy feature, you will need to download the **ArduinoBLE** library in the Arduino IDE. Go into the **library manager** and search for **ArduinoBLE**. if you can't find it, try sorting by official libraries published by Arduino. Once the ArduinoBLE library is installed, let's try and run a simple example that scans for other Bluetooth® devices within range. The sketch will print the addresses of near devices as well as the local name and the advertised service UUIDs, if present. The example can be found under **File > Examples > ArduinoBLE > Central**, the sketch is called **Scan**. When the sketch is running on the Opta, the output on the serial monitor should look something like the image below.
7373

74-
![Bluetooth® sketch running on the Opta](assets/opta-ble.png)
74+
![Bluetooth® sketch running on the Opta](assets/opta-ble.png)
7575

76-
If you want to take a deeper look at what features the **ArduinoBLE** library has to offer, [take a look at the API reference page](https://www.arduino.cc/reference/en/libraries/arduinoble/).
76+
If you want to take a deeper look at the features that the **ArduinoBLE** library has to offer, [take a look at the API BLE reference page](https://www.arduino.cc/reference/en/libraries/arduinoble/).
7777

7878
## Conclusion
7979

80-
This tutorial has shown an overview of the connectivity features of the Arduino Opta and how to use them. Including how to use the different connectivity features and what libraries are required to make them work. By running all the example sketches mentioned in this tutorial, you can confirm that the connectivity features of your Arduino Opta are ready to be implemented into other more complex solutions.
80+
This tutorial has shown an overview of the connectivity features of the Arduino Opta and how to use them, including how to use the different connectivity protocols and which libraries are required to make them work. By running all the example sketches mentioned in this tutorial, you can confirm that the connectivity features of your Arduino Opta are ready to be implemented into more complex solutions.
8181

8282
### Next Steps
8383

84-
Now that you know how to use the connectivity features of the device, have a look at our other tutorials and try to combine the different features. The Arduino Opta uses the same architecture as the Portanta H7, it could therefore be a good idea to take a look at the Portenta H7 tutorials. Such as the using your [device as a Wi-Fi® access point tutorial](https://docs.arduino.cc/tutorials/portenta-h7/wifi-access-point) or the [Bluetooth® Low Energy connectivity with a phone tutorial](https://docs.arduino.cc/tutorials/portenta-h7/ble-connectivity).
84+
Now that you know how to use the connectivity features of the device, have a look at our other tutorials and try to combine the different features. The Arduino Opta uses the same architecture as the Portenta H7 and therefore, it could be a good idea to take a look at the Portenta H7 tutorials. Such as using your [device](https://docs.arduino.cc/tutorials/portenta-h7/wifi-access-point) as a Wi-Fi® access point tutorial](https://docs.arduino.cc/tutorials/portenta-h7/wifi-access-point) or the [Bluetooth® Low Energy connectivity with a phone tutorial](https://docs.arduino.cc/tutorials/portenta-h7/ble-connectivity).

0 commit comments

Comments
 (0)