Welcome to the Bluetooth GPS for Nikon DSLR Project page.
Build a DIY Bluetooth GPS Unit for Your Nikon DSLR
by Ido Nassimi
5/8/2012
From the first time I saw the power in geotagging images I was immediately hooked. My Nikon D90 is capable of geotagging, but, unlike the S100 (for example) it has no internal GPS and requires the somewhat pricy GP-1 GPS Unit. I set out to make a better cheaper solution.
I started by doing a lot of research on this topic and it turns out that there is a fairly simple way to connect a receiver to a Nikon camera. Simple, if you don’t mind a bit of makering 🙂
To keep the unit more mobile, I wanted to use a GPS that supports Bluetooth. This way I could have a less bulky setup. (+ I got to reuse a Bluetooth supporting GPS unit I already had). The nice bonus is that it works with any Android smartphone which has the “GPS over BT” application installed, you can download it on the Play Store.
There is definitely some hack and slash to this project as well as some soldering.
WARNING! You can harm your camera! Do at your own risk!
I bought my parts from eBay.
What You Will Need (Go eBay!):
- Remote Shutter Release Cord for Nikon MC-DC2 (I bought mine for D90) – 3$
- Bluetooth Modem / Breakout to UART serial (RX/TX) (must have the AT mode) – 13$
- USB2.0 to RS232 TTL Converter Module PL2303 – 2.40$
- Bluetooth GPS receiver (bought mine for 30$ on DealExtreme)
- Project box (I bought a pills case)
- PC with USB port
- Nikon camera
- Some soldering and electronics skills
The parts:
- Explanation about the parts and their role.
- Tearing off the cover of the connector.
- Installing the USB to RS232 on your PC.
- Connecting the Bluetooth module to the USB module.
- Configuring the BT module.
- Soldering the wires to the BT module.
- Testing and done.
1. Explanation about the parts and their role.
1. The Remote Shutter Release Cord for Nikon MC-DC2 is our connector source since I couldn’t find the Nikon connector, we just need to take the shutter release box off and leave the wires with the connector.
Notice that you need to check the connector. It should have all the metal pins in there, some of the manufactures just make it with the Ground, Shutter and Focus pins only.
2. Bluetooth Modem / Breakout to UART serial (RX/TX) is our main part in the project, it give us the possibility to “talk” to the
BT GPS receiver. we will configure it to connect to specific BT device (can be configured to several devices also).
The module pins:
1. 3.3V – We will not use it
2. VCC – The 5v pin (Power)
3. GND – The ground pin (Power)
4. RX – Receiving pin (Data in)
5. TX – Transmitting pin (Data out)
3. USB2.0 to RS232 TTL Converter Module PL2303 will give us the possibility to “talk” to the BT module and configure it. As you can see I will use the PL2303 chip and I had to put a Jumper between the 5V and the middle pin to choose the how much volts I want.
The module pins:
1. VDD – The 5v pin (Power)
2. TXD – Transmitting pin (Data out)
3. RXD – Receiving pin (Data in)
4. GND – The ground pin (Power)
Second pins:
5. 3.3V – We will not use it
6. Middle volt pin – Need to be connected to pin 7 – the 5V
7. 5.0V – Need to be connected to pin 6 – the middle one
Notice that some of the USB module will not have the second part of the pins, in my case it exist to choose the volts.
4. BT GPS receiver receive the GPS signal (NMEA protocol) and transmit it over the Bluetooth.
2. Tearing off the cover of the connector.
Take the Shutter Release box and open the screws. You will find 3 wires connected to 3 metal pieces take the wires off the plates.
Now, carefully cut the connector cover until you see the wires and the connector itself.
3. Installing the USB to RS232 on your PC.
Now you have to install the USB module on your PC. I don’t know which module you bought so you will have to install it yourself. After the installation you will have a new COM port, you can see that my port called COM9
4. Connecting the Bluetooth module to the USB module.
The connections should be:
Right side USB module –> Left side BT module
VDD (5v) –> VCC
GND (Ground) –> GND
TXD –> RX
RXD –> TX
I installed a l little bridge on the BT module because it has holes instead of pins, if you have holes buy one it will make your life easier.
Be careful with the connections, if you mess it you can short and kill you modules and even your USB port.
5. Configuring the BT module.
First of all, you have to change the mode of the BT module to AT mode. this mode allows you to send commands to the BT module. do it by moving the button to the left (the contacts side).
(Don’t treat the wires in the picture, it’s on part 6)
Now connect your USB module to your computer, you should see LED light on the USB module and blinking LED on the BT module. the BT module LED have several blinking modes, the first is slow blinking (and light goes longer) which will appear in the AT mode. the second is fast blinking which says that the module is searching for devices. the third one is when the module is trying to connect to device it will show slower blinking than the searching mode but faster then the AT mode. the last one is when the module is connected, you will see two blinks and break.
Open you terminal software (I use RealTerm which I got from the item’s page)
Download RealTerm + BT Manual [wpdm_package id=’1347′]
(If you use RealTerm in win7 you need to lunch it as administrator)
Set the Port to your COM port and the BAUD to your baud rate (it supposed to be written in the BT manual) as you can see mine is 38400. after you set it click on Open.
Then got to the Send tab and tick the two first +CR and +LF in the EOL.
Now you can write your commands 🙂
To test it, write AT in the line and then click Send ASCII. If everything went right you will see a little OK in the terminal output.
The next part is to send the right commands to the Bluetooth module.
For example, if you want to change the module name type: AT+NAME=”yourname” and click Send ASCII, if it went right you will see OK again.
To check the name of the module type:
AT+NAME?
My output is:
+NAME:Nikon D90 Bluetooth GPS
OK
Now, let’s configure the Bluetooth module to work in master mode. This is what the command dialog should look like (responses in blue):
AT+ROLE?
+ROLE:0
AT+ROLE=1
AT+ROLE?
+ROLE:1
Now, we have to configure the password for pairing. I used 0000 because it’s my Bluetooth GPS receiver password and it can be configured also on my Android phone.
AT+PSWD=yourpassword
AT+PSWD?
+yourpassword
Now let’s set the baud rate for the Nikon camera:
AT+UART=4800,0,0
Next, we will set the connection mode, you can choose between 2 modes.
0: Specific address mode (the address is specified in binding command), 2: No specific address, the module will search for the nearest devices and will try to connect automatically (this mode is less secure)
If you want to choose specific address type: AT+CMODE=0 and set the MAC address with the following command: AT+BIND=1234,56,abcdef
Notice that the MAC address formatting somewhat weird, you have to change it. So if your address is: 00:02:B3:40:E0:A5 you will have to write: 0002,b3,40e0a5
If you don’t want to set it to specific address just type: AT+CMODE=2
Switch the AT button back to its original position.
That’s it! if you get any error, take a look in the manual [wpdm_file id=1]
6. Soldering the wires to the BT module.
We have 3 wires, the Ground the Shutter and the Focus.
Take the red (shutter) and the yellow (focus) out, don’t touch the white one, it’s placed right.
Take the red wire and solder it to the 5V on the connector.
Take the yellow wire and solder it to the GPS data on the connector.
If you think you’re not sure, take a look HERE and HERE.
On the BT module, solder the red wire (5v) to the VCC (5v), solder the yellow (GPS data) to the TX (Transmitting data) and the white (Ground) to the GND (Ground).
Be careful with the 5V and GND connection, if you connect it wrong you can burn your camera or something.
7. Testing and done.
Now connect your module to the camera and wait to the LED light to be turned on. If everything went as we wanted, you will see it blinking and connecting to your BT GPS receiver you camera will show blinking GPS icon. When your receiver get a fix go to GPS in your camera and hit Position-> and you get it!
Don’t forget to take it out from your camera when you done, it drains the battery even if your camera is off.
I put it in a pill box which fit exactly.
Congratulations! you DONE!
I want to thank Eulalio Jimenez from http://www.photoleza.org for his help.
And also for Fernando Lamarca Belanche (aka FLA) from http://www.nikonistas.com.
Thank you very much!
Some pictures:
Update (14/9/13):
Since I published this tutorial (August 5th 2012) I did a lot and now I finally finished. I bought some pills boxes from eBay and put in the BT module. It turned out that it’s pretty hard to cut the plastic partitions inside, but after a few hours I did it.
Here’s the final product, used in my last trip to Switzerland. Worked great even in the highest mountains up there.
P.S I’m desperately looking for the USB connector to buy, I found some here, here, here and here (I think that it’s the connector, I’m not sure because the regular P&S Nikon connectors have the same shape but not the same size) but they sell at least 5000 pcs and I don’t really need that much.
So, if you have or you bought, please tell me and I’ll buy some from you.