0% found this document useful (0 votes)
33 views

NodeMCU With Firebase

Uploaded by

John
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)
33 views

NodeMCU With Firebase

Uploaded by

John
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