Category Archives: Photography

IR Remote for Nikon Camera using the Raspberry Pi (LIRC)

I finally came around to trying out LIRC on the Raspberry Pi to use it to trigger my Nikon D5100. 😀

I haven’t fully utilized the capabilities provided by it yet, but I’ve managed to get it up and running quite easily thanks to a lot of great posts and troubleshooting guides on some blogs and the Raspberry Pi forum.

I mainly followed these links:

http://www.instructables.com/id/Raspberry-Pi-Universal-Remote/

http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/

To make a very simple remote using the Raspberry Pi, all you have to do is follow the steps given on either of these links.

Since I didn’t really have the physical Nikon ML-L3 universal remote which I wanted to emulate, I followed the steps given on these links after which:

1. I upgraded the firmware:

sudo apt-get update
sudo apt-get upgrade
sudo rpi-update

2. Got the Nikon ML-L3 lircd.conf file:

http://lirc.sourceforge.net/remotes/nikon/ML-L3

and replaced the contents of

/etc/lirc/lircd.conf

3. Restarted the lirc daemon:

sudo /etc/init.d/lirc restart

4. Checked if the remote was configured correctly:

irsend LIST Nikon2 "" 

This should show a list of the commands offered by the remote for triggering the shutter.

5. Tested the shutter command:

irsend SEND_ONCE Nikon2 shutter

6. Once that worked properly, (after a silent fist-pump) I decided to write a small python script that I can use for Timelapse shoots:

#Created: 09-07-2014 AM 02:38 
#Author: Mayank Joneja
#https://botmayank.wordpress.com
#Timelapse code for Nikon Cameras using the Raspberry Pi (LIRC)
#IR LED on GPIO 22 , usage:
#sudo python NikonCamera.py [no. of shots] [delay in seconds]

from time import sleep
import subprocess
import sys

if(len(sys.argv)<3):
	print "usage: 'sudo python NikonCamera.py [no. of shots] [delay in seconds]'"

else:
	shots = int(sys.argv[1])
	delay = float(sys.argv[2])

	for i in range (1,shots+1):
		subprocess.call('irsend SEND_ONCE Nikon2 shutter',shell = True)
		sleep(delay)

I’m quite happy with this setup as of now, but I plan to hookup a TSOP and make a small setup for recording and transmitting IR signals with the Pi. I guess I’ll then have a simple Flask based web-app for such an IR blaster.

I haven’t really tried out the range of the setup yet but I think in case of any issues I’ll simply amplify the signal with an NPN transistor like a BC547 and add another LED in parallel for better coverage angle. I’ll post any updates on this project as and when I get to them.

P.S.:I hope to click a nice timelapse sequence with this camera ASAP and upload that too. 🙂

Advertisements

Loooooong Exposure Photography

One of the most fascinating domains of photography for me has always been Long Exposure Photography. Whether its capturing motion of a few seconds by some performer, photographing the night sky or a waterfall, light trails or light painting, I always try and see how I can incorporate it into a scene.

Here are some of the best articles I’ve seen on this topic:

http://digital-photography-school.com/8-tips-for-long-exposure-photography/

http://digital-photography-school.com/long-exposure-photography/

And here are some of my attempts in this domain.

I hope to keep this post alive later on by adding new photographs that I capture using this technique or in case I find some of my previous good ones 😀

My experiments with a 50mm prime lens

Happy Diwali!
I just celebrated Diwali back home on the 3rd with my family and other than the usual good food, lights and festive atmosphere associated with this festival, this time around, I had my camera and  the awesome 50mm prime lens to look forward to. 😀

In case you aren’t familiar, Diwali, celebrated on a new moon night, is the festival of lights and arguably the biggest festival in Northern India. The whole city is lit up with oil lamps and led strips and the night itself is celebrated with suppressed booms of fireworks becoming an integral part of the soundscape.

I used my Nikon D5100 with the 50mm f/1.8D for the most part of the night and came up with some good shots which I’m happy with. I’m still getting used to the manual focusing, so please pardon minor blurs 😛 But I sure did have a lot of fun clicking portraits, bokeh, fireworks and even something equivalent of steel-wool photography which I tried to do using sparklers or ‘phooljhadi’s as we call them here.

I really hope I keep practicing so that I can improve my photography with this lens to improve the focusing, framing and choice of depth of field of shots; basically the three main things I feel are important with respect to this nifty-fifty.

P.S.: I’m still too lazy to look up and copy the EXIF for each one of these and I didn’t want something like that to delay this post any further, let me know if  you want them for any particular shot.

Reverse Lens Macro Photography

I really wanted to try my hand at macro photography a while ago but was really not too keen on buying a new lens.
This technique is something I came across last year and have had a lot of fun exploring. I use a reversing ring with my standard kit 18-55mm lens with Sony NEX 5K.

Here’s a small look into the technique:

These are some of my favourite shots that I’ve managed to capture over time using this technique. Note that I haven’t provided the EXIF because it isn’t stored with the photos since the lens contacts aren’t connected to the camera while clicking the photos.

 

I’ll keep adding new photographs that I manage to click using this technique here in the future.

Photography Intro

My journey as a photographer. I started with a Sony NEX 5K with an 18-55mm kit lens and a SLIK Compact II Tripod. After 2 years of learning on that, I recently added a Nikon D5100 with 18-105mm kit and prime 50mm f/1.8 lenses and a BENRO T880-EX Tripod.

I mainly like landscape and concert photography. I’m currently working on portrait and macro. I like to try out new techniques like light painting, reverse lens macro, astro-photography etc. and am on the constant lookout for inspiration. :)