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.

help me control DC motor speed

Status
Not open for further replies.

wazzaw

Newbie level 4
Joined
Apr 13, 2010
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,339
i have two DC motors, one is faster than the other so i want to slow down the faster one. I am using pic16F877A to control these motors.

I need help on how to control the motor using PWM, how to set the duty cycle and how to output this PWM on a pin.

I am using MikroC. Any help please.
 

Hi

Generate PWM signal using the timer and set the signal to motor driver

If you currently using the timer you can generate PWM using software

All the best

Bobi

The microcontroller specialist
 

If the motors are meant to drive a load, an open loop control will not do. You can set up an optical interrupter sensor on the motor for the controller to know the present speed and know which way to adjust the duty cycle
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top