{"id":3163,"date":"2019-05-10T17:12:36","date_gmt":"2019-05-10T21:12:36","guid":{"rendered":"http:\/\/www.circuitcrush.com\/?p=3163"},"modified":"2021-06-30T15:17:15","modified_gmt":"2021-06-30T19:17:15","slug":"servo-motor-introduction","status":"publish","type":"post","link":"https:\/\/www.circuitcrush.com\/servo-motor-introduction\/","title":{"rendered":"An Introduction to Servo Motors"},"content":{"rendered":"<p>Since the early 1990\u2019s the servo motor has been finding its way into robotics projects more and more often.<\/p>\n<p>But what is a servo motor?<\/p>\n<p>How do servo motors work?<\/p>\n<p>This introductory tutorial on servo motors will answer these questions.<\/p>\n<p>If you\u2019re into electronics, you may have heard the word servo or servo motor thrown around.<\/p>\n<p>If you\u2019re a robot builder or into model planes, boats, and cars, there\u2019s a chance you know something about servo motors.<\/p>\n<p>The benefits of using servos for robotics and other things are many. They\u2019re small, light, relatively cheap, and easy to use. And most of them sport a design that makes mounting a snap.<\/p>\n<p>Let\u2019s dive into some detail on how servo motors work.<\/p>\n<p><!--more--><\/p>\n<h1><strong>What is a Servo Motor and How Do They Work?<br \/>\n<\/strong><\/h1>\n<h2><strong>What is a Servo Motor?<br \/>\n<\/strong><\/h2>\n<p>First, let\u2019s get some nomenclature out of the way: what does the word <em>servo<\/em> mean to begin with?<\/p>\n<p>Servo is short for servomechanism, so you can say that a servo motor is actually a servomechanism motor.<\/p>\n<p>A servomechanism is a special type of automatic control system which controls the motion or position of an object.<\/p>\n<p>Servomechanisms have four important characteristics:<\/p>\n<ul>\n<li>an input command<\/li>\n<li>feedback<\/li>\n<li>power amplification<\/li>\n<li>an output that turns or positions an object<\/li>\n<\/ul>\n<p>The device controlled could be the rudder of a cruise ship, a missile, or your robot.<\/p>\n<h2><strong>How Servo Motors Work<br \/>\n<\/strong><\/h2>\n<p>So, now we have a basic idea of what the word servo means.<\/p>\n<p>The thing is, most of us won\u2019t be building missiles (hopefully) and large boats. However, some of us will build robots.<\/p>\n<p>Because of this &#8212; though there are different types of servomechanisms or servos &#8212; we\u2019re going to focus on the type that electronics and robot enthusiasts will be using.<\/p>\n<p>These are the hobby or R\/C servos. Figure 1 depicts a variety of R\/C servos.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-3168 size-full\" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motors.jpg\" alt=\"Various servo motors\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motors.jpg 600w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motors-150x100.jpg 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motors-300x200.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><strong><em>Figure 1: various hobby or R\/C servo motors.<\/em><\/strong><\/p>\n<h3><strong>Servo Motor vs Continuous DC Motor<br \/>\n<\/strong><\/h3>\n<p>A servo motor is a special subset of a continuous DC motor.<\/p>\n<p>But hobby servos come in a neat rectangular box with other goodies inside while a DC motor is just, well, a DC motor.<\/p>\n<p>A typical DC motor has two leads and if we apply power the motor will simply spin in one direction. If we want to reverse the motor, we need to swap the two leads. If we need to see how far the shaft has turned or how many rotations the motor\u2019s shaft has completed, we\u2019ll need to find some way to measure that.<\/p>\n<p>A servo motor, however, has three leads. One is for power, the other for ground, and the third is a control lead. Since a servo is a <em>closed feedback <\/em>system (unlike the regular DC motor which is open loop), the control lead is needed to sense the position of the servo\u2019s shaft and adjust it if necessary. We\u2019ll see how this works in a minute.<\/p>\n<h3><strong>How a Servo Motor Works \u2013 the Guts<br \/>\n<\/strong><\/h3>\n<p>Inside a typical R\/C servo dwells the DC motor from the previous section plus some other components. Not all servos are exactly the same, but they all have at least three main parts:<\/p>\n<ul>\n<li>A DC motor<\/li>\n<li>Reduction gears<\/li>\n<li>Control circuitry<\/li>\n<\/ul>\n<p>Feast your eyes upon figure 2. Here, we can see the inside of a typical servo.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-3169 size-full\" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/How-Servos-Work.png\" alt=\"How servo motors work\" width=\"450\" height=\"450\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/How-Servos-Work.png 450w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/How-Servos-Work-300x300.png 300w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/How-Servos-Work-100x100.png 100w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/How-Servos-Work-150x150.png 150w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/p>\n<p><strong><em>Figure 2: the guts of a typical hobby servo motor.<\/em><\/strong><\/p>\n<p>Let\u2019s discuss the three main parts in more detail.<\/p>\n<h4><strong>DC Motor<br \/>\n<\/strong><\/h4>\n<p>This is simply a DC motor that can change directions. It&#8217;s the silver thing in figure 2. Not much more to say.<\/p>\n<h4><strong>Reduction Gears<br \/>\n<\/strong><\/h4>\n<p>The gears reduce the high speed of the DC motor to something usable for fine control. We\u2019ll talk more about the materials used to make the gears a bit later. Because of the gears, many revolutions of the motor equal one revolution of the servo\u2019s shaft. The black thing with holes in it on the outside of the case is the servo\u2019s horn. Horns are used to connect rods and other things to the servo. They come in many different shapes and sizes.<\/p>\n<h4><strong>Control Circuitry<br \/>\n<\/strong><\/h4>\n<p>The output gear of the servo connects to a potentiometer (the brown object in figure 2), which is a variable resistor. The pot\u2019s position indicates the position of the servo motor\u2019s shaft. There is also a small board with some circuitry on it that reads the potentiometer and controls the servo. We\u2019ll talk more about the circuit in a bit.<\/p>\n<p>Figure 3 boasts a schematic representation (sort of) of the inside of a typical servo.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-3170 size-full\" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/Inside-a-Servo-Motor-Diagram.jpg\" alt=\"Inside a servo motor\" width=\"332\" height=\"374\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Inside-a-Servo-Motor-Diagram.jpg 332w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Inside-a-Servo-Motor-Diagram-133x150.jpg 133w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Inside-a-Servo-Motor-Diagram-266x300.jpg 266w\" sizes=\"(max-width: 332px) 100vw, 332px\" \/><\/p>\n<p><strong><em>Figure 3: diagram of the inner workings of a servo. The electronics is the control board from figure 2 and the spline on the outside of the case is what the horns attach to.<\/em><\/strong><\/p>\n<h2><strong>How to Control a Servo Motor<br \/>\n<\/strong><\/h2>\n<p>You can\u2019t just connect a battery to an R\/C servo motor and watch it go. This is because servos need special control signals to operate correctly. The good thing is there are plenty of ways to easily do this with microcontrollers, boards like Arduino, or even simple electronic circuits.<\/p>\n<p>Servos are usually powered by 4.8 to 7.2 V, though 4.8 to 6 V is more common.<\/p>\n<p>Let\u2019s talk about the connector for a minute.<\/p>\n<h3 style=\"text-align: center;\">Become the Maker you were born to be. Try <a href=\"https:\/\/learnarduinonow.com\">Arduino Academy<\/a> for FREE!<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter  wp-image-4238\" src=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2.png\" alt=\"\" width=\"357\" height=\"136\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2.png 828w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2-300x114.png 300w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2-150x57.png 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2-768x292.png 768w\" sizes=\"(max-width: 357px) 100vw, 357px\" \/><\/p>\n<p>Luckily, there are standards which govern the design of servos and the connector is one of the parts subject to the standards.<\/p>\n<h3><strong>Servo Connector Types<br \/>\n<\/strong><\/h3>\n<p>Servo motors sport three primary connector types. They are:<\/p>\n<ul>\n<li>\u201cJ\u201d (a.k.a. Futuba style)<\/li>\n<li>\u201cS\u201d (a.k.a. Hitec\/JR style)<\/li>\n<li>\u201cA\u201d (a.k.a. Airtronics style)<\/li>\n<\/ul>\n<p>Figure 4 shows the different styles and maps the wire\u2019s color to its function.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3171 \" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Connectors.png\" alt=\"Servo motor connectors\" width=\"493\" height=\"396\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Connectors.png 800w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Connectors-600x482.png 600w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Connectors-150x120.png 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Connectors-300x241.png 300w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Connectors-768x616.png 768w\" sizes=\"(max-width: 493px) 100vw, 493px\" \/><\/p>\n<p><strong><em>Figure 4: different servo connector types.<\/em><\/strong><\/p>\n<p>As we can see from figure 4, different manufacturers use different colors for different functions. Consequently, it is very important that you observe these different signals from different manufacturers as connecting them wrong will damage the motor.<\/p>\n<p>Finally, servo connectors mate with standard 0.025\u201d square pins on 0.1\u201d centers.<\/p>\n<h3><strong>Servo Motor Control Signaling <\/strong><\/h3>\n<p>The signal that makes a servo motor move is in the form of a stream of electrical pulses. Although this scheme is similar to <em>pulse width modulation (PWM)<\/em> it is a bit different, but many people refer to it as PWM. For more on pulse width modulation, see the <a href=\"http:\/\/www.circuitcrush.com\/pwm-tutorial\/\" target=\"_blank\" rel=\"noopener noreferrer\">Pulse Width Modulation Tutorial<\/a>.<\/p>\n<p>The exact length or duration of the pulses is what determines the position of the servo. It\u2019s not the number of pulses per second that controls the servo, but the duration of the pulses that control it.<\/p>\n<p>Pulse width modulation depends on duty cycle (on time vs off time) of the digital pulses. However, servos don\u2019t care about duty cycle; they care about the duration of the pulses. This is what makes servo control slightly different from PWM. Because of this, it may be more accurate to call servo control <em>pulse duration modulation<\/em>.<\/p>\n<p>The duration of the pulses are usually 1 \u2013 2 milliseconds.<\/p>\n<p>A 1.5 ms will make the servo return to its midpoint.<\/p>\n<p>A 1 ms pulse will make it turn all the way in one direction while a 2 ms pulse will make it turn all the way in the other direction.<\/p>\n<p>The range of motion of a typical servo is from 0 to 180 degrees, or close to it. It is possible to modify a servo motor for continuous rotation, but since this is an introductory post, we\u2019ll have to talk about that in the future.<\/p>\n<p>For clarification, see figure 5 below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3172 size-full\" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/What-is-a-servo-motor-control-pulses.jpg\" alt=\"Servo motor control signals\" width=\"432\" height=\"288\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/What-is-a-servo-motor-control-pulses.jpg 432w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/What-is-a-servo-motor-control-pulses-150x100.jpg 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/What-is-a-servo-motor-control-pulses-300x200.jpg 300w\" sizes=\"(max-width: 432px) 100vw, 432px\" \/><\/p>\n<p><strong><em>Figure 5: servo pulse duration vs position.<\/em><\/strong><\/p>\n<p>Usually, a servo motor needs about 50 of these pulses per second, though the number can vary. This is known as the servo\u2019s <em>refresh rate<\/em> or <em>frame rate<\/em>.<\/p>\n<p>If this rate is too low, the accuracy and holding torque reduces. If it\u2019s too high the servo might jitter or not work properly.<\/p>\n<p>The actual length of the pulses to position the servo full right or full left varies by manufacturer, and even varies by different models among the same manufacturer. Use caution when trying shorter or longer pulses than 1 \u2013 2 milliseconds. When pushed beyond its mechanical limits, the shaft hits an internal stop or nub. As a result, this can damage the gears or the potentiometer. If the servo starts clicking, this is a sign that the gears are binding.<\/p>\n<h4><strong>Servo Control Electronics: More Detail<br \/>\n<\/strong><\/h4>\n<p>Earlier we touched on the control board inside the servo. Let\u2019s talk a bit more about how the servo control board works.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3173 size-full\" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Control.jpg\" alt=\"Servo control circuit\" width=\"598\" height=\"259\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Control.jpg 598w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Control-150x65.jpg 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Control-300x130.jpg 300w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/><\/p>\n<p><strong><em>Figure 6: servo control block diagram.<\/em><\/strong><\/p>\n<p>The figure above shows a block diagram of the servo control electronics.<\/p>\n<p>First, the local pulse generator generates a pulse proportional in width to the current position of the shaft. The local pulse and input pulse then go to a comparator which subtracts one from the other generating an error pulse. That error signal goes to the stretcher, which is like an amplifier. The reason for this is so a small difference from the comparator can generate a larger drive to the H-bridge. The H-bridge controls which way the motor turns. It\u2019s drive decreases as the position of the shaft approaches the desired position.<\/p>\n<p>Referring back to figure 2, the H-bridge and other components reside on the back of the small PCB.<\/p>\n<h3><strong>More on Servo Motor Controls<br \/>\n<\/strong><\/h3>\n<p>You can control a servo with a simple circuit like the one shown in figure 7 which uses a 555 timer to generate pulses. However, most of us will opt for a microcontroller or a board such as the Arduino.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3174 \" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/555-Servo-Control.png\" alt=\"How to control a servo with 555 timer\" width=\"476\" height=\"289\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/555-Servo-Control.png 624w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/555-Servo-Control-600x364.png 600w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/555-Servo-Control-150x91.png 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/555-Servo-Control-300x182.png 300w\" sizes=\"(max-width: 476px) 100vw, 476px\" \/><\/p>\n<p><strong><em>Figure 7: a simple 555 servo control circuit.<\/em><\/strong><\/p>\n<p>Although you can hook some servos up directly to an Arduino beware of current draw. Excessive current draw can ruin your Arduino. <a href=\"http:\/\/www.circuitcrush.com\/tutorial-12-control-servo-arduino\/\" target=\"_blank\" rel=\"noopener noreferrer\">This tutorial<\/a> shows you why.<\/p>\n<p>Regardless, you may consider using separate power sources for your Arduino and servo. However, when using different power sources, make sure you connect the grounds from the sources together or the servo will not work right. And remember, underpowered servos may behave poorly and will move slower than a properly powered servo.<\/p>\n<p>Finally, you can use a dedicated serial servo controller. These act like a pulse-producing coprocessor. This frees up your micro or Arduino for other tasks.<\/p>\n<h3><strong>Analog vs Digital Servo Motors<br \/>\n<\/strong><\/h3>\n<p>The more common and more affordable servos are analog, which use analog circuitry (like in figure 7) to control the motor.<\/p>\n<p>However, digital servos use onboard microcontrollers to enhance operation and offer some advantages. Because they contain a microcontroller, you can program them to control various parameters like speed, direction of rotation, range of rotation, starting point and more. Or, you can skip the programming and use it like an analog servo if you wish.<\/p>\n<p>Since digital servos receive input commands faster, they can update the shaft position faster. This results in more torque and a faster response. However, more torque means the motor draws more current which can shorten battery life.<\/p>\n<p>On the outside, analog and digital servos look the same.<\/p>\n<h3><strong>Servo Mechanics: Bushings, and Bearings, and Gears &#8212; Oh My!<br \/>\n<\/strong><\/h3>\n<p>Although this blog focuses on electronics, the mechanical traits of electronic devices, such as servo motors are important. Any robot builder will tell you this and also tell you that robotics is a mixture of electronics, mechanics, and programming.<\/p>\n<h4><strong>Output Shaft Bushings and Bearings<br \/>\n<\/strong><\/h4>\n<p>It&#8217;s obvious that the output shaft of a servo is its business end. Because of this, it receives a fair amount of wear and tear.<\/p>\n<p>The shafts on cheaper servo motors are supported by a plastic bushing. A bushing is a one piece collar which supports the shaft against the casing.<\/p>\n<p>Better servos sport metal bushings. These are usually made from lubricant-impregnated brass. Of course, servos with this feature cost more but last longer.<\/p>\n<p>The best servos have ball bearings which provide the longest life.<\/p>\n<p>Last but not least, to use a servo, you will probably need to attach a horn to the spline. Horns come in many different shapes and sizes and are often not interchangeable between different manufacturers. Figure 8 depicts different servo horns with mounting hardware.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3175 \" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo_Horns_and_Hardware.jpg\" alt=\"Various servo horns\" width=\"573\" height=\"430\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo_Horns_and_Hardware.jpg 800w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo_Horns_and_Hardware-600x450.jpg 600w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo_Horns_and_Hardware-150x113.jpg 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo_Horns_and_Hardware-300x225.jpg 300w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo_Horns_and_Hardware-768x576.jpg 768w\" sizes=\"(max-width: 573px) 100vw, 573px\" \/><\/p>\n<p><strong><em>Figure 8: various servo horns and mounting hardware.<\/em><\/strong><\/p>\n<h4><strong>Servo Gears<br \/>\n<\/strong><\/h4>\n<p>The continuous DC motor inside the servo spins way too fast to be useful for fine position control.<\/p>\n<p>Hence the gear train to slow it down which also increases output torque.<\/p>\n<p>There are basically three types of gear materials:<\/p>\n<ul>\n<li>Nylon<\/li>\n<li>Metal<\/li>\n<li>Proprietary material (like Karbonite)<\/li>\n<\/ul>\n<p>First of all, nylon gears are cheaper but weaker and strip or break the easiest. They\u2019re fine for general purpose servos though, and replacement gear sets are available for many makes and models.<\/p>\n<p>Metal gears are much stronger but are heavier and cost more. They\u2019re good for walking robots and large robotic arms. One caveat about metal gears: due to wear on the teeth, they can develop slop or looseness in the gear train. This causes loss of precision. To combat this, opt for titanium gears if you can afford it.<\/p>\n<p>And last on our list, proprietary (i.e. Karbonite) gears are stronger than nylon but just as light weight. While they wear a bit better than metal gears, metal is still the strongest.<\/p>\n<h3><strong>Servo Motor Specs<br \/>\n<\/strong><\/h3>\n<h4><strong>Size<br \/>\n<\/strong><\/h4>\n<p>Servo motors follow some standards, and size is one of them. Of course, exceptions exist, but you\u2019ll often find servos in a few size categories. Note that the following dimensions are the case dimensions of the servo.<\/p>\n<p><strong>Standard<\/strong> size servos measure about <strong>\u00a0<\/strong>1.5\u201d x \u00be\u201d x 1 3\/8\u201d and have a mounting flange with four holes.<\/p>\n<p><strong>Quarter<\/strong> (or large scale) servos are about twice as large as the standard servos and more powerful. Because of this, they\u2019re good for robot locomotion (if you modify them for continuous rotation). They typically measure about 2\u201d x 1 1\/8\u201d x 2 3\/8\u201d.<\/p>\n<p><strong>Mini and micro<\/strong> servos are half the size or less of standard ones. Use these in tight spaces. A typical size for a mini servo is 1 1\/8\u201d x 5\/8\u201d x 1\u201d. A typical size for a micro servo is 7\/8\u201d x 3\/8\u201d x 5\/8\u201d.<\/p>\n<p>Figure 9 gives some idea of the relative sizes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-3176 \" src=\"http:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Sizes.jpg\" alt=\"Servo motor sizes\" width=\"548\" height=\"466\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Sizes.jpg 1000w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Sizes-600x510.jpg 600w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Sizes-150x128.jpg 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Sizes-300x255.jpg 300w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/Servo-Motor-Sizes-768x653.jpg 768w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><\/p>\n<p><strong><em>Figure 9: on the far right are the mini and micro servos while the standard servos are toward the left. <\/em><\/strong><\/p>\n<h4><strong>Other Important Servo Specs<br \/>\n<\/strong><\/h4>\n<p>Finally, size isn\u2019t the only thing that matters.<\/p>\n<p><strong>Torque<\/strong> is another important spec. It\u2019s often given in inch-ounces at either 4.8 V or both 4.8 and 6 V.<\/p>\n<p><strong>Speed or transit time<\/strong> is the time the motor takes to rotate through a given angle, often 60 degrees.<\/p>\n<p><strong>Current consumption<\/strong> is unfortunately not always given. The amount of current the motor consumes depends on whether the servo is idling, under a load, in transit, or stalling. One way to get this info is to use your multimeter to measure the current under various conditions. Note that any motor will draw the most current when stalled. Due to this fact, be careful how you power your servo.<\/p>\n<h2><strong>Now You Know What a Servo Motor is and How it Works<br \/>\n<\/strong><\/h2>\n<p>Originally, I wanted to give some specific ways (including some code) to control servo motors, but this has grown to almost 2500 words so far. There\u2019s more to say about servo motors and servo control, so these topics will likely show up in a future post.<\/p>\n<p>Until then, leave a comment and tell me if you\u2019re into robotics. If so, what\u2019s your latest project like?<\/p>\n<h2 style=\"text-align: center;\">Become the Maker you were born to be. Try <a href=\"https:\/\/learnarduinonow.com\">Arduino Academy<\/a> for FREE!<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4238\" src=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2.png\" alt=\"\" width=\"828\" height=\"315\" srcset=\"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2.png 828w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2-300x114.png 300w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2-150x57.png 150w, https:\/\/www.circuitcrush.com\/wp-content\/uploads\/FB_Cover2-768x292.png 768w\" sizes=\"(max-width: 828px) 100vw, 828px\" \/><\/p>\n<a target=\"_blank\" href=\"https:\/\/www.drpeterscode.com\/index.php\"><img src=\"https:\/\/www.circuitcrush.com\/wp-content\/plugins\/dpabottomofpostpage\/apixel1x1.jpg\" ><\/a><table><\/table>","protected":false},"excerpt":{"rendered":"<p>Since the early 1990\u2019s the servo motor has been finding its way into robotics projects more and more often. But what is a servo motor? How do servo motors work? This introductory tutorial on servo motors will answer these questions. If you\u2019re into electronics, you may have heard the word servo or servo motor thrown [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3183,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[136],"tags":[138,137],"class_list":{"0":"post-3163","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-servo-motors","8":"tag-servo","9":"tag-servo-motor","10":"entry"},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.circuitcrush.com\/wp-content\/uploads\/What-is-a-servo-motor-2.jpg","_links":{"self":[{"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/posts\/3163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/comments?post=3163"}],"version-history":[{"count":7,"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/posts\/3163\/revisions"}],"predecessor-version":[{"id":4271,"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/posts\/3163\/revisions\/4271"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/media\/3183"}],"wp:attachment":[{"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/media?parent=3163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/categories?post=3163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuitcrush.com\/wp-json\/wp\/v2\/tags?post=3163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}