PIC16f877 Servo Motor control

Status
Not open for further replies.

AlphaIkaros

Newbie level 1
Joined
Aug 21, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
9
Hi!

I'm a total newbie when it comes to microcontrollers and servo motors.

I need codes for a PIC16F877A microcontroller to control the sweep of a servo motor by 90, 180, 270 and 360 degrees and back. Unfortunately most of the codes in the internet are in C language, and we are required to use ASSEMBLY Language for our program. In addition to that, they also use other PIC16X microcontrollers...

Can you help me?
 


Servo motor must be programmed in PIC controller using TIMER Module configurations. It will be a very bulky program if you want to do it in assembly. So i would advice you to do it in Embedded C.
 

The following post offers PIC Assembly for both a four servo and an eight servo PIC based Controller:

**broken link removed**

The design uses a PIC16F84, however porting it to a PIC16F877 should not be too much of an issue.


The following forum post cover the same topic in PIC Assembly:

https://www.edaboard.com/threads/197516/


BigDog
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…