Sie sind auf Seite 1von 11

sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.

com/diy-10hz-bluetooth-gps-receiver/

Automotive Woodworking Home Improvement

sub-$50 DIY 10hz Bluetooth GPS Receiver


Posted 3 years ago on Sunday, August 7th, 2016 by James S.

Full Disclosure: I got this project from Aidan over at miataturbo.net. The original thread is here. There is
also a thingiverse page on this, which includes all links plus a 3D drawing to 3D print an enclosure for it.

If you do HPDEs, autocrosses, etc, you will likely eventually find yourself wanting to get good lap timing. It
used to be that you had to buy a standalone system to do this, which cost thousands of dollars. These
days, you can get away with an app for your phone. There are several popular ones, including Harry’s Lap
Timer and RaceChrono, available for both iPhone and Android. These apps will show you not only your
lap times, but also more detailed information, so you can determine which lines are fastest and help
improve your driving.

By default, these apps use a phone’s built-in GPS to get your location and speed. The issue with this is
that most phones have a 1hz GPS unit. This means that they can get updated coordinates once per
second. While this sounds good, it’s actually too slow for good resolution. Instead, it’s better to get one of
the many available 10hz or better GPS units and connect them to your phone via bluetooth.

Unfortunately, the cheapest existing receivers are in the $80+ range, and they aren’t very reliable.
However, dozens of companies these days make small GPS, bluetooth, and other modules that can be
easily hooked together. This project involves 3 such components (Bluetooth, GPS, and USB), costing a
total of about $20, and soldering them together. Popular Posts

The diagram, taken from the thingiverse page, Replacing an F-150 Blend
illustrates what will happen. You buy the 3 modules: Door Actuator for HVAC
bluetooth, GPS, and USB. Ground and power from the (2009-2014)
Bluetooth and GPS modules are connected to ground Removing a Miata Engine
and 5V power on the USB module. Then, TXD Recharging Car Air
(transmit) on the Bluetooth module is connected to Conditioning
RXD (receive) on the GPS module, and vice-versa. At 05+ Toyota Tacoma Front
the end of the day, your phone connects to the Diff / Transfer Case Oil Change
bluetooth module, and it forwards data to and from the Changing Brakes on an
GPS module. Easy peasy. 09-14 F150

1 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

Source: http://www.thingiverse.com/thing:698168 I’ll note here that this module does need to plugged in, Recent Posts
there is no battery. Adding a battery, particularly the
charging circuit, would add complication. Honestly, I 2012 Toyota Camry Hybrid
find it easier to hardwire this once and forget it. Air Filter Replacement
2012 Toyota Camry Brake
(Note: I’ve seen discussion on this project centering around using 5V power to the HC-06, stating it Light Replacement
requires 3.3V. This isn’t quite true – the module itself does require 3.3, but the commonly purchased Fixing an F-150 Third Brake
submodule, such as the I bought, includes a voltage rectifier allowing it to take between 3.3 and 6V, as it Light Leak
says on the underside. Further reading here.) Drill Battery Power for a
TS-100 Soldering Iron
Shopping List Converting 12V Power to
Turn Off in New Edge Mustang
(Note: The price of these parts fluctuates _all_ the time. You can shop around Amazon, Ebay, Adafruit,
Digikey, Mouser, etc and try to find the lowest prices – don’t forget shipping! A lot of these components
ship from China, as well, so be prepared for slow ship times.)

Parts:

HC-05 or HC-06 Bluetooth Submodule (Either one will work, I found the HC-06 a little bit cheaper)
Reyax RY8253F GPS Module The older RYN725AI also works but is discontinued, as a commenter
below pointed out. You want a GPS module that can do 10hz, has serial, has flash, and is powered by
3.3V to 6V with 3.3V logic.
USB Mini Breakout Board (Although I wish I’d gotten a USB Micro Breakout Board, since I have more of
those cables – should also work)
Some double-length header pins
Replaced by Reyax RY8253F above: RYN725AI GPS Module (I accidentally bought the RYN25AI,
which is a bit cheaper but has no flash or EEPROM to permanently store the 10hz setting. Some versions
of the RYN25AI do have EEPROM – make sure you get one of these. If you make this mistake, you’ll
simply have to reprogram the chip for 10hz when you use it, as the battery only lasts about a day. You
cannot add EEPROM on afterwards.)

You also need a few tools, if you don’t already have them:

A soldering iron – A station like that is preferable, but I made do with a $4 Harbor Freight iron
Quality fine solder
This thing to hold the boards is very helpful – I put some rubber tubing over the alligator clips to not
damage the PCBs
A bit of wire
Pliers
Wire strippers help
Solder wick helps a lot if you screw up soldering – I wish I had had some

Here’s a picture showing all of these parts ready to go.

All of the parts required

Fixing the Bluetooth module


The HC-06 will come with 4 pins preinstalled in VCC, RXD, TXD, and GND. This is fine for VCC, but we
want to put some pins directly from the other 3 into the GPS module. We also want the chips (and the
antennas) on each module to face away from each other. As such, you’ll have to remove three of these
original pins.

2 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

The HC-06 comes with pins pre-installed

You need to separate the little plastic pieces, whatever


they’re called, to get the 3 other pins out while leaving
VCC in place. You could slide all 4 plastic pieces off of
the pins, if you want. I find it easiest to grab some
snips like the ones pictured, and simply clip them
apart.

Use the smallest snips you have to separate the


plastic

After clipping them apart, I clamped the board to my


bench. I used the soldering iron to heat the solder, and
then used the pliers to pull it out. If you have
desoldering wick, that’s even better. Use the iron to
heat the solder, and let the wick suck it up. If I did this
again, I would do it this way, because it will make the
next step easier.

With the board held down, heat with the iron and pull
with the pliers

3 Pins in RXD, TXD, GND Same 3 pins on the other side – GND is much longer

Once the original pins are removed, we can put in pins of our own. You want them to go through the board,
with the GND pin being one of the double-length header pins in the shopping list. The other two (TXD and
RXD) can be normal length, like one of the many pins that ships with the components. As I said, if you
used a desoldering wick earlier, the pins should now be nice and free of solder. If you didn’t, they’re
probably full of solder, in which case you’ll have to do your best to heat the solder up while you ram the pin
in with some pliers.

Putting a pin in VDD on the GPS module


We’re nearly ready to hook the GPS and Bluetooth modules together. Before doing that, though, we
should put a pin in the GPS module for 5V power while we still have easy access. This should be another
double-length pin, with most of the length towards the bottom, so we can bend it to hook into the USB
breakout module later.

3 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

Pin for 5V Power in VDD

Combining the Bluetooth and GPS modules

Stacking the modules Side view showing clearance between the two
modules

It just so happens that RXD, TXD, and GND on these boards line up so that we can just stack them as
shown. The three pins soldered to the bluetooth module earlier will stick straight into the GPS module pins.
As in the original diagram from earlier, RXD on Bluetooth goes to TXD on GPS, TXD on Bluetooth goes to
RXD on GPS, and GND on Bluetooth goes to GND on GPS.

I also allowed a bit of a gap between them. Truthfully, they should also have a sheet of insulator as well,
but I didn’t do that. Presumably You could still wedge something in there after soldering.

Once this step is complete, you’ll have something like


the above. Notice the ground and +5V pins are quite a
bit longer than the other two. That’s so we can hook
them to the USB breakout module in the next step.

Both pieces combined

Hooking up the USB breakout module


The USB breakout module only has two pins we care
about, VBUS (+5V) and GND (ground). The other pins
are for data, and we are only using the USB cable for
power. I simply bent the extra-long pins over with pliers
until they would hold the USB breakout module where I
wanted it, as shown. The GND pin was a little bit short,
so I actually soldered extra pin to the board, bent that,
and connected it to the original GND pin on the GPS
The USB module hooked up module.

In any event, as long as the wiring looks like the above,


it should work.

Of course, the Bluetooth’s 5V module was on the wrong side, so it didn’t line up nicely. I simply took a
short piece of 22 gauge wire and soldered it to the the top side of the USB breakout board, where the 5V
pin sticks out. Then, I soldered the other end to the original VCC pin that came with the Bluetooth module.

4 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

(The one that was not removed at the beginning of this


article.)

The Bluetooth module needs a 5V wire

Shop Related Products

TEKTON 3775 8-in-1 Hakko FX888D-23BY Kester 44 Rosin Core Adafruit USB Mini-B
Electrician's Combin… Digital Soldering Station… Solder 63/37 .020" 3/4… Breakout Board [ADA…

$13.41 $99.42 $110.47 $11.89 $5.01


(176) (754) (47) (5)

Ads by Amazon

Setting the GPS receiver to 10hz


Once the GPS receiver is ready, it still needs to be set to run at 10hz. By default, the module only does
1hz, which is no better than the average phone. I wrote up how to do this in a separate article.

Using the GPS receiver


To test it out, I used RaceChrono. It and Harry’s Lap Timer are the two most popular options, at least for
Android. RaceChrono has a free version to try, though, while Harry’s doesn’t. To use it, simply add the
HC-06 in your phone’s bluetooth menu like any bluetooth device. The default pin is 1234. (You can change
this by hooking up a serial connection to the HC-06 and sending some AT commands, but I didn’t bother
and this is out of the scope of this article.)

Then, in RaceChrono, go to “Settings”, “Device 1”, and change it to external GPS. Pick the HC-06 out of
the menu. If you go back to the main screen and hit Start, it will connect to the GPS Receiver and the
bluetooth light will turn solid red if you did everything right. You can hit the up arrow in the bottom left to
see GPS details. Once it obtains a satellite fix, you should see the top right area show it is reading at 10hz.
If it says 1hz, check that you didn’t goof something up.

Conclusion
And there it is. Note that your phone or laptop won’t
necessarily stay connected to it after pairing. I found
that my phone didn’t actually connect until I opened
RaceChrono, specified it as my external GPS, and
actually started timing. In other words, it doesn’t bother
connecting until something actually tries to
communicate with the receiver. Once I did all of that, it
worked perfectly.
Done
In a future article, I’ll talk about making an enclosure
for it. I am choosing to do something a little different
than the 3d printed solution available on thingiverse.

Related

5 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

Setting Bluetooth GPS Heirloom DIY Crib: Part 3 Recharging Car Air
Receiver to 10hz Conditioning

32
Leave a Reply

Connect with

7 25 1 7

Subscribe newest oldest most voted

Sub $50 10Hz GPS Receiver - Page 7 - Miata Turbo Forum -Boost cars, acquire cats.

[…] thingiverse page is that I went into a lot more detail on how to solder it up. Writeup is here: sub-$50 DIY 10hz Bluetooth GPS
Receiver – Did It Myself I also wrote up how to set it to 10hz in detail: Setting Bluetooth GPS Receiver to 10hz – Did It […]

0 Reply 3 years ago

Martin

my version 17Hz gps hw >> https://photos.app.goo.gl/mh9Z3tBAqxCjDjNW6 <> https://photos.app.goo.gl


/7n9ADc9mehHHwfodA https://photos.app.goo.gl/Q1mkFs2US82yZd2o9 << case

0 Reply 7 months ago

James Spadaro

Nicely done, I like the 3d-printed case.

0 Reply 7 months ago

Kerly o Mastoras

Hi
Nice project! Can I add this to the rest and have an accelerometer as well? Hi should I connect it?
Thanks!

https://rover.ebay.com/rover/0/0/0?mpre=https%3A%2F%2Fwww.ebay.com%2Fulk%2Fitm%2F221539755286

0 Reply 1 year ago

James Spadaro

I have not done this, but you might be able to get away with an accelerometer with serial output, like this:
https://www.ebay.com/itm/MPU6050-Serial-6-axis-Accelerometer-Gyroscope-Module-for-Arduino
/322763231536?hash=item4b26301130:g:vdcAAOSwCkZZOSYV

Then you would wire the accelerometer in instead of the GPS module.

As far as running an accelerometer AND a GPS module on the same bluetooth-serial adapter, that won’t work. The bluetooth

6 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

module will connect to one serial device only. Also, this depends on whatever you’re using to connecting to the accelerometer
supporting reading accelerometer data from a bluetooth-serial device.

1 Reply 1 year ago

Dang

Hi, thanks for the detailed writeup. It seems like the RY725xx series of GPS modules are now obsolete. Do you know if what I think
the replacement RY825xx modules would work as a substitute?

REYAX RY825CF
http://reyax.com/products/ry82510/
https://www.ebay.com/itm/183150562491

Thanks!

0 Reply 1 year ago

James Spadaro

Yes, that looks like it should work. Please let me know how it goes if you try it.

0 Reply 1 year ago

Martin

just ordered RY8253F 3v3 logic and flash RY825CF is 12v logic , have spoke with Reyax

0 Reply 9 months ago

James Spadaro

Excellent, thank you for the tip! I’ll update the article.

0 Reply 9 months ago

Martin

Reyax send me by mistake CF module so can confirm thats wrong one no comunnication (12v logic) aw
replacment of 3F

0 Reply 9 months ago

Billy

HI James, thanx for the detailed info and what a great project. I want to try build one for my super bike track bike! I have assembled
the parts and started testing. I can pair the bluetooth module and in Race Chrono it indicates that it is receiving data but no satellite
info? I ordered the Reyax RY825CF gps module and requested the one with serial output and onboard flash? Any ideas? The gps is
powered on and the red led starts flashing so its is seeing the satellites?

0 Reply 8 months ago

James Spadaro

Unfortunately, if you read above comments, the RY825CF appears to be 12V, and the USB module in this article is providing 5V. I
suppose you could try to get 12V power to it – your bike presumably has 12V, but be aware that you’d have to have a voltage
regulator. Probably easier to buy the RY8253F instead, which can run on 5V.

To work like in the article, you need the RY8253F, which I’ve linked at the top of the article as well. Sorry for the confusion!

7 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

0 Reply 8 months ago

Martin

no both can be powered by 5v , but the logic in CF is 12v communication data TX RX , and HC05 HC06 communicate at
3.3v logic thats why RY8253F is required recived replacment yesterday works at 17Hz no problem, baudrate have set up
for 115200 https://photos.app.goo.gl/LPT4U36a95iunVLJ6

0 Reply 8 months ago

James Spadaro

Ahh, OK – thanks for the clarification!

0 Reply 8 months ago

Martin

you can change title for 17Hz GPS Reciver see my photo https://photos.app.goo.gl
/LPT4U36a95iunVLJ6

0 Reply 8 months ago

James Spadaro

Nice!

0 Reply 8 months ago

Klister

Hi James, I’d like to build one of these myself for use while flying commercially. (I work for an airline) My question is if you know if I
can use this with Google Maps on Android? That would be my preferred method but any mapping app that allows offline useage
would be fine.

0 Reply 7 months ago

James Spadaro

It looks like it should work, but it’s a little bit convoluted. You set it your phone to “use a mock location” and then install another app
that sets the mock location to your external GPS’ real location. I haven’t tried this personally, but it looks like it would work.

https://nerdynerdnerdz.com/4053/pair-external-bluetooth-gps-receiver-with-android-for-superior-navigation/

Alternatively, any app that natively supports bluetooth GPS (like RaceChrono does) should work. Sorry I’m not more help, I’ve
always just used my built-in GPS for navigation.

0 Reply 7 months ago

klister

Thanks for the feedback. I will go ahead and try it. Basically I travel overseas a lot for work and would like to try to get the
GPS position while on a plane using an android tablet. Generally the slow 1hz gps frequency in phones makes them
notoriously difficult to get a lock because of how far you travel in that second.

0 Reply 5 months ago

James Spadaro

8 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

That makes total sense. As noted above, it looks like the new part number for this GPS supports up to 17hz, in case
you want to upgrade. I still mean to update my app to program it to 17hz, on my to-do list.

I’d be interested to hear if this works for you.

0 Reply 5 months ago

Vinicius

Hey man. Congrats for you project and the very detail tutorial. I will youse your tutorial to do a similar project, but I have some doubts.
First, I need change the GPS Module, because the model used by you is very dificult to find in my country. My ideia is use this gps
(https://pt.aliexpress.com/item/32948172227.html?spm=a2g0o.cart.0.0.4dfc3c00iBUxGt , with NEO M7N). Do you think it meets the
requirements?
Second, I will use the project in a kart, so I need create with a portable size. For this, I need include a source of energy, like a batery.
Could you give me a tip for this?
Thanks,
Vinicius

0 Reply 2 months ago

James Spadaro

Hi Vinicius,
It looks like this is probably only 1hz GPS: https://www.circuitspecialists.com/content/481525/NEO-6M-V2.pdf

Otherwise, it looks like it can probably be wired the same way, although I can’t say for sure without trying it. But you really want
10hz or better GPS update frequency.

0 Reply 2 months ago

Vinicius

Hi James
This link that I sent to you from Aliexpress sells 3 different models: NEO 6M, NEO 7M and NEO 8M. I will buy the NEO 7M
model: https://www.u-blox.com/sites/default/files/products/documents/NEO-7_DataSheet_%28UBX-13003830%29.pdf
The model NEO 7M has 10hz update frequency.

0 Reply 2 months ago

James Spadaro

Oh, I see. Very nice, much better deal than the reyax unit if it works then. It looks like it should work, but I can’t say
for sure.

Regarding power for it, most drones use lipo batteries. I assume they would work for this as well, although they might
be overkill. I don’t know enough about it to make any recommendations. I would ask someone into RC / drones.

0 Reply 2 months ago

Vinicius

Hey guys. I need help!! I bought all components and, before I solder all things, I connect all components with jumpers to test, but I
have a problem and I don’t find the solution. I turn on the circuit, but the Bluetooth device don’t shows in the device list in my cell
phone. I don’t know what to do. Can you help me? There is a configuration to do before?
Thank you!!
This is the photo from my test: https://ibb.co/vQrkYS9

0 Reply 1 month ago

James Spadaro

9 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

Is the LED flashing? Flashing LED indicates that it is ready to pair.

Is this the first time you’re pairing with it? You may have to hook up a serial connection to the module to fix it.

0 Reply 1 month ago

Vinicius

The LED is flashing, like I saw in many videos on Youtube.


This is the first time that I try pair with my cell phone. I bought this component yesterday and this is the first time that I try
use. I probably will buy a TLL component to do a serial connection.
I’m so sad because in your tutorail looks like so easy, and I don’t know what to do or try.

0 Reply 1 month ago

James Spadaro

Yeah, that is a bummer. Do you have another phone/tablet/laptop you could try pairing with instead?

0 Reply 1 month ago

Vinicius

I try using 2 cell phones with Android and a PC with Wondows. No one of them can discovery the HC-06.
It is a bummer because all of videos and tutorials on web show that is very simple, almoust plug and play.

0 Reply 1 month ago

James Spadaro

That is frustrating. I assume you also tried pairing with the GPS disconnected, just to make sure that isn’t
causing a problem?

In any case, I don’t think I have any good suggestions, except that you can try a serial connection and maybe
your HC-06 module is a dud. Sorry I can’t be more help, but good luck!

0 Reply 1 month ago

James Spadaro

Also, you’re sure you’re getting a voltage to it within the tolerated range? If you have a variable power supply
handy, you could try 3.3V instead of 5, just to see…

0 Reply 1 month ago

Vinicius

My first test was using only the HC-06, without the GPS. How didn’t work, I try add the GPS module to the
circuit, and continous not working.
I will get a Arduino with a friend to connect and try change the setup from the HC-06. It is a try, but…

0 Reply 1 month ago

← Making a Side Table Out of Old Furniture Changing Brakes in a Miata →

Spadaro Technology, LLC / did-it-myself.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means
for sites to earn advertising fees by advertising and linking to amazon.com.

Copyright 2014 Terms and Conditions

10 of 11 9/5/2019, 7:23 AM
sub-$50 DIY 10hz Bluetooth GPS Receiver - Did It Myself https://did-it-myself.com/diy-10hz-bluetooth-gps-receiver/

Spadaro Technology, LLC

11 of 11 9/5/2019, 7:23 AM

Das könnte Ihnen auch gefallen