Skip to Content

 DS2438 
 Temperature sensors 

Multi-function 1‑Wire device combining temperature measurement and analog monitoring for industrial and embedded applications.

 Maximum precision
+/- 2,0°K

 Minimum temperature
-40°C

 Maximum temperature
+85°C

 Minimum dimensions
4 x 6 x 27

 Response time
Medium

 Self-heating
Medium

 Price
High

Drift
Low

What is a DS2438 sensor ?


The DS2438 is an intelligent 1-Wire acquisition circuit developed by Maxim Integrated.

It combines:

  • a digital temperature sensor,
  • a 10-bit ADC converter for voltage and current,
  • and a 40-byte EEPROM for data storage.

It is a universal sensor, often used in:

  • battery management,
  • compact weather stations,
  • or multiparameter IoT systems.

Operating principle


The DS2438 converts its analog measurements (temperature, voltage, current) through its internal ADC and transmits the results on the 1-Wire bus.

Temperature:

T(°C) : Raw Value / 16


Tension (VDD or VAD):

V = (ADC value / 1024) × 10 V


Current (with sense resistance ≈ 0.05 Ω):

I = V_sense / R_sense

Technical specifications


Parameter
Typical Value
Measurement range −40 °C → +85 °C
Typical precision ±2 K
Resolution 0,125 °C (10 bits)
Analog inputs 2 × (0 → 10 V)
ADC Resolution 10 bits
Internal memory 40 bytes (EEPROM)
Interface 1-Wire (family code 0x26)
Annual drift Average (±0.5 K/year)

Case

TO-92 or SOIC-8

Wiring configuration


Type
Description

VDD

Power supply or voltage measurement

VAD

Secondary analog input

VSENS+ / VSENS-

Differential current measurement

DATA

1-Wire Line (communication)

GND

Mass

Self-heating


Very low (< 0.3 °C) even with simultaneous voltage/current reading.

The measurements remain stable thanks to the internal reference voltage compensation.

Application areas


🔋 Management and monitoring of Li-ion / NiMH batteries

⚙️ Voltage + temperature measurement in embedded systems

🌡️ All-in-one environmental sensor (IoT, weather)

🧱 Industrial systems requiring 1-Wire traceability

🧠 Multi-parameter monitoring via a single component




Should I choose a DS2438 sensor ?

Strengths points

  • ⚡ All-in-one multifunction sensor
    → Temperature, voltage, and current measured by a single component. The DS2438 can monitor an entire system (battery, charge, environment) via a simple 1-Wire bus.
  • 💾 Integrated memory for data
    → GThanks to its 40-byte EEPROM, the sensor can store measurements, thresholds, or calibrations without the need for an external microcontroller.
  • 🎯 High compatibility and ease of integration
    → Same 1-Wire protocol as the DS18B20 — it can therefore coexist with other sensors on the same bus, while adding analog measurement functions.
DS2438 sensors

Weaknesses points

  • 📉 Limited temperature accuracy
    → Its accuracy of ±2 K is lower than that of purely thermal sensors like the DS18B20. It is therefore better suited for overall monitoring than for reference measurement.
  • 🔋 More complex configuration
    → Need to manage multiple registers (voltage, current, temperature), which slightly complicates the code on the microcontroller side.
  • 💰 Higher cost
    → Its "multi-use" positioning makes it more expensive than a simple thermal sensor — relevant only if multiple parameters need to be measured at the same time.

Useful information

Here is some useful information regarding the DS2438 sensors.

The DS2438 features a 10-bit analog-to-digital converter (ADC), shared between temperature, voltage, and current measurements.

Its resolution is slightly lower than that of a DS18B20, but sufficient for energy or environmental monitoring.

Measure
Resolution Typical accuracy (−10 → +85 °C)
Remarks
Temperature 10 bits (0,125 °C) ±2,0 K Internal sensor
Tension (VAD / VDD)
10 bits (~9,8 mV/bit) ±25 mV Direct analog input
Current (VSENS)
10 bits ±1 % typ. Requires external shunt resistance
EEPROM Memory
40 octets Non-volatile storage of measurements or thresholds
Annual drift
±0.5 K/year (temperature)

🔹 Remarks:

  • The measurements are sequential: temperature, voltage, then current.
  • The internal ADC operates with a 10 V reference.
  • Moderate drift due to the internal stability of the reference voltage.

The DS2438 allows interpreting its data according to several internal registers. Here are the main formulas:

🔹 Temperature

T(°C) = Raw Value / 16

Example:

Raw value = 0x0900 = 2304

T = 2304 / 16 = 144 °C

✅ Result: 144 °C (high temperature test example).


🔹 Voltage (VAD or VDD)

V = (ADC value / 1024) × 10 V

Example:

ADC Value = 0x190 = 400

V = 400 / 1024 × 10 = 3.91 V

✅ Result: 3.91 V measured on the analog input.


🔹 Current (VSENS)

With an external shunt resistor Rsh = 0.05 Ω :

I (A) = V_sense / R_sh I = 0.025 / 0.05 = 0.5 A

✅ Result: measured current = 0.5 A.


🔹 Practical notes:

The DS2438 can simultaneously measure the voltage of a battery (VDD), the internal temperature, and the current flowing through a sense resistor.

The conversion registers (Page 0 → 3) contain all the raw data accessible via the 1-Wire bus.

The DS2438 connects via a standard 1-Wire bus, while also having additional analog terminals to measure voltage and current.

🔹 Typical components

Component
Function
DS2438 Multifunction sensor temperature / voltage / current
Pull resistance (4.7 kΩ)
Maintains the DATA line in a high state
Shunt resistance (0.05 to 0.1 Ω)
Current measurement
Microcontroller (Arduino, ESP32, STM32, Raspberry Pi)
1-Wire Bus Master
Power source
3,0 → 5,5 V

🔹 Functional diagram (ASCII)

+3.3V / +5V │ [4.7kΩ] │ DATA ─────────┼──────────────┐ │ │ GND DS2438 ┌────────────┐ │ VDD → Measure tension │ VAD → Analog input │ VS+ → Current + │ VS− → Current − │ GND → Mass └────────────┘

💡 The VS+ and VS− terminals frame the shunt resistor (0.05 Ω) used for current measurement.

🔹 Operating principle

1️⃣ The microcontroller queries the DS2438 via the 1-Wire bus.

2️⃣ The sensor sequentially performs:

  • the internal temperature measurement,
  • the reading of VDD/VAD,
  • the differential measurement VS+ / VS−.

3️⃣ The data is then converted and can be stored in the internal EEPROM.

The DS2438 maintains the 1-Wire philosophy: each sensor has a unique 64-bit identifier (family 0x26).

Function
Description
Multiple measures
Temperature + voltage + current in a single sensor
Integrated EEPROM
Local data storage
1-Wire Chaining
Multiple DS2438 on the same bus
Unique 64-bit address
Individual identification of each sensor
DS18B20 Compatibility
Protocol and similar commands
Example of a unique address:

26-FF-17-3B-92-16-04-5D

✅ Ideal for connected energy systems, smart batteries, or IoT modules combining sensor and logger.

More than 1,000,000 probes delivered in 2025

Contact us for a personalized offer

Contact Us

Need a DS2438 sensor?

Whether you need a few parts for a prototype or several hundred for a production line, we support you at every step.