design and contruction of a microcontroller based dc motor speed and direction controller pdf