I am a mechanical engineering student. I have a small stepper motor which controls a metallic "flag shaped" shutter with dimensions of 14x10x1 mm. I want to find the best possible solution for measuring where the shutter is. I have a vague memory of a way to measure how far a thin metal sheet was inserted in a column, but I cannot find it! If anyone has any input or nice solutions I would be glad to hear them! I have thought about ways with photosensors, but they feel very prone to disturbances from the surroundings.
Thanks in advance!