You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PC-1755] F.A.Q Links and Features Item added. Small typos and fixes. (#2028)
* F.A.Q Links and Features Item added. Small typos and fixes.
* Apply suggestions from code review
---------
Co-authored-by: jcarolinares <[email protected]>
Multiple choices are available for network connectivity, including USB, Ethernet, and Wi-Fi®/Bluetooth® Low Energy in addition to industryspecific protocols such as RS-485.
28
+
Multiple choices are available for network connectivity, including USB, Ethernet, and Wi-Fi®/Bluetooth® Low Energy in addition to industry-specific protocols such as RS-485.
29
29
30
30
</Feature>
31
31
32
+
32
33
<Featuretitle="Industrial temperature range"image="temperature-sensor">
33
34
34
35
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.
35
36
36
37
</Feature>
37
38
38
-
<Featuretitle="Programming Languages Supported"image="file-icon">
39
+
40
+
<Featuretitle="Suitable to DIN rail"image="configurability">
41
+
42
+
Thanks to its form factor, it can be attached to a Din Rail mount system, providing quick access to all the I/O ‘s.
43
+
44
+
</Feature>
45
+
46
+
<Featuretitle="Programming Languages Supported"image="power">
39
47
40
48
* Arduino sketch
41
49
* IEC-61131-3:
42
50
* Ladder (LD)
43
-
* Sequential Function Chart(SFC)
51
+
* Sequential Function Chart(SFC)
44
52
* Function Block Diagram (FBD)
45
53
* Structured Text (ST)
46
54
* Instruction List (IL)
47
55
48
56
</Feature>
49
57
50
-
<Featuretitle="Suitable to DIN Rail"image="configurability">
Copy file name to clipboardExpand all lines: content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md
+19-12
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ The IEC 61131-3 programming languages include:
104
104
105
105
In the PLC IDE, you can mix PLC programming with standard Arduino sketches within the integrated sketch editor and share variables between the two environments. You can also automate tasks in your software applications; this gives you control over scheduling and repetition, enhancing the reliability and efficiency of your project. Moreover, communication protocols such as Modbus RTU and Modbus TCP can be managed effortlessly using integrated no-code fieldbus configurators.
106
106
107
-
Check out the following resources that will show you how to start with the Arduino PLC IDE and use use IEC 61131-3 programming languages with Opta™:
107
+
Check out the following resources that will show you how to start with the Arduino PLC IDE and how to use IEC 61131-3 programming languages with Opta™:
108
108
109
109
-[Arduino PLC IDE download page](https://www.arduino.cc/pro/software-plc-ide)
110
110
-[Arduino PLC IDE and Opta™ tutorials](https://docs.arduino.cc/software/plc-ide)
@@ -229,7 +229,7 @@ The analog input terminals can be used through the built-in functions of the [Ar
229
229
230
230
- Add the `analogReadResolution()` instruction in your sketch's `setup()` function.
231
231
232
-
The sketch below shows how to monitor analog voltages on Opta's input terminals `I1`, `I2`, and `I3`. It initializes a serial connection, takes readings from each defined terminal, converts those readings into voltage based on a 12-bit resolution, and outputs these voltage values through the Arduino IDE's Serial Monitor. The readings are looped every second, allowing you to monitor changes real-time changes.
232
+
The sketch below shows how to monitor analog voltages on Opta's input terminals `I1`, `I2`, and `I3`. It initializes a serial connection, takes readings from each defined terminal, converts those readings into voltage based on a 12-bit resolution, and outputs these voltage values through the Arduino IDE's Serial Monitor. The readings are looped every second, allowing you to monitor real-time changes.
233
233
234
234
```arduino
235
235
/**
@@ -454,15 +454,15 @@ void loop() {
454
454
455
455
You should see the green LED on top of your device's RESET button turn on for one second, then off for one second, repeatedly.
456
456
457
-

457
+

458
458
459
459
## User Button
460
460
461
-
All Opta™ variants devices have an onboard user-programmable button; this user button is mapped as `BTN_USER` in the Opta™ core. The user button has an internal pull-up resistor, meaning its default value (while not being pressed) is `HIGH`.
461
+
All Opta™ variants devices have an onboard user-programmable button; this user button is mapped as `BTN_USER` in the Opta™ core. The user button has an internal pull-up resistor, meaning its default value (while not being pressed) is `HIGH`.
462
462
463
463

464
464
465
-
The user-programmable button can be used through the built-in functions of the Arduino programming language.
465
+
The user-programmable button can be used through the built-in functions of the Arduino programming language.
466
466
467
467
To use the user button, first define it as a digital input:
468
468
@@ -563,6 +563,7 @@ void changeLights() {
563
563
564
564
The sketch initializes the state of the user's LEDs and button, along with variables for button debouncing. This sketch continuously reads the state of the user button, debounces the button input to avoid false triggering due to electrical noise, and increments a counter each time the button is pressed. It then passes the control to the `changeLights()` function. This function first turns off all LEDs and then, depending on the value of the counter, turns on the corresponding LED. With each button press, the counter increments, and a different LED lights up, cycling back to the beginning after the final LED.
565
565
566
+
566
567
You should now be able to control the status LED sequence by pressing Opta's programmable user button.
567
568
568
569
@@ -1191,7 +1192,7 @@ You should be able now to connect to your Opta™ using a central device. The Bl
1191
1192
1192
1193
## Interrupts
1193
1194
1194
-
**Opta's analog/digital programmable inputs and user-programmable button are interrupt capable**. An interrupt is a signal that prompts Opta's microcontroller to stop its current execution and start executing a special routine known as the Interrupt Service Routine (ISR). Once the ISR finishes, the microcontroller resumes executing its previous routine.
1195
+
**Opta's analog/digital programmable inputs and user-programmable **button are **interrupt-capable. An interrupt is a signal that prompts Opta's microcontroller to stop its current execution and start executing a special routine known as the Interrupt Service Routine (ISR). Once the ISR finishes, the microcontroller resumes executing its previous routine.
1195
1196
1196
1197
Interrupts are particularly useful when reacting instantly to an external event, such as a button press or a sensor signal. Without interrupts, you would have to constantly poll the status of a button or a sensor in the main loop of your running sketch. With interrupts, you can let your Opta's microcontroller do other tasks and only react when a desired event occurs.
1197
1198
@@ -1305,12 +1306,12 @@ Opta™ device's (all variants) microcontroller (the STM32H747XI) features a low
1305
1306
1306
1307
Some of the key capabilities of Opta's onboard RTC are the following:
1307
1308
1308
-
- Calendar with subsecond, seconds, minutes, hours (12 or 24 formats), week day, date, month, and years in BCD (binary-coded decimal) format.
1309
+
- Calendar with subsecond, seconds, minutes, hours (12 or 24 formats), weekday, date, month, and years in BCD (binary-coded decimal) format.
1309
1310
- Automatic correction for 28, 29 (leap year), 30, and 31 days of the month.
1310
1311
- Two programmable alarms.
1311
1312
- Timestamp feature, which can be used to save the calendar content.
1312
1313
1313
-
The `Arduino Mbed OS Opta Boards` core has built-in libraries that let you use the device's onboard RTC, the `WiFi`, and `mbed_mktime` libraries; let's walk through an example code demonstrating some of the module's capabilities. The sketch below connects an Opta™ device to a Wi-Fi® network, synchronizes its onboard RTC with a Network Time Protocol (NTP) server using the [`NTPClient` library](https://www.arduino.cc/reference/en/libraries/ntpclient/), and prints the current RTC time to the Arduino IDE's Serial Monitor every 5 seconds. Install the `NTPClient` library using the Arduino IDE's Library Manager.
1314
+
The `Arduino Mbed OS Opta Boards` core has built-in libraries that let you use the device's onboard RTC, the `WiFi`, and `mbed_mktime` libraries; let's walk through an example code demonstrating some of the module's capabilities. The sketch below connects an Opta™ device to a Wi-Fi® network, synchronizes its onboard RTC with a Network Time Protocol (NTP) server using the [`NTPClient` library](https://www.arduino.cc/reference/en/libraries/ntpclient/), and prints the current RTC time to the Arduino IDE's Serial Monitor every 5 seconds. Install the `NTPClient` library using the Arduino IDE's Library Manager.
1314
1315
1315
1316
You need to create first a header file named `arduino_secrets.h` to store your Wi-Fi® network credentials. To do this, add a new tab by clicking the ellipsis (the three horizontal dots) button on the top right of the Arduino IDE 2.
Navigate into **Dashboards** again, your board should connect to the Wi-Fi® network or via Ethernet interface you configured before (you can follow the connection process with the online editorintegrated Serial Monitor). Your board's STATUS LED 1 (`LED_D0`) should light on or off when the position of the switch changes.
1695
+
Navigate into **Dashboards** again, your board should connect to the Wi-Fi® network or via the Ethernet interface you configured before (you can follow the connection process with the online editor-integrated Serial Monitor). Your board's STATUS LED 1 (`LED_D0`) should light on or off when the position of the switch changes.
1695
1696
1696
-
To learn more about Opta™ and the Arduino IoT Cloud, check out the following resources that can help you learning about the Arduino IoT Cloud and Opta™:
1697
+
To learn more about Opta™ and the Arduino IoT Cloud, check out the following resources that can help you learn about the Arduino IoT Cloud and Opta™:
-[Using PLC IDE With Arduino® IoT Cloud](https://docs.arduino.cc/tutorials/opta/plc-ide-cloud-support)
@@ -1703,7 +1704,7 @@ To learn more about Opta™ and the Arduino IoT Cloud, check out the following r
1703
1704
1704
1705
Arduino Opta™ Digital Expansions are designed to multiply your Opta™ micro PLC capabilities with the addition of 16 programmable inputs for connecting your industrial sensors and 8 more relays to operate your machines. Designed in partnership with leading relay manufacturer Finder®, it allows professionals to scale up industrial and building automation projects while taking advantage of the Arduino ecosystem.
1705
1706
1706
-
The Opta™ Digital Expansions come in two variants:
1707
+
The Opta™ Digital Expansions come in two variants:
1707
1708
1708
1709
*[The Arduino Opta® Ext D1608E (AFX00005)](https://store.arduino.cc/products/opta-ext-d1608e) with Electromechanical Relays.
1709
1710
*[The Arduino Opta® Ext D1608S (AFX00006)](https://store.arduino.cc/products/opta-ext-d1608s) with Solid State Relays.
@@ -2589,6 +2590,12 @@ Explore our Help Center, which offers a comprehensive collection of articles and
2589
2590
2590
2591
-[Opta™ help center page](https://support.arduino.cc/hc/en-us/categories/360001637274-Hardware-Support)
2591
2592
2593
+
### F.A.Q
2594
+
2595
+
Inside the Arduino Help Center you will find a Frequently Asked Questions (F.A.Q.) document with answers to the most commonly asked questions about this product. This resource is designed to address immediate questions and common concerns. If your question is not covered or require further personalized assistance, please do not hesitate to contact us.
Join our community forum to connect with other Opta™ devices users, share your experiences, and ask questions. The Forum is an excellent place to learn from others, discuss issues, and discover new ideas and projects related to Opta™.
@@ -2599,4 +2606,4 @@ Join our community forum to connect with other Opta™ devices users, share your
2599
2606
2600
2607
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 Opta™ devices.
2601
2608
2602
-
-[Contact us page](https://www.arduino.cc/en/contact-us/)
2609
+
-[Contact us page](https://www.arduino.cc/en/contact-us/)
0 commit comments