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.

[SOLVED] produce pwm pulse with asm for mcs 51 At89S51

Status
Not open for further replies.

dzakriel

Junior Member level 3
Joined
Oct 4, 2010
Messages
27
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,481
hi everyone, i currently working my task to make a driver motor DC circuit include with the PWM program with asm of course.
My circuit has already working with condition i use VCC from my micro port for the pin EN, and PWM, so it run at full speed (100%), but when i try to make a program to produce pwm and the EN signal, the voltage drop.
can any of you help my with advice? by the way i only use simple program to produce my PWM since i haven't found the prpoer one here is the program,

org 0h

start:
mov p1,#0ffh
call delay
mov p1,#00h
call delay
sjmp start

delay: mov r1,250
del_1: mov r2,50
del2: djnz r2, del2
del3: djnz r1, del_1
ret
end
 

well i think my problem is i need a buffer IC, any IC can you recommend on purpose to keep the voltage high(2.6-5v)?
since any time i connect my microcontroler pin(after i make a program on it, to give out a pulse or signal) the voltage drop to the level 0.8-1.6 or logically '0'...
thank you very mich if any of you can recommend some IC.
 

to drive a motor use MC33886 is a monolithic H-Bridge.
 

Attachments

  • MC33886.pdf
    570 KB · Views: 95

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top