• BORED Logo

  • The Ultimate GPS Solution for Nikon?

10th March 2009

The Ultimate GPS Solution for Nikon?

By Tarkan | Permanent Link
Updated Mon, 16th March 2009
«»

Controller Board

As you can see I managed to fit my controller design on to a pcb measuring 18mm by 12mm on clad board measuring 0.4mm thick. This will fit perfectly on to the Antenna module. As the size of the board was so small my pcb fabricator had to make it on a much larger piece hence why I ended up with 60 boards!!!Nikon GPS Circuit Board

The circuit is pretty simple – there is 4 wires connecting the board to the camera, these are for power, gps data, and shutter button. On the other side 7 wires connect to the GPS module, these are for the power and data signals.

The design uses a total of 13 SMT components, the main active parts of the circuit are the power regulator which converts the 5v from the Camera to 3.3v required by the mcu and gps module – this component (MCP1701A) was chosen for the lowest possible quiescent current less than 2uA. The Microchip PIC12F629 micro-controller running my custom software (more on that later..), and two digital transistors used to level shift between the different data lines.Nikon GPS Complete Board

The remaining passive components are for smoothing and signal pull-up.

Putting it together

So the circuit board, gps module and the antenna were put together – and using some tiny Teflon coated cable I connected the gps module to my controller board. I used a tiny piece of solid microwave cable to connect the output of the antenna to the RF input on the GPS module.

As you can see from the pictures – it is small and very neat looking package. Final step was to solder up the 4 wires coming from the Nikon – I made my own cable from the Nikon connector to my gps unit.Nikon GPS Assembled

I have placed some international coinage in the photos to give you a sense of scale.

Software

I designed my circuit so I could program the micro-controller in place - technical name for this is in-circuit programming. This was important as I can update or change the software if it was not operating how I wanted it to.Nikon GPS Assembled

The purpose of the software was to carry out the following functions :-

Main function

  • Whenever the camera shutter button is half pressed (AF / Metering activated) the controller is to wake up the GPS module and start sending gps position data to the camera
  • After 6 seconds from the last press of the shutter button the controller would stop sending gps data to the camera this would allow the camera to enter standby. Nikon stops the camera going in to standby mode if anything is attached to the serial data input line, causing the camera battery to run down very quickly.
  • The controller will check the data stream to make sure we have a good positional fix, if not it will keep the gps module awake till we have achieved a better fix then go to sleep – camera is not aware of this part as the data line to camera has been disconnected by the controller.

House keeping functionNikon GPS with Connector

  • House keeping function happens regardless of the camera state. On initial power up the controller will wake up the gps module and start acquiring satellites to get an accurate positional fix. The controller would keep the gps module awake till at least 5 satellites are acquired and set.
  • The house keeping will also wake up the gps module every 8 hours to refresh the satellite table and update the position if location has changed quite drastically.

There is a timeout of around 3 minutes – so if the gps unit is say stored away in a camera bag then it is unlikely the gps would acquire any satellites so after 3 minutes the controller board will give up trying and go back to sleep. This should stop the gps unit running down the camera battery in futile situations trying to get a positional fix.

So after going through several versions I managed to iron out all the bugs and got the program doing what I wanted. After successfully burning the MCU, I can move on to testing.

 

«»

Posted on Tue, 10th March 2009 at 12:06 am under Modding, Tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

There are currently 26 responses to “The Ultimate GPS Solution for Nikon?”

Comments? Suggestions? Help? Well here's your chance! Leave a comment.

  1. 1 On March 23rd, 2009, Corey said:

    Tarkan,

    Great work. I enjoy reading about your projects.
    How much code did/does it take to control the GPS unit? It sounds like you are a hardware guy so I am curious how much software development was involved.

    Also,
    Do you have any pictures of the final product while it’s attached to the camera?

  2. 2 On March 23rd, 2009, Tarkan said:

    Hi Corey,

    Yes as you have guessed I am a hardware kind of guy!! The software was not that complicated the basic requirements are easy and I only used 3 i/o ports from the microchip to control the GPS module.

    The hard part was that the module has single on on/off pin which toggles the module on and off for each high pulse. So the software had to also determine if the module was on/off depending on what was needed.

    I did cheat a little as I used picbasic, I found that to be easier to understand then direct assembly to carry out the logic functions I was after. The only buggy issues I had was to get accurate timings for the sleep mode and timeout mode.

    All in the code ended up being just under 200 lines.

    I will take a picture of the unit attached to the camera and post it to the end of the article.

  3. 3 On April 6th, 2009, Mathias said:

    Looks great,

    Any plans for selling these, or kits to build one?

  4. 4 On April 7th, 2009, Tarkan said:

    I am thinking about it – for me to sell them complete I think would make them quite expensive, while kit form will make it complicated for normal users.

  5. 5 On April 10th, 2009, Mathias said:

    Yeah, it does look pretty small. It also does look like the best solution for this, though – by far actually. And since you have 59 spare boards, and already sell the ipod flash adapter i thought it might work out.

    I can see how production is complicated to manufacture, and kits will definite pose a challenge.
    Would you think pre-assembled ones would be radically more expensive than other offerings?

  6. 6 On April 13th, 2009, Rob said:

    Tarkan,

    If you were to sell them in kit form, how much do you think you would charge for them?

    Rob

  7. 7 On April 16th, 2009, Tarkan said:

    Hi people,

    I think the problem I face with this project is that it was designed to be a project from the onset!! I would have designed it differently if I was going to make them for resale.

    However, I have decided to make a few more complete gps units which I will sell, it will give me a feel for how long assembly takes.

    There is also the option of me selling the pcb board already populated and programmed with the buyer having to source the remaining components themselves.

  8. 8 On April 17th, 2009, Rob said:

    Tarkan,

    I would be interested in either case depending on price.

    Rob

  9. 9 On May 1st, 2009, Alexander R said:

    This project was great.

    Im interested in one of these if u decide to sell a complete unit or just populated board.

    The size of the thing is amazing.

  10. 10 On May 12th, 2009, londonboy said:

    hello i can see that you are perfectionist at what ever you do.
    how soon will you be selling the circuit board and chip for this project.
    ?

  11. 11 On August 31st, 2009, Vali said:

    I’m also interested in a couple of pre-programmed PCBs (me & my neighbour). Please let me know if it’s possible. In my country GPS for NIKON isn’t yet available and price will exceed the one of your unit.

    Regards,
    Vali.

  12. 12 On September 21st, 2009, Ian said:

    Hello, I am quite interested in this project, I have a Nikon D200. I would like to hear from you about obtaining either built unit or a kit of parts with the programming done and I can assemble it myself.

    Thanks

    Ian

  13. 13 On October 1st, 2009, peter said:

    i came to your site to read about the ipod video mod, but found myself spending my lunch at work reading this article. i have a d200 myself and never really thought of going geotagging cuz of the price and bulkyness of it all. i’d definitely be interested though if your product went on sale.

  14. 14 On October 6th, 2009, Tarkan said:

    Thanks for all the interest. I am still developing some other ideas and another form factor as well.

    I do hope to have something either in kit form or complete unit for sale soon.

  15. 15 On November 3rd, 2009, dod said:

    Hi I have a D90 and would love to build one of these.
    I have smd skills and access to parts etc, can you supply a diagram and pcb and pcb diagram or a pcb :-)
    Thanks, awesome work.

  16. 16 On November 10th, 2009, dod said:

    Any News on your kits, Im very keen to get my hands on one

  17. 17 On November 15th, 2009, Andrew Reeves-Hall said:

    FYI – an alternative…I geo-tag my photos using a Garmin sport watch and the freebie program Geosetter. Details on my website here http://www.reeves-hall.net/tips/geotagging-photos/

    ~Andrew~

  18. 18 On November 19th, 2009, Sam said:

    Hi,

    I am also interested in your project and would be interested in any form you released, kit or plans.

    The one issue with the commercial units I see on sale is they all take over the 10 pin connector and many take over the 10 pin and the flash hot seat, so you can’t use them for remote shutter control or remote TTL triggering of flash. My Nikon does not have a built in flash, just a hot seat.

  19. 19 On December 1st, 2009, Bryan said:

    I’ve finished my testing of the Easytagger, GP-1, and Garmin Geko GPS units as promised a few days ago. I took 10 images from a fixed location with each of the 3 units, and plotted the locations on Google Earth. I also measured my camera position against visual reference points in Google Earth, and was able to measure the deviations against the “actual” position. I input all of the GPS data from the 30 image files into an Excel spreadsheet to gain a little more clarity in the analysis.

    Interesting results, actually a little surprising. Based on my testing, I favor the Easytagger over the GP-1 for a few different reasons, mainly the Easytagger’s better functionality and value. There are a couple of watchouts to consider with the Easytagger as well, but these are things I can live with based on my shooting priorities and preferences. The Garmin Geko that I had so proudly rigged up a few years back really sucked, as it turns out. I thought it would have blown the doors off the others on a technical basis, and get knocked for its bulk and weight, but it didn’t even pass technical muster. Interesting results with lots of details.
    I’m curious to hear what other people may have to say based on their experience with any of these GPS units or others. Take this for what it’s worth. I’m not a professional electronics tester and I’m certainly not a professional photographer. I was just really curious so I figured I’d at least experiment and share my results, and see if others found value in it.
    Today I took my Easytagger out in the field to test it out on a long hike through the woods. The Easytagger did take a few minutes to acquire a good signal, but once it locked on, re-acquisition was nearly instantaneous over the next few hours, and the unit never failed to acquire. My photos were all successfully tagged after the unit had initially locked on. My exif data shows that I was locked onto 8 satellites for most of the day.

    After I got home, I took the time to install the included Lockr GPS software, which enabled me to easily read the tracking data and plot my path on a map (using either the Lockr map or Google Earth). I’ve got to say the Easytagger tracker function is amazing, maybe even scary! I didn’t realize that it had been tracking my movements every moment it’s been turned onto the “All” position since I received the unit a week ago. Wow, it shows me driving to my daughter’s house for Thanksgiving dinner, then walking around her neighborhood to work off a big turkey dinner (brought my camera with me on that walk). Today’s hike through the woods was also recorded. It shows every trail my wife and I took, and even the deviations away from the trail where we saw some interesting things to photograph off the beaten path. It even shows the path I took right before I put the GPS in the car and turned it off. It shows how I walked to the trunk of the car, spotted an interesting peak on a building, walked up to the building to photograph it, then walked a few feet away to get it from a different angle, and then return to the car. Using the satellite view, it shows the exact parking space I had used (you can see the lines in the parking lot). The accuracy of the tracker feature is impressive. Sure, every now and then it shows a deviation of a few feet (3-6 feet?) off the actual path I took, but this is probably where the unit was extrapolating between data points.

    The more I use the Easytagger, the more impressed I am with it. Anyone want to buy a brand new, hardly used Nikon GP-1?

  20. 20 On December 9th, 2009, dod said:

    Any closer on the gps kits ?

  21. 21 On December 25th, 2009, Michael said:

    The Easytagger is cool. I got it for a week now and used it for almost everyday. I do enjoy the trails. It shows every detail of my movement.

  22. 22 On January 10th, 2010, Garbz said:

    That does surprise me by fast aquasition and I am quite satisfied with this Eztagger GPS.

  23. 23 On March 8th, 2010, dod said:

    Any News on the kits ?

  24. 24 On April 6th, 2010, julianlou said:

    connect nikon to garmin using bluetooth, please see http://julianbiotecc.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&_c=BlogPart&partqs=amonth%3d4%26ayear%3d2010

  25. 25 On June 2nd, 2010, didi said:

    hi tarkan,

    great work. My D700 ;-) ) and I are interested in a complete unit.

    Didi

  26. 26 On January 13th, 2012, Hi Tarkan. said:

    Great work. I have interested in a complete unit for my Nikon.

Leave a Reply

  • Gallery

  • peru_004
  • Coming Soon

  • Review : Shure SE530 Earphones (PTH) In Depth Analysis
  • Ads

Spread the Word
slashdot
delicious
digg
technorati
reddit
magnolia
stumbleupon
yahoo
google
  • Ads