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.

I need servo source code to control 2 motors for pic 16F877a

Status
Not open for further replies.

neroburn

Junior Member level 1
Joined
Jan 24, 2008
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,381
servo source code needed

Someone have a servo soure code to control 2 servo motor for pic 16f877a....plaeze help me....
 

servo source code needed

this servo needes 1ms to 2ms pulse for moving zero position to 90 degree.u can generate these pulse ur self with pic controller.
generate 1ms high and 19 ms low for zero position and for 90 degree 2ms high and 18ms low.for center position of servo 1.5ms high and 18.5ms low pulse.
 

servo source code needed

this servo needes 1ms to 2ms pulse for moving zero position to 90 degree.u can generate these pulse ur self with pic controller.
generate 1ms high and 19 ms low for zero position and for 90 degree 2ms high and 18ms low.for center position of servo 1.5ms high and 18.5ms low pulse.
 

Re: servo source code needed

in c language?
 

servo source code needed

Is easy. Initialize a timer and with it control the high level time and low level time. The servo goes to a fixed angle depending on the relation between this two times.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top