Slide 1

Slide 1 text

Getting started with Arduino and LabVIEW

Slide 2

Slide 2 text

Ahmed Sobhy Vice Chair IEEE RAS Egypt Chapter Co-founder - Qafeer Makerspace CEO - GDG 6 October & Robosapien Robotics sobhy.me

Slide 3

Slide 3 text

Introduction to

Slide 4

Slide 4 text

LabVIEW = Laboratory + Virtual Instrument Engineering Workbench . Lab VIEW is a graphical programming language that uses icons instead of lines of text to create programs. . LabVIEW program called Virtual Instrument produced by National Instruments in 1988. . LabVIEW is a much loved tool of the scientist and engineer. . Jeff Kodosky is the “Father of LabVIEW”.

Slide 5

Slide 5 text

Virtual Instruments: . Lab VIEW programs are called virtual instruments, or VIs, because their appearance and operation imitate physical instruments, such as oscilloscopes and multimeters etc. . After build the user interface, add code using VIs and structures to control the front panel objects. The block diagram contains this code.

Slide 6

Slide 6 text

Instrumentation Lab Virtual Instrumentation Lab Instrumentation in LabVIEW

Slide 7

Slide 7 text

Industrial Control Panel LabVIEW Control Panel Control System in LabVIEW

Slide 8

Slide 8 text

Virtual System Control System Control System in LabVIEW

Slide 9

Slide 9 text

LabVIEW in Robotics:

Slide 10

Slide 10 text

LabVIEW interfacing to External Peripherals:

Slide 11

Slide 11 text

LabVIEW Software: Overview

Slide 12

Slide 12 text

VI Front Panel:

Slide 13

Slide 13 text

VI Block Diagram:

Slide 14

Slide 14 text

Controls and Functions Palettes:

Slide 15

Slide 15 text

Tools Palette:

Slide 16

Slide 16 text

Status Toolbar:

Slide 17

Slide 17 text

Creating VI:

Slide 18

Slide 18 text

Terminals:

Slide 19

Slide 19 text

Wiring Tips:

Slide 20

Slide 20 text

Basic wires used in block diagrams and corresponding types: .Each wire has different style or color, depending on the data type that flows through the wire:

Slide 21

Slide 21 text

Controls & Indicators:

Slide 22

Slide 22 text

Functions for Signals:

Slide 23

Slide 23 text

Help Options:

Slide 24

Slide 24 text

Basic Examples : • LabVIEW is written on graphical structure. • While in LabVIEW summation is a function and it is represent by following symbol. • In LabVIEW, such mathematical and logical functions are represented graphically.

Slide 25

Slide 25 text

Add and multiply two given numbers and display the results

Slide 26

Slide 26 text

Converting ºC to ºF °F = (1.8 * °C) + 32 Control Indicator

Slide 27

Slide 27 text

Installation ⚫ Get an Arduino board and USB cable ⚫ Download the Arduino environment ⚫ Connect the board ⚫ Install the drivers ⚫ Launch the Arduino application ⚫ Open the blink example ⚫ Select your board ⚫ Select your serial port ⚫ Upload the program “LIFA Interface”

Slide 28

Slide 28 text

Download Arduino drivers

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

Install drivers

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

Checking driver installation

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

Uploading a code to Arduino

Slide 37

Slide 37 text

Installing VIMP for LabView interface

Slide 38

Slide 38 text

Checking for LabView interface for Arduino (LIFA)

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

Uploading the firmware to Arduino

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

Running a simple program