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.

can i control a dc motor using pic microcontrollers

Status
Not open for further replies.

salman04

Newbie level 1
Joined
Apr 20, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,292
dc motor control using pic

AOA

i need to do a project to control the speed of a dc motor also the microcontroller should turn the dc motor off wen i try to run it on no load or load greater than its rated power
all ideas are welcome my main problems are
1) i need a pic that can be programmed in C or java
2)is this all possible to control dc motor electronically ? i have heard about stepper motors but i want to control dc motors

immidiate reply will be highly appreciated:|
 

control dc motor in c language

hi.
for ur purpose u can use PIC16F84 or any other series PIC microcontroller,as no.of instructions are same.
yes u can control DC motror in clock wise or anticlock wise direction controoling speed.
i have done this project
pandit
 

DC- MOtor control using PIC, you need and need to know:
,
1- If you want to control just on/off and directions it is easy to do, and what you need is power bridge to decide the direction, and you can buy this bridge as an IC but it is expensive somehow, so you can build it by yourself using 4 power transistors, CMOS are preferred for low power dissipation.
2- You want to control its speed, so look for "Pulse Width Modulation" PWM method, where you can put Low pass filter after it then get variable DC voltage depends on the frequency and duty cycle.
3- PIC 16F84 is good enough.
4 C language to program PIC... I prefer CCS, you can check it up here www.ccsinfo.com
5 There are many application notes just here www.microchip.com, but must of them, they use Assembly or PICC.
6- Build your Kit and Programmer, ask about TK3 from www.epemag.com
7- Good Luck
 

pandit_vlsi said:
hi.
for ur purpose u can use PIC16F84 or any other series PIC microcontroller,as no.of instructions are same.
yes u can control DC motror in clock wise or anticlock wise direction controoling speed.
i have done this project
pandit
Can you send some details about your project? Which control algorithm did you use? PI,PID or what?
 

@salman04

what kind of DC MOTOR controlling are u up to?is it controlling it and have it in reverse or forward direction?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top