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
Copy file name to clipboardExpand all lines: content/hardware/07.opta/opta-family/opta/tutorials/01.user-manual/content.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3150,7 +3150,7 @@ Setting DAC output to 11 V on expansion n. 0
3150
3150
3151
3151
#### Analog RTD Input Mode
3152
3152
3153
-
The Analog Expansion input channels can be used for temperature metering with **PT100**or **PT1000**RTDs.
3153
+
The Analog Expansion input channels can be used for temperature metering with **PT100** RTDs.
3154
3154
3155
3155
|**Characteristics**|**Details**|
3156
3156
|:-------------------:|:-----------:|
@@ -3176,7 +3176,7 @@ To perform measurements of an input terminal configured as RTD use the built-in
3176
3176
float value = exp.getRtd(<input>); // this returns the resistive value measured in the input in ohms
3177
3177
```
3178
3178
3179
-
For the following example a 2 wires **PT1000** will be used connected to **I1**. The sketch below will let you measure the resistance and convert it to a temperature value. This sketch is based on the built-in example found in **File > Examples > Arduino_Opta_Blueprint > Analog > RTD**:
3179
+
For the following example a 2 wires **PT100** will be used connected to **I1**. The sketch below will let you measure the resistance and convert it to a temperature value. This sketch is based on the built-in example found in **File > Examples > Arduino_Opta_Blueprint > Analog > RTD**:
3180
3180
3181
3181
```arduino
3182
3182
#include "OptaBlue.h"
@@ -3246,7 +3246,7 @@ void setup() {
3246
3246
AnalogExpansion::beginChannelAsRtd(OptaController, i, // the device
@@ -3301,18 +3301,18 @@ The expansion channels are configured as **RTD inputs** using the function `begi
3301
3301
AnalogExpansion::beginChannelAsRtd(OptaController, i, // the device
3302
3302
k, // the output channel you are using
3303
3303
false, // use 3 wire RTD
3304
-
0.2); // current used on RTD in mA
3304
+
0.8); // current used on RTD in mA
3305
3305
```
3306
3306
3307
-
The current parameter in the function above will depend on your RTD type, study your sensor datasheet to find the more suitable for it, in this case, the **PT1000** used recommends a **0.2 mA** current.
3307
+
The current parameter in the function above will depend on your RTD type, study your sensor datasheet to find the more suitable for it, in this case, the **PT100** used recommends a **0.8 mA** current.
3308
3308
3309
3309
The function `optaAnalogTask()` reads all the RTDs connected and converts their resistive value to a temperature.
3310
3310
3311
3311
After the Opta™ controller is programmed with the example sketch, open the Arduino IDE Serial Monitor and you will see each input reading as follows:
0 commit comments