This device was created for a final project for a class by a group of students at Indiana University. As sport fans, we thought it would be really useful to create a tool that would measure distance between two points. This could be used for many different sports, but we focused on golf. A handheld unit that could measure distance in yards from where a ball is hit and where it ends up is really what we were motivated to construct. Distance markers on golf courses are not always accurate and it is very important to know correct yardages to play well. This system could be used to keep track of the average distance for a certain club or to check the accuracy of yardage markers at the course.It works by recording latitude and longitude points of where the ball was hit from, and then calculate the distance from that location to wherever the ball lands.

The materials needed for this project are as follows :

Additionally you will need to install the Arduino IDE and a couple of libraries for it.

I sadly must report that our code was stored on my Indiana University Box account which was apparently deleted after my graduation, so I am not able to provide that any longer. If anyone who downloaded it before it was taken down is able to send it to me I would love to put it back up.

Step 1: Solder Headers

The Ultimate GPS Logger and LCD Screen w/ Buttons each come with headers to be soldered on to allow them to be stacked onto your Arduino. Interestingly enough, the GPS shield came with male headers, and the LCD shield came with female headers. For this project, the LCD screen should have the male pins and the GPS should have female pins. This may have been a mistake by the company that sent us the LCD screen, as it doesn't make much sense to put something on top of the screen, but it worked out to our advantage.

Warning: Soldering can be dangerous, and all precautions should be taken. Use lead-free solder to be extra safe, wear protective eye-wear, and do not inhale any of the fumes! This is melting / burning metal, and it is not something to take lightly if you are not experienced.

When soldering the GPS headers, what we did was let it balance on the female pins upside down, and soldered each pin. We found that the best technique was to heat up the solder at the top of the pin, and use the soldering iron to keep the metal liquid and let it slide down the pin instead of soldering right at the board. As you can see in the picture, the board can take quite a bit of damage from touching it with the iron. To solder the male pins to the LCD screen, it is easiest to plug in the headers and set the screen on top of them and then solder it.

<p>I have been always frustrated from the missing double (64bit) type in Arduino world and hence the problem with properly calculating GPS distance, bearing and destination point.<br><br>The following library uses Float64 &amp; Math64 libs and also adds some fast and very fast implementations of trigonometric functions and fast and regular versions of GPS GPS distance, bearing and destination point. <br><br>Feel free to use it - and any help in improving it is welcome !<br><br><br>https://github.com/vtomanov/Gps64</p>
<p>When I compile code, it throws an error. &quot;This report would have more information with</p><p> &quot;Show verbose output during compilation&quot;</p><p> enabled in File &gt; Preferences.</p><p>Arduino: 1.0.6 (Windows 7), Board: &quot;Arduino Uno&quot;</p><p>Final_Working:110: error: expected constructor, destructor, or type conversion before '.' token</p><p>Final_Working:111: error: expected constructor, destructor, or type conversion before '.' token</p><p>Final_Working:112: error: expected constructor, destructor, or type conversion before '.' token</p><p>Final_Working:113: error: expected constructor, destructor, or type conversion before '.' token</p><p>Final_Working:114: error: expected constructor, destructor, or type conversion before '.' token</p><p>Final_Working:115: error: expected constructor, destructor, or type conversion before '.' token</p><p>Final_Working:116: error: expected constructor, destructor, or type conversion before '.' token&quot;</p>
<p>did you enable verbose output? do you have all of the libraries?</p><p>and do those lines look like:</p><p>Serial.print(&quot;Menu change &quot;);</p><p> Serial.print(changed.from.getName());</p><p> Serial.print(&quot; &quot;);</p><p> Serial.println(changed.to.getName());</p><p> lcd.setCursor(0,1);</p><p> lcd.clear();</p><p> lcd.print(changed.to.getName());</p>
<p>This sounds like a device that has potential to support an idea/invention I have. I would like to chat with you a bit more. </p>
<p>This looks interesting. </p>
<p>Glad you thought so, I'd be glad to answer any questions. I can't wait to post about my next project!!</p>

About This Instructable




More by jddobson:GPS Distance Calculator (for golf) 
Add instructable to: