NodeMCU and Firebase | ESP8266 | send, receive data | Beginner friendly

16147
65
311
06.04.2021
hmd cyberspace

hmd cyberspace

16190
127
3
13.01.2021
IN
Описание видео:

This video will walk you through connecting and retrieving data with your nodeMCU module to and from firebase. FYI : This video is completely beginner friendly. So dont't worry even if you don't know even a bit about microcontroller and firebase LINKS : NodeMCU boards list resource URL: 🤍arduino.esp8266.com/stable/package_esp8266com_index.json - DRIVER DOWNLOAD LINK: 🤍🤍arduined.eu/files/CH341SER.zip Timecodes 0:00 - Intro 0:35 - Download Arduino IDE 1:50 - Make arduino IDE recognise NodeMCU 3:25 - Installing NodeMCU's drivers 6:05 - Installing firebase-arduino library 7:43 - Installing arduino-json library 9:58 - Changing Firebase fingerprint 12:03 - Code to connect to Firebase 17:35 - setting up firebase | OUTPUT 27:45 - Code explanation

Кадры из видео
NodeMCU and Firebase | ESP8266 | send, receive data | Beginner friendly
NodeMCU and Firebase | ESP8266 | send, receive data | Beginner friendly
NodeMCU and Firebase | ESP8266 | send, receive data | Beginner friendly
NodeMCU and Firebase | ESP8266 | send, receive data | Beginner friendly
Тэги из видео
Комментарии пользователей:
luis HTAbs
2022-06-15 16:14:08

I had the same error, for some reason a recent version of esp8266 doesnt work with JSONarduino 15.13.1 version

Paulino Kenneth R.
2022-05-16 17:34:31

Help me with this issue FirebaseArduino.h: No such file or directory

Brain
2022-05-04 21:11:14

tq

Moaz El-sawaf
2022-04-09 23:13:14

Thanks a lot ❤

rumit shah
2022-02-20 17:04:42

Great Video and great explanation. Can you create a video in which we can control esp8266 gpio using alexa and firebase realtime database?

Sumukha Ramesh
2022-01-14 15:31:00

its a very well explained video

dhyan kavinda
2021-12-22 12:16:17

thank you.

guin pen
2021-11-02 11:45:29

hello teacher!!

"Failed to connect to ESP8266: Timed out waiting for packet header"

can anyone help???

coco
2021-08-29 11:56:50

Sir for. Me that driver port is not showing it is showing com3 only not com4

omkar raut
2021-08-25 19:22:18

Sir..
Is it possible to save the fingerprint data at firebase database.

Iyanuoluwa E. O.
2021-08-13 15:58:52

Amazing How can i send variable data from firebase to esp 8266, Thanks

Bulag na Bandido
2021-07-12 23:40:26

I am getting

setting /number failed:
setting /number failed:
setting /number failed:

can anyone help?

Silvia Soledad Mamani Condori
2021-07-07 22:50:27

Hello, excellent video, I have a problem because I get this once the program is loaded, I need your help please

setting / number failed:
setting / number failed:
setting / number failed:

Chris Duvall
2021-07-05 02:36:01

As with practically all of these demos, the arduino IDE will not compile - I get this error message
Error compiling for board NodeMCU 0.9 (ESP-12 Module). (And yest - same with generic 8266): Really frustrating

R Kumar
2021-07-04 17:00:55

Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"











C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^
In file included from C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\cd0087tu\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.1\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
166 | bool begin(String host, uint16_t port, String uri = "/") _attribute_ ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
| ^~~~~
C:\Users\cd0087tu\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.1\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\cd0087tu\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.1\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
167 | bool begin(String url, const uint8_t httpsFingerprint[20]) _attribute_ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ^~~~~
C:\Users\cd0087tu\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.1\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\cd0087tu\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\cd0087tu\Documents\ArduinoData\packages\esp8266\hardware\esp8266\3.0.1\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) _attribute_ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
exit status 1
Error compiling for board Generic ESP8266 Module.


This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.




THIS IS FULL ERROR MESSAGE

R Kumar
2021-07-04 17:00:20

Please help me out to resolve this error
FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*

Debdutta Panda
2021-07-02 13:48:10

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

chisala dominique
2021-06-26 00:51:51

how can this be fixed
Arduino: 1.8.15 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"





















C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':

C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'

47 | http_.begin(url.c_str(), kFirebaseFingerprint);

| ^

In file included from C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:

C:\Users\chisa\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)

166 | bool begin(String host, uint16_t port, String uri = "/") _attribute_ ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));

| ^~~~~

C:\Users\chisa\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:

C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]

47 | http_.begin(url.c_str(), kFirebaseFingerprint);

| ^~~~~~~~~~~~~~~~~~~~

| |

| const char*

In file included from C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:

C:\Users\chisa\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)

167 | bool begin(String url, const uint8_t httpsFingerprint[20]) _attribute_ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));

| ^~~~~

C:\Users\chisa\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:

C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]

47 | http_.begin(url.c_str(), kFirebaseFingerprint);

| ^~~~~~~~~~~~~~~~~~~~

| |

| const char*

C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':

C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]

51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);

| ^~~~~~~~~~~~~~~~~~~~

| |

| const char*

In file included from C:\Users\chisa\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:

C:\Users\chisa\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'

168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) _attribute_ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));

| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~

exit status 1

Error compiling for board Generic ESP8266 Module.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Shrushti Hegde
2021-06-16 15:39:09

Any idea about this error?


Arduino: 1.8.12 (Windows 10), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^
In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
166 | bool begin(String host, uint16_t port, String uri = "/") _attribute_ ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
167 | bool begin(String url, const uint8_t httpsFingerprint[20]) _attribute_ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ^~~~~
C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\user\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\user\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) _attribute_ ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
exit status 1
Error compiling for board NodeMCU 0.9 (ESP-12 Module).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Что ищут прямо сейчас
Yii 2 diagnose GNS3 VMware Ender 3 imei changer Sabri bjj scarlxrd phonk phonk cookup bravo jamoasi symfony 4 compile linux osu hack samp diamond rp all plugin cinema 4d osx delphi winwin osu! rewind diamond rp samp
Похожие видео
21.03.2022
[SOLVED] How to send DHT Data from NodeMCU/ESP8266 to Google Firebase

[SOLVED] How to send DHT Data from NodeMCU/ESP8266 to Google Firebase

27.01.2021
Send and read data to Firebase using esp8266 nodemcu wifi module (2021)

Send and read data to Firebase using esp8266 nodemcu wifi module (2021)

30.04.2020
IoT with Firebase and your own Android App - Part-1

IoT with Firebase and your own Android App - Part-1

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

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

24.04.2021
Google Firebase Not working | Data not uploading by NodeMcu | 100% working Solution by Circuit 4 You

Google Firebase Not working | Data not uploading by NodeMcu | 100% working Solution by Circuit 4 You

25.03.2019
ESP8266 To ESP8266 Data Transfer Using Web Client/Server | Arduino IDE (Mac OSX and Windows)

ESP8266 To ESP8266 Data Transfer Using Web Client/Server | Arduino IDE (Mac OSX and Windows)

14.07.2020
Arduino IDE + NodeMCU ESP8266 + Firebase | NodeMCU ESP8266 send & get Data from Firebase Database

Arduino IDE + NodeMCU ESP8266 + Firebase | NodeMCU ESP8266 send & get Data from Firebase Database

20.05.2021
Home Automation using Google Firebase | ESP8266 Nodemcu | IOT base Home Automation with Firebase

Home Automation using Google Firebase | ESP8266 Nodemcu | IOT base Home Automation with Firebase

02.03.2020
[SOLUTION] Connection To Google Firebase Real Time Database Failed NodeMCU ESP8266

[SOLUTION] Connection To Google Firebase Real Time Database Failed NodeMCU ESP8266

31.03.2022
Send Data From Esp8266 To Firebase Database New Method 2022

Send Data From Esp8266 To Firebase Database New Method 2022

17.04.2021
Smart Home with Google Assistant & Alexa using NodeMCU ESP8266 (Manual + Voice) | IoT Projects 2021

Smart Home with Google Assistant & Alexa using NodeMCU ESP8266 (Manual + Voice) | IoT Projects 2021

24.08.2021
Esp32 wifi module sends and reads data to Firebase (2021)

Esp32 wifi module sends and reads data to Firebase (2021)

27.12.2016
ESP8266 Sent Sensor Data to Firebase Real-time Database

ESP8266 Sent Sensor Data to Firebase Real-time Database

17.05.2022
Read  FireBase Database Using ESP8266 NodeMcu | NodeMcu + FireBase + MitAppInventor | 2022

Read FireBase Database Using ESP8266 NodeMcu | NodeMcu + FireBase + MitAppInventor | 2022

18.02.2022
How to Setup and Program NodeMCU ESP8266–Complete Guide

How to Setup and Program NodeMCU ESP8266–Complete Guide

24.06.2020
Home Automation using Google Assistant, Blynk, IFTTT, NodeMCU ESP8266 | IoT based projects

Home Automation using Google Assistant, Blynk, IFTTT, NodeMCU ESP8266 | IoT based projects