ESP32 SIM800L Firebase | Send GPS Data to Server

  Переглядів 26,487

Ahmad Logs

Ahmad Logs

День тому

In this video, I will show you how to use esp32 with sim800l GSM module to send GPS data to Firebase. I am using HTTP PUT to send data to Firebase. Arduino Firebase library uses WiFi to store the data to Firebase database and I did not find any Firebase library that works with GSM module such as sim800l. Also sim800l supports only HTTP POST and HTTP GET Request. But I need HTTP PUT Request to update data in Firebase database. That's why I am using Arduino HTTP CLIENT library to send the HTTP PUT Request (to store GPS data to Firebase real-time database).
Components Required:
1. ESP32 Development Board - amzn.to/3YCq2dS
2. Ublox NEO6M GPS Module - amzn.to/3YwyWd7
3. SIM800L GSM Module - amzn.to/3J48mlW
4. 2G SIM Card
5. Battery 18650 3.7v 2000mAh - amzn.to/3ZAxV51
0:00 Intro
0:09 Connecting Components (Wiring)
0:35 Creating Firebase Project
1:24 Creating Firebase Realtime Database
2:07 Setting Up the Code
2:20 Getting Firebase Host
2:58 Getting Firebase Auth Token
3:36 Determine Firebase Database Path
4:48 Run and Test Project
#ESP32 #Firebase #SIM800L
--------------------------------------------------------------------------------------------------------------------
Useful Video Links
--------------------------------------------------------------------------------------------------------------------
ESP32 SIM800L GPS Tracker
• ESP32 SIM800L GPS Trac...
ESP32 GPS Tracker | NEO6M | OLED
• ESP32 GPS Tracker | NE...
--------------------------------------------------------------------------------------------------------------------
Social Media Links
--------------------------------------------------------------------------------------------------------------------
GitHub:
github.com/ahmadlogs/
UKposts:
ukposts.info?sub...
--------------------------------------------------------------------------------------------------------------------
Download Code
--------------------------------------------------------------------------------------------------------------------
github.com/ahmadlogs/esp32-fi...
--------------------------------------------------------------------------------------------------------------------
Disclaimer
--------------------------------------------------------------------------------------------------------------------
Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Warning: In some countries it is required to register gsm module from govt authorities before using it. So, get proper understanding of govt laws related to gsm technologies.
--------------------------------------------------------------------------------------------------------------------
Related Queries:
--------------------------------------------------------------------------------------------------------------------
Sending data to firebase using SIM800L,
Sending Sensor Data to Firebase using ESP32 and sim800L
How do I send a PUT request using the SIM800L
How to use arduino, sim800 and firebase

КОМЕНТАРІ: 340
@sidwincafemusic7827
@sidwincafemusic7827 2 роки тому
Very very helpful, thank you so much!
@AhmadLogs
@AhmadLogs 2 роки тому
thanks
@patrickmoraga6622
@patrickmoraga6622 2 роки тому
Señor, muchas gracias por su video
@AhmadLogs
@AhmadLogs 2 роки тому
Thanks
@chinmaynagar105
@chinmaynagar105 Рік тому
Hi what's the version of TinyGSM library because I try latest version of GSM modem sim800l but it can't be with gprs using the library but it's working with AT commands and it's also working with initial version of TinyGSM
@abdel-sattarmohamed5973
@abdel-sattarmohamed5973 Рік тому
Hello, i can use this system with accumulator in accident project without Arduino.
@phantomtrixx1250
@phantomtrixx1250 Рік тому
How to retrieve data from firebase? by the way great video, it perfectly worked for me thanks!
@AhmadLogs
@AhmadLogs Рік тому
great
@benadjilabillal2866
@benadjilabillal2866 2 роки тому
Good job. Thank you
@AhmadLogs
@AhmadLogs 2 роки тому
Welcome!
@yuvraj___2358
@yuvraj___2358 2 місяці тому
would this work if i use arduino instead of ESP32
@bobyonnie3870
@bobyonnie3870 Рік тому
Hello, I'm working on the same project with the ESP32 SIM7000G. Just was wondering what modifications I need to do to make it work? I noticed another person was trying to do the same exact thing and had problems such as, "error: 'gsm_client_secure_modem' was not declared in this scope". What do I need to change to make it work?
@AhmadLogs
@AhmadLogs Рік тому
I think you did not install the TinyGsmClient library. so you just install it first. the download link for the library is available in the code
@harshpithava6966
@harshpithava6966 10 місяців тому
Can you please show the example how to control led with arduinohttpclient firebase
@rodrigogoncalves9009
@rodrigogoncalves9009 2 роки тому
Good night First, I want to thank you for the video, it helped me a lot. However I have a doubt, this way you made the code, is it possible to send a txt file to firebase?
@AhmadLogs
@AhmadLogs 2 роки тому
I might be possible. but I never done it before. sim800l is 2g module. So, its internet speed is very very slow. that's why sending files are tricky
@jempotofficial6327
@jempotofficial6327 2 роки тому
Hi! i just want to ask if your are connected to wifi or you still using sim800c to send data to firebase?
@AhmadLogs
@AhmadLogs 2 роки тому
I am using sim800l for sending data to firebase. no wifi connection is required.
@jempotofficial6327
@jempotofficial6327 2 роки тому
Ow wow thats nce... one last question, it is also going to work with sim900A rigth?
@AhmadLogs
@AhmadLogs 2 роки тому
@@jempotofficial6327 yes, it must works. but I have never tested it with sim900
@thelike
@thelike 2 роки тому
the request takes around 50 seconds to send, is this a module limitation or is it my internet? I wanted it faster... thx
@AhmadLogs
@AhmadLogs 2 роки тому
sim800l works on 2g network. Its internet speed is very slow. if you need faster response then you need to use some 3g gsm module
@haikal3203
@haikal3203 2 роки тому
do you know how to save value from responsebody to variable? i want to turn on or off the led from firebase
@AhmadLogs
@AhmadLogs 2 роки тому
you need assignment operator (=). ie. variable = responsebody
@irgisatriomandega1046
@irgisatriomandega1046 Рік тому
how to firestore not real time databse?
@creepydeep2841
@creepydeep2841 Рік тому
Sir, is it possible to use arduino uno or arduino nano instead of esp32?
@AhmadLogs
@AhmadLogs Рік тому
it required modification in the code
@badsekar9851
@badsekar9851 Рік тому
It's very helpful. But What connection I need Change if am not using battery and Sim boards
@AhmadLogs
@AhmadLogs Рік тому
you are saying just use gps module and esp32 right?
@badsekar9851
@badsekar9851 Рік тому
@@AhmadLogs yes
@AhmadLogs
@AhmadLogs Рік тому
@@badsekar9851 explore my channel you will definitely find a video on this topic
@bumiideal2097
@bumiideal2097 Рік тому
can i use esp8266 instead of esp32
@iam_kiyoshi
@iam_kiyoshi 4 місяці тому
can you re create this to esp 8266 board?
@sudharshanprakash7951
@sudharshanprakash7951 2 роки тому
sir whether esp 32 module in ur video uses wifi to send data to the firebase server?if so how it gets wifi connection
@AhmadLogs
@AhmadLogs 2 роки тому
its not using wifi connection. it uses gprs internet of sim800l to send data to firebase
@sudharshanprakash7951
@sudharshanprakash7951 2 роки тому
@@AhmadLogs sir thank you for your reply sorry for asking another doubt 😅 whether this internet connection is get from the sim card which we will insert
@AhmadLogs
@AhmadLogs 2 роки тому
@@sudharshanprakash7951 yes you are right
@diegorocha6002
@diegorocha6002 2 роки тому
Congrats for the video... My GPS module does not flash... I have sure the wiring is correct! Has GPS module a different way to turn on? Is it use the signal from ESP32 to turn on? Pe=lease, help me Sir!!
@AhmadLogs
@AhmadLogs 2 роки тому
no, just powering the gps module from 3.3v pin. please check your gps antenna.
@halilibrahimcapa8046
@halilibrahimcapa8046 Рік тому
how do i use 4g instead of 2g for sim800l
@rrrhhhhhh5545
@rrrhhhhhh5545 2 роки тому
Hello how can I communicate with you for the absolute necessity.
@thebluekid
@thebluekid Рік тому
Hello Dr. Kagan, im very fan of your videos, Im with a project using http to post to firebase throug sim800l and everything is fine until i POST data and get a Status code: -2 Status code 200 seems to be the correct one in your video. Do you know where i can see what is that error? i can not find information about this easily. Thank you a lot!
@AhmadLogs
@AhmadLogs Рік тому
This video is no longer up-to-date. In order to use Firebase with the project, you now need a 3G module instead of the module that was used in the video.
@dr.kaganayanoglu2656
@dr.kaganayanoglu2656 Рік тому
Hello. The project is beautiful. But will it work on all ESP32s? For example ESP32-S2-WROVER, ESP32-S2-WROOM does it matter? Additionally, how does the code change for esp8266?
@AhmadLogs
@AhmadLogs Рік тому
it will definitely run on all the flavors of esp32 boards that have at least two hardware serial ports. but for esp8266 you will have to change most of the code.
@muhammadalisiddiqui4108
@muhammadalisiddiqui4108 Рік тому
Is esp32 necessary? cant we use sim800L to connect and transfer data like you did in dht11 sensor.
@AhmadLogs
@AhmadLogs Рік тому
in that video I have used Arduino instead of esp32. you need at least one micro controller to control the sim800l
@boldmalisid
@boldmalisid Рік тому
@@AhmadLogs Ahmad bhai im still stuck. its soo annoying now. Im using jazz 4g, sim800l and neogps. I cant send data to firebase. i need to upload my realtime tracking location of my cycle..
@AhmadLogs
@AhmadLogs Рік тому
@@boldmalisid you need a 4g gsm module
@francyrussllanto6286
@francyrussllanto6286 2 роки тому
I just wanna know if it is possible to use nodemcu esp8266 board here
@AhmadLogs
@AhmadLogs 2 роки тому
yes, it is possible, you can use nodemcu. but there are some modifications required in the esp32 sketch. the app does not required any change
@yon_ha9233
@yon_ha9233 Рік тому
Hello , could help me please i face this issue for a long ;i have ESP32-DevKitC V4 i usually use the gpio 16&17 for uploading nd progrm in case one piece neo but now with both neo and sim800l i didn't find solution to link them together i try pin 4&2 as you did even it not the same board ,but still doesn't work could you advise me witch pin gpio should use in addition to tx17 & rx16 bcause i neeeeed more than this tx rx even though i did research but no knowldg in this.... (note: is RX=3 & TX=1 WORK?? / OR gpio13 & gpio12)
@AhmadLogs
@AhmadLogs Рік тому
It sounds like you are trying to connect multiple devices to your ESP32 DevKitC board, including a NEO and a SIM800L module, and you are having trouble figuring out which GPIO pins to use for communication. To help you with this, I would recommend first reviewing the pinout diagram for the ESP32 DevKitC V4 board to see which pins are available for use. You can find the pinout diagram in the board's documentation or online. Next, you need to determine which pins on the NEO and SIM800L modules are used for communication. Typically, these modules will have pins labeled "RX" and "TX" for serial communication. Once you have identified the communication pins for each device, you can choose GPIO pins on the ESP32 that are not being used for other purposes, such as input/output or analog input. As for your specific questions, GPIO 16 and 17 are often used for communication with the NEO module, and you can use other GPIO pins for communication with the SIM800L module. For example, you could use GPIO 13 and 12 for communication with the SIM800L module, and you can use the UART1 hardware serial interface on the ESP32 for this purpose. You would connect the SIM800L's TX pin to the ESP32's RX pin (GPIO 13) and the SIM800L's RX pin to the ESP32's TX pin (GPIO 12). Alternatively, you could also use GPIO 1 and 3 for communication, but note that GPIO 1 is also used for boot mode selection, so you need to be careful when using it. Remember to also set the correct baud rate and serial communication settings for each module in your code.
@kunalmemane
@kunalmemane Рік тому
Modem is not initializing
@angelobunao2628
@angelobunao2628 2 роки тому
sir im currently working on this project to send loction data to firebase but i have a problem in the wiring diagram, im following the wire connections but neo6m isnt working and sim800l is overvoltage, sir can u help me with this?
@AhmadLogs
@AhmadLogs 2 роки тому
power sim800l using 3.7v battery, or use buck converter. this is the main issue
@ness-wy1vb
@ness-wy1vb 11 місяців тому
my sim800l doesn't connect to the internet :(
@Samirsamawade
@Samirsamawade 2 роки тому
Sir can I use this code for esp8266 instead. If yes then please help me which lines should I change.
@AhmadLogs
@AhmadLogs 2 роки тому
you need to add softwareSerial and AltSoftwareSerial libraries, one for sim800l and the other for gsm module. also you need to change hardware serial lines in code to softwareSerial and AltSoftwareSerial
@_MKhairulFattah
@_MKhairulFattah 9 місяців тому
can i use Arduino UNO instead of esp32??and what about the wiring and program code?
@AhmadLogs
@AhmadLogs 9 місяців тому
You can use it for your project. I have several tutorials on my channel that cover similar projects using Arduino. Feel free to check them out for guidance
@eyrisss
@eyrisss Рік тому
Is it okay if I input long instead lng?
@AhmadLogs
@AhmadLogs Рік тому
you can change the variables names any time
@ebajovinceronnie2998
@ebajovinceronnie2998 Рік тому
Will it work if I connected my esp32 to wifi instead of relying to sim800l?
@AhmadLogs
@AhmadLogs Рік тому
yes
@qarabraza2665
@qarabraza2665 2 роки тому
Sir i really need your help i want to get gps data on firebase from neo 6m by using nodemcu esp32+sim800l gsm ttgo t-call module please need your help asap
@AhmadLogs
@AhmadLogs 2 роки тому
I think, you can use the same code. it must work
@hansiehertzog6506
@hansiehertzog6506 2 роки тому
how do you set up the privacy from test to locked mode
@AhmadLogs
@AhmadLogs 2 роки тому
please explain
@khalillachraf5175
@khalillachraf5175 Рік тому
how to control relay adding to this your project could you help me to stop car when it losed
@AhmadLogs
@AhmadLogs Рік тому
check this video ukposts.info/have/v-deo/aoShaG-eZI512J8.html. Here I have to used transistor to turn on and off the bike. you can replace relay with the transistor without making any change in the code
@khalillachraf5175
@khalillachraf5175 Рік тому
But this is by SMS could make it with firebase . GPS and relay control all by firebase not SMS
@AhmadLogs
@AhmadLogs Рік тому
@@khalillachraf5175 I will try it
@onurozdemir9584
@onurozdemir9584 2 роки тому
Hi Sir; How can I get data from firebase RTDB. I want to control esp with firebase. I do post data but I didnt get data from firebase. Example: I want to read from firebase path and I will control this PATH with mobile app. Can you help me? Just for getting data from firebase.
@AhmadLogs
@AhmadLogs 2 роки тому
it is very difficult to read data using sim800l. I have already tried it but not getting any solution
@VitorFThome
@VitorFThome 7 місяців тому
For getting the data from firebase otherwise you could do a GET command with SIM800L from time to time as well but it would not be “real time” updates.
@khalillachraf5175
@khalillachraf5175 Рік тому
i do this your example i want add bottom to stop car with sim800l and firebase
@AhmadLogs
@AhmadLogs Рік тому
good idea
@khalillachraf5175
@khalillachraf5175 Рік тому
Could you help me brother ?
@timurbatashev147
@timurbatashev147 2 роки тому
please connect esp32 sms and gps-tracker and es32 firebase so that you can send sms and follow real-time internet
@nitishgowrydoss6959
@nitishgowrydoss6959 Рік тому
Can I use just the sim800L module and esp board ?
@AhmadLogs
@AhmadLogs Рік тому
yes, but it will not gives you the gps location
@giovcarrillo4222
@giovcarrillo4222 2 роки тому
When I test it, it does not display the modem(sim800l). Is it because of the apn? How should I set sim800l apn?
@AhmadLogs
@AhmadLogs 2 роки тому
you will have to find apn setting from the sim card provider website. the sim card you have inserted in the sim800l. note: the error you have post before is never caused by apn setting. there is some other issue
@Muhammedff
@Muhammedff 8 місяців тому
Sir, my sim800l is not connecting to the internet, where is the problem?
@pablorocha7578
@pablorocha7578 8 місяців тому
Check the version sim, need to be r14.18 up
@edopurwanto5593
@edopurwanto5593 2 роки тому
i have a problem in serial monitor showing HTTP not Connected. do you have a solution ?
@AhmadLogs
@AhmadLogs 2 роки тому
its mean firebase connection issue. Try some time later
@ulrichorphee4071
@ulrichorphee4071 2 роки тому
Can I use your Library with Arduino Nano?
@ulrichorphee4071
@ulrichorphee4071 2 роки тому
I've try. It's working with a minimum of modifications. Thanks
@AhmadLogs
@AhmadLogs 2 роки тому
yes you can use without any modification
@ramazanayten3758
@ramazanayten3758 2 роки тому
I am waiting for an example for relay control via firebase with sim800 module
@AhmadLogs
@AhmadLogs 2 роки тому
It is not possible because firebase update its system.
@ramazanayten3758
@ramazanayten3758 2 роки тому
@@AhmadLogs 😟
@toptechautomation6649
@toptechautomation6649 Рік тому
Brother, on compiling the code this error appears, invalid cast to abstract class type 'Http Client'
@mohammedkhalidmujahid4189
@mohammedkhalidmujahid4189 Рік тому
Bro did you get the answer of this question?
@toptechautomation6649
@toptechautomation6649 Рік тому
@@mohammedkhalidmujahid4189 I didn't received the answer, but o used Arduino online editor and same code worked without error
@mohammedkhalidmujahid4189
@mohammedkhalidmujahid4189 Рік тому
@@toptechautomation6649 have you used wifi or gsm only?
@toptechautomation6649
@toptechautomation6649 Рік тому
@@mohammedkhalidmujahid4189 gsm
@roentgennebit4008
@roentgennebit4008 2 роки тому
Hi Sir, Question . why does my esp 32 has a different pinouts. :(
@AhmadLogs
@AhmadLogs 2 роки тому
esp32 is made by different companies that's why the pinout is different. LOLIN ESP32 and Standrad ESP32 has different pinout. but the working of both are same.
@roentgennebit4008
@roentgennebit4008 2 роки тому
@@AhmadLogs Thank you so much. last question. do you have a content like this using arduino uno?
@aulyafithriahanifah2756
@aulyafithriahanifah2756 11 місяців тому
Hi sir, can I use sim7600 instead of sim800l with the same code and circuit?
@AhmadLogs
@AhmadLogs 11 місяців тому
you can use but you need to update the code.
@sangnguyendang9214
@sangnguyendang9214 11 місяців тому
@@AhmadLogs SIM700 IS not support SSL port how to fix or update again
@AhmadLogs
@AhmadLogs 11 місяців тому
@@sangnguyendang9214 sim7600 supports ssl
@_krishna.ojha_
@_krishna.ojha_ 2 роки тому
Hello, @Ahmad Logs I am getting the following error: exit status 1 no matching function for call to 'HardwareSerial::HardwareSerial(int)' Can you please help me with it.
@AhmadLogs
@AhmadLogs 2 роки тому
you need to select the correct board from Tools Menu. Board must be esp32
@_krishna.ojha_
@_krishna.ojha_ 2 роки тому
@@AhmadLogs I am trying to interface the Sim800L GSM module with Arduino Nano. Is there a way to get this setup to work?
@AhmadLogs
@AhmadLogs 2 роки тому
@@_krishna.ojha_ as I think. this code must be run on arduino nano
@AhmadLogs
@AhmadLogs 2 роки тому
@@_krishna.ojha_ you need to make some changes in the code for nano
@_krishna.ojha_
@_krishna.ojha_ 2 роки тому
@@AhmadLogs Could you please share what are the changes I need to make. It would be a great help.
@barbosahernandezjohan1991
@barbosahernandezjohan1991 2 роки тому
Hello there My COM shows initializing modem: failed. Any help pls? I am using the ESP32 TTGO T-call v1.3
@AhmadLogs
@AhmadLogs 2 роки тому
try to use IPX antenna. most of the time antenna issue with ESP32 TTGO T-call
@barbosahernandezjohan1991
@barbosahernandezjohan1991 2 роки тому
@@AhmadLogs I’ll try. Another question jeje Should I change the Rx and Tx pins of the sim800 to 26 and 27 according to the TTGO T-call datasheet?
@AhmadLogs
@AhmadLogs 2 роки тому
@@barbosahernandezjohan1991 yes you must change in the code
@emorthela
@emorthela 2 роки тому
hi, can i use 3g or 4g sim card in this gsm module? thank you
@AhmadLogs
@AhmadLogs 2 роки тому
only 2g sim will work
@emorthela
@emorthela 2 роки тому
@@AhmadLogs oh thanks, one last question. If i use another 3g or 4g gsm module, should i modify the code?
@AhmadLogs
@AhmadLogs 2 роки тому
@@emorthela yes you must the code
@AhmadLogs
@AhmadLogs 2 роки тому
@@emorthela yes, you should modify the code
@user-ol5yg9wm8b
@user-ol5yg9wm8b 2 роки тому
If you don't have the same sim800l I have a SIM800L v2.0 Can it be used without changing the circuit?
@user-ol5yg9wm8b
@user-ol5yg9wm8b 2 роки тому
And How is it changed in the code?
@AhmadLogs
@AhmadLogs 2 роки тому
no need to change the circuit. same circuit will be used for sim800l v2
@user-ol5yg9wm8b
@user-ol5yg9wm8b 2 роки тому
@@AhmadLogs and the same code??
@AhmadLogs
@AhmadLogs 2 роки тому
@@user-ol5yg9wm8b yes, it must work.
@user-ol5yg9wm8b
@user-ol5yg9wm8b 2 роки тому
@@AhmadLogs thanks mr ahmad
@abdel-sattarmohamed5973
@abdel-sattarmohamed5973 Рік тому
Can me add accelerometer and apply accident system by esp.?
@AhmadLogs
@AhmadLogs Рік тому
yes you can
@gabrielz2241
@gabrielz2241 2 роки тому
There is one disadvantage, when Connecting to internet fail, then its failing all the time. I see that at afternoon chance to connect was much bigger, is that normal?
@AhmadLogs
@AhmadLogs 2 роки тому
to work with firebase using sim80l is very tedious job. so, use a 3g or 4g gsm module for bettery results.
@bumiideal2097
@bumiideal2097 Рік тому
SSL PORT , WHAT DOES IT MEANS?
@tushardas3928
@tushardas3928 2 роки тому
Sir can u make video on how to make a http post request using Nodemcu and a webserver plzzz very important help
@AhmadLogs
@AhmadLogs 2 роки тому
are you talking about PHP MySQL webserver? I will try
@tushardas3928
@tushardas3928 2 роки тому
@@AhmadLogs nope JavaScript web server and making Https post request
@AhmadLogs
@AhmadLogs 2 роки тому
@@tushardas3928 hmmmmm. I will try soon
@juanpablotororangel6312
@juanpablotororangel6312 2 роки тому
hi how can you make this smaller to pass it to PCB?
@AhmadLogs
@AhmadLogs 2 роки тому
to make it smaller use ATmega328p microcontroller instead of esp32
@BrunoTechno
@BrunoTechno Рік тому
Good job , can I use this code for arduino uno
@AhmadLogs
@AhmadLogs Рік тому
Sorry, no
@IT-cz2un
@IT-cz2un 2 роки тому
dear sir.. can i use nodemcu board for this project ? esp8266 board ?
@AhmadLogs
@AhmadLogs 2 роки тому
Yes, of course. but need a little bit change in the code
@IT-cz2un
@IT-cz2un 2 роки тому
@@AhmadLogs i tried sir, but still not got the point(different between esp32 and esp8266)sir could you plz do it ? it very important to me sir. plz one video nodemcu+ublox neo 6m+ sim800L ....... to firebase....
@AhmadLogs
@AhmadLogs 2 роки тому
@@IT-cz2un esp32 has 3 hardware serial, its mean you can attach three serial (rx, tx) devices to it without the need of additional code. but for nodemcu, you need two different software serial libraries to attach two serial devices (sim800, neo6m) to control them simultaneously. or else use software serial begin() function to control both devices
@AbdifatahSoyaan
@AbdifatahSoyaan 2 роки тому
@@AhmadLogs sir how to create software serial begin function i don’t know sir how Iam gonna do
@AhmadLogs
@AhmadLogs 2 роки тому
@@AbdifatahSoyaan before the setup add the following line SoftwareSerial sim800(rxPin,txPin); then in the setup function add the following line sim800.begin(9600);
@pratheeshs6552
@pratheeshs6552 2 роки тому
sir can you provide the fingerprint for the firebase Arduino
@AhmadLogs
@AhmadLogs 2 роки тому
are you talking about finger print sensor?
@mert-demirel
@mert-demirel 2 роки тому
Hi i have a problem i bought all parts the same in your project. But my GY-NEO6MV2 module is not working. Only read 0 latitude and 0 longitude. What is the problem. Can you help me ? And gps module didnt blinking led anytime.
@mert-demirel
@mert-demirel 2 роки тому
other parts is work. I sent to firebase correctly
@AhmadLogs
@AhmadLogs 2 роки тому
its mean, your gps module not connecting to the satellites. try to test it outdoor or change the location
@mert-demirel
@mert-demirel 2 роки тому
@@AhmadLogs thanks for feedback my module is broken. I changed to new and problem is fixed.
@AhmadLogs
@AhmadLogs 2 роки тому
@@mert-demirel that's great!
@ebajovinceronnie2998
@ebajovinceronnie2998 Рік тому
Hello can I ask you some question about this
@ralf-wx9yp
@ralf-wx9yp 2 роки тому
Hy freind !! All work but evry new data take new bucket How can i update variable whith out change bucket
@AhmadLogs
@AhmadLogs 2 роки тому
Not possible. because firebase have updated SSL/TLS version 1.0 to 1.2. and sim800l only supports TLS 1.0. I have tried HTTPS and TCP connection to firebase but failed. If you have any update, please let me know
@s.husain6125
@s.husain6125 2 роки тому
How to send multiple sensor data to firbase using SIM 800l and esp32 sir need tutorial. Thanx in advance
@AhmadLogs
@AhmadLogs 2 роки тому
I will try to make it soon
@s.husain6125
@s.husain6125 2 роки тому
@@AhmadLogs thank you sir
@davidcarabali2875
@davidcarabali2875 2 роки тому
Cuando escribo me está devolviendo el error 404 y ya no sé qué hacer, estoy usando el puerto 80 ya que la sim 808 que uso no soporta SSL
@AhmadLogs
@AhmadLogs 2 роки тому
error code: 404 means "page not found". please check your firebase url. I think issue is there
@khalillachraf5175
@khalillachraf5175 Рік тому
could you help me
@kouameraouphbini1659
@kouameraouphbini1659 2 роки тому
hello thanks for this tutorials i use ESP32 SIM7000G to send/receive data to a firebase database via GSM/GPRS. I followed your example of SIM800L but I have the following error : TinyGsmClientSecure gsm_client_secure_modem(modem, 0); ^ sketch_may12a:61:37: error: 'gsm_client_secure_modem' was not declared in this scope HttpClient http_client = HttpClient(gsm_client_secure_modem, FIREBASE_HOST, SSL_PORT); ^ exit status 1 'TinyGsmClientSecure' does not name a type can you help me please ?!!!
@AhmadLogs
@AhmadLogs 2 роки тому
install some old version of esp32 like 1.5 or 1.4. then compile your project again
@bobyonnie3870
@bobyonnie3870 Рік тому
Hey man I'm working on the same project with the ESP32 SIM7000G. Just was wondering if you ever got it up and running? And not too sure what it means to install an old version of the esp32?
@kouameraouphbini1659
@kouameraouphbini1659 Рік тому
@@bobyonnie3870 i change my baord so now i use ESP32SIM800l
@bobyonnie3870
@bobyonnie3870 Рік тому
@@kouameraouphbini1659 Dang. I figured out how to get rid of that one error btw. Firebase requires ssl so instead of using TINY_GSM_MODEM_SIM7000 you use TINY_GSM_MODEM_SIM7000SSL. I'm probably going to run into more issues but atleast that error is behind me.
@kouameraouphbini1659
@kouameraouphbini1659 Рік тому
@@bobyonnie3870 use localhos to send data on firebase
@diptanshumalviya7547
@diptanshumalviya7547 2 роки тому
Sir, I am working in your code in arduino nano ! I have bought the airtel sim. As per given direction , I uploaded the code but i found error not getting the htttp link I M not coming the out loop of line 137. If i commented (//) the whole if function 137 to 141 then next line showung HTTP not connected ! Please reslove issue. or else give some handle which i can contact you personally Sir. Advance in Thanks
@AhmadLogs
@AhmadLogs 2 роки тому
I am making a video on firebase using sim800l and arduino. It will be uploaded within a week. may it helps
@fredpro0975
@fredpro0975 Рік тому
HOW ARE YOU FRIEND, DID YOU MANAGE TO CONNECT WITH THE ARDUINO NAO AND SIM 800L TO FIREBASE?
@eham2011
@eham2011 Рік тому
hello also upload for arduino uno + sim800l + gps + firebase
@AhmadLogs
@AhmadLogs Рік тому
will try but not possible yet
@eham2011
@eham2011 Рік тому
@@AhmadLogs ok I bought an esp32 now there is only one issue "HTTP not connect" What is this http function ?
@AhmadLogs
@AhmadLogs Рік тому
@@eham2011 HTTP not connect means that the project is not connected to firebase database.
@mohammedkhalidmujahid4189
@mohammedkhalidmujahid4189 Рік тому
Sir can you please provide code for wifi credentials instead of gsm
@AhmadLogs
@AhmadLogs Рік тому
unfortunately I dont have it right now
@mohammedkhalidmujahid4189
@mohammedkhalidmujahid4189 Рік тому
@@AhmadLogs can you please tell what changes should I do in that code?
@sangnguyendang9214
@sangnguyendang9214 11 місяців тому
I use sim7600C it not working, can you help me !
@AhmadLogs
@AhmadLogs 11 місяців тому
ok how can I help you?
@efkanguvenir4716
@efkanguvenir4716 2 роки тому
How do I get the data I send? Can you give a short code?
@AhmadLogs
@AhmadLogs 2 роки тому
give me some more detail
@harvindertiwana919
@harvindertiwana919 2 роки тому
getting following error on neogps.begin and sim800.begin while compiling : invalid conversion from 'int' to 'SerialMode' [-fpermissive] Kindly resolve. Thanks.
@AhmadLogs
@AhmadLogs 2 роки тому
use updated version of arduino ide
@harvindertiwana919
@harvindertiwana919 2 роки тому
@@AhmadLogs installed latest Arduino 1.8.15, but still getting same error on these lines : neogps.begin(9600, SERIAL_8N1, RXD2, TXD2); Serial.println("neogps serial initialize");
@AhmadLogs
@AhmadLogs 2 роки тому
@@harvindertiwana919 have you select the correct board for esp32? It is a syntax error.
@AhmadLogs
@AhmadLogs 2 роки тому
@@harvindertiwana919 It is just the syntax error. I am still trying but not figure out the issue
@harvindertiwana919
@harvindertiwana919 2 роки тому
@@AhmadLogs Thanks for your replies : When I deleted the following lines from the code, then it complied perfectly : sim800.begin(9600, SERIAL_8N1, rxPin, txPin); Serial.println("SIM800L serial initialize"); neogps.begin(9600, SERIAL_8N1, RXD2, TXD2); Serial.println("neogps serial initialize"); delay(3000); Now my question is that are these lines are mandatory or the code can function by deleting these lines ?
@nsonelectronicslabs9776
@nsonelectronicslabs9776 9 місяців тому
hello how do i add speed on the same firebase please help
@AhmadLogs
@AhmadLogs 9 місяців тому
also add the speed in the http request code in the ino file
@nsonelectronicslabs9776
@nsonelectronicslabs9776 9 місяців тому
I integrated with the MIT app but I have one problem I have placed a switch on and off button so when I press the button the sim800l should get the command from the firebase then communicate with esp32 to switch off or on the car can you help me or do a video on that?
@AhmadLogs
@AhmadLogs 9 місяців тому
@@nsonelectronicslabs9776 I will try to make a video on it.
@nsonelectronicslabs9776
@nsonelectronicslabs9776 9 місяців тому
Okay on how to get the sent commands from the app on firebase using sim800l and esp32 if it can be your next video I can be the happiest man on earth
@sefsartech
@sefsartech Рік тому
if i use esp8266 will it work?
@AhmadLogs
@AhmadLogs Рік тому
no
@wahyudiana347
@wahyudiana347 2 роки тому
hi, is this work on arduino uno?
@AhmadLogs
@AhmadLogs 2 роки тому
no, you need to modify the code
@wahyudiana347
@wahyudiana347 2 роки тому
@@AhmadLogs whats the code should be modified? Can u explaint to me plz?
@AhmadLogs
@AhmadLogs 2 роки тому
@@wahyudiana347 I will try to make a video on it soon
@vertexstudio1784
@vertexstudio1784 2 роки тому
Can you provide the what is the changes of this code for uno board
@AhmadLogs
@AhmadLogs 2 роки тому
for sim800l and gps modules you need to use SoftwareSerial and AltSoftwareSerial library.
@vertexstudio1784
@vertexstudio1784 2 роки тому
@@AhmadLogs after connection its say HTTP not connect
@vertexstudio1784
@vertexstudio1784 2 роки тому
Hi can you check this
@AhmadLogs
@AhmadLogs 2 роки тому
@@vertexstudio1784 It must connect. can you please tell me every time you stuck on "HTTP not connect" error? Try to test it again.
@vertexstudio1784
@vertexstudio1784 2 роки тому
Yes now 2days iam searching answer also. But it same.
@edopurwanto5593
@edopurwanto5593 2 роки тому
how to make multi path in your code ?
@AhmadLogs
@AhmadLogs 2 роки тому
you make a variable for PATH2. then in PostToFirebase() function line 144 add some logic to use path1 or path2. or else duplicate PostToFirebase() to PostToFirebase1() and then in that function use PATH2
@timurbatashev147
@timurbatashev147 2 роки тому
to be 2 in one
@kuldeepaher4937
@kuldeepaher4937 Рік тому
Im getting HTTP not connect error could you please help?
@andrepaulo2310
@andrepaulo2310 Рік тому
I'm going through the same problem. Did you manage to solve? how?
@spyrosgeorgiou5623
@spyrosgeorgiou5623 Рік тому
@@andrepaulo2310 same problem here, did you solve it?
@mahmudulhasanabid7767
@mahmudulhasanabid7767 2 роки тому
I am getting "HTTP not connect" msg on serial monitor. What can be cause of it?
@AhmadLogs
@AhmadLogs 2 роки тому
please check your Firebase URL
@mahmudulhasanabid7767
@mahmudulhasanabid7767 2 роки тому
@@AhmadLogs Thank you so much. Another help please. I am always getting "HTTPACTION: 1,606,0 ". I have searched a lot for solution... But, result is zero! Would you please give me any direction?
@AhmadLogs
@AhmadLogs 2 роки тому
@@mahmudulhasanabid7767 it required to upgrade the code. I am trying to find another way to make it more accurate
@VizionTeller
@VizionTeller 2 роки тому
how to use SIM900A GSM Module
@AhmadLogs
@AhmadLogs 2 роки тому
unfortunately, I dont have sim900a
@felixt.467
@felixt.467 Рік тому
Im always getting this error: Unhandled: +CME ERROR: operation not allowed pleas help
@AhmadLogs
@AhmadLogs Рік тому
there must be an error code after +CME ERROR. please tell me the error code
@giovcarrillo4222
@giovcarrillo4222 2 роки тому
Hello! Help me please. The serial monitor displays: HTTP not connect. How can I solve this?
@AhmadLogs
@AhmadLogs 2 роки тому
this code is not working any more. due to some updates in the Firebase system. I am trying to find some other solution for this
@giovcarrillo4222
@giovcarrillo4222 2 роки тому
@@AhmadLogs What update was it, Sir?
@AhmadLogs
@AhmadLogs 2 роки тому
@@giovcarrillo4222 sim800l supports TLS 1.0. but firebase upgrade it to TLS 1.2. now you need a gsm module that supports TLS 1.2
@giovcarrillo4222
@giovcarrillo4222 2 роки тому
@@AhmadLogs Oh no! That's unfortunate...do you recommend any solutions?
@AhmadLogs
@AhmadLogs 2 роки тому
@@giovcarrillo4222 there are two solutions 1. use 3g gsm module 2. send the data to php server using sim800l. and then php code will store that data to Firebase.
@ElectroCoderEC
@ElectroCoderEC Рік тому
The video shows how send data to firebase, but How can I read data from firebase to Sim800?
@DaneSavcic
@DaneSavcic Рік тому
The only way to communicate with 800l module reliably is via SMS proxy as 800l is ancient technology.
@ElectroCoderEC
@ElectroCoderEC Рік тому
@@DaneSavcicthen how can receive data from firebase to sim? With actual technology tools?
@DaneSavcic
@DaneSavcic Рік тому
@@ElectroCoderEC Build Android app that gets Firebase data and then sends this data to the module via SMS
@ElectroCoderEC
@ElectroCoderEC Рік тому
@@DaneSavcic expensive method lol
@DaneSavcic
@DaneSavcic Рік тому
@@ElectroCoderEC You need one phone, what's so expensive about that:)
@andiandriawan2336
@andiandriawan2336 2 роки тому
Can i use this code to arduino uno?
@AhmadLogs
@AhmadLogs 2 роки тому
no. you must change the code for arduino
@andiandriawan2336
@andiandriawan2336 2 роки тому
@@AhmadLogs which part should i change?
@AhmadLogs
@AhmadLogs 2 роки тому
@@andiandriawan2336 you need to change the hardware serial for both sim800l and gps modules in the code. and then you need to use software serial library to connect to the sim800l and gps.
@zidanrafifpratama
@zidanrafifpratama Рік тому
hi are this code compatible with esp8266
@AhmadLogs
@AhmadLogs Рік тому
no, its only work on esp32
@zidanrafifpratama
@zidanrafifpratama Рік тому
@@AhmadLogs can you make it esp8266 version ?
@AhmadLogs
@AhmadLogs Рік тому
@@zidanrafifpratama after some updates on the firebase database. I am unable to connect to the database using sim800l. I am searching a solution. if I got any success then I will definitely make a video on it.
@zidanrafifpratama
@zidanrafifpratama Рік тому
@@AhmadLogs okeyy bro i will wait
@noumanqureshi3503
@noumanqureshi3503 Рік тому
Will this code still work?
@AhmadLogs
@AhmadLogs Рік тому
no
@noumanqureshi3503
@noumanqureshi3503 Рік тому
@@AhmadLogs Can you give me an idea how can I make it work? I'll appreciate your answer so much
@felixt.467
@felixt.467 Рік тому
your provided example code seems not to work. It always has an issue accessing the HTTP server
@AhmadLogs
@AhmadLogs Рік тому
Firebase has updated its system. It required to update the code. but I am unable to find any solution to update the code.
@felixt.467
@felixt.467 Рік тому
@@AhmadLogs that's unfortunate. Can you let me know if any solution will be working? Best regards. Ps I tried for 7h to get it to work
@AhmadLogs
@AhmadLogs Рік тому
@@felixt.467 there is a way first you send the data to a web server like 000webhost. and on the web server you might use php or python libraries for Firebase to send the data from web server to Firebase host.
@felixt.467
@felixt.467 Рік тому
@@AhmadLogs how can I contact you? We would like to get more information about this topic. Thanks
@felixt.467
@felixt.467 Рік тому
@@AhmadLogs could you provide us an example?
@Sohailkhan-zw1gl
@Sohailkhan-zw1gl 2 роки тому
can u make the exact project but with node mcu ?
@AhmadLogs
@AhmadLogs 2 роки тому
yes. but not this time. it is a little bit tricky
@AhmadLogs
@AhmadLogs 2 роки тому
you have included #include twice, in line number 16, and line number 36. It must include once. so, delete #include from line number 36.
@Sohailkhan-zw1gl
@Sohailkhan-zw1gl 2 роки тому
@@AhmadLogs okay , thanks , anything else?
@AhmadLogs
@AhmadLogs 2 роки тому
@@Sohailkhan-zw1gl just try it. if face any issue contact me again. I will try to solve
@Sohailkhan-zw1gl
@Sohailkhan-zw1gl 2 роки тому
@@AhmadLogs i tried it and unfortunately it's didn't make any difference, i only have 2 options right now , ome is node mcu and other one is arduino nano , cant go with esp 32 , so i m bound to do this with node mcu or arduino nano .
@IMUGLY
@IMUGLY 2 роки тому
my COM is not displaying anything can you give me some help pl,erase ?
@AhmadLogs
@AhmadLogs 2 роки тому
please check baud rate and rx and tx connection for both modules
@IMUGLY
@IMUGLY 2 роки тому
@@AhmadLogs it was indeed thanks a lot, now I'm having problems with my l800 I must get a 2g sim
@AhmadLogs
@AhmadLogs 2 роки тому
@@IMUGLY hmmmm....
@logikasederhana3592
@logikasederhana3592 11 місяців тому
still running on 2023?
@AhmadLogs
@AhmadLogs 11 місяців тому
no it required update
@logikasederhana3592
@logikasederhana3592 11 місяців тому
do you have a whatsapp number?
@juanpablotororangel6312
@juanpablotororangel6312 2 роки тому
Why Modem: is empty?
@AhmadLogs
@AhmadLogs 2 роки тому
can you please explain?
@juanpablotororangel6312
@juanpablotororangel6312 2 роки тому
​@@AhmadLogs Unfortunately the project has not worked for me, the GPS and SIMCARD led are not flashing, I am trying to find the error. Now at minute 4:54 the video shows the console: Modem: sim800 r14.18 on my console it comes out: Modem: does not say sim .. I think the simcard module does not receive a signal, do you think the same?
@AhmadLogs
@AhmadLogs 2 роки тому
@@juanpablotororangel6312 I think there is some power issue. or else you need to update the firmware of sim800l module. for sim800l: most of the time power issue for gps module: you need to change the location of you gps module to get signals
@juanpablotororangel6312
@juanpablotororangel6312 2 роки тому
@@AhmadLogs you can upload a video by updating the SIM
@AhmadLogs
@AhmadLogs 2 роки тому
@@juanpablotororangel6312 will try, but not now
@djsolstice8964
@djsolstice8964 5 місяців тому
Had to dislike, it was the music and lack of talking for instructions. Otherwise good work
@AbdifatahSoyaan
@AbdifatahSoyaan 2 роки тому
when I upload the code I've got this error "invalid conversion from 'int' to 'SerialMode' [-fpermissive] " this line may be cause the error " sim800.begin(9600, SERIAL_8N1, rxPin, txPin); "
@AhmadLogs
@AhmadLogs 2 роки тому
I think you did not select correct board from tool menu. have you select ESP32 board?
@AbdifatahSoyaan
@AbdifatahSoyaan 2 роки тому
@@AhmadLogs no i can’t select that board because i have used esp8266
@AhmadLogs
@AhmadLogs 2 роки тому
@@AbdifatahSoyaan I will try to make a video on it soon.
@AbdifatahSoyaan
@AbdifatahSoyaan 2 роки тому
@@AhmadLogs can i used the last video you have upload it on your youtube channel because i wanna get the longtitude and locatitude sir
@AhmadLogs
@AhmadLogs 2 роки тому
@@AbdifatahSoyaan there so many videos my channel in which I am getting latitude and longitude. but you need little bit modifications in the code according to your requirements
@halilibrahimcapa8046
@halilibrahimcapa8046 Рік тому
how do i use 4g instead of 2g for sim800l
@yasminebenalaya6391
@yasminebenalaya6391 2 роки тому
Can I use Arduino uno instead ESP32 with the same code and circuit ?
@AhmadLogs
@AhmadLogs 2 роки тому
you need to change the code
@yasminebenalaya6391
@yasminebenalaya6391 Рік тому
@@AhmadLogs how? can u help me to do it?
@boldmalisid
@boldmalisid Рік тому
Did you guys get how to do that?
@muhammadafiqrayhan9796
@muhammadafiqrayhan9796 Рік тому
Can I use Arduino uno with the same code and circuit ?
@AhmadLogs
@AhmadLogs Рік тому
no. you need to modify almost all the code.
@muhammadafiqrayhan9796
@muhammadafiqrayhan9796 Рік тому
@@AhmadLogs whats the code should be modified?
@AhmadLogs
@AhmadLogs Рік тому
@@muhammadafiqrayhan9796 almost all the code
@gabrielz2241
@gabrielz2241 2 роки тому
I have problem, modemInfo is not displaying. I have womos lolin32 Lite, do i have to change anything?
@AhmadLogs
@AhmadLogs 2 роки тому
I thinks there is some issue with your gsm module. what is the led status of your gsm module
@gabrielz2241
@gabrielz2241 2 роки тому
@@AhmadLogs When sim inserted, then 3 seconds, but the name of it isn't displaying in serial. Its Modem: Connecting to internet... and stop :/
@gabrielz2241
@gabrielz2241 2 роки тому
after some time ( more than one minute ) it starts blinking every < 0.5 seconds ( blinking fast ), then each minute Connecting to internet fail
@AhmadLogs
@AhmadLogs 2 роки тому
@@gabrielz2241 have you set the correct apn settings for your sim card in the code? this tutorial is outdated it some time works and some not. because firebase has updated it system.
@gabrielz2241
@gabrielz2241 2 роки тому
@@AhmadLogs I think that firstly i need to find out why my modem info is not displaying :/
@halilibrahimcapa8046
@halilibrahimcapa8046 Рік тому
how do i use 4g instead of 2g for sim800l
ESP32 Publish Data to Cloud without Wi-Fi (TTGO T-Call ESP32 SIM800L)
7:55
Best OS for programming? Mac vs Windows vs Linux debate settled
8:41
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 2,6 млн
Voloshyn - ЗУСИЛЛЯ (прем'єра треку 2024)
06:17
VOLOSHYN
Переглядів 638 тис.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Переглядів 216 тис.
How to Use SIM800L With Arduino
9:55
Ahmad Logs
Переглядів 54 тис.
ESP32 GPS Data to MySQL PHP | ESP32 PHP Web Server | ESP32 HTTP POST
11:28
ESP32 SIM800L Blynk | GSM GPRS Based GPS Tracker
5:36
Ahmad Logs
Переглядів 22 тис.
Control Anything With IOT Easy Internet of Things with ESP32 and Arduino
17:56
Top 5 Beginner PCB Design Mistakes (and how to fix them)
12:52
Altium Academy
Переглядів 190 тис.
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 2,6 млн