The distance between OPTO2 and OPTO3 is critical.
If you examine the graduation marks on the "ruler", what is the distance between two lines, centre to centre (or the distance between the 1st line and the 11th line and divide that by 10).
What is the spacing of the 4 pins of the opto-interrupter?
What is the spacing between pin-1 of OPTO2 and OPTO3?
What is the spacing between pin-1 of one OPTO and opin 4 of the other OPTO?
If you examine the graduation marks on the "ruler", what is the distance between two lines, centre to centre (or the distance between the 1st line and the 11th line and divide that by 10).
What is the spacing of the 4 pins of the opto-interrupter?
What is the spacing between pin-1 of OPTO2 and OPTO3?
What is the spacing between pin-1 of one OPTO and opin 4 of the other OPTO?