Make it mech
  • Home
  • How & Why
    • Arduino
    • Leapmotion with arduino
    • Sensors/Modules
    • Basic Electronics
    • NodeMcu
    • LabView
    • MATLAB
    • Industrial Automation
  • Projects
    • arduino projects
    • Brain Wave Decoder
    • Circuit Diagrams
    • Electrical
    • IEE Projects
  • Ideas
  • Videos
  • Arduino
  • Robotics
  • Circuits
  • Electrical
  • LeapMotion
  • EEG
  • IOT
  • LabView
  • MATLAB
  • NodeMcu
  • Mechatronics
  • Sensors
  • Motivation
  • Soft skills
  • Success
Make it mech
Home LabView

How to control Robot using LabView the Robot controls in LINX MakerHub

Kane Dan by Kane Dan
August 31, 2020
in LabView
How to control Robot using LabView  the Robot controls in LINX MakerHub

Related posts

Labview Arduino binary logic to decimal | Labview arduino examples

Labview Arduino binary logic to decimal | Labview arduino examples

September 3, 2021
labview install

How to use Labview and Arduino | linx labview installation

September 3, 2021

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.

Contents

  1. Introduction to LabView MakerHub LINX library
  2. Functionality of Robot Control GUI
  3. How to add Motor controls and Speed display in LINX
  4. Obstacle Sensor blocks in LINX MakerHub
  5. 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

The GUI has three  main Functions:
  1. Motors Speed Control and Display
  2. 5/IR Sensor Indicator
  3. Distance Sensor display and control
We can check and control Robot using this LabView GUI.There are three ultrasonic sensors for distance measuring and obstacle detection. I named as I have placed in the front left and right.so  for any application we can easily detect how far the front or left, Right sensor from obstacle or distance.We don’t need to open the serial monitor to see the results or to place LCD for this purpose.
Same as we can’t see when a robot Comes over the black line in the case of the line following Robot.
So it indicates when ever an IR sensor cross over the line. So we can easily Calibrate our sensors.It detects if one motor is running fast and other is slow. it’s a quite easy interface to look upon when we need more speed and then according to that, we can design our algorithm.

3-How to add Motor Controls  and Speed Display in LINX

First of all, connect open and close connection to the LINX device.The best way to do this is to open an example and edit that one then you don’t  need to add a blocking loop and open close.
Go to Help > find Examples > search
Or
Enter in the Top right corner Search bar >
Enter PWM duty cycle or set duty cycle
 
Then Drop that block into the panel.
For an array instead of one input type array in the search bar to place array as shown in the PW channel 1 and 2.

4-Obstacle sensor Blocks in LINX  MakerHub

For obstacle sensor or ultrasonic sensor, blocks search in the find examples or in the search bar
Search > Ultrasonic 
 Then the ultrasonic block will appear place into the panel and make a copy for 2 more sensors.
The outputs of every block will be placed on the front panel, not in the Block panel.
For outputs Right click on the front panel window then go to LINX MakerHub and place your desired indication or display block.
For IR I have placed Indicators array.
For IR sensor search Digital Read  N channel and place into the panel and make connections as in the figure.

Finalizing all the steps:

  1. Help > Find Examples > Ultrasonic then edit the program according to the design.
  2. Search bar > Digital read N Channel for IR indicators.
  3. Search bar > Set Duty cycle or PWM Duty cycle insert and edit according to the design.
In the Front panel Right click and insert indicator or display for your choice.and Design according to that.

5-Main Block Diagram

robot controls in labview linx

Conclusion:

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.

Stay Happy and Stay Motivated.
Previous Post

How to use NodeMCU Getting started with NodeMcu the Basics

Next Post

Arduino PID advance line following Robot

Related Posts

Labview Arduino binary logic to decimal | Labview arduino examples
LabView

Labview Arduino binary logic to decimal | Labview arduino examples

September 3, 2021
labview install
Arduino

How to use Labview and Arduino | linx labview installation

September 3, 2021
Next Post
Arduino PID  advance line following Robot

Arduino PID advance line following Robot

BROWSE BY CATEGORIES

  • Arduino (9)
  • arduino projects (7)
  • Basic Electronics (2)
  • Brain Wave Decoder (11)
  • Breadboard Circuits (1)
  • Circuit Diagrams (5)
  • Circuits (3)
  • EEG (11)
  • Electrical (2)
  • How & Why (1)
  • Ideas (9)
  • IEE Projects (2)
  • Industrial Automation (1)
  • Inspiration & Motivation (3)
  • IOT (3)
  • LabView (3)
  • Leapmotion with arduino (5)
  • MATLAB (1)
  • Mechatronics (7)
  • NodeMcu (1)
  • Projects (11)
  • Robotics (9)
  • Self Learning (3)
  • Sensors/Modules (6)
  • Soft skills (2)
  • Success (2)

Contact us

Email: marketing[at]shantelllc.com

Recent News

  • How & Why to Use DC Motors | How DC Motor Works
  • 220v AC to 12v DC Power Supply Step by Step Project
  • Battery Level Indicator Circuit With Low Charge Alarm | Inverter Battery Circuit
  • Privacy Policy
  • About Us
  • Contact Us

© 2023 Make it mech - All Rights Reserved

No Result
View All Result
  • Home
  • Politics
  • News
  • Business
  • Culture
  • National
  • Sports
  • Lifestyle
  • Travel
  • Opinion

© 2023 Make it mech - All Rights Reserved

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Go to mobile version