Hey, welcome, everyone.Here is the short tutorial on LINX MakerHub. In this quick Tutorial, we will see how to control a Robot using LabView. How to navigate a Robot using LabView MakerHub Library. The purpose of this project is to make the controls of Robot visible and easy to control.
We can easily identify that is everything working fine in the Robot and with that we can achieve more accuracy. Well, this was my Lab project and I made for my Robot Navigation.
The GUI has three main functions.First one is to control the speed of motors separately and also the speed results are shown on the watch dial. The second function is about the IR Sensors that displays the results whenever a Robot comes over the black line .we can also use these indicators as an obstacle detector. The Robot was a combination of Line follower and Obstacle detector. The third function is to show the distance of three obstacle avoiding ultrasonic sensors.
The main purpose of this tutorial is based upon how to use Labview MakerHub LINX library so we will consider this in the context of LabView not by making the functions of Robot. Whatever will be the functions of Robot we just have to know how to control it by using LabView.
This tutorial is from the series of How to make RC Robot/Car.we will see some of the other great ways to control Robot wirelessly. The upcoming tutorial is about making GUI in Visual Studio using C# to control Robot wirelessly. But this time we are using LabView.
One of the issues that I have faced during this project is that the Robot listens to the command sometimes very late. The main Delay issue.well, this was because of the slower version of the system. The LabView is quite heavy Software so sometimes it takes the time to perform any function.
Well, move towards the contents for this tutorial.
- Introduction to LabView MakerHub LINX library
- Functionality of Robot Control GUI
- How to add Motor controls and Speed display in LINX
- Obstacle Sensor blocks in LINX MakerHub
- Main Block Diagram
1-Introduction to LabView MakerHub Library
LabView is an advanced tool for Engineers and industrial applications. There are lots of features in the LabView for advance Engineering applications.The great interface system of block language is the most creative and useful way for designing and controlling complex Engineering systems.The Labview interface is similar to the MATLAB Simulink library but the LabView has more and lots more great and easy features to design a system.
The MakerHub library for LabView is used for Arduino hardware applications.We can easily interface any hardware application using LINX library.The amazing part is that in LINX library we don’t need to program Arduino. There is simple block language interface for any hardware requirement.We just have to place some blocks and connect with each other.There is a great display in Labview for any kind of system performance.
Before moving towards the next part we must have the basic knowledge of how to install and use the LINX library in LabView.
I have already explained all these steps so read the following tutorial about the basic installation and usage:
HOW TO INTERFACE ARDUINO WITH LABVIEW INSTALLATION GUIDE
2-Functionality of Robot Control GUI
- Motors Speed Control and Display
- 5/IR Sensor Indicator
- Distance Sensor display and control
3-How to add Motor Controls and Speed Display in LINX
4-Obstacle sensor Blocks in LINX MakerHub
Finalizing all the steps:
- Help > Find Examples > Ultrasonic then edit the program according to the design.
- Search bar > Digital read N Channel for IR indicators.
- Search bar > Set Duty cycle or PWM Duty cycle insert and edit according to the design.
5-Main Block Diagram
Design everything according to the block diagram.As I have skipped so many steps in this tutorial because it’s quite difficult to explain each and everything. Soon I will upload a video demonstration on the YouTube Channel then I will explain each and everything in detail.And one more and most important part is that how to make it wireless.How to connect Bluetooth with the serial monitor to control the Robot using LabView Wirelessly. So stay connected for more Tutorials.If you need the LabView files then comment your E-mail or Reach contact page.