Author Topic: Servo control: maintain PWM vs one-shot  (Read 1889 times)

0 Members and 1 Guest are viewing this topic.

Offline fleseriutiberiuTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
Servo control: maintain PWM vs one-shot
« on: January 28, 2012, 04:28:56 AM »
Hi everyone,

I am relative new to this servo control with microcontrolers and I have the following issue: I have a MSP430F1232 TI microcontroler and trying to controll a servo. My question is: should the PWM signal be maintained after the servo has reached the end position? or the PWM should be maintained just for a few milliseconds until the servo has reached its target position?

Thank you

Offline AntiLogick

  • Jr. Member
  • **
  • Posts: 10
  • Helpful? 0
Re: Servo control: maintain PWM vs one-shot
« Reply #1 on: January 28, 2012, 06:34:39 AM »
If you want that servo will go to one position for example in the middle, you have two choices:
Enable pwm all the time.
Or enable pwm just little amount of time that servo can turn i this possition.
The main differences between them are:
if you doing first option, servo won't let you turn it by your hand or something, i mean i holds this position and dont change it until you give other duty cycle. The second option doesnt do this. It turns servo to position, but you can easily change it with mechanical energy.

P.S sorry for bad eng. i hope you understood me.

 


data_list