Introduction: Wireless Tethered Shooting With Any DSLR Camera V2!

---This tutorial is compatible with the TP-Link router mr3040 V1 and V2.x! But if your router has the hardware version V2.x you should follow the improved version here: https://www.instructables.com/id/Wireless-tethered-... ---


--- this is a upgraded and better version of my first tutorial called "wireless tethered shooting with any DSLR camera. ---

Newer DSLR Cameras allow you to shoot tethered wirelessly over your wifi lan. Unfortunately most cameras don't support this tecnology. BUT! There is a solution! You can make use of cheap credit card sized, wifi routers to build your own system for less than 50$!

First of all, a special thanks goes to Michael, the programmer of "VirtualHere". He made special changes to his software to make this project possible.

Ok guys, here it comes.. its just to have my butt backed up.. :)

Disclaimer: While following precisely every step should be quite easy and nothing should go wrong, there still is the possibility that something doesnt work out... (for example, router battery dies on you while you are flashing the firmware). In any case, the router is recoverable via advanced techniques that will not be discussed here. If those techniques are too complicated for you then you most likely bricked and lost your router. In any case I am not responsible for any kind of damage caused to things or persons by this project.

Step 1: Description, What You Need...

This project aims to give wireless compatibility to any camera. The project is easy to follow and requires about 10 minutes to complete. Just pay attentio to the version of your hardware (version 1.0 or 2.x) and be sure to download and flash the correct firmware. At some point in this tutorial you will be asked to skip one step based on how you want your system to be set up. Option A is the easier one and will create a wireless access point. This option is useful if you shoot on location and/or use a laptop or a PC with a wireless adapter. Option B will connect to an existing wifi network. This is useful if you shoot only indoors in your studio and have an existing wifi network you want to connect to. This second option is a little bit more difficult as it requires you to edit the configuration files in order to be able to connect to your existing network. You will need to tell the system the name of your Wifi network (SSID) the encryption method and the password.

Here is the list of what you need:

- ANY DSLR Camera (or normal camera) that supports tethered shooting via USB cable (basically every DSLR camera around will do it)

- TP-Link MR3040 (if version 2.0 or above is better) costs around 50$

- lan cable for initial setup (one is included in the MR3040)

- A PC that will be your "client" for showing the pictures

Step 2: Setting Up the PC

There is not much to do on the PC!

All you have to do is download the VirtualHere client from this page:

https://www.virtualhere.com/usb_client_software

Download the client that works best for your system!

if in the previous step you decided that you will go for option B then you will also need WinSCP. (or a similar program for other Operating systems). You can download it here:

http://winscp.net/eng/download.php

This is it! Lets go to the next step!

Step 3: Changing From the Original Firmware to the OpenWRT Firmware

When you get your router you have to replace the firmware with OpenWRT. If you already have a Openwrt build on your router from previous projects then you can skip to the end of this step.

First we need to flash it with a special firmware that is sort of a intermediate firmware. It is used to bypass the TP-Link firmware check. So all we have to do is download the file and flash it! here we go:

If you have a V1.0 router then you need this file:

http://downloads.openwrt.org/barrier_breaker/14.07...

If you have a V2.0 or above version then you need this one:

http://downloads.openwrt.org/barrier_breaker/14.07...

Notice the ending "factory.bin". This means that this image is meant to be flashed as long as you still are on the original firmware. Before you keep going, double check that you downloaded the proper firmware version for your router. (v1 or v2)

Now, after downloading disable your wifi adapter to avoid IP conflicts, and connect your TP-Link MR3040 router to your PC via the lan cable that came with it. Open the browser and go to the page http://192.168.0.1 and login using the default username and password (admin/admin). Now go to the firmware update page, hit "browse" and select the firmware you just downloaded and flash it!

after about a minute the flashing process is finished and you can access your router at the address http://192.168.1.1 (note that the IP address changed!)

Now its time to decide if you want your router to act as an Access Point or if it should join an existing network.

If you want it as access point then just go to the next step, if you want it to join an existing network then skip the next step and go directly to step 5!

Step 4: Installing the Custom Firmware for AccessPoint Operation Mode (Option A)

Seems you want your router to act as an access point! This is the easy solution!

First of all, download the custom firmware from here:

V1.0: http://www.mad-sharky.com/openwrt-mr3040-v1-APmode-sysupgrade.bin

V2.x: http://www.mad-sharky.com/openwrt-mr3040-v2-APmode...

Now in the top menu of your router's interface click on "system" and go to the backup and restore page. From there you can flash the new firmware.

ATTENTION:you must uncheck the "preserve settings" check, else the flashing process will not overwrite the system settings with the new ones stored in the image. The new image does not have a user interface so once flashed it is not so easy to restore.

If you have done as described above then you have completed this step and can go directly to step 6!

Currently your wifi acts as an access point called "wifi photo" and the password to access it is "password".

Your ethernet port has a fixed IP address: 192.168.0.200 and if for any reason the wifi does not work, then you can access your router via ethernet cable by assigning to your network card a fixed ip address that matches the router's one.

Ok,at this point you can reenable your wireless adapter on your pc and go to step 6 as step 5 is not needed for you!

Step 5: Installing the Custom Firmware for Joining an Existing Wifi Network (Option B)

Seems you want your router to join an existing network! This solution is a little bit more difficult but we will do it together! :)

First of all, download the custom firmware from here:

V1.0: http://www.mad-sharky.com/openwrt-mr3040-v1-JNmod...

V2.x: http://www.mad-sharky.com/openwrt-mr3040-v2-JNmod...

Now in the top menu of your router's interface click on "system" and go to the backup and restore page. From there you can flash the new firmware.

ATTENTION: you must uncheck the "preserve settings" check, else the flashing process will not overwrite the system settings with the new ones stored in the image. The new image does not have a user interface so once flashed it is not so easy to restore.

Now we need to access the router in order to change its settings. First of all you need to assign a fixed IP address to your ethernet card. assign the ip address 192.168.5.10, subnetmask 255.255.255.0 and gateway 192.168.5.1. If you do not know how to do this, you can google "change ip address YOUR_OPERATING_SYSTEM" and you will find a ton of tutorials to follow.

Once done you need to open up WinSCP and enter as address "192.168.5.1" and chose "SCP" as protocol. Type "root" as username and hit connect. When prompted for password type "password".

Now you are connected to your router's internal storage! Go up a few folders till you are on the main root folder. Now enter the /etc/ folder and then /config/. rightclick the "wireless" file and hit edit.

Here you must define the name of your existing wifi network (SSID), encryption type and your wifi password. Possible values for the encryption field are:

wep for WEP,

psk for WPA-PSK,

psk2 for WPA2-PSK.

Once done save, and let winSCP upload the file. Turn the router off and back on and if oyu have done all correctly then your router is now connected to your existing wifi network.

At this point you can reenable your wireless adapter on your pc and go on to the next step.

Step 6: How to Use It

Its really easy to use! Just turn the router on, hook up your camera and start the virtualhere client on your pc!

Virtualhere will automatically detect the router within seconds. if it doesnt, then you need to add the IP address manually! Right click in virtual here and hit "add address". If you are in AP mode then the address to add is "192.168.5.1:7575", if you are in Join Network mode then you must look for the proper IP address in your main router's connected devices list.

When your router and camera get detected, right click on the device and hit "use device". the first time it will install the drivers.

Now it is as if your camera was connected directly to your PC and you can use it with your favorite software!

Enjoy!

Step 7: Change Firmware

If you uploaded the wrong firmware or simply want to change then you need to upload the new firmware by using winSCP. Open winSCP and enter the ip address of the tplink. Select SCP as protocol and type root as username.

Hit connect and when prompted type "password" as password.

once connected upload the firmware you have to the /tmp folder.

At this point you need a little program called putty. download it from here and run it:

http://www.chiark.greenend.org.uk/~sgtatham/putty/...

enter the IP address of the router and hit connect. As user type root when prompted and "password" as password.

when done, copy and paste this into putty:

cd /tmp

sysupgrade -v -n FILENAME.bin

(-n deletes all settings. if you need to preserve the settings remove this)

Replace FILENAME withthe actual name of the file you uploaded. This will start the flashing process. Once done your desired firmware will be flashed.