Skip to content

usersina/esp8266-temperature-sensor-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 Temperature Sensor Firebase

This projects demonstrates reading data from a temperature sensor and sending in to Firebase for real-time monitoring.

Getting Started

This project uses the open source PlatformIO IDE built on top of Microsoft's Visual Studio Code.

Prerequisites

In addition to the hardware requirements, you also need to setup a Firebase Realtime Database, with Anonymous User Authentication enabled.

Installation

  1. Clone this repository to your local machine.
  2. Open the project in PlatformIO IDE.
  3. Install the necessary libraries mentioned in the platformio.ini file.
  4. Copy the ./src/secrets.h.example to a ./src/secrets.h file and update it.

Running the Project

  1. Connect the temperature sensor to the board as per the circuit diagram provided.
  2. Connect the board to your computer.
  3. Upload the code to the board using the PlatformIO IDE.
  4. Open the serial monitor to view the temperature data as it's being sent.

Circuit Diagram

diagram

Explore the WOKWI Simulation.

Resources

About

Read temperature from a DS18B20 and send it to Firabase with ESP8266

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published