0% found this document useful (0 votes)
31 views28 pages

Sudheer Intership Report

This training report details the development of an Arduino remote car using LabVIEW, focusing on the integration of various components such as the Arduino board, L298 motor module, and HC-06 Bluetooth module. It outlines the advantages of LabVIEW as a graphical programming environment and provides an overview of the Arduino platform, including its components and functionalities. The report is submitted by Sudheer Mahor as part of the requirements for a Bachelor of Technology degree in Electrical & Electronics Engineering at Ajay Kumar Garg Engineering College.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views28 pages

Sudheer Intership Report

This training report details the development of an Arduino remote car using LabVIEW, focusing on the integration of various components such as the Arduino board, L298 motor module, and HC-06 Bluetooth module. It outlines the advantages of LabVIEW as a graphical programming environment and provides an overview of the Arduino platform, including its components and functionalities. The report is submitted by Sudheer Mahor as part of the requirements for a Bachelor of Technology degree in Electrical & Electronics Engineering at Ajay Kumar Garg Engineering College.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 28

A

Training

Report On

Arduino remote car by using LabVIEW

National Instrument Laboratory Virtual Instrument Engineering


Workbench
NI-LabVIEW
Submitted in the partial fulfillment of the requirements of the Degree of Bachelor of
Technology in Electrical & Electronics Engineering
By

Name/RollNumb
er:
Sudheer mahor (2000270210083)

DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGG.

AJAY KUMAR GARG ENGINEERING COLLEGE


GHAZIABAD (U.P)
Session: 2022-23
ACKNOWLEDGEMENT

I express my deepest sense of gratitude towards Ms Suvarna Mujumdar (Senior


Manager Training), NILabview for her patience, inspiration, guidance, constant
encouragement, moral support, keen interest, and valuable suggestions during
preparation of this Training report.
My heartfelt gratitude goes to all faculty members of Electrical & Electronics
Engineering Deptt., who with their encouraging and caring words and most valuable
suggestions have contributed, directly or indirectly, in a significant way towards
completion of this Training report.
I am indebted to all my classmates for taking interest in discussing my problem and
encouraging me.
I owe a debt of gratitude to my father and mother for their consistent support,
sacrifice, candid views, and meaningful suggestion given to me at different stages of
this work.
Last but not the least I am thankful to the Almighty who gave me the strength and
health for completing my report.

Sudheer mahor
TABLE OF CONTENT

Content
Chapter 1 Introduction
1.1 About Lab view
1.2 Advantages of Lab view

Chapter 2 Introduction of arduino


2.1 About Arduino
2.2 what’s on the Board

Chapter 3 3.1 Introduction of L298 motor Module


3.2 L298 motor Module Hardware Overview

Chapter 4 4.1 Introduction of HC- 06 BT module


4.2 Pin configuration HC-06 BT module

Chapter 5 5.1 RC car vi (Block diagram and Front panel)

Chapter 6 6.1 RC car Hardware and it’s connection


Chapter 1
Introduction to LabView

LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is a graphical


programming environment which has become prevalent throughout research labs, academia,
and industry. It is a powerful and versatile analysis and instrumentation software system for
measurement and automation. It's graphical programming language called G programming is
performed using a graphical block diagram that compiles into machine code and eliminates a
lot of the syntactical details.

LabVIEW offers more flexibility than standard laboratory instruments because it is software-
based. Using LabVIEW, the user can originate exactly the type of virtual instrument needed
and programmers can easily view and modify data or control inputs. The popularity of the
National Instruments LabVIEW graphical dataflow software for beginners and experienced
programmers in so many different engineering applications and industries can be attributed to
the software’s intuitive graphical programming language used for automating measurement
and control systems.

LabVIEW programs are called virtual instruments (VIs), because their appearance and
operation imitate physical instruments like oscilloscopes. LabVIEW is designed to facilitate
data collection and analysis, as well as offers numerous display options. With data collection,
analysis and display combined in a flexible programming environment, the desktop computer
functions as a dedicated measurement device. LabVIEW contains a comprehensive set of VIs
and functions for acquiring, analyzing, displaying, and storing data, as well as tools to help
you troubleshoot your code.

All test, measurement and control applications can be divided into three main components
and the key to virtual instrumentation is the ability to acquire, analyze and present data.
LabVIEW can acquire data using the devices like GPIB, Serial, Ethernet, VXI, PXI
Instruments, Data Acquisition (DAQ), PCI eXtensions for Instrumentation (PXI), Image
Acquisition (IMAQ), Motion Control, Real-Time (RT) PXI, PLC (through OPC Server),
PDA, and Modular Instruments.

To help you analyze your data LabVIEW includes analysis functions for Differential
Equations, Optimization, Curve Fitting, Calculus, Linear Algebra, Statistics and so on.
Express VIs are specifically designed for measurement analysis, including filtering and
spectral analysis. Signal Processing VIs for Filtering, Windowing, Transforms, Peak
Detection, Harmonic Analysis, and Spectrum Analysis are provided. LabVIEW includes the
following tools to help in presenting data on the computer; Graphs, Charts, Tables, Gauges,
Meters, Tanks, 3D Controls, Picture Control, 3D Graphs and Report Generation. Over the
Internet, Web Publishing Tools, Data socket (Windows Only), TCP/IP, VI Server, Remote
Panels and Email are available to present data.

LabVIEW can communicate with hardware such as data acquisition, vision, and motion
control devices, and GPIB, PXI, VXI, RS-232, and RS-485 devices. LabVIEW also has built-
in features for connecting your application to the Web using the LabVIEW Web Server and
software standards such as TCP/IP networking and ActiveX. Using LabVIEW, you can create
test and measurement, data acquisitions, instrument control, datalogging, measurement
analysis, and report generation applications. You also can create stand-alone executables and
shared libraries, like DLLs, because LabVIEW is a true 32-bit compiler.

For new programmers, LabVIEW Express technology transforms common measurement and
automation tasks into much higher-level, intuitive VIs. With Express technology, thousands
of nonprogrammers have taken advantage of the LabVIEW platform to build automated
systems quickly and easily.

For experienced programmers, LabVIEW delivers the performance, flexibility and


compatibility of a traditional programming language such as C or BASIC. In fact, the full-
featured LabVIEW programming language has the same constructs that traditional languages
have such as variables, data types, objects, looping and sequencing structures, as well as error
handling. And with LabVIEW, programmers can reuse legacy code packaged as DLLs or
shared libraries and integrate with other software using ActiveX, TCP and other standard
technologies.

The LabVIEW Family consists of NI LabVIEW Graphical Programming Software for


Measurement and Automation, LabVIEW Real-Time Module, LabVIEW FPGA Module,
LabVIEW PDA Module, LabVIEW Datalogging and Supervisory Control Module.

Advantages of LabVIEW

The following are the advantages of LabVIEW:

 Graphical user interface: Design professionals use the drag-and-drop user interface
library by interactively customizing the hundreds of built-in user objects on the
controls palette.
 Drag-and-drop built-in functions: Thousands of built-in functions and IP including
analysis and I/O, from the functions palette to create applications easily.
 Modular design and hierarchical design: Run modular LabVIEW VIs by
themselves or as subVIs and easily scale and modularize programs depending on the
application.
 Multiple high level development tools: Develop faster with application-specific
development tools, including the LabVIEW Statechart Module, LabVIEW Control
Design and Simulation Module and LabVIEW FPGA Module.
 Professional Development Tools: Manage large, professional applications and
tightly integrated project management tools; integrated graphical debugging tools; and
standardized source code control integration.
 Multi platforms: The majority of computer systems use the Microsoft Windows
operating system. LabVIEW works on other platforms like Mac OS, Sun Solaris and
Linux. LabVIEW applications are portable across platforms.
 Reduces cost and preserves investment: A single computer equipped with
LabVIEW is used for countless applications and purposes—it is a versatile product.
Complete instrumentation libraries can be created for less than the cost of a single
traditional, commercial instrument.
 Flexibility and scalability: Engineers and scientists have needs and requirements that
can change rapidly. They also need to have maintainable, extensible solutions that can
be used for a long time. By creating virtual instruments based on powerful
development software such as LabVIEW, you inherently design an open framework
that seamlessly integrates software and hardware. This ensures that your applications
not only work well today but that you can easily integrate new technologies in the
future.
 Connectivity and instrument control: LabVIEW has ready-to-use libraries for
integrating stand-alone instruments, data acquisition devices, motion control and
vision products, GPIB/IEEE 488 and serial/RS-232 devices, and PLCs to build a
complete measurement and automation solution. Plug-and Play instrument drivers
access the industry’s largest source of instrument drivers with several instruments
from various vendors.
 Open environment: LabVIEW provides the tools required for most applications and
is also an open development environment. This open language takes advantage of
existing code; can easily intergrate with legacy systems and incorporate third party
software with .NET, ActiveX, DLLs, objects, TCP, Web services and XML data
formats.
 Distributed development: Can easily develop distributed applications with
LabVIEW, even across different platforms. With powerful server technology you can
offload processor-intensive routines to other machines for faster execution, or create
remote monitoring and control applications.
 Visualization capabilities: LabVIEW includes a wide array of built-in visualization
tools to present data on the user interface of the virtual instrument as chart, graphs, 2D
and 3D visualization. Reconfiguring attributes of the data presentation, such as
colours, font size, graph types, and more can be easily performed.
 Rapid development with express technology: Use configuration-based Express VIs
and I/O assistants to rapidly create common measurement applications without
programming by using LabVIEW signal Express.
 Compiled language for fast execution: LabVIEW is a compiled language that
generates optimized code with execution speeds comparable to compiled C and
developes high-performance code.
 Simple application distribution: Use the LabVIEW application builder to create
executables(exes) and shared libraries (DLLs) for deployment.
 Target management: Easily manage multiple targets, from real-time to embedded
devices including FPGAs, microprocessors, microcontrollers, PDAs and touch panels.
 Object–oriented design: Use object-oriented programming structures to take
advantage of encapsulation and inheritance to create modular and extensible code.
 Algorithm design: Develop algorithms using math-oriented textual programming and
interactively debug .m file script syntax with LabVIEW MathScript.
Chapter 2
Introduction to Arduino

Arduino is an open-source platform used for building electronics projects. Arduino


consists of both a physical programmable circuit board (often referred to as
a microcontroller) and a piece of software, or IDE (Integrated Development
Environment) that runs on your computer, used to write and upload computer code
to the physical board.
The Arduino platform has become quite popular with people just starting out with
electronics, and for good reason. Unlike most previous programmable circuit boards,
the Arduino does not need a separate piece of hardware (called a programmer) in
order to load new code onto the board -- you can simply use a USB cable.
Additionally, the Arduino IDE uses a simplified version of C++, making it easier to
learn to program. Finally, Arduino provides a standard form factor that breaks out the
functions of the micro-controller into a more accessible package.
What's on the board?
There are many varieties of Arduino boards (explained on the next page) that can be
used for different purposes. Some boards look a bit different from the one below, but
most Arduinos have the majority of these components in common:
Power (USB / Barrel Jack)
Every Arduino board needs a way to be connected to a power source. The Arduino
UNO can be powered from a USB cable coming from your computer or a wall power
supply (like this) that is terminated in a barrel jack. In the picture above the USB
connection is labeled (1) and the barrel jack is labeled (2).
The USB connection is also how you will load code onto your Arduino board. More
on how to program with Arduino can be found in our Installing and Programming
Arduino tutorial.
NOTE: Do NOT use a power supply greater than 20 Volts as you will overpower
(and thereby destroy) your Arduino. The recommended voltage for most Arduino
models is between 6 and 12 Volts.

Pins (5V, 3.3V, GND, Analog, Digital, PWM, AREF)


The pins on your Arduino are the places where you connect wires to construct a
circuit (probably in conjuction with a breadboard and some wire. They usually have
black plastic ‘headers’ that allow you to just plug a wire right into the board. The
Arduino has several different kinds of pins, each of which is labeled on the board and
used for different functions.

 GND (3): Short for ‘Ground’. There are several GND pins on the Arduino, any
of which can be used to ground your circuit.
 5V (4) & 3.3V (5): As you might guess, the 5V pin supplies 5 volts of power,
and the 3.3V pin supplies 3.3 volts of power. Most of the simple components
used with the Arduino run happily off of 5 or 3.3 volts.
 Analog (6): The area of pins under the ‘Analog In’ label (A0 through A5 on the
UNO) are Analog In pins. These pins can read the signal from an analog
sensor (like a temperature sensor) and convert it into a digital value that we
can read.
 Digital (7): Across from the analog pins are the digital pins (0 through 13 on
the UNO). These pins can be used for both digital input (like telling if a button
is pushed) and digital output (like powering an LED).
 PWM (8): You may have noticed the tilde (~) next to some of the digital pins
(3, 5, 6, 9, 10, and 11 on the UNO). These pins act as normal digital pins, but
can also be used for something called Pulse-Width Modulation (PWM). We
have a tutorial on PWM, but for now, think of these pins as being able to
simulate analog output (like fading an LED in and out).
 AREF (9): Stands for Analog Reference. Most of the time you can leave this
pin alone. It is sometimes used to set an external reference voltage (between
0 and 5 Volts) as the upper limit for the analog input pins.

Reset Button
Just like the original Nintendo, the Arduino has a reset button (10). Pushing it will
temporarily connect the reset pin to ground and restart any code that is loaded on
the Arduino. This can be very useful if your code doesn’t repeat, but you want to test
it multiple times. Unlike the original Nintendo however, blowing on the Arduino
doesn't usually fix any problems.

Power LED Indicator


Just beneath and to the right of the word “UNO” on your circuit board, there’s a tiny
LED next to the word ‘ON’ (11). This LED should light up whenever you plug your
Arduino into a power source. If this light doesn’t turn on, there’s a good chance
something is wrong. Time to re-check your circuit!

TX RX LEDs
TX is short for transmit, RX is short for receive. These markings appear quite a bit in
electronics to indicate the pins responsible for serial communication. In our case,
there are two places on the Arduino UNO where TX and RX appear -- once by digital
pins 0 and 1, and a second time next to the TX and RX indicator LEDs (12). These
LEDs will give us some nice visual indications whenever our Arduino is receiving or
transmitting data (like when we’re loading a new program onto the board).

Main IC
The black thing with all the metal legs is an IC, or Integrated Circuit (13). Think of it
as the brains of our Arduino. The main IC on the Arduino is slightly different from
board type to board type, but is usually from the ATmega line of IC’s from the
ATMEL company. This can be important, as you may need to know the IC type
(along with your board type) before loading up a new program from the Arduino
software. This information can usually be found in writing on the top side of the IC. If
you want to know more about the difference between various IC's, reading the
datasheets is often a good idea.

Voltage Regulator
The voltage regulator (14) is not actually something you can (or should) interact with
on the Arduino. But it is potentially useful to know that it is there and what it’s for.
The voltage regulator does exactly what it says -- it controls the amount of voltage
that is let into the Arduino board. Think of it as a kind of gatekeeper; it will turn away
an extra voltage that might harm the circuit. Of course, it has its limits, so don’t hook
up your Arduino to anything greater than 20 volts.
Chapter 3
L298N motor Driver
L298N module is a high voltage, high current dual full-bridge motor driver module for
controlling DC motor and stepper motor. It can control both the speed and rotation direction
of two DC motors. This module consists of an L298 dual-channel H-Bridge motor driver IC.
This module uses two techniques for the control speed and rotation direction of the DC
motors. These are PWM – For controlling the speed and H-Bridge – For controlling rotation
direction. These modules can control two DC motor or one stepper motor at the same time.

L298N Motor Driver Hardware Overview


This motor driver module consists of two main key components, these are L298 motor driver
IC and a 78M05 5V regulator.
L298 motor driver IC
L298 is a high voltage, high current dual full-bridge motor driver IC. It accepts standard TTL
logic levels (Control Logic) and controls inductive loads such as relays, solenoids, DC and
Stepper motors. This is a 15 pin IC. According to the L298 datasheet, its operating voltage is
+5 to +46V, and the maximum current allowed to draw through each output 3A. This IC has
two enable inputs, these are provided to enable or disable the device independently of the
input signals.
A black color heat sink is attached to the L298 IC of the module. A heat sink is a passive heat
exchanger that transfers the heat generated by an electronic or a mechanical device to a fluid
medium, often air or a liquid coolant.

78M05 5V Regulator
The module has an on-board 78M05 5V Voltage regulator. This Voltage regulator will be
performed only when the 5V Enable jumper is placed. When the power supply is less
than or equal to 12V, then the internal circuitry will be powered by the voltage regulator, and
the 5V pin can be used as an output pin to power the microcontroller or other circuitry
(sensor).
The jumper should not be placed when the power supply is greater than 12V and separate 5V
should be given through 5V terminal to power the internal circuitry.
L298N Motor Driver Module Pin
Diagram

Power Supply Pins


VCC pin is used to supply power to the motor. Its input voltage is between
1 VCC 5 to 35V.
GND is a ground pin. It needs to be connected to the power supply
2 GND ground(negative).
+5V pin supplies power for the switching logic circuitry inside the L298N
IC. If the 5V-EN jumper is in place, this pin acts as output and can be used
to power up a microcontroller or other circuitry (sensor). If the 5V-EN
jumper is removed, you need to connect it to the 5V power supply of the
3 +5V microcontroller.
Control Pins
1 IN1 These pins are input pins of Motor A. These are used to control the
rotating direction of Motor A. When one of them is HIGH and the other
is LOW, Motor A will start rotating in a particular direction. If both the
2 IN2 inputs are either HIGH or LOW the Motor A will stop.

3 IN3 These pins are input pins of Motor B. These are used to control the
rotating direction of Motor A. When one of them is HIGH and the other
is LOW, Motor A will start rotating in a particular direction. If both the
4 IN4 inputs are either HIGH or LOW the Motor A will stop.

Speed Control Pins


ENA pin is used to control the speed of Motor A. If a jumper is
present on this pin, so the pin connected to +5 V and the motor will be
enabled, then the Motor A rotates maximum speed.
if we remove the jumper, we need to connect this pin to a PWM input of
the microcontroller. In that way, we can control the speed of Motor A. If
1 ENA we connect this pin to Ground the Motor A will be disabled.
ENB pin is used to control the speed of Motor B. If a jumper is
present on this pin, so the pin connected to +5 V and the motor will be
enabled, then the Motor B rotates maximum speed.
if we remove the jumper, we need to connect this pin to a PWM input of
the microcontroller. In that way, we can control the speed of Motor B. If
2 ENB we connect this pin to Ground the Motor B will be disabled.

Output Pins
OUT1 & OU
1 T2 This terminal block will provide the output for Motor A.

OUT3 & OU
2 T4 This terminal block will provide the output for Motor B.
Chapter 3

HC-06 Bluetooth Module

HM-06 is a Bluetooth module designed for establishing short range


wireless data communication between two microcontrollers or systems.
The module works on Bluetooth 2.0 communication protocol and it
can only act as a slave device. This is cheapest method for wireless data
transmission and more flexible compared to other methods and it even
can transmit files at speed up to 2.1Mb/s.

HC-06 uses frequency hopping spread spectrum technique (FHSS) to


avoid interference with other devices and to have full duplex transmission.
The device works on the frequency range from 2.402 GHz to 2.480GHz.
Pin configuration

HC-06 module has six pins as shown in the pinout. In them we only need
to use four for successfully interfacing the module. Some breakout boards
will only leave four output pins only because of this reason.

Pin Name Function

1 Key The pin state determines whether the module works in AT command mode or normal mode

[High=AT commands receiving mode(Commands

response mode), Low or NC= Bluetooth module normally working]

2 Vcc +5V Positive supply needs to be given to this pin for powering the module

3 Gnd Connect to ground

4 TXD Serial data is transmitted by module through this pin (at 9600bps by default), 3.3V logic

5 RXD Serial data is received by module through this pin (at 9600bps by default),3.3V logic

6 State The pin is connected to the LED on the board to represent the state of the module

HC-06 Features and Electrical characteristics

 Bluetooth protocol: Bluetooth V2.0 protocol standard


 Power Level: Class2(+6dBm)
 Band: 2.40GHz—2.48GHz, ISM Band
 Receiver sensitivity: -85dBm
 USB protocol: USB v1.1/2.0
 Modulation mode: Gauss frequency Shift Keying
 Safety feature: Authentication and encryption
 Operating voltage range:+3.3V to +6V
 Operating temperature range: -20ºC to +55ºC
 Operating Current: 40mA
Chapter 3
RC car by using labview +Linx

Now for the project we have to do the following steps:-


1. We must make and understand the VI for the project
2. We must understand the connections of the project

Let us understand the VI for the project.


There will be 3 VI for the project.
1st VI will be main vi to control car
2nd VI will be for the Battery vi to supply power
And the last one is Core vi to control the motion
Fig 3.1 RC car main Block diagram

Fig 3.2 RC car main Front Panel


Fig 3.3 Main Battery block Diagram

Fig 3.4 Main Battery Front Panel


Fig 3.5 Core VI block Diagram
Fig 3.6 core Vi Front Panel
Chapter 4
Hardware connection

Fig 4.1
Fig 4.2
Fig 4.3
CONCLUSION

My four weeks Internship with NI LabVIEW , it has been one of the most interesting,
productive and instructive experience of my life. Through this training, I have gained new
insight and comprehensive understanding about the real working conditions and practise, it
also improved my soft and functional skills. All thee valuable experience and knowledge’s
that I have gained were not only acquired through the direct involvement in the task but also
through other aspects of training such as : work observation, interaction with collogues,
supervisors and other people related to field. I am sure that industrial training has achieved its
primary objectives. As result of training we are more confident to build our future carrier.
BIBLIOGRAPHY

1. https://www.instructables.com/Arduino-Bluetooth-Car-Controlled-by-Labview/
2. https://www.electroduino.com/introduction-to-l298n-motor-driver-how-its-work/
3. https://components101.com/wireless/hc-06-bluetooth-module-pinout-datasheet
4.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy