Built to order

DS18B20 Multi-Point Temperature Logger with OLED Display

This project builds a multi-point temperature logger that reads four DS18B20 sensors over a single 1-Wire bus, shows every point live on an OLED display, and logs timestamped readings to a microSD card with per-point high/low alarms. Each sensor carries a unique 64-bit ROM address, so one Arduino pin and one 4.7 kΩ pull-up resistor serve the whole bus, and the DS18B20 measures −55 °C to +125 °C at ±0.5 °C accuracy from −10 °C to +85 °C (datasheet). Suitable for B.E./B.Tech final-year projects in Electronics & Telecommunication, Electrical and Instrumentation Engineering.

Chat on WhatsApp — get a quotation

Electronics / E&TC OLED DisplayDS18B20 Temperature SensorsDS3231 real-time clockArduino UnoArduino IDEMicroSD card loggingEmbedded C firmware1-Wire bus protocolHardware
DS18B20 Multi-Point Temperature Logger with OLED Display — project thumbnail preview
More project photos (2)

The problem

Temperature is rarely a single number. A server room has a hot rack and a cool aisle, and a greenhouse is hotter at the roof than at the soil, so one sensor at one spot cannot say whether the whole space is safe. The usual fix is several independent loggers or analog sensors, each needing its own wiring, analog input and calibration, which quickly becomes expensive and hard to maintain. The DS18B20 multi-point temperature logger solves this with a different idea: four to eight DS18B20 digital sensors share one 1-Wire data line, each with its unique 64-bit ROM address, so a single Arduino pin reads every point in turn. Readings appear live on an OLED display and are written with timestamps to a microSD card, with per-point high and low alarms flagging any sensor outside its safe band. The result is a compact logger that shows students how one shared digital bus replaces a tangle of separate sensor channels.

How it works

Each DS18B20 sensor converts temperature where it sits and answers only when the controller calls it by its unique 64-bit ROM address, so many sensors can share one data line without confusion. The Arduino issues a temperature-conversion command to all sensors on the 1-Wire bus, waits for the conversion to finish — up to 750 ms at 12-bit resolution, per the datasheet — then reads each sensor's scratchpad in turn using its ROM address. A single 4.7 kΩ pull-up resistor holds the shared data line high between bits, which is the one component the whole bus depends on. The controller compares every reading with that point's stored high and low limits, updates the OLED display with all current temperatures, and appends one timestamped line per reading to a CSV file on the microSD card. The cycle then repeats, so the display always shows fresh values and the log grows into a continuous record.

  1. At power-up the Arduino scans the 1-Wire bus with the ROM search command and records the 64-bit address of every DS18B20 it finds, assigning each a label such as S1 to S4.
  2. The controller issues a single convert-temperature command to all sensors at once, then waits for the conversion to complete (up to 750 ms at 12-bit resolution, per the datasheet).
  3. Each sensor is read in turn by its ROM address, and its 9 to 12-bit temperature value is converted to degrees Celsius at 0.0625 °C steps at 12-bit resolution.
  4. Every reading is compared with the per-point high and low limits stored in the firmware, and a reading outside its band raises that point's alarm flag.
  5. The OLED display is refreshed with all current temperatures and any active alarm flags, so all points are visible at once.
  6. One timestamped line per sensor is appended to a CSV file on the microSD card, building a continuous log for later analysis.
  7. The cycle repeats at the configured logging interval, and a sensor that stops answering is flagged as disconnected instead of being logged as zero.

Tech stack:

  • Arduino Uno (ATmega328P)
  • DS18B20 digital temperature sensors
  • OneWire · DallasTemperature libraries
  • SSD1306 OLED display (I2C)
  • MicroSD card module (SPI)
  • DS3231 real-time clock module
  • Arduino IDE
  • CSV log files
Parameter Value
Controller Arduino Uno (ATmega328P, 16 MHz clock)
Sensors 4 × DS18B20 waterproof probes (expandable to 8, design target)
Temperature range −55 °C to +125 °C (datasheet)
Accuracy ±0.5 °C from −10 °C to +85 °C (datasheet)
Resolution 9 to 12 bits, 0.0625 °C steps at 12-bit (datasheet)
Conversion time Up to 750 ms at 12-bit resolution (datasheet)
Bus 1-Wire, single data line with 4.7 kΩ pull-up resistor
Display 0.96-inch OLED, 128 × 64 pixels (I2C)
Real-time clock DS3231 module with battery backup, approximately ±2 ppm from 0 °C to +40 °C (datasheet)
Logging Timestamped CSV on microSD card, approximately 1 line per sensor per interval
Logging interval Approximately 5 s to 60 s (configurable in firmware)
Power supply 5 V USB or 7–12 V DC jack (Arduino Uno input range)
Alarm limits Per-point high and low limits, set in firmware

Project features

The logger's strongest capabilities are its multi-point sensing, its live display, its timestamped logging and its per-point alarms. Four to eight DS18B20 sensors share one 1-Wire bus, so adding another point means one more sensor on the same three wires, not a rewired board or another analog input. The OLED display shows every point at once, so the whole space is visible at a glance without a laptop. Every reading is written to a microSD card with a timestamp from the DS3231 real-time clock, producing a plain CSV file that opens in any spreadsheet for graphs and reports. Each point has its own high and low alarm limits, so a warm rack, a cold corner or a failing fridge shelf is flagged individually rather than averaged away. Together they make a complete measurement instrument that senses, displays, records and warns, and each part can be demonstrated separately in a viva.

  • [Multi-point 1-Wire sensing] Four DS18B20 waterproof probes share a single 1-Wire data line, expandable to 8 sensors, so one Arduino pin monitors several points at once with only three wires per sensor.
  • [Unique 64-bit ROM addressing] Every DS18B20 carries a factory-set unique 64-bit ROM code, so the controller addresses each sensor individually and the readings can never be mixed up between points.
  • [Live OLED display] A 0.96-inch OLED shows all four temperatures at once with the sensor labels S1 to S4, plus an alarm flag beside any point outside its limits.
  • [Timestamped SD card logging] Every reading is written with a DS3231 real-time-clock timestamp to a CSV file on the microSD card, ready to open in a spreadsheet for graphs and reports.
  • [Per-point high/low alarms] Each sensor has its own high and low limits set in firmware, and the display flags the exact point that crosses its limit.
  • [Configurable resolution and logging interval] Resolution is selectable from 9 to 12 bits and the logging interval from approximately 5 s to 60 s, both set in firmware to trade speed against detail.
  • [Single pull-up bus wiring] One 4.7 kΩ pull-up resistor holds the shared 1-Wire data line high, so the whole sensor network needs just one resistor and one GPIO pin.

What is included

  • Working prototype (Arduino Uno, 4 DS18B20 probes, OLED display, microSD module, DS3231 clock, breadboard wiring)
  • Complete Arduino firmware (OneWire and DallasTemperature libraries)
  • Wiring diagram and component list
  • Sample CSV log file from the demo build
  • Project report (background, 1-Wire protocol, methodology, results, limitations)
  • Project abstract PDF
  • PPT presentation for final review
  • Viva Q&A preparation document (1-Wire addressing, resolution, pull-up, alarm logic)

Limitations & prerequisites

  • DS18B20 accuracy is ±0.5 °C from −10 °C to +85 °C (datasheet) and worse outside that band, so the logger cannot resolve small differences below about 0.5 °C.
  • 1-Wire bus length is limited by cable capacitance: long runs or many sensors can corrupt readings, so the bus is designed for short runs of approximately a few metres, not building-wide wiring.
  • The microSD card wears with repeated writes and can corrupt if power is cut mid-write, so logs should be copied off regularly and the card replaced periodically.
  • The OLED display is hard to read in bright sunlight, so outdoor use needs shade or a different display.
  • Readings are not calibrated against a reference thermometer and the logger is not a certified instrument; it is an academic prototype.
  • The display shows 0.0625 °C steps at 12-bit resolution, but that step size is resolution, not accuracy — the true reading is only as good as the ±0.5 °C datasheet accuracy.

Frequently Asked Questions

Is this project suitable for a final-year project?

Yes, for Electronics & Telecommunication, Electrical and Instrumentation students, because the build covers a real digital bus protocol, multi-sensor addressing, embedded C firmware, display driving and data logging in one compact project, and each of those topics maps directly to standard viva questions. The hardware is inexpensive, the prototype is easy to demonstrate live, and the report documents every design decision.

How many sensors can the logger support?

Four DS18B20 sensors are fitted in the base build, and the firmware supports up to 8 sensors on the same bus, each found by its unique 64-bit ROM address, so adding a point needs no wiring changes beyond connecting the new sensor to the same three bus wires. Beyond about 8 sensors, or with long cables, bus capacitance can corrupt readings, so larger networks need shorter runs or a stronger pull-up.

Why does one sensor sometimes read 85 °C?

85 °C is the DS18B20's power-on reset value, not a real temperature, and it appears when a reading is taken before the sensor has finished its conversion, or when a sensor loses power and rejoins the 1-Wire bus before converting again. The firmware guards against it by waiting for the full conversion time (up to 750 ms at 12-bit) and re-reading any sensor that reports exactly 85 °C.

Does the logger need internet or Wi-Fi?

No, the logger works fully offline, with readings shown on the OLED display and stored on the microSD card, so no network, cloud account or phone is needed at any point in normal use, and the log is read simply by moving the card to a computer. The CSV log opens in any spreadsheet for graphs and reports, and Wi-Fi or Bluetooth can be added later as an optional upgrade.

Can the alarm limits and sensor count be changed?

Yes, both are set in the firmware: each point's high and low limits are simple values in the code, and adding a sensor means wiring it onto the same three bus wires and letting the ROM scan find its address automatically. More points, a buzzer for audible alarms, or a cloud dashboard can be added as customizations.

Components & software requirements
  • Arduino Uno (ATmega328P)
  • DS18B20 digital temperature sensors
  • OneWire · DallasTemperature libraries
  • SSD1306 OLED display (I2C)
  • MicroSD card module (SPI)
  • DS3231 real-time clock module
  • Arduino IDE
  • CSV log files
Delivery information

Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.

Support terms

Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.

Download free synopsis (PDF)

Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.

Get a quotation