I'm building a small project and would like some assistance from you folks. I have this motor 5rpm -12vdc and I'm using a Class 2 plug in transformer (input 12VDC 60Hz 23W - output 12VDC 1000mA) to power it up. I would like to add a IR LED/Phototransistor between the two to act as a on off switch. when a solid item goes between the LED and phototransistor it will stop or turn the motor off and when it's clear it will turn on. the distance of the IR LED/Phototransistor will be about two inches. thanks in advance.