O'Reilly logo

Programming the BeagleBone by Yogesh Chavan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Micro servo motor circuit setup

We are going to control a micro servo motor. Servo motors are special types of DC motors tightly coupled with a feed-backing control circuit that positions a shaft in a precise angle. They are used where fast, accurate, and limited angle movement is needed, for example, robot arm movement and CNC machine. The position of the motor shaft can be controlled through PWM. There is no need for extra motor driver chip.

A micro servo motor can rotate 180 degrees. The frequency/period is specific as per the servo motor. A typical servo motor expects approximately a 20 millisecond period to drive the motor. A servo motor changes shaft angle as per pulse width. If the specified pulse width is 1 millisecond or less, it remains ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required