Hello guys!
I have to control a servo Futaba S3003 with the help of 89s52 controller.The goal of the project is to make the servo rotate to 90 degrees and after a period of time to go back to its initial position.From what i read online this can be done with the help of PWM technique but this tipe of uC does not have dedicated pwm registers.So i need someone to guide me through the steps of writing assembler code for this(should i use timers,interupts??).
I have to control a servo Futaba S3003 with the help of 89s52 controller.The goal of the project is to make the servo rotate to 90 degrees and after a period of time to go back to its initial position.From what i read online this can be done with the help of PWM technique but this tipe of uC does not have dedicated pwm registers.So i need someone to guide me through the steps of writing assembler code for this(should i use timers,interupts??).