0% found this document useful (0 votes)
156 views9 pages

NodeMCU With Firebase

NodeMCU can be connected to Firebase to allow data storage and retrieval. This involves downloading two libraries, creating a Firebase project to get authentication details, modifying a code file with authentication fingerprints, and pasting Firebase configuration details into an example Arduino sketch to upload data to the Firebase database in real-time.

Uploaded by

Sovann
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views9 pages

NodeMCU With Firebase

NodeMCU can be connected to Firebase to allow data storage and retrieval. This involves downloading two libraries, creating a Firebase project to get authentication details, modifying a code file with authentication fingerprints, and pasting Firebase configuration details into an example Arduino sketch to upload data to the Firebase database in real-time.

Uploaded by

Sovann
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

NodeMCU with Firebase

1. Library
➢ Download: https://github.com/mobizt/Firebase-ESP8266
➢ Download: https://github.com/bblanchon/ArduinoJson
➢ After download has done → Open Arduino IDE → Sketch → Include
Library → Add .ZIP Library → Add two libraries above
2. Firebase
1. Go to: https://firebase.google.com/
2. Make sure you have a Gmail Account

3. Select Go to console at top right of web page

4. Create Project → Put your project name (e.g. MyProject) → Continue → Set up Google
Analytics for my project → Continue → Check all condition → Create project

5. Go back to Project Overview → Develop → Database → Create Database (Realtime


Database) → Select Start test mode → Enable → Copy your host link → Go to:
https://www.grc.com/fingerprints.htm → Paste your host link → Frigerprint site →
Wait for your Authentic Fringerprint → Copy it → Go to desktop (Crlt+Window Key) →
Documents → Arduino → libraries → firebase-arduino-master → src → Open
FirebaseHttpClient with notepad → Scroll down → Paste your Authentic Fringerprint on
last line → Save it and Close.

6. Go back to Firebase website → Go to setting → Project settings → Service accounts →


Database secretes → Copy Secrete Auth code

7. Go to Arduino IDE → Examples → FirebaseArduino → FirebaseDemo_ESP8266 → Paste


Host Link → Paste Secret Auth → Put Wifi SSID and Password → Upload Code to Board.
1-4
5
Host Link
6

Copy Secret Auth Code


7

After upload had done, please go to Firebase database. You will see the
some random data upload and delete on database.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy