GPS Modules with Arduino and Raspberry Pi

Поделиться
HTML-код
  • Опубликовано: 14 июл 2024
  • Learn how satellite positions systems like GPS work, how to use GPS modules with Arduino and Raspberry Pi, and build a GPS position logger which can display results on Google Maps.
    Article with Code Samples: dronebotworkshop.com/using-gp...
    More articles and tutorials: dronebotworkshop.com
    Join the conversation on the forum: forum.dronebotworkshop.com
    Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
    The Global Positioning System, or GPS, is one of several satellite positioning systems that we can use to determine our location, altitude and the exact time - from anywhere in the world.
    Thanks to these systems, and the availability of low-cost receiver modules, we can easily add GPS functionality to any project.
    Today I’ll explain how these positioning systems work, what kind of data we can get out of them, and how we can use these popular modules with both the Arduino and Raspberry Pi.
    And, as a fun experiment, I’ll show you how to build a simple Arduino-based GPS logger that saves your position onto a microSD card, using a file format that can be imported into Google Maps. I took a walk in the park with it to give it a test.
    Here is what you’ll see in today's video:
    00:00 - Introduction
    01:25 - Satellite-Based Navigation Systems
    08:00 - Look at GPS Modules
    10:34 - Basic GPS Operation with SoftwareSerial
    15:28 - GPS Libraries - TinyGPS++
    19:55 - Beitian 880 with HMC5883 magnetometer
    25:48 - Adafruit Ultimate GPS with Raspberry Pi
    32:19 - Build a GPS Position Logger
    47:52 - Conclusion
    As always, you’ll find a detailed article with code samples and cheat sheets on the DroneBot Workshop website. And a dedicated thread for it on the DroneBot Workshop Forum, so you can discuss it in detail.
    This is the first of a few GPS-related videos and articles I’ll be producing, as I have a couple of GPS projects on the go. So please subscribe so that you don't miss any of them.
    Thanks for watching!
  • ХоббиХобби

Комментарии • 268

  • @Dronebotworkshop
    @Dronebotworkshop  5 месяцев назад +3

    Hi everyone - It's come to my attention that there has been someone masquerading as myself, responding to some comments here with a link to a Telegram chat to win a prize from me. THIS IS A SCAM, I am not holding a contest, nor do I have a Telegram account. PLEASE DO NOT RESPOND TO THESE MESSAGES!!
    It's happening on a lot of my videos, I'm taking steps to remove them manually, but as I have 162 videos, it will take some time. If you do run across a suspicious comment, I would appreciate you letting me know at info@dronebotworkshop.com.
    Thanks!
    Bill (The real one!)

  • @HazzaBaniMalek
    @HazzaBaniMalek 3 года назад +189

    This channel is disgustingly underrated,, this is PURE GOLD

    • @fast_and_curious9144
      @fast_and_curious9144 3 года назад +4

      Good To Have You Here
      Could You Share This To Ur Class And Colleagues

    • @filipgojkovic1825
      @filipgojkovic1825 3 года назад +4

      @Hazza Bani Malek truth be spoken

    • @victoroyadongha2515
      @victoroyadongha2515 3 года назад +4

      Aren't we all an underrated bunch? They don't see us until we build robotic armory and snap our fingers to send time-hijacking alien invaders to dust.
      Yes, we are awesome like that😏🍻

    • @rogerbond408
      @rogerbond408 2 года назад +2

      @Hazza Bani Malek: agreed. This whole channel is awesome.

    • @yvesinformel221
      @yvesinformel221 2 года назад +1

      he probably has to make some stupid face like most other youtubers to get more click

  • @smithbotics4158
    @smithbotics4158 3 года назад +24

    I'm officially intending to be a life long subscriber to your channel. I recently bought a GPS module to start experimenting with and lo and behold, your latest video is chocked full of extremely helpful information to help me along with that. I really do appreciate what you do here in your videos and am so grateful you decided to contribute your knowledge and solid explanations of such interesting topics. Have to say that you're just great!! Thanks.

  • @klaymon03
    @klaymon03 3 года назад +17

    Bill, another outstanding video. Thanks for continuing your work.

  • @WildLifeBackyardCamera
    @WildLifeBackyardCamera 3 года назад +20

    amazing video as usual. Thanks a lot for all your time spent in order to share your knowledge! :)

  • @mrarduino2977
    @mrarduino2977 3 года назад +6

    Thanks for a brilliant video, just one thing to note is that GPS uses Trilateration not Triangulation, your explentation was spot on, as it is distance that is measured and not the angle then that makes it Trilateration. Love your channel, keep them videos coming.

  • @acestudioscouk-Ace-G0ACE
    @acestudioscouk-Ace-G0ACE 3 года назад +4

    Really interesting. Thanks for going right from the beginning, to which systems exist and how they work. I feel I have a basic knowledge now and ready to learn more.

  • @dwsan1tx
    @dwsan1tx 2 года назад +3

    You can tell the effort going behind the scenes to make this happen. Great job 👍

  • @daveseddon5227
    @daveseddon5227 3 года назад +8

    Thanks Bill, that was a most informative session - I always learn a lot from your channel. 🙂👍

  • @tirthvora5061
    @tirthvora5061 3 года назад +43

    YOU ARE AMAZING MAN! KEEP IT UP

    • @BeeRich33
      @BeeRich33 3 года назад +1

      Satellite joke?

  • @victormungai
    @victormungai 3 года назад +1

    This video just came up exactly when I needed it!! Thanks!🔥

  • @petermolnar6017
    @petermolnar6017 3 года назад +7

    As always an excellent video, thank you for your efforts!

  • @baldrickdaisy8982
    @baldrickdaisy8982 3 года назад +5

    Fantastic information on “GPS” Thanks Bill 👌

  • @hingwk13
    @hingwk13 2 года назад

    I want to express sincerest gratitude to you Sir, you are the Best Professor in this subject!

  • @douglasosborn3378
    @douglasosborn3378 3 года назад +2

    I rate this channel 10/10. A very interesting topic, please continue.

  • @BryanByTheSea
    @BryanByTheSea 3 года назад +1

    Another impressive video. Thanks for taking the time to create. Keep them coming.

  • @cyadid
    @cyadid 2 года назад +2

    great video as always ! Users pay attention I have struggled for long time getting GPS data using the built in TinyGPS examples and failed just because the baude rate was set to 4800 instead of 9600 as shown in the video

  • @vacbed
    @vacbed 3 года назад +2

    Thank you sir for this great video! Watched every second of it with great interest!

  • @beachdancer
    @beachdancer 2 года назад

    Excellent as always. The detail and the quality of the presentation is remarkable.

  • @fotografm
    @fotografm Год назад

    What a beautiful presentation. So complete and well explained. Thank you !!!

  • @tcarney57
    @tcarney57 2 года назад

    This video helped me a great deal. I've been experimenting with some surplus Rockwell Jupiter GPS modules because I want the locked 10KHz signal they produce (along with the 1pps signal). At startup, the units produce the signals unlocked and then they lock to the satellites after a fix is established. They have no built-in indicator, so I tried reading the NMEA data using the Arduino hardware serial port and--big surprise--I couldn't read more than 64 characters on the serial monitor each reset. Before I finished last night, I did learn that 64 bytes is the size of the UART's buffer, and that the size is hard-written into the IDE libraries. BTW, I also discovered the IDE doesn't like anything else attached to RX & TX when uploading a sketch, so I had to pull those connections every time I wanted to do so.
    This morning, I was thinking I needed to use an MCU with a larger RX buffer, but then I watched this video and found out about software serial! I'd never heard of it before, and it solved two of my problems: reading the continuous 4800-baud stream from the Jupiter with no show-stopping overflow, _and_ having to disconnect the serial lines whenever I want to upload to the Arduino. Being able to pass the software-serial data right off to the IDE hardware-serial monitor was just an added convenience. Thank you so much for this information, and all the other materials you put out!!
    BTW, besides uploading sketches, is there any other reason to _ever_ use hardware serial?

  • @brianclements1199
    @brianclements1199 Год назад

    What a GREAT video and project, thank you--looking forward to building this myself

  • @abpccpba
    @abpccpba 3 года назад +1

    Wonderful production as usual. The tracker is fascinating. : = ))

  • @marionsananani6118
    @marionsananani6118 9 месяцев назад

    I swear you're good. Thank you so much for all this information. These are diamonds.😊

  • @reallifelima7951
    @reallifelima7951 3 года назад +6

    We sure have come a long way from that pain in the rear Loran-C system. Hated using that for navigation. It took forever to establish a connection to enough antennas and it had to be turned off if I needed to use my Marine VHF

  • @jrace2718
    @jrace2718 Год назад

    What an excellent video. I learned a lot. Thank you so much for doing this! Your channel is fabulous.

  • @wishicouldarduino8880
    @wishicouldarduino8880 3 года назад

    Awesome!I cant believe I didn't catch it yesterday. I want these.😁👍🤖

  • @ericludwig8188
    @ericludwig8188 2 года назад

    I love this channel. He is very easy to understand and makes amazing videos

  • @bapisaha3990
    @bapisaha3990 2 года назад

    I subscribe to many DIY/Electronics channels... But this man, ohh he is just SUPERB. I personally give thanks to HIM and also inspire him to make such type of video in his own time. Whatever be the viewers' number, subscriber or others fact, HE is no doubt oswme . I fall in LOVE with his video.

  • @JPDrones
    @JPDrones 3 года назад

    Thanks for sharing your Knowledge! Greetings From Brazil!

  • @mikiethebikie
    @mikiethebikie 3 года назад

    Thanks Bill, another great video.

  • @randalltockes2247
    @randalltockes2247 2 месяца назад

    You are probably my favorite RUclips out there. Keep up the awesome content.

  • @sq4enr
    @sq4enr 3 года назад

    Captivating presentation, thank you for posting this video!

  • @majeedali6432
    @majeedali6432 3 года назад

    thank god ive found this gem of a channel

  • @rdhunkins
    @rdhunkins 2 года назад

    I did not know that Arduino had the capability to use other pins as a serial TX/RX pair. Very cool! Thanks!

  • @philgo2024
    @philgo2024 3 года назад

    Excellente vidéo, comme d'habitude !

  • @kumardeepam
    @kumardeepam 3 года назад

    Thank you for the amazing tutorial 🙏

  • @SpinStar1956
    @SpinStar1956 3 года назад +1

    Great video with excellent explanations!
    Really appreciate going through the different hardware modules, along with pricing.
    The software library installations we’re nice to see.
    Also like the software that you demonstrated and explained;especially the Google Maps.
    I just have One question:
    What if you already know where you’re at? 🤣😂🤣

  • @djpenton779
    @djpenton779 2 года назад

    That was fun to watch. Thanks, Bill.

  • @drmosfet
    @drmosfet 3 года назад +7

    Great subject, looking forward to the one with high-accuracy and reference GPS. Look for this in the past couldn't find much back then.

  • @EcoHamletsUK
    @EcoHamletsUK 3 года назад

    Very useful. I've had a NEO-6M for several years that I haven't got round to trying yet. Maybe this will encourage me to use it to find where my dog goes, when she wanders off on her own (on our land!). Even better if I can add radio to track her

  • @derZiegeuner
    @derZiegeuner 3 года назад

    Thank you so much! Helped me a lot!

  • @contarinifamily2183
    @contarinifamily2183 2 года назад

    Great stuff. Love the content. Keep up the great work!

  • @mostlypi6827
    @mostlypi6827 3 года назад

    Another informative well researched interesting video !

  • @enlightenlux2668
    @enlightenlux2668 2 года назад

    Thanx alot from South Africa.

  • @kevgermany
    @kevgermany 3 года назад

    Thanks. Lovely insight and great useful info.

  • @kiranshashiny
    @kiranshashiny 3 года назад

    Subscribed - Loved the video. Explained in simple terms and well done. I 'm new to GPS and GSM.
    I'd imagine one can have a ESP8266 / ESP 32 doing the same but communicating to a broadband router and sending data to the cloud. ( thru MQTT or other protocols )

  • @jackdrew4658
    @jackdrew4658 3 года назад +3

    Its amazing but i swear, every time i view one of your educational videos its even better content wise then the last. Keep up the good work u r a Godsend.

  • @andyelgrand0
    @andyelgrand0 3 года назад +2

    this is, as always, very useful and interesting and inspires me to use this and put it to good use at home. Keep up the good work!. PS: Are you ever thinking of oding a video on how to create a DIY wall scanner?

  • @Electronics61
    @Electronics61 2 года назад +1

    Great informational video. Many many thanks.

  • @pranavnadkarni5423
    @pranavnadkarni5423 3 года назад

    This is very informative, thanks a lot 👍

  • @sasines
    @sasines 3 года назад

    Bill, another excellent and enjoyable video. I look forward to ALL of your videos. Thinking about how to shrink this enough to create a “Cat Tracker” to see where my kitty goes!

  • @sottilavong
    @sottilavong 2 года назад

    Thank you! For your love! I wish to give you a big big huge! Thank you for caring and for sharing your wisdom and knowledge! You are the best teach and I hope to me you one day. Thank you and may God bless you! With love, ScottieV.

  • @JLo_24
    @JLo_24 3 года назад

    I miss seeing these kinds of videos on RUclips.

  • @ronaldcollins-noaaaffiliat7464
    @ronaldcollins-noaaaffiliat7464 3 года назад

    Outstanding as always!

  • @Birdman445
    @Birdman445 Год назад

    These are amazing videos thank you

  • @sumantakumardutta986
    @sumantakumardutta986 3 года назад

    Wow! Thanks for this video.😀

  • @MrRayCK
    @MrRayCK 2 года назад

    This is great. Thank you for your interesting videos.

  • @andymouse
    @andymouse 3 года назад

    Fantastic tutorial !....cheers.

  • @snax_4820
    @snax_4820 3 года назад

    Very well made. Congrats.

  • @jarekf3083
    @jarekf3083 Год назад

    Looking forward to a video about the RTK unit!

  • @Osmanity
    @Osmanity 3 года назад +1

    cant wait for the next video of gps

  • @shubhamankush6992
    @shubhamankush6992 2 года назад

    Welcome to the workshop 💪

  • @yv6eda
    @yv6eda 3 года назад

    Great video! Thanks!

  • @Christoph1888
    @Christoph1888 3 года назад

    Been hanging out for this for ages. Had to learn from sub par sources 😫

  • @inlywang8157
    @inlywang8157 3 года назад

    Great, informative video as usual

  • @hieuphungminh6690
    @hieuphungminh6690 3 года назад

    Your work shelf looks good

  • @thomasschattat13
    @thomasschattat13 2 года назад +1

    Really cool video as usual. Thanks for that. It remains unclear for me why you always wire the µC-TX to the modules-RX, for my understanding the controller only listens and therefore you only need the module-TX to µC-RX connection. That is at least how it works in my projects. And yes, these Chinese modules are extremely cheap and sensitive. My one (BN-180) works next to my balcony door inside behind the glass and curtain and has a fantastic reception to synchronize my matrix LED clock. I like your videos and your way of explaining things.

  • @sbsarkar5659
    @sbsarkar5659 3 года назад +1

    Excellent video Bill. Now that I can pinpoint where u live..expect a surprise visit to your fabulous lab. 😂..jokes apart, thank you for such a detailed info on a subject, that I use every second day without knowing much abt it.

  • @johngachau3996
    @johngachau3996 3 года назад

    Inspiring... keep up the good work

  • @eclecticlife
    @eclecticlife 2 года назад

    Excellent tutorial. Thank you so much! You should make an autonomous driving car.

  • @yvesinformel221
    @yvesinformel221 2 года назад

    just learned that this guy live in my area, nice guy for sure

  • @marakhider7069
    @marakhider7069 2 года назад +1

    Eagerly waiting for sparkfun gps module video.

  • @aloisiobastos8873
    @aloisiobastos8873 2 года назад

    Fantastic explanation... it is the best... thank you

  • @awaisahmed7033
    @awaisahmed7033 3 года назад +1

    Lot of Respect and Love

  • @social1435
    @social1435 3 года назад

    You led me closer to my goals

  • @abdulrazak_alnajjar596
    @abdulrazak_alnajjar596 3 года назад

    Very great video. Informative

  • @antoinedevos3765
    @antoinedevos3765 3 года назад

    Thank you for the fantastic video 👍
    And a big video 👁👁
    Excellent 👌

  • @davidlira8853
    @davidlira8853 18 дней назад

    Great explanations

  • @KirstyTube
    @KirstyTube 2 года назад

    Really good video, thank you :)

  • @andrewmcmahon1
    @andrewmcmahon1 Год назад

    Could you do a solar panel 2 axis tracker please. Love the way you teach, makes it so much easier to get projects done. Regards.

  • @peddintiudaykiran3613
    @peddintiudaykiran3613 2 года назад

    Thank you given information about India

  • @Lunolux
    @Lunolux 3 года назад

    nice video, i have new idea of projet because of you, but i will never end making just one xD
    great video.

  • @w02190219
    @w02190219 2 года назад

    nice workshop

  • @victoroyadongha2515
    @victoroyadongha2515 3 года назад

    Gracias mucho amigo

  • @oliviers589
    @oliviers589 3 года назад

    Wow that was informative.

  • @abdalrhmanalaa9982
    @abdalrhmanalaa9982 Год назад

    you are a great man

  • @fusrusty253
    @fusrusty253 3 года назад

    amazing!! good job!!

  • @joelsusser32
    @joelsusser32 9 месяцев назад

    So I just stumbled on your channel, and I think you are exactly the person I need some help from. I am in the process of figuring out my strategy for my future diy robot mower and I really don't want a boundary wire. There is a lot of info out there to use rtk with these things but being in Canada it is unclear if the service is free or not for us Canucks. If you are still going to make a video on that subject that would be really great! You seem to be able to make your own base station but that seems complicated.

  • @mrbillybigrig8487
    @mrbillybigrig8487 2 года назад

    I like your work keep it up!!!!

  • @electronic7979
    @electronic7979 3 года назад +1

    Helpful video 👍

  • @inventionist172
    @inventionist172 3 года назад

    This is amazing it has the same feel as a ben eater video and made and hour feel like 10 min

  • @Cybertruck_69
    @Cybertruck_69 2 года назад

    great stuff thanks.

  • @mdev3987
    @mdev3987 2 года назад

    Really amazing video!

  • @TRETT1956
    @TRETT1956 3 года назад

    well done - Bill
    werner from southern germany

  • @zainalhas7416
    @zainalhas7416 3 года назад

    Thanks Mr Bill

  • @sddiymakeitworthit7512
    @sddiymakeitworthit7512 3 года назад +1

    Nice presentation

  • @ooaaoooao
    @ooaaoooao 9 месяцев назад

    great video!

  • @kouider76
    @kouider76 3 года назад

    Hat up, This is Just great thank you

  • @shuaibalghazali3405
    @shuaibalghazali3405 2 года назад

    Love your videos 💛💛