Wi-Fi thermometer with an OLED display
Read a DS18B20 temperature sensor with an ESP32, show it on an OLED screen, and serve the reading on a small web page you can open on your phone.
What this proves to recruiters
- You can use two buses (1-Wire and I²C) in one project.
- You can connect a device to Wi-Fi.
- You can build something useful end to end.
Skills you will use
- ESP32
- 1-Wire
- I²C
- Wi-Fi web server
Parts list
You can buy the listed parts online here:
| Part | Qty | Approx. price | Shop |
|---|---|---|---|
| ESP32 DevKit V1 board | 1 | ₹400 | Find on Amazon |
| DS18B20 temperature sensor, waterproof | 1 | ₹90 | Find on Amazon |
| 0.96″ OLED display (SSD1306, I²C) | 1 | ₹200 | Find on Amazon |
| Breadboard, 830 points | 1 | ₹90 | Find on Amazon |
| Jumper wire set (male-male and male-female) | 1 | ₹120 | Find on Amazon |
| Resistor kit, ¼ W, assorted values | 1 | ₹150 | Find on Amazon |
| Total, about | ₹1,050 | ||
Prices are rough online prices in India and change with the seller. You may already have some parts, or find them in your college lab.
As an Amazon Associate I earn from qualifying purchases. Buying through these links costs you nothing extra and helps keep this site free.
Free software
- Arduino IDE with ESP32 support
- Wokwi to simulate first
Steps
- Wire the DS18B20 data pin to GPIO 4 with a 4.7 kΩ pull-up resistor to 3.3 V.
- Wire the OLED to the ESP32’s I²C pins (GPIO 21 and 22).
- Read the temperature every 2 seconds and show it in large digits on the OLED.
- Connect to your Wi-Fi and start a web server with one page that shows the reading.
- Make the page refresh itself every few seconds.
- Record a short video of the screen and your phone showing the same value.
Make it stand out
- Keep a 24-hour history and draw it as a chart.
- Put the ESP32 in deep sleep between readings to run on a battery.
Put it on your resume
Built an ESP32 thermometer with OLED display and Wi-Fi web dashboard, using 1-Wire and I²C peripherals.
Replace each [x] with a number you measured. Real numbers make a line believable.
Keep going
This project fits stage 1, “C and your first microcontroller”, of the Embedded systems and firmware roadmap. See also how freshers get into embedded C developer jobs.
More Embedded systems and firmware projects
- Bare-metal I²C driver on STM32Intermediate2–3 weekends~₹1,900
- FreeRTOS data logger with SD card and web viewIntermediate2–3 weekends~₹1,050
- Smart plant watering with a phone dashboardBeginner1–2 weekends~₹900
- Line-following robot with PID controlIntermediate2–3 weekends~₹1,850
- Linux character driver for an LED on Raspberry PiAdvanced3–4 weekends~₹5,900