In order to control the SG90 servo, PWM signals (Pulse Width Modulation) must be sent through the yellow wire. Next, the brown wire of the SG90 must be connected to one of the Arduino’s GND pins. Then, the servo’s red wire is connected to the breadboard (same column as previous pin). The Arduino’s 5V pin is connected to a breadboard. Since the Arduino Uno has only one 5V pin, we use a breadboard to split the 5V signal. Both, the servo and the rotary angle sensor need a voltage supply. In order to control the SG90, a rotary angle sensor is used.įirst, we connect the SG90 servo motor to the Arduino Uno. Pin layout: A scheme that shows how to wire the micro servo motor SG90 to an Arduino Uno. – Potentiometer (in alternative to the rotary angle sensor) Therefore, it can be simply replaced by almost any potentiometer, since it is used here only for convenience reasons. This module is nothing more than a conventional potentiometer combined with a knob. In order to control the motor, a so-called rotary angle sensor module is used. In this tutorial, it is shown how to control the SG90 servo motor. Moreover, is is very small and lightweight (Weight: 9g Dimension: 22.2 x 11.8 x 31 mm). The SG90 is such a servo motor that can rotate approximately 180°. Both can be used to control the servo motor. In the background is a rotary angle sensor module and a potentiometer. Nonetheless, servo motors are very useful if a projects requires a motor with a precise control and awareness of its current position. However, the disadvantage of these servos is that the rotation range is limited (e.g. In particular, a command can be sent to the servo so that the servo’s shaft rotates to a specific position. As a result, servo motors can be controlled very precisely. Among these four things, the potentiometer acts as a position sensor. Typically, servo motors are a combination of four things: a conventional DC motor, a set of gearings, a potentiometer, and a control circuit.
0 Comments
Leave a Reply. |