S Sue_Aziz New Member Mar 19, 2011 #1 hai... can somebody help me, i need to know how to write the program in C language to make PIC16F877A can control the motor moving forward and backward...
hai... can somebody help me, i need to know how to write the program in C language to make PIC16F877A can control the motor moving forward and backward...
MikeMl Well-Known Member Most Helpful Member Mar 19, 2011 #2 Before you worry about programming, do you have an H-Bridge connected between the port pins and the motor? If so, post a schematic of it.
Before you worry about programming, do you have an H-Bridge connected between the port pins and the motor? If so, post a schematic of it.
B bigal_scorpio Active Member Mar 20, 2011 #3 MikeMl said: Before you worry about programming, do you have an H-Bridge connected between the port pins and the motor? If so, post a schematic of it. Click to expand... Hi Mike, If its an RC servo they won't need an H Bridge, just the correct pulse duration? Wonder what the servo is? Al Last edited: Mar 20, 2011
MikeMl said: Before you worry about programming, do you have an H-Bridge connected between the port pins and the motor? If so, post a schematic of it. Click to expand... Hi Mike, If its an RC servo they won't need an H Bridge, just the correct pulse duration? Wonder what the servo is? Al
W wannaBinventor Member Mar 20, 2011 #4 Sue this sounds much like an assignment to me. What do you know? What do you want to know, specifically? Do you know how a servo works? If not, have your tried googling "how servos work"?
Sue this sounds much like an assignment to me. What do you know? What do you want to know, specifically? Do you know how a servo works? If not, have your tried googling "how servos work"?