Skip to content

[PC-1042] Opta family block on docs page #678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/hardware/07.pro-opta/family.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Opta
description: A secure, easy-to-use micro PLC with Industrial IoT capabilities.
---
Binary file added content/hardware/07.pro-opta/image-480.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/hardware/07.pro-opta/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions content/hardware/07.pro-opta/opta-family/category.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Opta Family
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
software:
- arduino-ide
- arduino-cli
- iot-cloud
- web-editor
56 changes: 56 additions & 0 deletions content/hardware/07.pro-opta/opta-family/opta/features.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<FeatureDescription>

Thanks to its computing power, **Arduino Opta** enables a wide range of real-time control, monitoring and predictive maintenance applications.

It allows professionals to scale up automation projects while taking advantage of the open and widely known Arduino ecosystem.

Quickly put it to work, leveraging the many available software libraries. The onboard secure element ensures over-the-air firmware updates and remote control via the Arduino Cloud or third-party services.

Arduino Opta is available in three variants:
* Opta Lite: on-board Ethernet and USB-C® ports
* Opta RS485: on-board Ethernet and USB-C® ports, plus RS485 connectivity
* Opta WiFi: on-board Ethernet and USB-C® ports, plus RS485 and Wi-Fi/Bluetooth® Low Energy

</FeatureDescription>

<FeatureList>

<Feature title="STM32H747XI dual Cortex®-M7+M4 32bit low power Arm® MCU" image="mcu">

H7's main processor is the dual core STM32H747 including a Cortex® M7 running at 480 MHz and a Cortex® M4 running at 240 MHz. The two cores communicate via a Remote Procedure Call mechanism that allows calling functions on the other processor seamlessly.

<FeatureLink title="Datasheet" url="https://content.arduino.cc/assets/Arduino-Portenta-H7_Datasheet_stm32h747xi.pdf" download/>

</Feature>

<Feature title="Connectivity" image="wifi-bluetooth">

Multiple choices are available for network connectivity, including USB, Ethernet, and Wi-Fi/BLE in addition to industry specific protocols such as RS485.

</Feature>

<Feature title="Industrial temperature range" image="temperature-sensor">

The Arduino Opta has a highly reliable design operating at industrial temperature ranges (-20 °C to +50 °C) thanks to a dual-core architecture that doesn’t require any external cooling.

</Feature>

<Feature title="Programming Languages Supported" image="file-icon">

* Arduino sketch
* IEC-61131-3:
* Ladder (LD)
* Sequential Function Chart(SFC)
* Function Block Diagram (FBD)
* Structured Text (ST)
* Instruction List (IL)

</Feature>

<Feature title="Suitable to DIN Rail" image="configurability">

Thanks to its form factor, it can be attached to a Din Rail mount system, providing a quick access to all the I/O ‘s.

</Feature>

</FeatureList>
551 changes: 551 additions & 0 deletions content/hardware/07.pro-opta/opta-family/opta/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions content/hardware/07.pro-opta/opta-family/opta/product.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: Opta
url_shop: https://store.arduino.cc/pages/opta
core: arduino:mbed_portenta
certifications: [cULus listed, ENEC, CE]
---

The **Arduino Opta** is a secure, easy-to-use **micro PLC** with Industrial IoT capabilities. Designed in partnership with **Finder**, leading industrial and building automation device manufacturer.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is the technical specifications for the Arduino Opta.
40 changes: 40 additions & 0 deletions content/hardware/07.pro-opta/opta-family/opta/tech-specs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
Board:
SKUs:
Arduino® Opta RS485: AFX00001
Arduino® Opta WiFi: AFX00002
Arduino® Opta Lite: AFX00003
Microcontroller:
ID: STM32H747XI Dual ARM® Cortex®
Cortex-M7 core: up to 480 MHz
Cortex-M4 core: up to 240 MHz
Input:
Configurable digital / analog (0-10V) input: 8
Actuators:
Relays (250 V AC - 10 A): 4
Connectivity:
USB Programming Port: Yes
Ethernet:
TCP/IP: Yes
ModBus TCP: Yes
Bluetooth® Low Energy: Opta WiFi
Wi-Fi: Opta WiFi
Communication protocols:
RS485: Opta RS485 & Opta WiFi
Programmable Serial ports: RS485
Power:
Input voltage: 12-24V DC
Output voltage: 24V
Memory:
SDRAM: 1 MB
Onboard flash memory: 2MB internal + 16MB Flash QSPI
Dimensions:
Weight: 210g
Width: 69 mm
Length: 80 mm
Height: 90 mm
IP Protection: IP20
RTC: ~10days, NTP sync through ethernet
Secure element: ATECC608B
Programming:
Arduino programming language: Via Arduino IDEs, Arduino CLI, Arduino Web Editor
IEC-61131-3 as option: Ladder Diagram (LD), Function Block Diagram (FBD), Sequential Function Chart (SFC), Structured Text (ST), Instruction List (IL)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
title: 'Using BLE, WiFi and Ethernet on the Arduino Opta'
description: "Learn how to make use of the Arduino Opta's connectivity features"
difficulty: beginner
tags:
- Wi-Fi®
- Ethernet
- Bluetooth®
- Connectivity
author: 'Benjamin Dannegård'
libraries:
- name: Arduino BLE
url: https://www.arduino.cc/reference/en/libraries/arduinoble/
software:
- ide-v1
- ide-v2
- web-editor
hardware:
- hardware/05.pro-solutions/solutions-and-kits/opta
---

## Overview

The Arduino® Opta is a powerful 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®. In this tutorial we will go through how to use these features with the Arduino IDE and the Arduino Opta.

## Goals

- Learn how to use Bluetooth® Low Energy on the Opta
- Learn how to use Wi-Fi® on the Opta
- Learn how to use Ethernet on the Opta

### Required Hardware and Software

- USB-C cable (either USB-C to USB-A or USB-C to USB-C)
- Wi-Fi Access Point with Internet Access
- Arduino Opta
- Ethernet cable

## Instructions

Using the Arduino IDE we can easily work with these peripherals. Some features have their own library that we can make use of. First we need to install the appropriate core for the Arduino Opta, go into the **Board manager** and search for **Opta Mbed core**. When the latests version of the core is installed we can move on to trying out the connectivity options.

### Wi-Fi®

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

![Running WiFi sketch on the Opta in the Arduino IDE](assets/opta-wifi.png)

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/).

### Ethernet

The Arduino Opta has a RJ45 ethernet port with a LED that will indicate the status of the connected cable. The files necessary for using Ethernet on the Opta are included in the core. To try it out we can go to **File > Examples**, under **Examples for Opta** we can find the **Ethernet** section, inside there is an example sketch **WebClient**. Connect the Ethernet cable to the Arduino Opta then try 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 stated in the sketch and print the websites HTML content in the serial monitor. If the sketch ran successfully the output should look like the image below.

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

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/).

### Modbus TCP Via Ethernet Port

The Arduino Opta uses the RS485 protocol for Modbus communication, enabling Modbus TCP via the Ethernet port. Modbus TCP is a variant of the Modbus family of simple, vendor-neutral communication protocols intended for supervision and control of automation equipment. Specifically, it covers the use of Modbus messaging in an intranet or internet environment using the TCP/IP protocols. The most common use of the protocols at this time is for Ethernet attachment of PLCs, I/O modules and gateways to other simple field buses or I/O networks.

### Bluetooth® Low Energy

To use the Bluetooth® feature, download the **ArduinoBLE** library in the Arduino IDE. Go into the **library manager** and search for **ArduinoBLE**, if you can't find it try to sort by official libraries published by Arduino. Let's now try and run a simple example sketch from the ArduinoBLE library, a sketch that will scan for other Bluetooth® devices within range. The sketch will then print the found devices address, local name and the advertised service UUIDs, if present. You can find the example 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.

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

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/).

## Conclusion

Now you have a better overview of the connectivity features on the Arduino Opta and how to use them. We went through how to use the different connectivity features and what libraries are required for them. By running all the example sketches on our device we have made sure that the modules are all working and everything is up to date.

### Next Steps

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 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).
Loading