project with 89s52

Discussion in 'Embedded Systems and Microcontrollers' started by luncaboy, Jun 1, 2009.

  1. luncaboy

    Thread Starter New Member

    Jun 1, 2009
    2
    0
    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??).
     
  2. Arm_n_Legs

    Active Member

    Mar 7, 2007
    183
    10
    If you are already familiar with the Atmel AT89S52, why not try the Atmel AT89C5131? The latter has a programmable counter array (pca) which might makes generating PWM a little easier than the basic AT89C52.
     
  3. luncaboy

    Thread Starter New Member

    Jun 1, 2009
    2
    0
    tks for replying! i am bound to use 89s52..it's a school project
     
Loading...