ESP32 GPS Data Logger with Google Sheets | Send Data to Google Sheets using ESP32

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 มิ.ย. 2024
  • #ESP32 #GPS #GoogleSheets
    In this video, I will show you how to make ESP32 GPS data logger with Google Sheets. The GPS data is sent to Google Sheets after every two seconds.
    You might also change, the time interval from the sketch, according to your requirement. I have set it to 2000 milliseconds. its mean, the project will send GPS data to google sheets after every two seconds. you might set it 1 second, or even zero second to speed up the process.
    Parts:
    1. ESP32 - amzn.to/3YCq2dS
    2. NEO-6M GPS Module - amzn.to/3YwyWd7
    3. Jumper Wires - amzn.to/3YRafs5
    4. Breadboard - amzn.to/3ysOvHX
    --------------------------------------------------------------------------------------------------------------------
    Useful Video Links
    --------------------------------------------------------------------------------------------------------------------
    ESP32 GPS Data to MySQL PHP | ESP32 PHP Web Server
    • ESP32 GPS Data to MySQ...
    ESP32 SIM800L Firebase
    • ESP32 GPS Data Logger ...
    --------------------------------------------------------------------------------------------------------------------
    Social Media Links
    --------------------------------------------------------------------------------------------------------------------
    GitHub:
    github.com/ahmadlogs/
    TH-cam:
    th-cam.com/users/ahmadlogs?sub...
    --------------------------------------------------------------------------------------------------------------------
    Download Code
    --------------------------------------------------------------------------------------------------------------------
    github.com/ahmadlogs/esp32/tr...
    --------------------------------------------------------------------------------------------------------------------
    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.

ความคิดเห็น • 83

  • @welshdave5263
    @welshdave5263 ปีที่แล้ว

    Nice and simple tutorial, thank you.
    Now I need to buy that GPS module.

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      Glad it was helpful!

  • @JuanGomez-gg8jn
    @JuanGomez-gg8jn 7 หลายเดือนก่อน

    Hi excellent video, I have a question, can I send 10 variables to a spreadsheet in this way?

  • @Don-np8rc
    @Don-np8rc 2 ปีที่แล้ว +1

    Good work, thanks.

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      Thank you too!

  • @longautomation
    @longautomation 2 ปีที่แล้ว

    Thank you so much !!! I really need

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      Glad it helped!

  • @laszlokovacs5297
    @laszlokovacs5297 ปีที่แล้ว

    Hi Ahmad! Many thanks for this tutorial, but can I do the redirecting with SIM7000 also? Sending data via GSM?

  • @ftu48jp66
    @ftu48jp66 2 ปีที่แล้ว +1

    Can we do it with ultrasonic? If ultrasonic active gps will upload to appsheet?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      hmmm.... it is posible. I will try it.

  • @johnlouielureca3717
    @johnlouielureca3717 2 ปีที่แล้ว

    Can you help me please. Mine the output in serial monitor said
    0
    No any valid GPS data.
    my neo6m was working fine in arduino uno and i also tried to my esp32 in different code and it is also work fine but here said this.

    • @johnlouielureca3717
      @johnlouielureca3717 2 ปีที่แล้ว

      After a many trial and error i came up with alternative traubleshooting to the GPS functions.
      if the serial monitor says
      "0
      no any valid gps data."
      the part of statement that == 1 try to change to 0 and test it. if there is a function will be send to your gsheet even 0,0,0,0 but the gps time and gps date there will have a value. means your gps is working. the device also depending on the satellites he will get on signal. if data sent even 0,0,0,0,gps time ,gps date. try to change the statement == 1 again and run it. then wait at least a couple of minutes.
      ps: this situation works mine i hope yours too. i am also a beginner. Thanks!

    • @Mohamm-ed
      @Mohamm-ed 2 ปีที่แล้ว

      Thanks. This could help

  • @sekerlibalon1435
    @sekerlibalon1435 2 ปีที่แล้ว

    Thank you very much, dear Mr. Ahmet.
    I did the project carefully 1-2 times
    Arduino esp32 side works perfectly.
    But it does not write any data to the Spreadsheet side.
    I gave all permissions, what could be the problem?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      what error shown in the serial monitor

    • @mathiasbekker211
      @mathiasbekker211 7 หลายเดือนก่อน

      @@AhmadLogs HTTP Status Code: 403 in my case. Despite giving "anyone" permission, Google is being a little ****.

  • @gustavocardona7231
    @gustavocardona7231 2 ปีที่แล้ว

    My DHT is working well and I can see Temp and humidity in Serial Monitor. I receive HTTP code 200, but there is no info in the Sheet. I have repeated all the process several times with the same result. What i'm making wrong? CAn you help me with that?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      first, test your google sheet url using web browser

    • @welshdave5263
      @welshdave5263 ปีที่แล้ว

      @@AhmadLogs Hi, can you show how to test the sheet in Web browser please?

  • @akshaydodamani7265
    @akshaydodamani7265 ปีที่แล้ว

    Sir.,
    With GPS parameters (lang,lat,speed etc) can we able add more data's which are measured with different sensors and add them to gps.?

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      Yes, you can

    • @akshaydodamani7265
      @akshaydodamani7265 ปีที่แล้ว

      @@AhmadLogs how's it possible sir.,? I needed it for my project work..

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      @@akshaydodamani7265 tell me your project requirements

    • @akshaydodamani7265
      @akshaydodamani7265 ปีที่แล้ว

      I figured it out sir., Tnqs for ur spending quality of time to reply. 😍

  • @mrlowkick8279
    @mrlowkick8279 ปีที่แล้ว

    Dear Mr Ahmed, i received the status code 200, but when i check the scripts execution it shows the request is failed, so the google sheet doesn't append any data. Can you please shows me what i've done wrong on this project. Thx A lot.

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      I think there is a issue with the google sheet server. so just try again after 3 to 4 hours

  • @shaikhatifbadshahsvnit4167
    @shaikhatifbadshahsvnit4167 ปีที่แล้ว

    Hi Mr. Ahmad. The video is really smooth & helpful. One small question (with reference to 0:32 from current video). I am not getting readings in after each second. Its collecting data after 7secs only (even after changing value of SendInterval to 0). could you please help. I want to collect data in milliseconds.

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว +1

      it is just because the program is wait for the response from the google sheet. after getting the successful response back. then it will send the next data. I have just speed up the video that's why it looks the data is transferred very fast.

    • @shaikhatifbadshahsvnit4167
      @shaikhatifbadshahsvnit4167 ปีที่แล้ว

      @@AhmadLogs Thanks for the information. Is there any way to speedup this responses (to get milisecond of data)?

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว +1

      @@shaikhatifbadshahsvnit4167 it required fast internet connection. I have use a different code in my latest video about google sheet and the performance is much batter then this project. you must check that

  • @abeerjadoon221
    @abeerjadoon221 ปีที่แล้ว

    Assalam o alaikum Ahmed bhai I did this carefully and receive data on google sheet but only when esp32 is connected with PC or laptop but couldn't get the data on google sheet when only esp 32 is powered by battery, please guide what could be the error?

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      If your ESP32 is only able to send data to your Google Sheet when it's connected to a computer and not when it's powered by a battery, it's possible that the power supply you're using is not providing enough current for the ESP32 to function properly. Try using a power supply with a higher current rating or a battery with a higher capacity. Double-check your wiring and review your code for any potential issues.

  • @Suradi.Venezuela
    @Suradi.Venezuela ปีที่แล้ว

    Hi mr Admad, i can put temperature sensor on it?

  • @u-jinnchong5573
    @u-jinnchong5573 2 ปีที่แล้ว

    'class HTTPClient' has no member named 'setFollowRedirects' < how to solve this error message

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      what version of esp32 board package you have installed.
      use some old version of esp32 board package.

  • @marcosvallasciani9800
    @marcosvallasciani9800 ปีที่แล้ว

    Hi friend, The code in my case returns HTTP Status Code: -1
    Any ideas?

  • @jakkapattubtunyaboon9399
    @jakkapattubtunyaboon9399 3 หลายเดือนก่อน

    error with tiny gps++.h pls help

  • @bagussatya3888
    @bagussatya3888 2 ปีที่แล้ว

    can you show us how to do the same thing but using sim800l module please?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      not sure. but I will try

    • @funnycats9738
      @funnycats9738 2 ปีที่แล้ว

      @@AhmadLogs Using gprs instead of wifi

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว +2

      @@funnycats9738 will try in future

    • @bagussatya3888
      @bagussatya3888 2 ปีที่แล้ว

      @@AhmadLogs thank you so much

    • @raymondmichael4987
      @raymondmichael4987 2 ปีที่แล้ว

      Sure, for an IoT projects using gprs is most versatile than using wifi, because with gprs project can be placed anywhere.
      I would request using a library to handle connection rather than using AT commands

  • @creativeelectronicscreativity
    @creativeelectronicscreativity 2 ปีที่แล้ว

    For this project, esp32 needed any WIFI.....?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      yes. WIFI is must

    • @bagussatya3888
      @bagussatya3888 2 ปีที่แล้ว

      @@AhmadLogs can you show us the code?

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@bagussatya3888 please check the description of the video. I have update the code download link

    • @bagussatya3888
      @bagussatya3888 2 ปีที่แล้ว

      @@AhmadLogs thank you

  • @cyrinechabbah237
    @cyrinechabbah237 2 ปีที่แล้ว +2

    please nothing work "no new data received" were is the problem please u know??

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      what is the output in serial monitor?

    • @cyrinechabbah237
      @cyrinechabbah237 2 ปีที่แล้ว

      @@AhmadLogs output data input G12 G14

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@cyrinechabbah237 have you tested your gps module. give me full details about your project

    • @cyrinechabbah237
      @cyrinechabbah237 2 ปีที่แล้ว

      GPS module sim 808 and esp32-WROM-32

    • @cyrinechabbah237
      @cyrinechabbah237 2 ปีที่แล้ว

      @@AhmadLogs Haw can i test the gps module please?

  • @shubhamzendepixitech2608
    @shubhamzendepixitech2608 2 ปีที่แล้ว

    He bro nice video 👍👍... But in my case this is not working

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      What happened?

  • @gohilbharat8200
    @gohilbharat8200 2 ปีที่แล้ว

    Node MCU ESP8266 sim800l 2Relay control with Blynk Home automation system next video

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว +1

      will try

    • @gohilbharat8200
      @gohilbharat8200 2 ปีที่แล้ว

      Thank you so much

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@gohilbharat8200 so nice of you

  • @mrkiranbadiger5553
    @mrkiranbadiger5553 2 ปีที่แล้ว +1

    I am getting no new data received can u plz help
    It shows no new data Recieved in serial monitor

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      is your gps module working fine?

    • @mrkiranbadiger5553
      @mrkiranbadiger5553 2 ปีที่แล้ว

      @@AhmadLogs it’s working fine
      Wt to do sir now

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@mrkiranbadiger5553 what is the led status of your gps module

    • @mrkiranbadiger5553
      @mrkiranbadiger5553 2 ปีที่แล้ว

      @@AhmadLogs when I check only with gps test it gives coordinates but when I connect to esp32 and run it it gives no new data recieved

    • @AhmadLogs
      @AhmadLogs  2 ปีที่แล้ว

      @@mrkiranbadiger5553 it is strange