Comments on: Interfacing DC Motor with 8051 using L293D – AT89C51 https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/ You Inspire.....We Create..... Mon, 09 Dec 2019 13:46:14 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Sowjanya Madhura https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/8679 Mon, 09 Dec 2019 13:46:14 +0000 https://electrosome.com/?p=5988#comment-8679 I want to run DC motor in Clockwise direction after 5ms Anti-clockwise direction after 10ms delay using timer1 mode1,AT89C51,L293D in C-Language to run in PROTES

]]>
By: sriramdas uday https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/7241 Fri, 18 Jan 2019 03:57:25 +0000 https://electrosome.com/?p=5988#comment-7241 I WANT TO RUN DC MOTOR IN CLOCKWISE & ANTI CLOCKWISE USING AT89C51 AND L293D WITHOUT USING ANY SWITCH , BY THE HELP OF DELAY CAN I RUN IT IN PROTEUS IN C LANGUAGE.
IF IT PLEASE SEND ME THE PROGRAM..

]]>
By: Ligo George https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/7058 Sat, 21 Apr 2018 02:57:27 +0000 https://electrosome.com/?p=5988#comment-7058 In reply to Rucha Mewada.

If you want to rotate to specific angles, go for servo motor or stepper motor.

]]>
By: Ligo George https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/7057 Sat, 21 Apr 2018 02:57:03 +0000 https://electrosome.com/?p=5988#comment-7057 In reply to ARJUN K P.

Include TSOP1738 and sense TV remote signals.

]]>
By: Ligo George https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/7056 Sat, 21 Apr 2018 02:56:42 +0000 https://electrosome.com/?p=5988#comment-7056 In reply to komal makharia.

You can use 2 L293D for that..

]]>
By: Rucha Mewada https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/7048 Thu, 19 Apr 2018 09:59:18 +0000 https://electrosome.com/?p=5988#comment-7048 what will be the default rotation angle of the DC motor while rotating CW and CCW ??
if I want to rotate it to 45 degrees, what should I do??????????

]]>
By: Raul Shah https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/6930 Fri, 17 Nov 2017 12:58:00 +0000 https://electrosome.com/?p=5988#comment-6930 try using LM358 window comparator.

]]>
By: komal makharia https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/6879 Wed, 20 Sep 2017 12:04:00 +0000 https://electrosome.com/?p=5988#comment-6879 hey, i want to control 3 dc motors using a micro controller,so what should i do?
i

]]>
By: irfan ubaid https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/6781 Fri, 19 May 2017 22:12:00 +0000 https://electrosome.com/?p=5988#comment-6781 In reply to Meenakshi.

i wanted to do the same so i edited the above given code and it works just fine ….. here’s the code

#include
#include

void delay(void);
void Aclock(void);
void clock(void);
void stopone(void);
void stopzero(void);
sbit motor_pin_1 = P2^0;
sbit motor_pin_2 = P2^1;
sbit sw_1 = P1^0;
sbit sw_2 = P1^1;
void main()
{
do
{
if(sw_1 == 0 && sw_2 == 1)

{ Aclock();}

else if(sw_1 == 1 && sw_2 == 0)

{clock();}

else if(sw_1 == 1&& sw_2 == 1)
{
stopone();
}
else{
stopzero();

}

}while(1);
}

void Aclock()
{
motor_pin_1 = 1;
motor_pin_2 = 0; //Rotates Motor Anit Clockwise
}
void clock()
{
motor_pin_1 = 0;
motor_pin_2 = 1; //Rotates Motor Clockwise
}
void stopone()
{
motor_pin_1 = 1;
motor_pin_2 = 1; //Stops Motor

}
void stopzero(){
motor_pin_1 = 0;
motor_pin_2 = 0; //Stops Motor
}

void delay()
{
int i,j;
for(i=0;i<1000;i++)
{
for(j=0;j<1000;j++)
{
}
}
}

]]>
By: ARJUN K P https://electrosome.com/interfacing-dc-motor-8051-keil-c-at89c51/#comments/6682 Sun, 05 Mar 2017 14:10:00 +0000 https://electrosome.com/?p=5988#comment-6682 how can i rotate the 2 dc motor tv remote in this circuit ?

]]>