Skip to content

Commit 0c62e75

Browse files
committed
image update
1 parent 5a4199e commit 0c62e75

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed
1.2 MB
Loading

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3018,8 +3018,8 @@ The expansion channels are configured as **analog voltage inputs** using the fun
30183018

30193019
```arduino
30203020
AnalogExpansion::beginChannelAsAdc(OptaController, // the expansion object
3021-
i, // the device (connected expansion index from 0 to 5)
3022-
k, // the output channel you are using (0 to 7)
3021+
i, // the device (connected expansion index from 0 to 5)
3022+
k, // the output channel you are using (0 to 7)
30233023
OA_VOLTAGE_ADC, // adc type (voltage input)
30243024
true, // enable pull down
30253025
false, // disable rejection
@@ -3212,8 +3212,8 @@ The expansion channels are configured as **analog current inputs** using the fun
32123212

32133213
```arduino
32143214
AnalogExpansion::beginChannelAsAdc(OptaController, // the expansion object
3215-
i, // the device (connected expansion index from 0 to 5)
3216-
k, // the output channel you are using (0 to 7)
3215+
i, // the device (connected expansion index from 0 to 5)
3216+
k, // the output channel you are using (0 to 7)
32173217
OA_CURRENT_ADC, // adc type (voltage input)
32183218
false, // enable pull down
32193219
false, // disable rejection
@@ -3226,16 +3226,22 @@ After the Opta™ controller is programmed with the example sketch, open the Ard
32263226

32273227
```
32283228
Analog Expansion n. 0
3229-
- ch 0 -> Current 0.00 mA
3229+
- ch 0 -> Current 18.20 mA
32303230
- ch 1 -> Current 0.00 mA
32313231
- ch 2 -> Current 0.00 mA
32323232
- ch 3 -> Current 0.00 mA
32333233
- ch 4 -> Current 0.00 mA
3234-
- ch 5 -> Current 18.20 mA
3234+
- ch 5 -> Current 0.00 mA
32353235
- ch 6 -> Current 0.00 mA
32363236
- ch 7 -> Current 0.00 mA
32373237
```
3238-
![Analog current input wiring example](assets/volt-in-a.png)
3238+
![Analog current input wiring example](assets/analog-4-20-inputs.png)
3239+
3240+
There is another approach for interfacing 4-20 mA sensors that consists of defining the channel as a voltage output, connecting the sensor to the channel and measuring the current of the loop. Use the following example sketch instead:
3241+
3242+
```arduino
3243+
```
3244+
32393245

32403246
#### Analog RTD Input Mode
32413247

0 commit comments

Comments
 (0)