Making Time

Enter Your Electronics & Design Project for a chance to win a $200 shopping cart!

Submit an EntrySubmit an Entry  Back to homepage
Project14 Home
Monthly Themes
Monthly Theme Poll


In the last few years film photography is regaining its position as more and more people are getting interested in it. Unfortunately, there are almost no film cameras produced so far. Therefore, most of the people passionate about taking photos on a photographic film are using very old machines – from 1920s to 1980s. What’s interesting – most of the old, mechanical cameras are sturdy and can be easily repaired which can’t be said about more modern cameras, full of precise and delicate electronic, which can’t be repaired without spare parts.

After many years of usage there are several parts in a camera which can require replacement. One of them are the curtains of the shutter – often made of rubbered silk, controlled by a mechanical clock-like mechanism, which controls exposure times. Sometimes the shutter needs to be disassembled also during replacement of the grease and lubrication of the mechanism.

After reassembly it is necessary to check the correctness of the work of the shutter. All times has to be controlled because multiple problems are possible – the shutter has to:

  • work with the exact time which was selected – if the exposure is set to 1/1000 of a second the exposure has to last exactly 1ms,
  • has the same time at the beginning and the end of the exposure – the exposure is performed by a slit between two curtains moving horizontally in front of the film. The slit has to have the same width along whole travel (wrong settings can make the slit appear in the beginning and disappear in the end),
  • has the same exposure at the bottom and top of the frame – there are strings attached to the curtain, which adjust its tension and provide its ideally vertical position. If one of the strings is misaligned the curtain is skewed, which makes the slit wider at one end and therefore – it makes the exposure time different.

Shutter test is also a very important test of a camera before buying it – repair of the shutter is one of the most complicated and cost-generating operations. Sometimes a camera is not worth buying due to the shutter malfunction. Slight issues can make the camera inoperable but they can be impossible to spot with a bare eye.

If you would like to read more about shutters I would suggest English Wikipedia page as a good starting point:

By mpclemens - Agfa Isolette compur-rapid shutter, CC BY 2.0,

Professional shutter testers are huge devices, expensive and intended for use in camera repair workshops. Similar like with the cameras – most of the good units are not produced any more and getting used ones can be tricky.

This was a starting point for developing a portable device, capable of fast and easy measurements of multiple shutters despite of the format (from 24x35mm to 6x9cm, both horizontal curtain shutters and central, leaf shutters where multiple shutters are opening and closing behind a lens).


There are multiple solutions for measuring the exposure time. One of them in acoustic measurement – the device records shutter sound and it can be analyzed to determine the opening and closing moments, indicated by “clack” sounds. However, this solution isn’t very accurate for short exposure times (high shutter speeds) and can be used only for overall measurements of the exposure time – it is impossible to check the slight width in the top/bottom and start/end of the movement.

Therefore, I decided to use optical method – setting up a light beam, which is stopped by the shutter (just like during taking a photo!) and the time of exposure is measured as a time when the light beam is hitting a photoelement across the shutter curtain.

Many people go with IR LED light sources in similar applications. However, the IR light is invisible so it is harder to check, where the beam is in the shutter’s working space. This made me decide to go with a red laser light source.

The laser beam has to hit some kind of a detector. At first I was planning to use a photoresistor as I had a few spare in my “fancy electronic stuff box”. However, after some research I realized that the photoresistor has got too long reaction (rise and fall) times, which would make me unable to measure short exposure times. Therefore, I decided to use a phototransistor chosen to suit the red laser light spectrum.

The whole device is driven by a MCU and has got a screen for visualizing the measurements. No buttons are needed as the device needs no calibration – all the user has got to do is turn the power on and place the tester shutter in the way of the laser beam.


The first version of the device was driven by an Arduino Nano clone. However, slight hand shaking during soldering made it necessary to replace it (please, don’t ask for details, all I can say is: never drink and solder!). The only other MCU I had at that moment was an Arduino Uno. However, this device can be run by any MCU capable of operating one I2C line (for the screen) and one analog input – even Attiny85 should be enough!

I decided to use an Adafruit SSD1306 OLED screen and a Chinese laser module (Keyes KY-008). Both of these modules can operate on voltage from 3.3V to 5V, which are supplied by the Arduino board.

The most important part of the device is the photoelement. After my research I decided to use phototransistor. Some further research shown me that the range of phototransistors sensible to red laser light (635-650nm) are not so common. I’ve found a series of TEPT phototransistors, produced by Vishay [1]. For my particular application I’ve chosen Vishay TEPT5600TEPT5600. The phototransistor itself has got a very good datasheet [2] and very attractive price.

In the presented configuration, the LST can be used for measuring shutter times as short as 0.00061s (enough for speed of 1/1000s). The program is using Arduino micros() function which, combined with Arduino Uno 16MHz clock, produces resolution of 4us. The phototransistor, according to the datasheet [2] has got rise and fall time of 310us. In the worst case scenario, the total rise and fall time is 620us, measured with resolution of 4us. If a better performance is needed, a load resistor of the phototransistor should be replaced as described in [2]. The Vishay TEPT5600TEPT5600 phototransistor was selected as a very cheap module, easily accessible, with good documentation and reliability. The resistor visible in the schematic below is a load resistor, chosen to suit the phototransistor, according to [1].

The overall device is presented on the schematic below:

All modules were mounted on a wooden frame to provide rigidity and stability of the laser beam.


After powering up the LST it will boot and display "Ready..." on the screen. Afterwards, the tested shutter should be placed between laser emitter and sensor (the laser's beam must be placed within the shutter area). Next the camera should be fired at preselected shutter time. The measured time will be displayed on the screen. If it is longer than 1 second, it will be displayed as a decimal fraction. Otherwise, it will be displayed as both decimal and proper fraction.



Camera used in the video is my Praktica FX3. It still needs some adjustments.

Code description

In my github repository (link below) you can find a .ino file and a logo.h file, which contains a boot screen logo, converted to a binary array from a graphic file.

The used code is self-explanatory, with addition of the inline comments. The libraries used in the code are:


The project was first described by me on my github repository - feel free to check it out and download the sourcecode: