Posts

Showing posts from February, 2018

Using Servo Motors with Arduino

Image
  The aim of this project is to learn about servo motors and how to control them using Arduino microcontroller. Servo motors are a type of actuators that are very used in electromechanics, robotics and mechatronic applications because they are responsible for the moving part of these applications such as rotating a wheel, moving a mechanical arm etc. In our case we will see first how to configure and program a servo motor to rotate forwards and backwards, then we will add to this system a potentiometer that will allow us to control the servo motor. But now I will answer some basic questions that will help us to  better understand this device.   How a servo motor works ? A servo motor uses pulse width modulation (pwm) to convert the signal coming to its output pin into a rotating movement. We will use the Arduino Servo library’s basic functions to apply this concept What is the difference between servo and DC motor ? Unlike a DC motor that rotates continuou...