10-10-2012, 02:35 AM
i need to know how to control a dc motor using the output from an ultra sonic sensor. the ultra sonic sensor will detect an obstacle and accordingly the speed of the motor is decreased and in case of imminent collision the motor is made to stop completely.