Skip to content

Commit 3cf4cd3

Browse files
committed
current sensor 2.0
1 parent c29e9e8 commit 3cf4cd3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
1.2 MB
Loading

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3248,7 +3248,7 @@ Analog Expansion n. 0
32483248
- ch 6 -> Current 0.00 mA
32493249
- ch 7 -> Current 0.00 mA
32503250
```
3251-
![Analog current input wiring example](assets/analog-4-20-inputs.png)
3251+
![Analog current input wiring example (externally powered)](assets/analog-4-20-inputs.png)
32523252

32533253
There is another approach for interfacing 4-20 mA sensors that consists of defining the channel as a **voltage DAC** and adding a **current ADC** to the same channel, connecting the sensor to the channel and measuring the current of the loop. Use the following example sketch instead:
32543254

@@ -3385,7 +3385,9 @@ The key section of the example from above is in the `setup()` function, specific
33853385

33863386
First, the channel is initialized as a voltage DAC with the "limit current" parameter disabled, a voltage is set in the output that will power the current loop and then a current ADC is added to the same channel, this way we can use the `pinCurrent()` function to measure the current output of the sensor.
33873387

3388+
With this last configuration, we can directly connect the 4-20 mA sensor to the desired channel. Look at the following example for reference:
33883389

3390+
![Analog current input wiring example (internally powered)](assets/analog-4-20-in-out.png)
33893391

33903392
#### Analog RTD Input Mode
33913393

0 commit comments

Comments
 (0)