Skip to main content

Temperature sensor

3D render of the assembled temperature sensor PCB

A compact board for measuring ambient temperature with a digital sensor.

Download datasheet (PDF)

Modeled component height: approximately 3.3 mm above the component-side PCB surface.

Usage​

Place the sensor end near an opening, away from the USB connector and other heat sources. Air circulation and heat conducted through a mount can affect the reading. Compare the assembled enclosure with a reference thermometer before using it for calibrated measurements.

Protocol​

I²C · 7-bit address 0x48. This prototype has no published USB command set. The table describes the interface on the PCB.

OperationRequest or signalResult
Select temperatureWrite register pointer 0x00.Selects the temperature register.
Read temperatureRead two bytes, most significant first.The upper 12 bits contain a signed two’s-complement value in default mode.

Multiply the signed value by 0.0625 °C. For example, 19 00 in hexadecimal gives 400 counts, or 25 °C.

Mounting​

The PCB measures 18 × 24 mm, with 2 × Ø2.2 mm clearance holes for M2 screws. The centre-to-centre spacing is 10 mm. Orient the component side with the J1 USB-C port at the bottom. Measure right and up from the lower-left corner of the PCB in the component-side view. The hole centres are at X = 4, 14 mm and Y = 20.8 mm.

Component-side plan and isometric view showing 2 mounting holes and the J1 USB-C receptacle on the bottom edge.

Open full-size drawing · Drawing TSX · PCB source