This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MOTOR DRIVER

Hi friends,
Please help me as i am trying to make one motor driver through which 6v motor runs clock and anticlock wise....
I am using lcd, keypad, 89s52 and 2 irf9540n and 2 irf630n mosfETS.
IRF9540N SOURCE PIN IS CONNECTED TO +5V AND DRAIN PIN TO MOTOR.
IRF630N SOURCE PIN IS CONNECTED TO MOTOR AND DRAIN PIN TO GND.

sbit dc3=P3^3; //IRF630N
sbit dc4=P3^4; //IRF630N
sbit dc5=P3^5; //IRF9540N
sbit dc6=P3^6; //IRF9540N


At initial stage the motor will be in stop position,

dc3=0;dc5=1;
dc6=1;dc4=0;


As the button 1 is pressed from the keypad the motor runs clockwise for a specific time.

dc3=1;dc5=0;
  {
    msdelay(700);
    dc3=0;dc5=1;
  }


Now as the button 2 is presses from the keypad the motor runs anticlockwise for a specific time.

dc6=0;dc4=1;
  {
    msdelay(700);
   dc6=1;dc4=0;
  }


But the problem is output voltage is very low. i checked with the multimeter, i am getting near about 0.85v. due to which the motor is not able to run either clock or anticlock wise. it runs but at very very low speed. but when no load is connected its shows proper voltage of 5.10v.
Is there any problem with my circuit and code.
Please help me.