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.

Need of a PWM Program in AT89S52

Status
Not open for further replies.

rubengladson

Newbie level 3
Joined
Dec 19, 2011
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,303
Dearly Beloved,

This is Ruben.

I am designing a Combat robot.
I need a program to generate the PWM with variation in the duty cycle.
When a switch is pressed Duty Cycle should increase and decrease when another switch is pressed.

I need this program to control the speed of motor.

Kindly, Give your suggesstions

With expectation,
BEN
 

Please post schematic and / or other details.
Raoof
 

You can use timer in mode 1 and the value in TH and TL should be loaded using some variable and this variable value will increase or decrease with action of button.
and donot do increment or decrement in steps of one do it in steps of 1000-5000
 

Here is the transmitting section of my project
 

Attachments

  • dia.png
    dia.png
    69.8 KB · Views: 66

Thank u friend :)

---------- Post added at 14:05 ---------- Previous post was at 14:04 ----------

I have posted the transmitter section..Kindly please zoom it..
thanks for ur consideration friend
 

Nikhilele's suggestion should work without issues.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top