I'm in need of some assistance with a circuit. I'm making an anti collision system for a device. I intend on using a distance sensor and a comparator op amp. Just imagine its for a toy car and when it gets too close to an object the motor stops.. Now I dont know much about electronics just slight basics, could someone tell me how to interface the sensor with the opamp. Maybe some advice on a sensor that is good and if there is any circuit diagrams. Thanks. Sorry if i'm being to vague. It doesnt even have to be a comparator i thought that would be the best solution but i dont know much lol.