SlideShare a Scribd company logo
2
Most read
3
Most read
EXPERIMENT – 5
OBJECTIVE: To control the dc motor speed using PWM from LabVIEW.
APPARATUS USED: Arduino board, DC motor, LABVIEW setup.
THEORY:
Introduction to LABVIEW: LabVIEW is an integrated development environment designed
specifically for engineers and scientists. Native to LabVIEW is a graphical programming language
(G) that uses a dataflow model instead of sequential lines of text code, empowering you to write
functional code using a visual layout that resembles your thought process. This means you spend
less time worrying about semicolons and syntax and more time solving the problems that matter.
DC Motor: A DC motor is any of a class of rotary electrical machines that converts direct current
electrical power into mechanical power. The most common types rely on the forces produced by
magnetic fields. Nearly all types of DC motors have some internal mechanism, either
electromechanical or electronic, to periodically change the direction of current flow in part of the
motor.
Interfacing DC motor with Arduino:
 Connect 5V and ground of the IC to 5V and ground of Arduino.
 Connect the motor to pins 2 and 3 of the IC.
 Connect IN1 of the IC to pin 8 of Arduino.
 Connect IN2 of the IC to pin 9 of Arduino.
 Connect EN1 of IC to pin 2 of Arduino.
 Connect SENS A pin of IC to the ground.
 Connect the Arduino using Arduino USB cable and upload the program to the Arduino
using Arduino IDE software.
 Provide power to the Arduino board using power supply, battery or USB cable.
Interface Arduino through LabVIEW:
Checks if LabVIEW sent a new value. If there is a new value, it converts it into integer byte with
the same value. This integer byte represents the delay interval used in sequence. That, the greater
the delay the lower the speed and vice versa. Else, Arduino continue running the motor at current
speed. This prevents the processor from overloading the serial port and pushes it to avoid
Arduino Serial port hanging.
RESULT: Study the operation of DC motor with LabVIEW and controlling of speed.

More Related Content

PDF
obstacle avoiding robot project
PPTX
Home security system using iot
PPTX
Automatic light control Using LDR
PPTX
Android Controlled Arduino Spy Robot
PPTX
Arduino based automatic temperature controlled fan speed regulator
PPTX
WIFI CONTROLLED SPY ROBOT CAR
PDF
IOT BASED SMART ENERGY METER USING THEFT DETECTION
DOCX
Design engineering 1 a gaurav
obstacle avoiding robot project
Home security system using iot
Automatic light control Using LDR
Android Controlled Arduino Spy Robot
Arduino based automatic temperature controlled fan speed regulator
WIFI CONTROLLED SPY ROBOT CAR
IOT BASED SMART ENERGY METER USING THEFT DETECTION
Design engineering 1 a gaurav

What's hot (20)

PPTX
IoT based Women Smart Sec.
DOCX
automatic plant irrigation using aurdino and gsm technology
PDF
Transient stability analysis on a multi machine system in psat
PPTX
Smart shopping trolley.
PPTX
IoT based weather monitoring system.pptx
PPT
Presentation of single axis solar tracker
PPTX
Electronic control of dc motors
PPTX
Intelli grid
PPTX
ppt on accident detection system based on Iot
PPTX
SMART HOME AUTOMATION USING MOBILE APPLICATION
PPTX
Line follower Robot using PID algorithm
DOCX
Home automation with arduino
DOCX
Automatic railway gate control using arduino uno
PPT
Automatic Night Light
PDF
Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...
PDF
V/F control of Induction Motor - Variable voltage and Variable frequency
PPTX
Pwm technique for dc motor Using Arduino
PPT
ppt of Three phase fault analysis with auto reset for temporary fault and tri...
PPTX
Electronics project presentation
PPTX
automatic railway gate control using magnetic sensors
IoT based Women Smart Sec.
automatic plant irrigation using aurdino and gsm technology
Transient stability analysis on a multi machine system in psat
Smart shopping trolley.
IoT based weather monitoring system.pptx
Presentation of single axis solar tracker
Electronic control of dc motors
Intelli grid
ppt on accident detection system based on Iot
SMART HOME AUTOMATION USING MOBILE APPLICATION
Line follower Robot using PID algorithm
Home automation with arduino
Automatic railway gate control using arduino uno
Automatic Night Light
Microcontroller Based Heart Beat and Temperature Monitoring System using Fing...
V/F control of Induction Motor - Variable voltage and Variable frequency
Pwm technique for dc motor Using Arduino
ppt of Three phase fault analysis with auto reset for temporary fault and tri...
Electronics project presentation
automatic railway gate control using magnetic sensors
Ad

Viewers also liked (6)

PDF
To measure the intensity of light using LDR sensor by calibrating voltage wit...
PDF
To study the relay operation from digital control signal using LabVIEW.
PDF
To count number of external events using LabVIEW
PDF
To implement Water level control using LabVIEW and analog input signals from ...
PDF
Interface stepper motor through Arduino using LABVIEW.
PDF
To interface temperature sensor with microcontroller and perform closed loop ...
To measure the intensity of light using LDR sensor by calibrating voltage wit...
To study the relay operation from digital control signal using LabVIEW.
To count number of external events using LabVIEW
To implement Water level control using LabVIEW and analog input signals from ...
Interface stepper motor through Arduino using LABVIEW.
To interface temperature sensor with microcontroller and perform closed loop ...
Ad

Similar to To control the dc motor speed using PWM from LabVIEW (20)

PDF
Control robotic module using LIFA
PDF
Report Remote communication of Robotic module using lifa
PPTX
New عرض تقديمي من Microsoft PowerPoint.pptx
PDF
Dc motor speed control with feedback monitor based on c# application
PDF
Dc motor speed control with feedback monitor based on c# application
PPTX
project ppt for final year viva-voce - modified
PDF
Low cost Real Time Centralized Speed Control of DC Motor Using Lab View -NI U...
PDF
Relative stability enhancement for brushed DC motor using a PLL interfaced wi...
PPT
Physical prototyping lab6-motors
PPTX
final yr project
PPT
Presentation200 (1).ppt
DOCX
Electrical machines 2,, project snr.docx
PPTX
BLDC Motor Speed Control with RPM Display and PWM
DOCX
Speed and direction control of dc motor using android mobile application chan...
DOCX
Speed and direction control of dc motor using android mobile application chan...
PPT
360 degree Steering Android.ppt
PPTX
Speed Control of DC motor using AT89C52 IC
PDF
Controlling of DC Motor using IC 555 Timer
PPT
Design and Construction of DC Motor Speed Controller Using Android.ppt
PDF
Wireless Speed Control of AC/DC motor
Control robotic module using LIFA
Report Remote communication of Robotic module using lifa
New عرض تقديمي من Microsoft PowerPoint.pptx
Dc motor speed control with feedback monitor based on c# application
Dc motor speed control with feedback monitor based on c# application
project ppt for final year viva-voce - modified
Low cost Real Time Centralized Speed Control of DC Motor Using Lab View -NI U...
Relative stability enhancement for brushed DC motor using a PLL interfaced wi...
Physical prototyping lab6-motors
final yr project
Presentation200 (1).ppt
Electrical machines 2,, project snr.docx
BLDC Motor Speed Control with RPM Display and PWM
Speed and direction control of dc motor using android mobile application chan...
Speed and direction control of dc motor using android mobile application chan...
360 degree Steering Android.ppt
Speed Control of DC motor using AT89C52 IC
Controlling of DC Motor using IC 555 Timer
Design and Construction of DC Motor Speed Controller Using Android.ppt
Wireless Speed Control of AC/DC motor

More from Ankita Tiwari (20)

PDF
EssentialsOfMachineLearning.pdf
PDF
surveyofdnnlearning.pdf
PDF
Basic_Digital_Circuits_Implementation_using_Virtuoso.pdf
PPTX
Relation of Big Data and E-Commerce
PPTX
Study of various Data Compression Techniques used in Lossless Compression of ...
PPT
PIC Introduction and explained in detailed
PDF
What is IEEE and why?
PPTX
Linux operating systems and Bootable Pendrive
PDF
Design the implementation of Robotic Simulator: Goalkeeper.
PDF
Design the implementation of Forward Dynamic for PUMA560.
PDF
Design the implementation of Anytime D Star on an Occupancy Grid
PDF
Design the implementation of CDEx Robust DC Motor.
PDF
Design the implementation of CDEx PID with Constraints
PDF
Design the implementation of CDEx flexible joints
PDF
Design the implementation of Brushless DC Motor Six Step Control.
PDF
Design the implementation of 1D Kalman Filter Encoder and Accelerometer.
PDF
Design the implementation of NMEA Get GPS Data from Record
PDF
design the implementation of trajectory path of the robot using parallel loop
PDF
Design the implementation of trajectory path of the robot using parallel loop...
DOCX
Sleep paralysis
EssentialsOfMachineLearning.pdf
surveyofdnnlearning.pdf
Basic_Digital_Circuits_Implementation_using_Virtuoso.pdf
Relation of Big Data and E-Commerce
Study of various Data Compression Techniques used in Lossless Compression of ...
PIC Introduction and explained in detailed
What is IEEE and why?
Linux operating systems and Bootable Pendrive
Design the implementation of Robotic Simulator: Goalkeeper.
Design the implementation of Forward Dynamic for PUMA560.
Design the implementation of Anytime D Star on an Occupancy Grid
Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx PID with Constraints
Design the implementation of CDEx flexible joints
Design the implementation of Brushless DC Motor Six Step Control.
Design the implementation of 1D Kalman Filter Encoder and Accelerometer.
Design the implementation of NMEA Get GPS Data from Record
design the implementation of trajectory path of the robot using parallel loop
Design the implementation of trajectory path of the robot using parallel loop...
Sleep paralysis

Recently uploaded (20)

PPTX
Welding lecture in detail for understanding
PPT
Project quality management in manufacturing
PPTX
Construction Project Organization Group 2.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Geodesy 1.pptx...............................................
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPT
Mechanical Engineering MATERIALS Selection
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Digital Logic Computer Design lecture notes
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Welding lecture in detail for understanding
Project quality management in manufacturing
Construction Project Organization Group 2.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Geodesy 1.pptx...............................................
UNIT 4 Total Quality Management .pptx
Lecture Notes Electrical Wiring System Components
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Mechanical Engineering MATERIALS Selection
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Automation-in-Manufacturing-Chapter-Introduction.pdf
CH1 Production IntroductoryConcepts.pptx
Digital Logic Computer Design lecture notes
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026

To control the dc motor speed using PWM from LabVIEW

  • 1. EXPERIMENT – 5 OBJECTIVE: To control the dc motor speed using PWM from LabVIEW. APPARATUS USED: Arduino board, DC motor, LABVIEW setup. THEORY: Introduction to LABVIEW: LabVIEW is an integrated development environment designed specifically for engineers and scientists. Native to LabVIEW is a graphical programming language (G) that uses a dataflow model instead of sequential lines of text code, empowering you to write functional code using a visual layout that resembles your thought process. This means you spend less time worrying about semicolons and syntax and more time solving the problems that matter. DC Motor: A DC motor is any of a class of rotary electrical machines that converts direct current electrical power into mechanical power. The most common types rely on the forces produced by magnetic fields. Nearly all types of DC motors have some internal mechanism, either electromechanical or electronic, to periodically change the direction of current flow in part of the motor. Interfacing DC motor with Arduino:
  • 2.  Connect 5V and ground of the IC to 5V and ground of Arduino.  Connect the motor to pins 2 and 3 of the IC.  Connect IN1 of the IC to pin 8 of Arduino.  Connect IN2 of the IC to pin 9 of Arduino.  Connect EN1 of IC to pin 2 of Arduino.  Connect SENS A pin of IC to the ground.  Connect the Arduino using Arduino USB cable and upload the program to the Arduino using Arduino IDE software.  Provide power to the Arduino board using power supply, battery or USB cable. Interface Arduino through LabVIEW: Checks if LabVIEW sent a new value. If there is a new value, it converts it into integer byte with the same value. This integer byte represents the delay interval used in sequence. That, the greater
  • 3. the delay the lower the speed and vice versa. Else, Arduino continue running the motor at current speed. This prevents the processor from overloading the serial port and pushes it to avoid Arduino Serial port hanging. RESULT: Study the operation of DC motor with LabVIEW and controlling of speed.