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.

motor and pic 16f877

Status
Not open for further replies.

kotsam

Member level 1
Joined
Nov 16, 2005
Messages
37
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,606
00857a.pdf

i was trying to program dc motors by using h-bridge chip but i didnt success to do it , so please if anybody can send to me the program to find out my mistakes i will be so pleased or to tell me how can i program it, (i'm using assembly not c)

thank you all
 

you may use this link for reference:
**broken link removed**
 

Thank you for quick response
But I’m not using sensors in my program; I would like the motor to go forward and reverse by using h-bridge, and the to produce PWM from the PIC because I didn’t without producing PWM but if I’m not using PWM I can’t control the speed.
 

What is your H-bridge chip?
 

that's my h-bridge : LMD18200
 

Simplest way:
generate periodic interrupt with timer. t1+t2
on interrupt:
increment counter
)compare with set t1 period
if lower contiue ,in not change output state and if is t1+t2 reset counter=0
for controll use 2 pins
in one direction one pin is fixed ti lo(hi) other is pwm in reverse second pin is fixed
first is pwm.
I have assembly file but comments is in macedonian and i can send to You.
 

    kotsam

    Points: 2
    Helpful Answer Positive Rating
to ace1903:

thanks very much and please send the assembly to me i don't worry about the comments becuase i will understand the program from the instruction
 

hi all
i have the same problem and i need todo what kotsam wants to make i'm using the h-bridge l6203 and microcontroller pic16f877 but i'm using c language and the motor rating is 4 A 30 V would anybody send me a scematic of the circuit and the program.

i have made the circuit and the program and it works fine when driving the h bridge non pulsed as a signal from the microcontroller but when i pulse drive it the motor goes crazy and produces noise so i have the feeling that there is something wrong with either.

i have been stuck with this problem for about 2 month. please help me guys
 

hi all
guys i need help with my above problem please help,

thanks
 

hi,
If you heard sound from motor, maybe your pwm frequency is too low.
try to increase it
bye
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top