This projects demonstrates reading data from a temperature sensor and sending in to Firebase for real-time monitoring.
This project uses the open source PlatformIO IDE built on top of Microsoft's Visual Studio Code.
- NodeMCU ESP8266
- DS18B20 Temperature sensor
- Breadboard and jumper wires
- A computer with PlatformIO IDE installed
In addition to the hardware requirements, you also need to setup a Firebase Realtime Database, with Anonymous User Authentication enabled.
- Clone this repository to your local machine.
- Open the project in PlatformIO IDE.
- Install the necessary libraries mentioned in the
platformio.inifile. - Copy the
./src/secrets.h.exampleto a./src/secrets.hfile and update it.
- Connect the temperature sensor to the board as per the circuit diagram provided.
- Connect the board to your computer.
- Upload the code to the board using the PlatformIO IDE.
- Open the serial monitor to view the temperature data as it's being sent.
Explore the WOKWI Simulation.
- Arduino core for ESP8266 WiFi chip
- 99-platformio-udev.rules
- Restarting udev on Arch Linux
- ESP01 code upload works with Arduino IDE but not with PIO
- NodeMCU ESP8266
- Timeout error when connecting ESP8266 to Arduino
- Esp8266 gibberish serial monitor output
- How To Program An ESP8266 With the Arduino IDE (video)
- How to Setup and Program NodeMCU ESP8266–Complete Guide (video)
- How To Setup And Connect The NodeMCU ESP8266 12-E Development Board To Your Computer and Wifi (video)
- Introduction to NodeMCU ESP8266 WiFi Development board with HTTP Client example- Robojax (video)
- 05 Firebase Realtime Database + ESP32 | How to save sensor data & read data to control devices?
