This website uses 'cookies' to give you the best, most relevant experience. Using this website means you're happy with this. read more Accept & Close
Start Games
Do It Yourself
DIY & Home Improvement

ESP8266 and multiple temperature sensors DS18b20 with HTTP server

ESP8266 and multiple temperature sensors DS18b20 with HTTP server
ESP8266 and multiple temperature sensors DS18b20 with HTTP server
I will show you how to make a remote temperature reading. You will be able to connect multiple
temperature sensors DS18B20. Temperature measurement will be the HTTP server on ESP8266 12e V3.
Source code was written in the Arduino IDE.

Step 1: Components

Components: ESP8266, 3 x DS18b20, Resistor 4k7 ohma
Components: ESP8266, 3 x DS18b20, Resistor 4k7 ohma

Step 2: Connect the DS18b20 to ESP8266

Step 3: Setup your WiFi connection

ESP8266 setup your WiFi connection
ESP8266 setup your WiFi connection
You can download Arduino IDE from here Dwonload Arduino IDE
In this project I am using the Arduino IDE 1.8.1
Before you upload the software to ESP8266 setup your WiFi connection.
//WIFI const char* ssid = ""; const char* password = "";

Download source code: HTTP_DS18B20.ino

Step 4: Flashing ESP8266 12e V3 with Arduino IDE

Select ESP8266 board
Select ESP8266 board
Select COM port with your ESP8266
Select COM port with your ESP8266
Press upload button in Arduino IDE
Press upload button in Arduino IDE

Step 5: Testing HTTP server on ESP8266

Open serial monitor in Arduino IDE
Open serial monitor in Arduino IDE
Get your server IP from serial monitor
Get your server IP from serial monitor
Now open WWW page in your browser
Now open WWW page in your browser
I connect three temperature sensors to my ESP8266 12e V3.
Measuring the temperature every 5 seconds, but you can change this value.