Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

dc motor interface with 8051

Status
Not open for further replies.

pradeep23

Member level 5
Member level 5
Joined
Aug 20, 2012
Messages
86
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Visit site
Activity points
1,866
hi everyone i want to program for dc motor interface with 8051 using c language ....in that i want to control the dc motor speed using pwm ....i don't know how to generate the pwm please give me some reference to that program or give some good web links to find about that.....thanks......
 

Also for the power section that will drive the motor u can use
L293 ----> if the motor current below 1A
L298 ----> if the motor current below 2A
or u can build a MOSFET H bridge if your motor current is larger

Regards,
Hz
 

how to drive a dc motor using PWM ....

- - - Updated - - -

i want to program for that in C language....in that first i want run the motor and stop the motor using PWM.... can anyone help in that i am using this circuit only currently.......
pwm_switch1.jpg
 

first you need to disconnect EN1 & EN2 of L293D from Vcc. then put it to a PIN of your controller and then make a PWM like ON and OFF ing that perticular PIN.speed of that toggling will increase the speed of the motor and will also decrease the speed with slowing the switching
 

sorry i changed the circuit i am using this only l293d.gif

- - - Updated - - -

in that i take that pin 2 & 7 as input and 1 is for enabling in that how can i generate pwm to run the run the motor i want to run the motor using pwm concept only.... i dont know how to do that .....please help us
 

i want to run the motor using pwm concept only.... i dont know how to do that .....please help us

if u only want to run the motor or stop it, PWM is not necessary.
PWM is used only for speed control.

If u want a PWM code, U should inform us about your controller.

Regards,
Hz
 

how to do that for controller in 8051.....

- - - Updated - - -

i dont know how to give PWM for 8051 controller .........
 

ok if i want to control the speed of dc motor what can i do for that i need to program in c language then i need to change my circuit or please provide any circuits or web links to me it will be useful to me
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top