What is a DS18S20 sensor ?
The DS18S20 is a 1-Wire digital temperature sensor developed by Maxim Integrated, preceding the DS18B20 but still widely used in embedded systems.
It offers high accuracy, low power consumption, and full compatibility with existing 1-Wire networks and libraries.
It is ideal for projects requiring:
- a reliable measurement,
- minimal wiring,
- and long-lasting performance without recalibration.
Operating principle
The DS18S20 converts the measured analog temperature into a 9-bit digital value, transmitted via the 1-Wire protocol.
Each bit corresponds to 0.5 °C, and the raw value is directly converted to degrees Celsius as follows:
T (°C) = Raw value / 2
The sensor is powered conventionally (3 wires) or in parasitic mode (2 wires).
Technical specifications
| Parameter |
Typical Value |
| Measurement range | −55 °C → +125 °C |
| Typical accuracy | ±0,5 K (−10 → +85 °C) |
| Resolution | 9 bits (0,5 °C) |
| Conversion time | 750 ms |
| Nutrition | 3.0 → 5.5 V or parasitic mode |
| Interface | 1-Wire Digital |
| Unique identifier | Hermetic axial glass |
| Typical current | 1 to 2 s in the air |
Wiring configuration
| Type |
Description | Precision |
2-wire |
Simple assembly, sufficient for short measurements. | ✅ Standard |
3-wire |
Reduces the influence of cables. | 🏆 Industrial |
Integrated (stuck) |
Often soldered on transistor, module, or heatsink. | 💡 Thermoprotection |
Self-heating
The KTY81-110 generates very little heat (≈ 0.5 °C/mW in air and 0.1 °C/mW in oil).
Its low power dissipation ensures accurate measurement, even in confined environments.
Application areas
⚙️ Thermal surveillance of electric motors and windings
🔋 Battery and charger protection
💻 Sensors integrated into power modules (MOSFET, IGBT)
🚗 Temperature measurement in automotive embedded systems
🧠 Thermal regulation for precision electronics