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
- 3 analog inputs for PT100/J/K temperature probes
21
+
- 3 analog inputs for PT100 and TC J/K/T temperature probes
22
22
- 3 analog inputs for 4-20mA/0-10V/NTC signals
23
23
24
24
- Manages output signals, including:
@@ -81,6 +81,7 @@ void loop() {
81
81
-**[RTC_Alarm](../examples/RTC_Alarm):** This example demonstrates how to set up and utilize RTC alarms.
82
82
-**[Temp_probes_RTD](../examples/Temp_probes_RTD):** This example demonstrates the temperature probe readings using RTD sensors.
83
83
-**[Temp_probes_Thermocouples](../examples/Temp_probes_Thermocouples):** This example demonstrates the temperature probe readings using thermocouple sensors.
84
+
-**[Temp_probes_Mixed](../examples/Temp_probes_Mixed):** This example demonstrates the temperature probe readings using both thermocouple and RTD sensors at the same time.
84
85
-**[USB_host](../examples/USB_host):** This example shows the USB host functionality.
Copy file name to clipboardExpand all lines: docs/api.md
+21-3
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
`class`[`RTDTempProbeClass`](#class-rtdtempprobeclass) | Class for managing the Resistance Temperature Detector (RTD) temperature sensor connector of the Portenta Machine Control.
14
14
`class`[`RtcControllerClass`](#class-rtccontrollerclass) | Class for controlling the PCF8563T RTC of the Portenta Machine Control.
15
15
`class`[`TCTempProbeClass`](#class-tctempprobeclass) | Class for managing the Thermocouple (TC) temperature sensor connector of the Portenta Machine Control.
16
+
`class`[`TempProbeClass`](#class-tempprobeclass) | Class for managing the temperature sensor connector in mixed configurations of the Portenta Machine Control.
16
17
`class`[`USBClass`](#class-usbclass) | Class for managing the USB functionality of the Portenta Machine Control.
17
18
18
19
# class `AnalogInClass`
@@ -128,11 +129,12 @@ Class for managing RTD temperature sensor inputs of the Portenta Machine Control
`public `[`~RTDTempProbeClass`](#public-rtdtempprobeclass)`()` | Destruct the RTDTempProbeClass object.
133
-
`public bool`[`begin`](#public-bool-beginuint8_t-io_address--three_wire)`(uint8_t io_address)` | Initialize the RTDTempProbeClass with the specified I/O address.
134
+
`public bool`[`begin`](#public-bool-beginuint8_t-io_address--probe_rtd_3w)`(uint8_t io_address)` | Initialize the RTDTempProbeClass with the specified I/O address.
134
135
`public void`[`end`](#public-void-end)`()` | Disable the temperature sensors and release any resources.
135
136
`public void`[`selectChannel`](#public-void-selectchannelint-channel)`(int channel)` | Select the input channel to be read (3 channels available).
137
+
`public float`[`readTemperature`](#public-float-readTemperaturefloat-rtdnominal-float-refresistor)`(float RTDnominal, float refResistor)` | Read temperature value of the connected RTD.
136
138
137
139
# class `RtcControllerClass`
138
140
Class for controlling the PCF8563T RTC.
@@ -151,11 +153,27 @@ Class for managing thermocouples temperature sensor of the Portenta Machine Cont
`public `[`~TCTempProbeClass`](#public-tctempprobeclass)`()` | Destruct the TCTempProbeClass object.
156
158
`public bool`[`begin`](#public-bool-begin)`()` | Initialize the TCTempProbeClass.
157
159
`public void`[`end`](#public-void-end)`()` | Disable the temperature sensors and release any resources.
158
160
`public void`[`selectChannel`](#public-void-selectchannelint-channel)`(int channel)` | Select the input channel to be read (3 channels available).
161
+
`public float`[`readTemperature`](#public-float-readTemperatureuint8_t-type--probe_tc_k)`(uint8_t type)` | Read temperature value of the connected thermocouple.
162
+
163
+
# class `TempProbeClass`
164
+
Class for managing Resistance Temperature Detector (RTD) and Thermocouple (TC) temperature sensor connectors of the Portenta Machine Control.
`public `[`~TempProbeClass`](#public-tctempprobeclass)`()` | Destruct the TCTempProbeClass object.
172
+
`public bool`[`beginTC`](#public-bool-begintc)`()` | Initialize the TempProbeClass for TC measurements.
173
+
`public bool`[`beginRTD`](#public-bool-beginrtd)`()` | Initialize the TempProbeClass for RTD measurements.
174
+
`public void`[`endTC`](#public-void-endtc)`()` | Disable the TC temperature sensors and release any resources.
175
+
`public void`[`endRTD`](#public-void-endrtd)`()` | Disable the temperature sensors and release any resources.
176
+
`public void`[`selectChannel`](#public-void-selectchanneluint8_t-channel-uint8_t-uint8_t-probetype)`(uint8_t channel, uint8_t probeType)` | Select the input channel and probe type to be read (3 channels available).
159
177
160
178
# class `USBClass`
161
179
Class for managing the USB functionality of the Portenta Machine Control.
0 commit comments