A mirror is attached to a ruler, which in turn is rigidly fixed in one of its
ends. The Arduino platform is placed below the ruler, where measurements are done by using either LDR or photodiode sensors. Photo the Arduino board used in the assembly (center). Schematic circuit diagram used (right).