A simple Program to connect the Node MCU Module with Firebase DB for real time data monitoring.
In most cases if not all the time you may need to save your sensor Data somewhere, This makes use of the Arduino Firebase Library to save your data to a RealtimeDB
You can install the IDE from: ARDUINO IDE
From Your Arduino IDE go to File > Preferences > Additional Boards Manager Paste this link and click OK: http://arduino.esp8266.com/stable/package_esp8266com_index.json Go to Tools > Boards > Board Manager Search for esp8266 By ESP8266 Community and install the package
Go to Sketch > Include Library > Manage Libraries Search For Firebase Esp Client Install the Firebase Arduino Client Library for ESP8266 and ESP32 by (Mobitz)
#define WIFI_SSID "REPLACE_WITH_YOUR_SSID"
#define WIFI_PASSWORD "REPLACE_WITH_YOUR_PASSWORD"
#define API_KEY "REPLACE_WITH_YOUR_FIREBASE_PROJECT_API_KEY"
#define DATABASE_URL "REPLACE_WITH_YOUR_FIREBASE_DATABASE_URL"