# Temperature Sensor with Single-wire Digital Interface Schematic Circuit Diagram

A temperature measurement system with up to eight distributed temperature sensors can be realized using only a single signaling lead. This objective is supported by the Maxim MAX6575 temperature sensor (www.maxim-ic.com), which can be used to measure temperatures between –40 °C and +125 °C. It is housed in a small SMD transistor package (SOT23). As shown in Figure 1, all the ICs are connected to the signaling line via their open-drain input/output pins. Resistor R1 pulls the voltage on the signaling line to Vcc.

The microcontroller can initiate a measurement cycle by placing a Low pulse on the signaling line for an interval of 2.5 µs to 1 ms. The MAX6575 ICs recognize this pulse, and each one starts a timer whose period is proportional to the temperature Tn of sensor n (in degrees Kelvin). One of four different timer coefficients can be selected for each MAX6575 using the TS0 and TS1 inputs. The timing is illustrated in Figure 2. In order to allow eight different sensor positions to be used, the MAX6575 comes in two versions: the H version and the L version. The table shows the configurable timer coefficients in microseconds per Kelvin for the two versions.

As can be seen, overlaps in the pulse durations can occur in case of large differences between the temperatures of the individual sensors (e.g. sensor n at +125 °C, sensor n+1 at –40 °C). To the extent that such an unlikely situation can arise, it may be necessary to omit one of the timer regions, which would mean that the maximum number of sensors connected to a single line would be reduced to seven or six.

The temperature of sensor n in Kelvin is given by

Tn = tn / Mn

where
Tn = temperature of sensor n in Kelvin;
tn = time between the Start pulse and the pulse from sensor n:
Mn = temperature factor of sensor n in µs/K

The temperature can be converted to degrees Celsius using the formula

Tn ( in °C) = Tn ( in K) – 273.15 K

A new measurement requires the microcontroller to first generate a Reset pulse, which is a Low pulse with a duration of at least 4.6 ms so that it can be reliably distinguished from the Start pulse. The maximum allowable length of the Reset pulse is 16 ms. The MAX6575 also allows a new measurement to be made without a Reset pulse if the elapsed time since the previous Start pulse is more than 520 ms.

Check Also
Close

Close
Close