Today, I would like to provide a complete discussion on Servo Motor Control using myRIO. In this tutorial I will tell you about the control of a servo m...
Hello everyone! I hope you all will be absolutely fine and having fun. Today, I would like to provide a complete discussion on Servo Motor Control using myRIO. In this tutorial I will tell you about the control of a servo motor using NI myRIO. First of all, I will give you a brief introduction on servo motors and then we will proceed towards their interfacing with myRIO. Servo motor is an electronic device with a small output shaft. This shaft can be adjusted at different angles for the different purposes. We can adjust this shaft by sending a signal usually known as servo coded signal. Servo motor is able maintain a particular angle as long as it has the servo coded signal at its input.
Servo motor changes the angular position of its shaft with every change in the servo coded signal applied at its input. I have already designed and shared Servo Motor Control in Proteus. If you are using the servo motor for the first time then you must go through this tutorial. This design is always helpful to the beginners. In my previous tutorial I have controlled DC motor using NI myRIO. DC motor is a simple device having two input terminals. We just have to supply voltage at its terminals and it starts rotating in either direction depending upon the polarity of the applied voltage. Whereas, servo motor has three input terminals, two terminals are for the power supply and one is for sending servo coded signal to rotate at specific angle and in specific direction as well. If some electrical projects require some mobile (move able/not static) tasks, servo motor will be the better option. It is easily available in the market and has a low cost. There are a lot of real life applications associated with servo motors. For example, robotics, elevators, air crafts, remote controlled appliances, vehicles, solar tracking system, automated baby cradle system, conveyor belts system and a lot more. The further detail about servo motor control using myRIO will be given later in this tutorial.
Servo Motor Control using myRIO
Servo Motor is a device with a small output shaft. It has three input terminals. Two terminals are for the power supply and the third is for sending the servo coded signal. The electrical or electronics projects where there is a need of motion, servo will be the best option in this case. The shaft of the servo motor changes its position corresponding to the servo coded signal applied at its input. It has a wide range of applications including robotics, automated baby cradle, solar tracking systems, elevators etc. Servo motor is shown in the figure given below.
Note:
I have already shared different articles on control of a servo motor as given below.
Servo motor has three pins, two for the power supply and one for sending servo coded signal.
These three pins are listed in the table given in the figure shown below.
Servo motor along with its pins is shown in the figure given below.
2. Servo Motor Pins Description
We must know the function of each pin of any electronic device.
Pin functions of all the pins are provided in the table shown in the figure given below.
3. Servo Motor Dimensions
In the figure shown below, servo motor is divided into different segments e.g. A, B, C etc.
The dimensions of each segments are provided in the table given in the figure shown below.
4. Servo Motor Specifications
Specifications are such parameters on the basis of which a device can become more popular.
Servo motor specifications are listed in the table given in the figure shown below.
5. Servo Motor Ratings
The power requirement of any device can be estimated through its ratings.
Servo motor ratings are given in the table shown in the figure below.
6. Servo Motor Applications
Servo motor has a wide range of real life applications.
Some of them are listed in the table given in the figure shown below.
7. Servo Motor Control using myRIO Wiring Diagram
I have made a completely labelled wiring diagram for servo motor control using myRIO.
A complete wiring diagram is given in the figure shown below.
8. Servo Motor Control using myRIO Actual Wiring Diagram
The actual wiring diagram for servo motor control using myRIO is shown in the figure given below.
9. NI LabVIEW Complete Front Panel Window
The complete front pane; window for servo motor control using myRIO is given in the figure shown below.
10. NI LabVIEW Complete Block Diagram Window
The complete Virtual Instrument (VI) for servo motor control using myRIO is shown in the figure given below.
You can download the wiring diagram for servo motor control using myRIO and the complete LabVIEW VI, just by clicking on the button below.
That is all from the tutorial Servo Motor Control using myRIO. I have tried my level best to provide all the necessary detail about servo motor control using myRIO. I hope you have enjoyed the tutorial and will appreciate my efforts. If you found something missing, please let me know so that I can update this tutorial accordingly in order to avoid any future inconvenience. I will share different projects on myRIO in my upcoming tutorials. Till my next tutorial take care and bye bye :)
syedzainnasir
I am Syed Zain Nasir, the founder of The Engineering Projects (TEP). I am a
programmer since 2009 before that I just search things, make small projects and now I am sharing my
knowledge through this platform. I also work as a freelancer and did many projects related to
programming and electrical circuitry. My Google Profile+Follow
Get Connected
Comments on ‘’ Servo Motor Control using myRIO ‘’ ( 2 )
0
inthonurshaumasyuhri
Says:
Dear staff of Theengineeringprojects,
I am Intho N. Syuhri. I want to ask about the download link. I can not download the file.
I want to try your code. I did try the Guide demo servo from ni.com. The result is my servo cannot stop.
So right now, I want to ask why I cannot download the file?
Thank you,
best regards,
Intho N. Syuhri.
Master Student Electrical Engineering
Reply
100
1
syafieqrazak
Says:
Hi Mr. Syed
The link to download the VI (wiring diagram) is not working.
Hope that you can enable the download button or email to me the VI. really need it.
Thank you
Reply