Basically I just printed out one of these (laser printer recommended):...And attached it to a wheel (double sided tape recommended). Then I hooked up one of these (a 2$ IR sensor: QRB1134):...And attached it to the motor pointing towards the wheel. I've been testing it a bit with a few lines of Ard…