hey everyone, I'm working on a project where I want a DC motor to turn on/off via motion control. I'm pretty new to building things with circuits and this is my first time posting here, so sorry if I'm in the wrong place!!
the idea is that I'll have a 12 V 1000 RPM DC motor hooked up to some motor speed controller. I want the motor to only turn on in the presence of some object, so I was looking into an optical sensor to act like a switch. I was also planning on powering this with a 12 V disposable battery.
Is this a correct setup? I'm not sure if that's the right optical sensor to use as I'm new to picking out parts. If anyone has done something similar, I'd appreciate any insight, thanks!
the idea is that I'll have a 12 V 1000 RPM DC motor hooked up to some motor speed controller. I want the motor to only turn on in the presence of some object, so I was looking into an optical sensor to act like a switch. I was also planning on powering this with a 12 V disposable battery.
Is this a correct setup? I'm not sure if that's the right optical sensor to use as I'm new to picking out parts. If anyone has done something similar, I'd appreciate any insight, thanks!

