IOT with Firebase : Control Led from Firebase using Arduino Node MCU ESP8266

  Рет қаралды 42,564

Bytive

Bytive

Күн бұрын

Пікірлер
@muhdfikri4709
@muhdfikri4709 4 жыл бұрын
Easy to follow and it works like a charm! good job
@Resiloreid
@Resiloreid 5 жыл бұрын
When only testing the connection using firebase path, secret code and then wifi and password, the sketch was able to compile just fine. But when I added the code for LED from your video, I'm getting the error "error compiling to board nodemcu 1.0". Why is that? I've tried almost all the ArduinoJson library with no luck. Please answer this, I'm really desperate.
@bytive
@bytive 5 жыл бұрын
Please reply with your code snippet
@michaelcarson9898
@michaelcarson9898 6 жыл бұрын
I'm having a problem getting data from Firebase with my nodeMCU. At first, it connects and is able to send and receive data just fine. But after losing connection and reconnecting several times, it stops receiving data from firebase, though it is still able to send data to firebase. What could cause this?
@aadhikarianish
@aadhikarianish 5 жыл бұрын
Thank you so much for making this video :) It worked for me.
@bytive
@bytive 5 жыл бұрын
I am really glad to hear it 😋
@ahmedtiger3809
@ahmedtiger3809 5 жыл бұрын
Thanks man it's pretty good 😍
@bytive
@bytive 5 жыл бұрын
I am glad to hear it 😋
@imcarat1vvs_
@imcarat1vvs_ 6 жыл бұрын
Hello, when I ran a Arduino-to-Firebase project, i got mistake as following: C:\Users\USER\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseArduino.h:20:18: fatal error: string: No such file or directory #include --- I use Arduino IDE 1.8.5 version, and when I google why it got wrong, someone said "firebase library is made for 1.6.9 version." But, I have tried, I failed, please help me, thank u !
@tukupulsa446
@tukupulsa446 3 жыл бұрын
Hi, I want ask, how to send json data to path on firebase ?
@rahulmoorkoth2395
@rahulmoorkoth2395 6 жыл бұрын
Waiting for your next tutorial.. to control with app😊
@djoleluk
@djoleluk 5 жыл бұрын
I did everything that you explained, the code is successfully uploaded to my WeMos D1 R1 ESP8266 board but i just keep getting 0 value on my Firebase.getInt("child_name") function in the loop() function. Even if i change this value in the database. And i am quite certain i set up the firebase well since i can change my value there with my android app. Wifi is on i checked it with condition if (WiFi.status() == WL_CONNECTED) in the loop function. Just getting the value from firebase in my Arduino code is problematic. Am i missing something while calling Firebase get functions, or maybe I'm not connected to the firebase. Can you give me some advice please, i would be grateful. And yes one more thing, when i upload full test sketch Firebase_Demo_ESP8266 changing only FIREBASE_HOST, FIREBASE_AUTH,WIFI_SSID and WIFI_PASSWORD i get the message printed on my serial monitor "setting /message failed:" which i guess comes from the activated if condition inside the loop method that evaluate Firebase.failed() function to true and the loop function returns. Maybe this information can be helpful too.
@you-ssef7691
@you-ssef7691 3 жыл бұрын
Hi, I have a problem, it only changes the state of the application to Firebase, but from Firebase to the Nodemcu card, the relay cannot be activated, do you know how to solve it?
@kashishnaqvi4708
@kashishnaqvi4708 4 жыл бұрын
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.
@dhananjaypawar5862
@dhananjaypawar5862 5 жыл бұрын
Sir which version uses of arduinoJson library in this program
@chekkoreyes4099
@chekkoreyes4099 5 жыл бұрын
Great, Could you use FCM to notify to android studio app an event from ESP8266.....please
@bytive
@bytive 5 жыл бұрын
Have a look on this video kzbin.info/www/bejne/kIjQgmx4oZmaf8U
@purplefurture6960
@purplefurture6960 4 жыл бұрын
Can my esp8266 esp12F work ? I think its wismos d1 r1 same code as you?
@faishalriza3139
@faishalriza3139 5 жыл бұрын
Haii.. I just saw your video and might help me a little. Can I ask, you use " Firebase.getInt("led_status") " for getting data number (0 and 1). If my data is text like "led on", what code should I use to get into arduino ide? Thanks before 🙏
@bytive
@bytive 5 жыл бұрын
Firebase.setString()/Firebase.getString()
@faishalriza3139
@faishalriza3139 5 жыл бұрын
@@bytive on the void setup, you use Firebase.set(led_status, 0). Do I have to use it too if the data is text?
@bytive
@bytive 5 жыл бұрын
Yes, you can you that also
@faishalriza3139
@faishalriza3139 5 жыл бұрын
@@bytive thank u! Greetings from Indonesia 🙏
@bhuvaneshs8995
@bhuvaneshs8995 5 жыл бұрын
Hi, this is bhuvanesh This video represent how to create and read the data from database field by using (set and get) keyword in arduino program. Could you help me with how to create table and in that table how to create two field(LED_STATUS1 and LED_STATUS2) and how to get the data from those fields which is inside the table.(Syntax for this operation please) Thank you!
@bytive
@bytive 5 жыл бұрын
Hi, bhuvanesh have a look on this video : kzbin.info/www/bejne/p2TcpKutg9WdsJI Have a look on this video
@bhuvaneshs8995
@bhuvaneshs8995 5 жыл бұрын
Yes, thanks for sharing this video. Its very helpful for me. Is there any way to enter dynamic ssid and password for wifi to nodemcu instead of writing hard-coding!
@ebenezerjebaraj1895
@ebenezerjebaraj1895 6 жыл бұрын
sir i need a help. I did the same for the ultrasonic sensor connected to node mcu and the data is send to google firebase but it is showing error. pls can you help me out
@MrREIVAX2
@MrREIVAX2 5 жыл бұрын
Good video and to turn on the led by means of voice with Google home How do you do?
@givaty435
@givaty435 5 жыл бұрын
THX YOU so much !!!
@bytive
@bytive 5 жыл бұрын
I m really glad to help you out
@givaty435
@givaty435 5 жыл бұрын
@@bytive ok i tried it work 100 % But there is a probleme , after 10 min or a few hours the esp8266 disconect itself from the wifi and i have to press the reset buton . Is there a solution to make it always work ?
@bikrammukherjee7613
@bikrammukherjee7613 6 жыл бұрын
hello, when i want to create a project like you.when i create the project then it take some Analytics location and Cloud Firestore location .so what should i give to it?mainly firestore location.please help me.
@bytive
@bytive 6 жыл бұрын
i think nodemcu doesn't support firestore you link firebase with firestore and make relevant changes
@bikrammukherjee7613
@bikrammukherjee7613 6 жыл бұрын
so what kind of board you used?
@bikrammukherjee7613
@bikrammukherjee7613 6 жыл бұрын
am doing the same thing what you did already.but when i am creat the project then the problem arise about the firestore...please check that the firebase and then open new project .in the form the problem arise.
@bytive
@bytive 6 жыл бұрын
its Arduino node mcu
@bikrammukherjee7613
@bikrammukherjee7613 6 жыл бұрын
i am using arduino nodemcu.but my main problem when i create new project it shows me 4 fields. 1.name id auto generated next region next firestore you please open firebase and create new project once.please
@jeftl
@jeftl 5 жыл бұрын
Why do i experience disconnecting and reconnecting in wifi?
@xSoShi
@xSoShi 6 жыл бұрын
i have a problem, it says my D1 was not declared in this scope, the last digitalWrite(D1, LOW);
@bytive
@bytive 6 жыл бұрын
actually nodemcu uses gpio pins try this: int d1= 5; // d1 = gpio 5 Arduino now use pinMode(d1, output) void loop { digitalWrite(d1, LOW); } for more info about gpio refer: www.google.co.in/search?q=nodemcu+pin+diagram&oq=node&aqs=chrome.1.69i59l2j69i57j69i65l2j69i59.2414j0j7&client=ms-android-xiaomi&sourceid=chrome-mobile&ie=UTF-8#imgrc=47r_W2A31iOr9M:
@xSoShi
@xSoShi 6 жыл бұрын
what board are you selected for in arduino
@bytive
@bytive 6 жыл бұрын
node mcu
@xSoShi
@xSoShi 6 жыл бұрын
is it possible we chat ? facebook?
@bytive
@bytive 6 жыл бұрын
my business WhatsApp : +17164278150
@ramazanayten3758
@ramazanayten3758 2 жыл бұрын
Arduino gsm module firebase led control relay control example pls
@vijayalakshmim5302
@vijayalakshmim5302 6 жыл бұрын
Once you click 'upload' the code gets deployed on NodeMCU. So the code keeps runnings 24/7 on NodeMCU?
@bytive
@bytive 6 жыл бұрын
yes if power is on, void loop() in code run for 24/7
@vijayalakshmim5302
@vijayalakshmim5302 6 жыл бұрын
HACK ANONS thanks for the reply. If it runs 24/7 Will nodeMCU not get heated up or get affected.
@bytive
@bytive 6 жыл бұрын
no there will be no issue just supply 5v, i already using arduino uno on some project which is 24/7 running from last 4 months
@vijayalakshmim5302
@vijayalakshmim5302 6 жыл бұрын
HACK ANONS awesome thank you. Big thanks for uploading this wonderful project
@bytive
@bytive 6 жыл бұрын
glad to hear it :D
@embeddeda2z
@embeddeda2z 6 жыл бұрын
Use mills for a time delay even don't use delay statment
@davelodia9157
@davelodia9157 3 жыл бұрын
Sir Can you make also for fire sensor with buzzer IOT Firebase using Arduino Node MCU ESP8266
@N19wayne
@N19wayne 5 жыл бұрын
Thanks for your video, but i have a problem, can you help me to up 1 video can control more than 1 led? i tried but nothing happen. TYVM
@ijazahmad7525
@ijazahmad7525 6 жыл бұрын
My nodemcu not working after power recycle.. i have to upload again and again when after power off.. please help me
@Hi5ist
@Hi5ist 6 жыл бұрын
You help me a lot, but i do not can conect to firebase, i make the same of you and also try the example program only changing the url of my firebase, the secret, the wifi name and password and it says that always fails, can you help me?
@goharshafiq9953
@goharshafiq9953 4 жыл бұрын
hi! sir i am getting an error. code work well for 50 to 60 seconds then it restart showing error Exception 9. please help.
@hardikprajapati8569
@hardikprajapati8569 6 жыл бұрын
Hello sir I want to switching my home appliances using firebase but my node MCU is not connecting with my firebase account can you help me in this it's my final year project
@bytive
@bytive 6 жыл бұрын
ya sure, can you please elaborate what's issue arising while connecting
@billycahyo3540
@billycahyo3540 3 жыл бұрын
I can't access the code
@umerahsan8120
@umerahsan8120 4 жыл бұрын
can you show us how to control motor using firebase with the help of android studio application
@bytive
@bytive 4 жыл бұрын
Ya sure i will create tutorial on this
@mdwasim8433
@mdwasim8433 4 жыл бұрын
Hello sir can i use my android smartwatch's sensors like accerelomete,heart rate sensors in place of node mcu and sensor. Please reply ....
@bytive
@bytive 4 жыл бұрын
No wasim, actually using ardunio we create prototype once prototype product is ready then it's send for fabrication of production. Fsbrication makes that prototype smaller according to your requirements
@bhuvaneshs8995
@bhuvaneshs8995 5 жыл бұрын
Yes, thanks for sharing this video. Its very helpful for me. Is there any way to enter dynamic ssid and password for wifi to nodemcu instead of writing hard-coding!
@saikumargopisetty9462
@saikumargopisetty9462 5 жыл бұрын
hi,this sai kumar ,it was not working to me can you help me please.
@neetusharma8540
@neetusharma8540 6 жыл бұрын
How to set my firebase rule to public
@boychannelz5471
@boychannelz5471 6 жыл бұрын
In constructor 'FirebaseObject::FirebaseObject(const char*)': error: 'class ArduinoJson::StaticJsonBuffer' has no member named 'parse' json_ = buffer_.get()->parse(&data_[0]);
@steveb7600
@steveb7600 6 жыл бұрын
your using the wrong ArduinoJson librry, you need a specific one, not the latest
@YADA70073
@YADA70073 6 жыл бұрын
How can we know from Firebase when NodeMCU lost connection or lost wifi connection? Thank
@ikwanisb6732
@ikwanisb6732 4 жыл бұрын
Anyone, is this tricks works for now ? i try step by step but didnt works, can't create data to firebase
@bytive
@bytive 4 жыл бұрын
Hi this library is outdated now, please watch this updated tutorial: kzbin.info/www/bejne/pGOngIuqj958f7s
@ikwanisb6732
@ikwanisb6732 4 жыл бұрын
@@bytive thankyou so much,its work perfectly
@nimraaslam6760
@nimraaslam6760 6 жыл бұрын
I want to Upload the image from ardiuno SD to firebasestorage.. can you please help me for this..?
@bytive
@bytive 6 жыл бұрын
I haven't tried it out, from where you are capturing image😅
@nimraaslam6760
@nimraaslam6760 6 жыл бұрын
HACK ANONS ov7670 ardiuno camer
@fikrisalahudin3387
@fikrisalahudin3387 6 жыл бұрын
thank you
@bytive
@bytive 6 жыл бұрын
glad to help you out :)
@caiomendeslima5541
@caiomendeslima5541 5 жыл бұрын
Awesome Video, very good, man! I just had a problem. I did not find the firebase library, could you help me on it?
@bytive
@bytive 5 жыл бұрын
Please check this link : www.hackanons.com/2018/02/iot-with-firebase-connecting-arduino.html
@innovativemind4211
@innovativemind4211 6 жыл бұрын
awesome bro i got many things from your iot videos but i want make app in mit app inventer for firebase.
@vivenkumarXR
@vivenkumarXR 6 жыл бұрын
Thanks bro
@bytive
@bytive 6 жыл бұрын
glad to hear it :)
@dhananjaypawar5862
@dhananjaypawar5862 5 жыл бұрын
Error occur :- ardiunojson not found
@passivenergiejapaninc.2155
@passivenergiejapaninc.2155 6 жыл бұрын
The samples are not compiling. I am using Arduino 1.8.5
@bytive
@bytive 6 жыл бұрын
what's the error you're getting?
@LeonardoMorales08
@LeonardoMorales08 6 жыл бұрын
Great video!! I have a problem, I have a project with 1 Led and a DHT11 sensor writing data on firebase, but I in my void loop I have a delay of 5000 milliseconds and when I change Led status this need to wait the time of the delay, how I can avoid that?? I think that I can use firebase.available but I don't understand how, can you make a video please, thanks
@bytive
@bytive 6 жыл бұрын
mail me your code snippet so that I can check it out!
@aaryagupta7201
@aaryagupta7201 4 жыл бұрын
give me a link of part 1
@bytive
@bytive 4 жыл бұрын
kzbin.info/www/bejne/e4ekd2yZadaGjNU
@ymcheung
@ymcheung 6 жыл бұрын
Great video. I wonder how we can retrieve firebase data from a lot of unique keys (e.g. --L8WDA0YvSjG11Uf)? If you know this, please share, many thanks.
@muhibborkar3821
@muhibborkar3821 5 жыл бұрын
Setting no. Failure occured
@sonmai3526
@sonmai3526 5 жыл бұрын
That library is no longer working now. Use Firebase ESP8266 instead: github.com/mobizt/Firebase-ESP8266
@sonmai3526
@sonmai3526 5 жыл бұрын
Update: the library didn't work because Google changed SSL Fingerprint and the library didn't adapt. The author just update library so you can retry!
@aaryagupta7201
@aaryagupta7201 4 жыл бұрын
can u give me a .json file
@bytive
@bytive 4 жыл бұрын
Which json file you need
@aaryagupta7201
@aaryagupta7201 4 жыл бұрын
The firebase one
@kajalrajvaidya7453
@kajalrajvaidya7453 6 жыл бұрын
tuch bhau
@CARRY_ON1909
@CARRY_ON1909 6 жыл бұрын
GOOD LUCK, YOU DO NOT GIVE NO LESSON WITH COURSE ONNLAINE
@ijazahmad7525
@ijazahmad7525 6 жыл бұрын
When i uplaod code for 8 switch(D1toD8) it only work when in power. But not after power recycle.. i have to upload again and again. Please help me
@webdevelopersl9355
@webdevelopersl9355 5 жыл бұрын
thank you
@bytive
@bytive 5 жыл бұрын
I am really glad to help you out,😋
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
The Genius Way Computers Multiply Big Numbers
22:04
PurpleMind
Рет қаралды 99 М.
IoT light using NodeMCU ESP8266, Arduino, HTML, CSS, jQuery and Firebase
13:34
Предел развития НЕЙРОСЕТЕЙ
18:53
Onigiri
Рет қаралды 166 М.
ESP8266 + Arduino + database - Control Anything from Anywhere
13:51
Electronoobs
Рет қаралды 645 М.
How did the Enigma Machine work?
19:26
Jared Owen
Рет қаралды 10 МЛН
How One Line of Code Almost Blew Up the Internet
13:47
Kevin Fang
Рет қаралды 2,1 МЛН
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,2 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН