DIY Photography

Your one stop shop for everything photo-video

  • News
  • Inspiration
  • Reviews
  • Tutorials
  • DIY
  • Gear
Search

Submit A Story

How I created my own DIY camera timer for $50

Oct 26, 2020 by Dirk Essl Add Comment

  • Share
  • Tweet
  • Flipboard
  • WhatsApp

A must have tool when shooting the night sky is a remote release trigger for your camera. Triggers range from very simple cable releases over phone apps that connect to your camera’s Wifi to very specialized Intervalometers. I tried the phone apps for my cameras and they miss a very basic feature: bulb mode timing. Meaning, when you set the camera to bulb mode and start the exposure, most apps do not display how long the shutter is open already. It also eats battery life from the camera as Wifi or bluetooth needs to be on on the camera. In the mid range there are Intervalometers that can be programmed through a small display and some buttons and usually work quite well.

But what if “quite well” is not enough?

There are quite some commercial products available which sound nice on paper, but for me they offer too much options which I mostly will never use. Also, they are often quite expensive. On the other end there are cheap offerings, but then they lack a feature that I would like to have. I have of course not tried all remote timers, but I tried some and none of them really fit my needs. The most annoying thing for instance is not being able to light up the display of a timer while it is running.

The only off the shelf Intervalometer that looks like a winner is the LRTimelapse Pro Timer 2.5. With a price of ca. EURO 175,– it is not on the cheap side, but I guess it’s worth every cent. Gunther Wegner, the man behind LRTimelapse also has a very nice Tutorial on how to build your own Intervalometer which exceeds my build by miles in terms of features.

What are my options?

I could have just built a LRTimelapse Remote Timer Free but I dislike the 2×40 Display, the outdated Arduino Uno and the size of it. There are smaller Versions now available through the LRT Forum but the one I am interested in, is closed source at the moment, and that doesn’t fit my style. If I build something, I also want to mess around with the code.

While looking for other options I came across a Project from Markus Kail which looked promising. A small enough housing with integrated lcd, buttons, battery and charging circuit. I contacted Markus to get the Arduino code, since the link was broken on his website and he showed me the current status of his timer, which looks really polished with really nice graphics and super sleek user interface. Markus was kind enough to send me this version and I installed it on my just delivered M5Stack. It looks just stunning, has a very powerful preset system and is very easy to set up as it calculates movie lengths, times, etc. for a very good experience when using the timer for it’s main purpose: TimeLapse shooting. (The pictures to the right do not show the current state of his Timer.)

My main issue

“My issue” explicitly, because there is nothing wrong with those products. Either self built, or commercial. They just don’t fit me, because my needs are special (read: strange)In my case, the intervalometer is not used to shoot Timelapse and create a Timelapse video out of it. My timer gets used in the dark when hunting for the stars, the milky way or meteor showers. I shoot stacks of pictures for noise reduction, for composite pictures of meteors, or for creating star trail pictures. When mounted on my MSM Star Tracker I want to have total control over the first few exposures to dial in my settings. If you don’t know the Move Shoot Move Star Tracker, yet make sure to check it out, as it is an amazing small device that makes polar alignment easy. I have successfully shot 4 minutes subs without any trailing. If you use the coupon code “DIRK” at checkout, you will get 5% off from your complete purchase.

 


Back to the drawing board

To make a product that suits me, I first need to get my requirements:

  • Start-Stop Bulb Mode
  • Timed Shooting
  • Graphical, lit display
  • Settings survive a reset
  • Universal for all my cameras
  • USB chargeable
  • Small, but not too small in terms of display size
  • WiFi or Bluetooth for later updates (remote trigger for lighty)

https://xkcd.com/730/

As I had already the M5Stack lying around, and it ticks the boxes for usb charging, display and size, I thought I would reuse it. In addition I would only need a small breadboard to create the electronic for the camera trigger and some wires to build my adapters.

Here is the complete list of things I used to build timy (sans 3D printed parts)

  • M5Stack Fire
  • 3.5mm extension cable (x2)
  • Dollatek M5 Proto Board
  • 2N2222 capacitor and 1k resistor

Of course you need a cable that suits your camera, or like I did, just use the cable from a timer that I already had.
Total cost: about 50,– EURO

The Code

I first tried to program with the amazing M5ez library, but the M5Stack has a very neat feature that I wanted to keep. If you use UIflow, the code can be updated wirelessly. You can also have more than one script on the M5Stack and select the desired program during startup.

Uiflow is a bit different, as you “program” your code using predefined blocks and UIflow creates micropython code out of it. Not every function from micropython is implemented in UIflow, but you can get around this using custom ‘execute’ blocks and write your own code. To make the M5Stack listen to keypresses while counting I used micropythons inbuilt _thread library which sadly is not available as a predefined block. Variables in UIflow are always set to global, which is one thing to keep in mind if programming. With UIflow and the concept of updating your code wirelessly you can get really fast results and try them out very quickly. It also features an UI Editor, so no more guessing how the end result will look like.

UIflow coding

Electronics

To connect the shutter to ground I used a small breadboard and soldered together the following schematics. If you want to control the focus pin of the camera through software, you can use pin 29, I dont need autofocus, so I simply connected the focus and shutter pin together to pin 26 of the M5Stack.

Case

To make everything fit together neatly I designed a case and 3d printed it in PLA. Everything fits together without screws, the lid just slides onto the bottom of the case. To support the M5Stack at the top, I just turned off elephant foot compensation in PrusaSlicer. This creates a very small lip to prevent the M5Stack from falling out at the top. Everything prints without supports and fits together snuggly. The case also has a carabiner mount to attach it to a tripod if you dislike the other mounting options.

If you need to make edits to the mounts or have other ideas for your own case, my design is available on Tinkercad

How it works

timy currently has two modes:

Bulbmode – I use this to get my baseline Exposure and to compose the camera for later timed shoots. I usually shoot at a higher ISO and then calculate the right time for my lower ISO shots. It can also be used as a remote trigger in this mode. Easiest mode ever. Press Start to open the shutter, Stop to close the shutter. Stop is actually Pause. The Reset Button then resets the time to zero. The Display can be turned off ehen running to save battery. The LED bars on the side show a Knight Rider light while running.

Timelapse Mode – Although not really used for TimeLapse in my case, it can be used to shoot TimeLapse, but is only made for Bulb Mode Timelapses beyond 1 seconds Exposures. If there is need for a classic TimeLapse Timer, it’s easy enough to implement. All Settings are saved in EEPROM and survive a reset/reboot. The delay setting is mainly to give the camera enough time to save the picture to the SD-card and only really matters on sub 10 second exposures. If exposing for minutes, a zero millisecond delay setting will not really matter and will take picture after picture as fast as possible. My Olympus E-M10 for instances needs a 450ms delay to get consistent timings under 60 seconds. An Exposure always starts with the set delay.

initial screen
set hours
set minutes
set seconds

set no.
set delay
shutter open
waiting for delay

Download

All downloads can be found on my github for this project.

Video

To show timy in action, here is a way too long video about remote timers and of course about timy. Bonus: USB charging madness.

Last words

If you have any questions about timy, suggestions, feature requests or if you want to show your builds of timy, feel free to leave a comment

About the Author

Dirk Essl is an IT Solution Architect working for a German television network. He is very passionate and nerdy about various operating systems – he’s not a programmer, but he likes writing software if something that he needs is not available. He also runs caffenol blog and the biggest caffenol community on the web.

You can see more of Dirk’s work on his website and follow him on Facebook and YouTube. This article was also published here and shared with permission.

FIND THIS INTERESTING? SHARE IT WITH YOUR FRIENDS!

  • Share
  • Tweet
  • Flipboard
  • WhatsApp

Related posts:

How to create an epic orbiting 360° timelapse rig using PVC pipe and an egg timer Google Camera Gets Updated: Fish-Eye Lens, Timer Shutter, Aspect Ratios, and More EOS R6 teardown reveals the timer chip that’s holding the camera back How a student created his own 3D printed medium format panoramic camera

Filed Under: DIY Tagged With: Dirk Essl, DIY, open source, timer

Guest Author: from diyphotography.net

About Guest Author

This article was contributed to DIYP by a member of our community. If you would like to contribute an article, please contact us here.

« Here’s how to take creative photos even in boring locations
iPhone 12 and iPhone 12 Pro camera modules revealed in this iFixit teardown »

Submit A Story

Get our FREE Lighting Book

DIYP lighting book cover

* download requires newsletter signup
DIYPhotography

Recent Comments

Free Resources

Advanced lighting book

Recent Posts

  • Here’s a bullet time video booth you can build yourself
  • Ricoh has discontinued the HD PENTAX-DA 21mm F3.2AL Limited silver lens
  • This “stellar flower” unravels the twilight’s evolution in 360 degrees
  • Strobes vs Continuous LEDs – Which is right for you?
  • Wave goodbye to Apple’s My Photo Stream next month

Udi Tirosh: from diyphotography.netUdi Tirosh is an entrepreneur, photography inventor, journalist, educator, and writer based in Israel. With over 25 years of experience in the photo-video industry, Udi has built and sold several photography-related brands. Udi has a double degree in mass media communications and computer science.

Alex Baker: from diyphotography.netAlex Baker is a portrait and lifestyle driven photographer based in Valencia, Spain. She works on a range of projects from commercial to fine art and has had work featured in publications such as The Daily Mail, Conde Nast Traveller and El Mundo, and has exhibited work across Europe

David Williams: from diyphotography.netDave Williams is an accomplished travel photographer, writer, and best-selling author from the UK. He is also a photography educator and published Aurora expert. Dave has traveled extensively in recent years, capturing stunning images from around the world in a modified van. His work has been featured in various publications and he has worked with notable brands such as Skoda, EE, Boeing, Huawei, Microsoft, BMW, Conde Nast, Electronic Arts, Discovery, BBC, The Guardian, ESPN, NBC, and many others.

John Aldred: from diyphotography.netJohn Aldred is a photographer with over 20 years of experience in the portrait and commercial worlds. He is based in Scotland and has been an early adopter - and occasional beta tester - of almost every digital imaging technology in that time. As well as his creative visual work, John uses 3D printing, electronics and programming to create his own photography and filmmaking tools and consults for a number of brands across the industry.

Dunja Djudjic: from diyphotography.netDunja Djudjic is a multi-talented artist based in Novi Sad, Serbia. With 15 years of experience as a photographer, she specializes in capturing the beauty of nature, travel, and fine art. In addition to her photography, Dunja also expresses her creativity through writing, embroidery, and jewelry making.

Copyright © DIYPhotography 2006 - 2023 | About | Contact | Advertise | Write for DIYP | Full Disclosure | Privacy Policy