I make pictures with this 1951 press camera (a 4×5 Graflex Speed Graphic) and I wanted a way to check the accuracy of the leaf shutter in the lens as well as the rear curtain shutter.
The only ways I had found to do this are to buy an expensive testing machine, or to pay someone to use that machine they’ve bought, or the “sound card shutter tester” along with Audacity, which seems pretty kludgy and takes too much human effort. But with Arduino, I knew I could make something on my own. So I got an infrared emitter and sensor pair from SparkFun and I wired them up like this: I wrote this simple Arduino sketch:#define receiverPin 12 // input from the ir receiver.unsigned long duration; // time shutter is openvoid setup(){ pinMode(receiverPin, INPUT); Serial.begin(9600);}void loop(){ //digitalWrite(ledPin, !digitalRead(receiverPin)) ; duration = pulseIn(receiverPin, LOW); if(duration != 0 ) { Serial.println(duration); }}