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.

Control 12v Dc motor speed using 8051.

Status
Not open for further replies.

vudiepdh1

Junior Member level 1
Joined
Sep 30, 2009
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Viet Nam
Activity points
1,379
Hi all ! I want to control 12v Dc motor speed using 8051. Many people say i should use Pwm to control motor speed . So please tell me how does it work and how to do it with 8051 . I am using c ! Thank
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,311
Reputation
4,624
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,416
No worries ..
Don’t forget about a driver (BJT or MOSFET) between microcontroller and motor ..
In both cases working with the 8051-derivatives require a 10k (or less) pull-up resistor attached to the pin that drives the MOSFET ..
See attached picture ..

Rgds,
IanP
 

vudiepdh1

Junior Member level 1
Joined
Sep 30, 2009
Messages
15
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Viet Nam
Activity points
1,379
Thank for reply Ianp ! I have got some transistor H1061 . Can i use it in this case !?
 

karesz

Advanced Member level 5
Joined
Apr 13, 2008
Messages
2,332
Helped
327
Reputation
654
Reaction score
52
Trophy points
1,328
Location
EU
Activity points
14,592
Hallo,
You must know; they are BJT, 100V max 4A !

These transistors hase Hfe(~Beta) min 50>> if your motor need 2-3A, their Ibasis will be 2A/50=40mA, you need maybe an ULN or a second transistor (basis)driver and resistors in the basis circuits...
K.
 

bassa

Super Moderator
Staff member
Joined
Jul 15, 2007
Messages
1,813
Helped
191
Reputation
402
Reaction score
154
Trophy points
1,353
Location
Sri Lanka
Activity points
10,537
vudiepdh1 said:
Hi all ! I want to control 12v Dc motor speed using 8051. Many people say i should use Pwm to control motor speed . So please tell me how does it work and how to do it with 8051 . I am using c ! Thank

Hi,

I like to add additional comment for your requirement. Think about the feedback part of the motor to maintain speed. if the accuracy of the motor speed really required.

In this case you can use motor with encoder to give feedback to the controller

more information about the optical encoder found from https://en.wikipedia.org/wiki/Rotary_encoder

regards
bassa
 

harrison_c

Newbie level 3
Joined
Jan 16, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,302
Hi, I am using L293 as transistor. I am wondering if I can use L293 with 8051 PWM?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top