Friday 10 November 2017

DIY DSLR Shutter Release Remote


One of my dream was to buy a DSLR, to study what is light and how to view light’s different perspective, so I bought a DSLR Nikon D5100. When studying about photography I found that for low shutter speed photography, a stable tripod and a remote is very essential. Most of the point and shoot camera and all DSLR have one or two IR receivers for shutter release function. I saw many remotes compatible for my cam in the market. But why need to purchase, if it is possible we can make one, right??


That search ended here. One of our friend hacker has hacked the remote signal using an oscilloscope. What a simple way . He analysed the signal from the remote using a photo diode and an Oscilloscope and done exactly the same pulse stream by using simple delay program with Arduino. What an Idea, is it? . The library includes the header which support almost all the famous cameras. You can simply understand the usage by reading the example program.

I have made a small PCB for this circuit, you need an IR LED, its driver transistor, ATMEGA8(or any Arduino compatible ATMega microcontroller), CR2130 battery and some associated components. Very small in size (4cm X 5cm)and easy to use.
You will get each details in PDF format from the below headings:






About the program, using this library we can code for different camera as per your requirement. I done for my Nikon D5100 DSLR. I’m putting that program here so that you can understand the logic compatible for the circuit I made, this will be the simplest and efficient way you can make your remote.

#include <multiCameraIrControl.h>

Nikon D5100(8);                                //Initializing class object
void setup(){
}
void loop()
{
  D5100.shutterNow();                     //Shutter release function
                 delay(2000);                                        //Delay to avoid multiple trigger
 while(1);                                             //To avoid re-bounce
  }

Very small code but very useful one. Don’t put the bootloader to the target IC, because if you put the bootloader your remote will respond slowly. 

Do the program in the Arduino platform and upload to a fresh ATMega chip. For that first you make the code suitable for your remote with the library upload the “Arduino ISP” sketch to your Arduino board, connect the target chip to your Arduino with ICSP, select the target in your Arduino IDE (If using ATMEGA8 select “Arduino NG or older w/ ATMega8”), select the programmer “Arduino as ISP”, use option “Upload using programmer ” from the file menu to upload to the target.
Update me below for any doubts or bugs…… EnJoY!!!!!!!!!!.....................
This was the first click with the remote during testing......

No comments:

Post a Comment