Google Firebase & ESP8266 Complete Guide - Sending/Receiving Data from ESP8266 & Firebase

Google Firebase & ESP8266 Complete Guide - Sending/Receiving Data from ESP8266 & Firebase

How To Electronics

4 года назад

99,926 Просмотров

NextPCB offers first 2-layer 100 X 100 mm PCB with 0$ : https://www.nextpcb.com/?code=Htoeletric

4-layer PCB - 12$ : https://www.nextpcb.com/?code=Htoeletric

....................................................................................................................................................................................................................................

Google Firebase is a Google-backed application development software used for creating, managing, and modifying data generated from any android/IOS application, web services, IoT sensors & Hardware. Using the IoT hardware & cloud platform, we can control the IoT devices including LEDs from any part of the world.

In this video tutorial we will cover:
1. How to Control an LED Control using Google Firebase & Nodemcu ESP8266?
2. How to Send Real-Time Humdity Temperature Sensor Data to Google Firebase using Nodemcu ESP8266?
3. How to send DHT11 Humidity Temperature Sensor Data to Android Application Using Google Firebase & Nodemcu ESP8266?


Generally, all the tutorials related to Google Firebase Console will be covered here including creating an account, creating the databases, firebase host, firebase authentication key, firebase rules, real-time data monitoring, etc. We will also build a custom Android App using MIT App Inventor.

Source Code Links:
1. IoT Based LED Control using Google Firebase & ESP8266: https://how2electronics.com/led-control-google-firebase-esp8266/

2. Send Real-Time Sensor Data to Google Firebase with ESP8266: https://how2electronics.com/send-sensor-data-google-firebase-esp8266/

3. Send Sensor Data to Android Using Google Firebase & ESP8266: https://how2electronics.com/send-sensor-data-android-google-firebase-esp8266/

....................................................................................................................................................................................................................................

Drop a like if you liked this video.
Don't forget to subscribe to our channel for more Electronics projects and tutorials.

Website: https://how2electronics.com
Facebook: https://facebook.com/electronicsbyalex/

Тэги:

#Google_Firebase_ESP8266 #Google_Firebase_Nodemcu #DHT11_Google_firebase #send_data_to_firebase_using_nodemcu #send_data_from_firebase_to_nodemcu #nodemcu_firebase_tutorial #Send_data_to_firebase #nodemcu_firebase_mit_app_inventor #nodemcu_firebase_android_studio #firebase_esp8266_arduino #Esp8266_firebase_control #esp8266_firebase_authentication #how_to_fetch_data_from_firebase_to_nodemcu #how_to_add_firebase_library_to_arduino #how_to_add_data_to_firebase #esp8266_firebase
Ссылки и html тэги не поддерживаются


Комментарии:

Hoàng Nam
Hoàng Nam - 22.10.2023 16:29

please help i cant find the library anywhere

Ответить
Federick Gregorio
Federick Gregorio - 01.10.2023 13:59

sir how to do that without using the hardcoded ssid and wifi password? but with the help of wifimanager library? much appreciated man

Ответить
G&E
G&E - 24.09.2023 09:22

bro please give me linke of the MIT app aifi linke

Ответить
Sushan Shakya
Sushan Shakya - 24.09.2023 09:20

No need of arduino ?

Ответить
G&E
G&E - 24.09.2023 09:19

where is linke of MIT app

Ответить
G&E
G&E - 24.09.2023 09:19

where is MIT app inventor

Ответить
Rafael Pascua
Rafael Pascua - 18.09.2023 15:05

Bro can you do one with soil ph sensor wherein the data is sent into android and google firebase using esp8266

Ответить
Myth L.l.l
Myth L.l.l - 15.09.2023 14:22

if you have erroк jus use esp8266 2.7.4 versoin

Ответить
digitek54
digitek54 - 19.07.2023 17:16

Dear, when am compling code ,its come error for node mcu, pl tell me how to solve.....

Ответить
Jesus love
Jesus love - 04.05.2023 11:04

I want this code ... Plzz could you help me sir

Ответить
Kasun Perera
Kasun Perera - 18.01.2023 11:59

To same application can u add battry voltage and current reading?how we do that

Ответить
Afraim Zahangir
Afraim Zahangir - 06.09.2022 15:52

the FirebaseArduino.h is not recognised

Ответить
Ky-Effect
Ky-Effect - 20.07.2022 05:50

Thanks for the video bro

Ответить
Denise 4ever
Denise 4ever - 02.06.2022 11:19

Can we add dht11 sensor to this circuit?

Ответить
SAGAR S
SAGAR S - 25.04.2022 18:41

if i created a custom mit app with firebase it won't opening and says authentication required. but when i installed your App there is no problem. if i changed the firebase url and key in the app you had given, then the app is getting installed but the app won't gets opened

Ответить
Muhammad Mudassir
Muhammad Mudassir - 14.03.2022 07:06

Will this application work if I use only ntc thermistor I am getting perfect reading on firebase but this app doesn't display anything

Ответить
Husson Faesl
Husson Faesl - 11.02.2022 18:16

I love u Thank you

Ответить
Abraham Christopher
Abraham Christopher - 01.01.2022 23:55

Wow thank you... You saved my day... I never knew that you could do that with Realtime Database... and I finally got the answer. Thank you so much

Ответить
Ayush Vaidande
Ayush Vaidande - 14.12.2021 22:10

Nice bro 👍👍👍👍👍

Ответить
Mohamad Hakim
Mohamad Hakim - 08.12.2021 21:49

I want to ask, when I compile and upload the coding in esp8266 in the monitor series only shows the dots .. how I want to solve this problem

Ответить
Jitender Patil
Jitender Patil - 08.09.2021 17:20

Can we save the data by using mit app on mobile in excel please give details

Ответить
DanCopy
DanCopy - 04.09.2021 18:16

Hello, how would it be to instead show the data on a TFT Display ILI9341, for example?

Ответить
احمد خلیل
احمد خلیل - 19.07.2021 21:27

this library is flawed. you have to change the firebase fingerprint every now and then!! :(

Ответить
Smit Mehta
Smit Mehta - 07.07.2021 08:34

SIR I AM NOT GETTING THE FIREBASEARDUINO LIBRARY
CAN YOU PLS GIVE ME A LINK OF IT 🙏🙏

Ответить
Debdutta Panda
Debdutta Panda - 02.07.2021 16:46

Your video is very helpful. But the firebaseExtended for arduino is not in active development. Secondly the connection sometimes seems sleeping(not responding sometimes) after some time or after some idle time. After some trial it works again. So my question is the firebase lib for arduino can be used for production and how can I fix the connection freeze/sleeping/not responding situation? Thanks

Ответить
Alberto Rodriguez
Alberto Rodriguez - 06.06.2021 20:15

Thanks.

Ответить
Pravin Dasarkar
Pravin Dasarkar - 28.05.2021 13:58

I have followed the tutorial but sensor data is not showing in firebase..I have changed the rules also..but didn't work.please help me out..

Ответить
Hamza Rauf
Hamza Rauf - 14.05.2021 14:47

my database secret keys is not showin can you plz help me how to solve it ?

Ответить
Humyra Chowdhury
Humyra Chowdhury - 17.04.2021 08:19

I keep getting "pushing / logs failed" in the serial monitor and the data does not publish to Firebase :( sos

Ответить
Shoraya Jain
Shoraya Jain - 17.03.2021 13:50

I tried this project but i keep getting "Command error". I think that my ESP is not connecting with Firebase. Please give solution to this problem

Ответить
Aryan Gupta
Aryan Gupta - 06.03.2021 14:00

please also tell how to create data base

Ответить
Pedro Pedroza
Pedro Pedroza - 04.02.2021 11:25

Hello from Mexico i have a problem with this :( because when I try to connect with firebase I can't sent datos to firebase, I saw many videos in Spanish but nothing, could you help me with this issue?

Ответить
st lo
st lo - 15.01.2021 11:25

you are creating new record for every measurement you're uploading in Example 2. I don't want to do this, I want to "update" an existing entry, not constantly create new entries. How do I do this?

Ответить
Groody
Groody - 08.01.2021 04:48

dude I am getting ESP Auto reset after 50 Serial Monitor messages.
Can you help me please?

Ответить
Alexis Alejandro Espinoza Lagos
Alexis Alejandro Espinoza Lagos - 06.01.2021 05:46

Hola, tengo un problema, todo funciona pero el sensor dht11 en el apartado de temperatura da como grados -20 :( , podrias ayudarme ?

Ответить
Time-lapse
Time-lapse - 05.01.2021 07:27

In example 1, instead of on or off can we send light intensity data( like a slider in blynk)?

Ответить
Time-lapse
Time-lapse - 05.01.2021 07:15

You are continuously writing to pin in a Loop, do u think its going to damage the hardware?

Ответить
Filippo Germi
Filippo Germi - 11.12.2020 12:54

higood guide and idea, unfortunately i have trouble, i could not have any APi or secret key to be used, suggestions

Ответить
JAAFAR OMAR
JAAFAR OMAR - 10.12.2020 05:45

Why my database secrets doesn't have auth?

Ответить
YesMe Creations
YesMe Creations - 01.12.2020 09:35

Sir, how much data send and receive in firebase database free subscription

Ответить
YesMe Creations
YesMe Creations - 29.11.2020 12:23

Sir, if nodemcu is fitted in box then what to do so it will not be overheated and is firebase database free subscription is sufficient for small project

Ответить
solid name
solid name - 03.11.2020 22:07

what if i want use MQTT protocol? please reply

Ответить
Ivan Yacob Repi
Ivan Yacob Repi - 03.11.2020 18:17

when wifi is off why does the sensor value not change to zero but still shows the last reading? how to make the reading value to zero when wifi is off or not connected?

Ответить
Chathura Godakumbura
Chathura Godakumbura - 10.10.2020 15:19

Thanks a lot mate

Ответить
kashish naqvi
kashish naqvi - 30.09.2020 11:16

Hey, Is there any way we can build an app with MIT app inventor for different nodemcu boards, as we always have to add the firebase token and url in Firedatabase properties, we always have to edit it then compile the project, Can you please tell me if i can fill the token and url of firebase from outside the code? Please help, it is urgent.

Ответить
Roopkumar Dubey
Roopkumar Dubey - 25.09.2020 01:27

Thank you so much for this !!!
it literally solved my Problem !!!
i was messing with it since 3 days !!!!

Ответить
lala lala
lala lala - 21.09.2020 23:07

Hi, i watched your video and it does helps me a lot. However, i'm kind of confused at the part of firebase auth. I had watch other videos and mostly, they created "sign in and password" in mit app for authentication. I noticed that you do not do it and put:

Firebase host, firebase auth and firebase.begin (FIREBASE_HOST, FIREBASE_AUTH)

Does this means, if these include in coding, we do not have to do the "sign in and password" for authentication?

Sorry for my bad english. I hope you can answer my curiosity. If there is anyone here, who knows the answer too, i'd be gladly read your comments.

Thank you!

Ответить
Muhammad Gul
Muhammad Gul - 27.08.2020 23:18

still not connecting with Firebase showing the message "pushing /logs failed problem"

Ответить