# Detailed description of GET\_TEMP\_SPECIAL(3A)

OUT

| 07 | 11 | 3A | GRP | ID | ID TO | CRC |
| -- | -- | -- | --- | -- | ----- | --- |

IN

| 13 | 10 | 4A | GRP | ID | ID TO | CRC | Sensor Type | New Value | T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | CRC |
| -- | -- | -- | --- | -- | ----- | --- | ----------- | --------- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --- |

&#x20;

*NOTE*

Command 3C should be used for querying sensors on indexes greater than 0.&#x20;

The command 3A shall still be available for all old and new sensor types and will return information for the sensor on index 0.

&#x20;

## Parameters:

<table data-header-hidden><thead><tr><th width="141"></th><th width="209"></th><th></th></tr></thead><tbody><tr><td>Sensor Type</td><td><p>AB – Dallas temp sensor DS1821</p><p>10 – Dallas temp sensor DS18S20</p><p>28 – Dallas temp sensor DS18B20</p><p>64 – PT100 temp.</p><p>65 – PT1000 temp.</p><p>53 – SHT71</p></td><td> </td></tr><tr><td>New value</td><td><p>Status of value</p><p>00 New</p><p>01…FF Old</p></td><td> </td></tr><tr><td>T1</td><td>Depending on sensor</td><td> </td></tr><tr><td>T2</td><td>Depending on sensor</td><td> </td></tr><tr><td>T3</td><td>Depending on sensor</td><td> </td></tr><tr><td>T4</td><td>Depending on sensor</td><td> </td></tr><tr><td>T5</td><td>Depending on sensor</td><td> </td></tr><tr><td>T6</td><td>Depending on sensor</td><td> </td></tr><tr><td>T7</td><td>Depending on sensor</td><td> </td></tr><tr><td>T8</td><td>Depending on sensor</td><td> </td></tr><tr><td>T9</td><td>Depending on sensor</td><td> </td></tr></tbody></table>

### &#x20;10 - (DS18S20) S\_INX=0

<table data-header-hidden><thead><tr><th width="139"></th><th width="213"></th><th></th></tr></thead><tbody><tr><td>T1</td><td>TEMP</td><td>Temperature high</td></tr><tr><td>T2</td><td>TEMP</td><td>Temperature low</td></tr><tr><td>T3</td><td>NA</td><td>Not in use</td></tr><tr><td>T4</td><td>CNT R_1</td><td>Counter remain low</td></tr><tr><td>T5</td><td>NA</td><td>Not in use</td></tr><tr><td>T6</td><td>CNT PD_1</td><td>Counter per degree low</td></tr><tr><td>T7</td><td>S CAL</td><td>Status of calibration FF done, 00 not calibrated.</td></tr><tr><td>T8</td><td>CAL0</td><td>Calibration value high</td></tr><tr><td>T9</td><td>CAL1</td><td>Calibration value low</td></tr></tbody></table>

### &#x20;28 – (DS18B20) S\_INX=0

<table data-header-hidden><thead><tr><th width="135"></th><th width="213"></th><th></th></tr></thead><tbody><tr><td>T1</td><td>TEMP</td><td>Temperature high (upper 4 bits of temperature)</td></tr><tr><td>T2</td><td>TEMP</td><td>Temperature low  (lower 8 bits of temperature)</td></tr><tr><td>T3</td><td>NA</td><td>Not in use</td></tr><tr><td>T4</td><td>NA</td><td>Not in use</td></tr><tr><td>T5</td><td>NA</td><td>Not in use</td></tr><tr><td>T6</td><td>NA</td><td>Not in use</td></tr><tr><td>T7</td><td>S CAL</td><td>Status of calibration FF done, 00 not calibrated.</td></tr><tr><td>T8</td><td>CAL0</td><td>Calibration value high</td></tr><tr><td>T9</td><td>CAL1</td><td>Calibration value low</td></tr></tbody></table>

(See DS18B20 datasheet for information on temperature format)

### &#x20;53 – (SHT71) S\_INX=0

<table data-header-hidden><thead><tr><th width="135"></th><th width="212"></th><th></th></tr></thead><tbody><tr><td>T1</td><td>HUM</td><td>Humidity high</td></tr><tr><td>T2</td><td>HUM</td><td>Humidity low</td></tr><tr><td>T3</td><td>TEMP</td><td>Temperature high</td></tr><tr><td>T4</td><td>TEMP</td><td>Temperature low</td></tr><tr><td>T5</td><td>NA</td><td>Not in use</td></tr><tr><td>T6</td><td>NA</td><td>Not in use</td></tr><tr><td>T7</td><td>S CAL</td><td>Status of calibration FF done, 00 not calibrated.</td></tr><tr><td>T8</td><td>CAL0</td><td>Calibration value high</td></tr><tr><td>T9</td><td>CAL1</td><td>Calibration value low</td></tr></tbody></table>

### &#x20;53 – (SHT71) S\_INX=1

<table data-header-hidden><thead><tr><th width="134"></th><th width="212"></th><th></th></tr></thead><tbody><tr><td>T1</td><td>TEMP</td><td>Temperature high</td></tr><tr><td>T2</td><td>TEMP</td><td>Temperature low</td></tr><tr><td>T3</td><td>NA</td><td>Not in use</td></tr><tr><td>T4</td><td>NA</td><td>Not in use</td></tr><tr><td>T5</td><td>NA</td><td>Not in use</td></tr><tr><td>T6</td><td>NA</td><td>Not in use</td></tr><tr><td>T7</td><td>S CAL</td><td>Status of calibration FF done, 00 not calibrated.</td></tr><tr><td>T8</td><td>CAL0</td><td>Calibration value high</td></tr><tr><td>T9</td><td>CAL1</td><td>Calibration value low</td></tr></tbody></table>

### &#x20;64 or 65 - (Pt100/1000) S\_INX=0

<table data-header-hidden><thead><tr><th width="132"></th><th width="212"></th><th></th></tr></thead><tbody><tr><td>T1</td><td>ADC_HI_BYTE</td><td>Raw ADC reading high</td></tr><tr><td>T2</td><td>ADC_LO_BYTE</td><td>Raw ADC reading low</td></tr><tr><td>T3</td><td>NA</td><td>Not used</td></tr><tr><td>T4</td><td>NA</td><td>Not used</td></tr><tr><td>T5</td><td>NA</td><td>Not used</td></tr><tr><td>T6</td><td>NA</td><td>Not used</td></tr><tr><td>T7</td><td>S CAL</td><td>Status of calibration FF done, 00 not calibrated.</td></tr><tr><td>T8</td><td>CAL0</td><td>Calibration value high</td></tr><tr><td>T9</td><td>CAL1</td><td>Calibration value low</td></tr></tbody></table>

### &#x20;AB - (DS1821) S\_INX=0

<table data-header-hidden><thead><tr><th width="130"></th><th width="211"></th><th></th></tr></thead><tbody><tr><td>T1</td><td>TEMP</td><td>Temperature high</td></tr><tr><td>T2</td><td>TEMP</td><td>Temperature low</td></tr><tr><td>T3</td><td>CNT R_0</td><td>Counter remain high</td></tr><tr><td>T4</td><td>CNT R_1</td><td>Counter remain low</td></tr><tr><td>T5</td><td>CNT PD_0</td><td>Counter per degree high</td></tr><tr><td>T6</td><td>CNT PD_1</td><td>Counter per degree low</td></tr><tr><td>T7</td><td>S CAL</td><td>Status of calibration FF done, 00 not calibrated.</td></tr><tr><td>T8</td><td>CAL0</td><td>Calibration value high</td></tr><tr><td>T9</td><td>CAL1</td><td>Calibration value low</td></tr></tbody></table>

### Remarks for type 53

&#x20;1\. Treat T=(temp high : temp low) and H=(hum high : hum low) as 16 bits unsigned numbers in following equations to compute correct values of temperature and humidity.\
Humidity=-4.0+0.0405\*H-2.8\*10^-6\*H^2\
Temperature=-39.6+0.01\*T

### Remarks for type 64 and 65

&#x20;1\. After temperature node power on the temperature sensor is detected.  The 'Sensor Type' byte is set to:

0x10    - DS18S20

0x28    - DS18B20

0x64    - PT100

0x65    - PT1000

0xAB  - DS1821

0xAA  - no temperature sensor

0x53 – SHT 7xx

&#x20;2\. Raw 16 bit ADC reading is sent on T1 and T2.

&#x20;ADC = 256 \* ADC\_HI\_BYTE + ADC\_LO\_BYTE

&#x20;&#x20;

Resistance can be calculated from the formula:

&#x20;For 0x64 (PT100):

&#x20;           R = 3.576e-3 \* ADC - 0.13

&#x20;for 0x65 (PT1000):

&#x20;           R = 57.22e-3 \* ADC - 0.13

&#x20;&#x20;

Temperature can be calculated from the formula:

&#x20;for 0x64 (PT100):

&#x20;           R = 100 \* (1 + A \* t + B \* t^2)

&#x20;for 0x65 (PT1000):

&#x20;           R = 1000 \* (1 + A \* t + B \* t^2)

where

&#x20;           A = 3.9083e-3

&#x20;           B = -5.775e-7

&#x20;

3\. The present solution accepts both PT100 and PT1000 (the amplification is changed automatically). For both sensor types the range is -200 to +300 degrees and accuracy +/- 0.5 degree

&#x20;4\. The accuracy may be enhanced if calibration is implemented.

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.boomerang3.com/s2-radio-system-manual/s2-system-description/s2-node/s2-communication-protocol/detailed-description-of-get_temp_special-3a.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
