Getting Started with GPS Tracking Device | RY82530 | Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone welcome back in this video I'll take a look at these GPS modules from the folks over at Ray axe this is one of their ry8 25 models and 825 30 to be exact and it's a pretty compact little GPS device with a built-in antenna it has two rows of through-hole headers one of them is for you art and the other appears to be an I squared C interface I'm not sure what the I square C interface is for but I know that the GPS data is basically streamed over you are there's also a real-time clock battery built into the back side of the board the first thing I'll do is solder on some header pins to the you our interface this will make it easier to connect the module to a breadboard for testing the easiest way to solder something like this is to fix it in place on both sides using the header pins that way it doesn't wiggle around while you're soldering and that's it while you were watching me solder that I took a walk out to this park so I could test these modules without showing the GPS coordinates from my house [Music] but first let's check out the specs real quick and see what kind of power requirements were dealing with okay for the supply voltage it requires anywhere between three point five and five point five volts so instead of using a standard three point three volt output from most microcontrollers I'll use a five volt source for the VDD pin the rx TX pins however are 3.3 volts so check your microcontroller because some of them operate at five volts I have several that operate at three point three so I'll just use one of those as long as you're only connecting the TX pin to read GPS updates it probably won't matter that much but if you're connecting to the RX pin you might need a divider this next line says that the default baud rate for the serial communication is nine thousand and six hundred at this point I know everything I need to know in order to connect over you are and start streaming the GPS data so now I can wire everything up to the microcontroller I've chosen to use this tiny little MDB t42 breakout board but you can use pretty much any microcontroller just remember to check that our XTX voltage these boards are great though they're based on the Nordic in RF 52 which is a really low power system on a chip with built in Bluetooth Low Energy and this one's loaded up with the Esprit no runtime so I can just power this thing up and start programming it from my laptop over Bluetooth to wire everything up you just need to connect the TX pin from the GPS module to the RX pin on the microcontroller this is because we're transmitting from the GPS module and receiving on the microcontroller right because this is sending us GPS data and then obviously the power and ground pins have to be wired appropriately in this case I'm using five volts from a USB breakout I made alright everything is connected and now I can connect to a spree note using bluetooth on my microcontroller I'm using pins 14 and 15 as Rx and TX so I'll go ahead and does up as the serial one interface now if I set an event handler to catch any data that's received I can make it print that data to the console it's a mess right now because we're receiving it in chunks and printing each of those out as they're online and it's really hard to read that way so instead I can add a buffer and wait for an entire line before printing anything this is what the data is supposed to look like and this format is the NMEA or National Marine Electronics Association format and it's basically the standard for GPS devices like this it's essentially a line by line stream of CSV data or comma separated values so you split each line at the commas and then each value will have a different meaning depending on its position in that line I won't bore you with the details in this video because there's probably already a library for whatever microcontroller you're using to parse this data and espree know definitely has one named GPS so if I import that into my project and then connect my serial interface to it I can start streaming the parsed data and there's our GPS coordinates updating about once a second we've got latitude longitude altitude all kinds of two to three Li and a timestamp it even tells you how many satellites it's receiving signals from for most applications the coordinates and altitude are really all you need for instance you could use these Laura modules to send the GPS coordinates over a long range and then you'd be able to keep track of where something is you'd essentially have a remote tracking device or you could log all of the updates and later use them to tell how far you want or how much elevation you covered in a day this way you could basically make your own fitness tracker or use it to log where you found something cool while you were out hiking so yeah that's the reax ry 825 module I've left links in the description so you can pick one of these up for yourself if you have any ideas for projects you'd like to see though using these modules or if you'd like to know more about parsing the nmda data that they respond with let me know in the comments below and until next time bye
Info
Channel: Davy Wybiral
Views: 125,875
Rating: undefined out of 5
Keywords: GPS, Glonass, BeiDou, GNSS, GPS Module, GNSS Module, Espruino, Tracking Device, DIY Tracking Device, Fitness Tracker, DIY Fitness Tracker
Id: 9284ObR7Lo8
Channel Id: undefined
Length: 6min 19sec (379 seconds)
Published: Sat Dec 01 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.