Bidirectional DC Motor

Created: Nov 10, 2014

view3098

comment2

bookmark1

fork11

Description

No description available.

Summary

This project is a DC motor that automatically shifts its direction after a predetermined time. It is a bidirectional DC motor that allows a reverse direction with the use of SST89E58RDA-40-C-PIE microcontroller, a member of the FlashFlex family of 8-bit microcontroller products designed and manufactured with patented and proprietary SuperFlash CMOS semiconductor process technology. In addition, it is an 8 bit 8051 compatible microcontroller with embedded superflash memory and a fully software compatible.

The microcontroller and L293 used to form the motor driver. Moreover, components R1, S1 and C3 form a debouncing reset circuitry. C1, C2 and X1 are related to the oscillator. Port pins P1.0 and P1.1 are connected to the corresponding input pins of the L293 motor driver. The motor is connected across output pins 3 and 6 of the L293. The software is written that the logic combinations of P1.0 and P1.1 control the direction of the motor. Initially when power is switched ON, P1.0 will be high and P1.1 will be low. This condition is maintained for a preset amount of time and for this time, the motor will be running in the clockwise direction. Then, the logic of P1.0 and P1.1 are swapped and this condition is also maintained for the same duration. This makes the motor to run in the anti clockwise direction for the same duration and the entire cycle is repeated.

Motors in electronic circuits serves several purpose in driving things and enables object movement. With bidirectional DC Motor, this device can be used for generating hydrogen and building your own fuel cell station. More common uses include controlling DC motors in golf carts, buggies, RC cars, robotics, DC hobby motors, toy DC motors, etc.