Nature Trail Mapper in KML format with ESP32, RYS352A GPS Module and microSD card logging

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • PCBA Services at PCBWay - www.pcbway.com/setinvite.aspx...
    In this video, I made a device that can be used to map out trails in nature directly in KML format that can then be used to display these trails in Google Earth or similar programs that can read the format.
    The device uses the RYS352A GNSS module from Reyax to get the valid GPS position, a push button to control the recording state of the device as well as a microSD card module to save the recorded data as KML files, and a few LEDs to display the status.
    To test out the device, I hiked to one of the nearby hills and I was able to record 3 different trails that we have there with great accuracy.
    The RYS352A GNSS module used from Reyax can be found on the following links:
    RYS352A website link: reyax.com/products/RYS352A
    RYS352A Amazon link: www.amazon.com/dp/B0CM5JTJL7?...
    Distributor First Components srl: www.first-components.com/en/
    Components and materials used for the project:
    ESP32 Development Board - s.click.aliexpress.com/e/_oEe...
    MicroSD Module - s.click.aliexpress.com/e/_EzK...
    Prototype PCBs - s.click.aliexpress.com/e/_opd...
    Tactile Switches - s.click.aliexpress.com/e/_oEs...
    PCB Headers - s.click.aliexpress.com/e/_mMw...
    Mini Breadboards - s.click.aliexpress.com/e/_mNh...
    Jumper Cables - s.click.aliexpress.com/e/_mqD...
    LEDs Kit - s.click.aliexpress.com/e/_EJW...
    Assorted Resistors - s.click.aliexpress.com/e/_EyO...
    Rework Station - s.click.aliexpress.com/e/_oBK...
    Multimeter - s.click.aliexpress.com/e/_mM2...
    RYS352A GNSS module - reyax.com/products/RYS352A
    The full code for the device is available on the related website article:
    www.tastethecode.com/trail-ma...
    Written instructions are available on the project Instructable:
    www.instructables.com/Nature-...
    Support my work on Patreon so I can continue producing free content and tutorials!
    / taste_the_code
    My recording gear:
    Canon M50 Mark ii - s.click.aliexpress.com/e/_ALp9Sp
    GT10 Pro 5G Android Phone - s.click.aliexpress.com/e/_oDn...
    Dragon Touch 4K Action Camera - s.click.aliexpress.com/e/_mrc...
    USB Condenser Microphone - s.click.aliexpress.com/e/_DF5...
    Tripod - s.click.aliexpress.com/e/_Del...
    Phone tripod mount - s.click.aliexpress.com/e/_s9WaiJ
    Nature Trail Mapper in KML format with ESP32, RYS352A GPS Module and microSD card logging
    #KML #GPS #logger #esp32 #tastethecode
    Main Site and blog: www.tastethecode.com
    Facebook: / tastethecode
    Instagram: / taste_the_code
    Twitter: / taste_the_code
    Get exclusive Taste The Code t-shirts and merch at
    teespring.com/taste-the-code
    Hosting discounts over at Dreamhost
    click.dreamhost.com/SHiw
    #alphabethsuperset

Komentáře • 43

  • @robertparenton7470
    @robertparenton7470 Před 3 měsíci +5

    The nice part of this development is that it gives the builder control to add to the code and share it with others. Thank you for taking the time to put all of this into a useful project. Frisco, TX

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      Thank you! The satisfaction of making something useful from scratch and having fun in the process is what makes this project worthwhile. It doesn't have to be better than something else.

  • @ruthberesford1198
    @ruthberesford1198 Před 3 měsíci +2

    Thank you .... I wouldn't have been able to build this without your help ! ❤️

  • @pascal1599
    @pascal1599 Před 2 měsíci

    J'ai effectué ce remplacement de triangles sur un X-TRAIL qui est monté de même.
    Pour le remontage, j'ai fixé la vis arrière à tête de 18 en premier, logé l'axe du pivot dans son logement puis fixé en dernier les deux vis à tête de 21. Cela se monte facilement de cette manière. Pour accéder à la vis avant, le côté droit étant semble-t-il moins accessible que le côté gauche, relever le moyeu avec le cric est bien utile.
    Lorsque l'intervention se fait sur chandelles, il est préférable de serrer les deux vis à tête de 21 avec deux grandes rallonges plus une petite pour l'entraînement de la douille car sans la petite rallonge, l'application du couple n'est pas aisé, il y a peu de solutions de positionnement du tube de force. J'ai aussi utilisé une douille 6 pans, chez Norauto, il existe une douille multipans (12?), j'aurais dû la prendre, elle autorise plus d'orientations de la barre d'entraînement et du tube de force, 1 mètre pour moi.

    • @TasteTheCode
      @TasteTheCode  Před 2 měsíci

      Are you sure you are commenting on the correct video?

  • @olafmarzocchi6194
    @olafmarzocchi6194 Před 4 měsíci +7

    What is the current consumption in recording state? how many hours out of a 10 000 mAh power bank?

    • @TasteTheCode
      @TasteTheCode  Před 4 měsíci +2

      Hey, I did not measured that but I will once I'm back home and let you know.

    • @TasteTheCode
      @TasteTheCode  Před 4 měsíci +6

      OK, so the project draw varies between 30 and 50 mA and I guess we can average it out at 40 mA. On a 10000 mAh battery, it can theoretically run for 250 hours.

    • @olafmarzocchi6194
      @olafmarzocchi6194 Před 4 měsíci +1

      Pretty good, thanks!

  • @davidjobe9876
    @davidjobe9876 Před 3 měsíci

    Congratz with your 8K Subs Bill ;)

  • @timcorso6337
    @timcorso6337 Před 3 měsíci

    Very interesting video. I have a use case that no other commercial device can deliver. Your project could be my starting point, although I find the programming a bit intimidating. Anyway, instead of a button to start the recording, I want the device to start recording as soon as the device detects that the gps cords are changing. The device would be in my Motorhome and would be on all the time, powered from the vehicle. If the vehicle stops then the recording should pause. If the pause is greater than 10 minutes the recording should stop. If the vehicle starts moving again a new recording would be started. I’d like to give this a try, but unsure if I’m up to it. Anyway a big thanks for sharing your knowledge. Greetings from the UK

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      Thanks! There is already a section in the code that checks if the new position is at least 1 meter apart from the last in order not to save the same location multiple times. You can adjust this to 5 or even 10 meters for your usecase. You can also add some time measurement in the same section so if there was no new position recorded in a minute, you can stop the recording and restart it once movement is detected again.

  • @Hacktuber
    @Hacktuber Před 3 měsíci +1

    Very nice Arduino project and very well explained. Regards Hacktuber

  • @deltab115
    @deltab115 Před 3 měsíci +1

    I would buy something like this for mapping my property boundaries. How much would you sell one for? I don’t have the particular tech know-how or time to build one even with the Instructable you wrote.
    Great idea!

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      I don't have plans to sell them and with the geographical difference, it might be a problem to even ship you one even if I make it. It is best if you can find a local maker place or a local electronics enthusiast that can make you one based on the instructions and code available.

  • @leexgx
    @leexgx Před 3 měsíci

    I recommend have a look RAK (wisblock) they are super low power (last week vs day when using a 2700mha battery) the gps part does use more power thought but the wisblock is modular so you just plug in what you need and it's very tidy

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      I know wisblock but I never had the chance to play with it. They look neat but they are more expensive to get and also they are in an ecosystem different to what I'm already used to.

  • @DavidLevine
    @DavidLevine Před 3 měsíci

    I had a Garmin GPSr in 2003 that could record your coords and map the route you traveled. Cell phones today are plenty precise and can give you a visual display overlayed on sat or detailed maps while you are hiking. Nothing wrong with creating a dedicated device but I'm not sure it has any advantage.

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci +2

      The greatest advantage to me is that I had fun making it and learning about KML, writing to SD card, and interfacing this particular GPS module.

    • @williamsjeff96
      @williamsjeff96 Před 3 měsíci

      Looks like this would record for much longer than many cell phones

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      Yes, true. It uses around 40 mA while recording without any power saving in mind so I guess this can be optimized.

  • @natanaelalfaputra_te_0559
    @natanaelalfaputra_te_0559 Před 3 měsíci

    Wow, what a fascinating project. Does this tool require an internet connection to record its location?

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      Thanks! No, it doesn't require any internet connection and it is entirely offline.

  • @j.van_heck4394
    @j.van_heck4394 Před 3 měsíci

    Hello, what a beautiful and original fun project this is. I immediately started gathering the right materials. Only I have trouble finding the right library files together. Is there a description of that?

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      I'm using the TinyGPS+ library for the GPS data handling and the standard SD Arduino library. I don't have links to them but they should be fairly easy to be found. Let me know if you need help with it and I can try and find the links.

    • @j.van_heck4394
      @j.van_heck4394 Před 3 měsíci

      @@TasteTheCode Thanks for your reaction. What I couldn't find is HardwareSerial. I have troubles with

    • @j.van_heck4394
      @j.van_heck4394 Před 3 měsíci

      I see now that I have trouble with the GPS module.

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      Hardware serial is part of the ESP32 core. What microcontroller are you using?

    • @j.van_heck4394
      @j.van_heck4394 Před 3 měsíci

      @@TasteTheCode ESP32 (30 pin) Wroom 32D. Problem with GPS module solved.
      Thanks for help.

  • @victarbutton3096
    @victarbutton3096 Před 3 měsíci

    I've been wanting to do something like this for some time. I've got it running on a breadboard, but I am having trouble with it not recording the position. The recording LED goes on when I push the button, but the position LED won't come on. I verified I have it wired correctly by momentarily light the LED in setup. I don't get any of the Serial.println output, just the gps_serial data "$GNGGA,134653.000,3339.9294,N,......"ETC. Any idea what my problem is? Thanks for sharing all the work you have put into this project.

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      Comment out the gps data print because it makes it difficult to see the rest of serial data. If the green LED is not on, the gps does not have valid position fix. Are you testing it outside? GPS needs a clear view of the sky to work.

    • @victarbutton3096
      @victarbutton3096 Před 3 měsíci

      My problem may have just been the TX and RX connections. I got it working over the weekend. I used an EzSBC Bat Pro development board since it has a built in battery connector and manager, plus, it has a software accessible RGB Led so I skipped adding the two Leds and saved some wiring. Just set it to a different color based on the internal states.
      Thanks again for a great project.@@TasteTheCode

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci

      That is some awesome news. I'm glad that you managed to figure it out. 👍👍👍

  • @martinschaich4249
    @martinschaich4249 Před 3 měsíci

    Great Project. Please can you add the wiring diagramm for esp32 with the spi sd card and the gps modul, for example in fritzing or others?

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci +1

      You can follow the default SPI wiring for the ESP32. I have it fully explained in the Instructable linked in the description.

  • @mp-xt2rg
    @mp-xt2rg Před 4 měsíci +1

    What's the advantage over a standard cell phone?

    • @TasteTheCode
      @TasteTheCode  Před 3 měsíci +2

      Well there isn't much except for having a bit more precision from the better antenna and not needing an app. I haven't looked if there are apps available that can record in KML, but I guess there are. This is just an example project and the main idea is to show how to use the GPS module and the SD card.