Hi everyone, I have a very specific project I need to build and have very basic Arduino knowledge, so please be gentle with me.
My project is to build a fast actuating light sensor switch to detect small sprocket holes in 8mm and 16mm movie film to trigger a camera shutter (requires a 5 volt trigger for camera) This is to digitise old movie film, frame by frame for preservation purposes.
The film moves like a conveyor past the camera at a rate of around 15 frames per second and there is a corresponding small sprocket hole next to each frame of film. The hole is around 1mm sq (1/16”)
I have spent some time reviewing YouTube videos but can’t find reference to my exact problem, although similar projects have brought the following understanding.
People have used a UV LED (Blue) as a light source on one side of the film and a photo diode on the other side of the film, so when a sprocket hole appears the UV light hits the photodiode instigating a 5 volt trigger pulse that is used by the camera to take a still image.
My understanding so far is that a photo diode seems to have a much faster trigger response than a reverse biased LED, photo transistor or photo resistor, although this may be incorrect.
I would really appreciate if anyone could provide a simple circuit diagram to help me build this project with accompanying code.
One other consideration is being able to dim the UV LED to allow for some adjustment in triggering sensitivity. I have a very limited electronics understanding so please keep it as simple as possible, many thanks.
I have attached a sample image of the films showing the sprocket holes.

