Hi, i am a student in Norway and am trying to make a small circuit to run an 18v motor that is drawing about 5Amps basiclly the motor needs to turn on when it gets something is within about 5-10cm of the sensor (just before and just after this the distance will be about 80cm)(it could also be a IR light beam or laser light beam that is broken when something moves in front) and stay on for 1-2 seconds after the distance goes over 5-10 cm or the light beam is unbroken. It would also need an override button that when the button is pushed the motor would stop for about 5 seconds before being able to start again.... that is all i need and i still have not managed to build it in the last 3 days, i have access to a very good selection of resistors, MOSFETs, caps and trasistors i also have a "HC-SR04 Ping distance sensor" but as i dont want to use an Arduino i am not sure that it is any good to me, i did manage to connect it up so that i got a voltage variation of 0.4V (from 1 volt to 0.6 volts) when moving my hand from 5cm to 20cm when it was connected to a 5v supply..... anyway if there is anyone that can help me with a circuit diagram for this and what parts i should use i would be more than happy to send a $20 paypal payment thanks for reading