Skip to content

Commit ba4d5c5

Browse files
Initial commit
Changing values of maximum input voltage from 12 to 24v on Opta.
1 parent 9e73dd5 commit ba4d5c5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Arduino Opta® is designed for industrial standard machinery control as a PLC wi
287287
<tbody>
288288
<tr>
289289
<td style="vertical-align: top;">Analog Input voltage</td>
290-
<td>0...10V </td>
290+
<td>0...24V </td>
291291
</tr>
292292
<tr>
293293
<td style="vertical-align: top;">Analog Input resolution</td>
@@ -447,7 +447,7 @@ Arduino Opta® is designed for industrial standard machinery control as a PLC wi
447447
| Item | Feature | Item | Feature |
448448
|------|---------------------------------------------------------------------|------|---------------------------------------------------------------------|
449449
| 3A | Power Supply Terminals 12...24 VDC | 3H | Ethernet Port Status LEDs |
450-
| 3B | I1...I8 digital/analog input terminals (0-10V) configurable via IDE | 3I | Label Holder |
450+
| 3B | I1...I8 digital/analog input terminals (0-24V) configurable via IDE | 3I | Label Holder |
451451
| 3C | Reset Button | 3J | RS-485 terminal block (for Modbus RTU or proprietary communication) |
452452
| 3D | User Programmable button | 3K | USB-C® for programming and data logging |
453453
| 3E | Status LEDs 1...4 (User Programmable) | 3M | Ethernet port |

content/hardware/07.opta/opta-family/opta/tech-specs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Microcontroller:
88
Cortex-M7 core: Up to 480 MHz
99
Cortex-M4 core: Up to 240 MHz
1010
Input:
11-
Configurable digital / analog (0-10V) input: 8
11+
Configurable digital / analog (0-24V) inputs: 8
1212
Relays:
1313
Nº of relays: 4
1414
Type: Normally Open (NO)

content/hardware/07.opta/opta-family/opta/tutorials/getting-started/content.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,14 +302,14 @@ Opta™ has 8 input pins that can be programmed to be used as analog or digital.
302302
| I7 | A6 | PIN_A6 |
303303
| I8 | A7 | PIN_A7 |
304304

305-
The 8 input pins can be used as digital (having the logical values of LOW or HIGH) or as analog inputs (within a range from 0 to 10V).
305+
The 8 input pins can be used as digital (having the logical values of LOW or HIGH) or as analog inputs (within a range from 0 to 24V).
306306

307307
* To use them as digital inputs, add the Arduino command `pinMode(pinName, INPUT);` inside the `setup()`.
308308
* To use them as analog inputs, add the command `analogReadResolution();` with the bit resolution that you want to use.
309309

310310
![Analog inputs on the Opta™](assets/opta-analog-inputs.svg)
311311

312-
Now let's try a sketch that will read the analog inputs on the Opta™. The inputs can operate in a range between 0 and 10V.
312+
Now let's try a sketch that will read the analog inputs on the Opta™. The inputs can operate in a range between 0 and 24V.
313313

314314
The maximum voltage managed by the microcontroller is 3V. This maximum voltage is important to calculate the input voltage using it in conjunction with the resolution factor of the ADCs. That resolution is configured inside the program within the range between 12 bits (4095) and 16 bits (65535).
315315

@@ -370,7 +370,7 @@ void loop() {
370370

371371
Once you have uploaded the code, open the serial monitor to see the values read in each analog input. If you have connected a device with an analog voltage value in I1, I2, and/or I3 you will see the voltage or analog value of each signal. In case you did not connect anything to the analog inputs, you will be able to observe the values oscillate around 0V because the pins are floating.
372372

373-
You may notice from the output values that when the maximum value reaches 10V, the corresponding numerical value is not 4095 as the maximum value with 12 bits resolution should be. This is due to the precautional margin taken on the maximum voltage level applied to the inputs to preserve the integrity of the microcontroller.
373+
You may notice from the output values that when the maximum value reaches 24V, the corresponding numerical value is not 4095 as the maximum value with 12 bits resolution should be. This is due to the precautional margin taken on the maximum voltage level applied to the inputs to preserve the integrity of the microcontroller.
374374

375375
### Connecting Opta™ to the Cloud
376376

0 commit comments

Comments
 (0)