Presentation is loading. Please wait.

Presentation is loading. Please wait.

A LECTURE ON Arduino Interface With LabVIEW (Used Boards: Arduino UNO & Arduino MEGA 2560) By Satish Kumar Rai Assistant Professor Department of ECE BKBIET,

Similar presentations


Presentation on theme: "A LECTURE ON Arduino Interface With LabVIEW (Used Boards: Arduino UNO & Arduino MEGA 2560) By Satish Kumar Rai Assistant Professor Department of ECE BKBIET,"— Presentation transcript:

1 A LECTURE ON Arduino Interface With LabVIEW (Used Boards: Arduino UNO & Arduino MEGA 2560) By Satish Kumar Rai Assistant Professor Department of ECE BKBIET, Pilani

2 Arduino Interface with LabVIEW Arduino is interfaced with LabVIEW via USB. For the interface, we need following: 1. Arduino Software and Hardware 2. Labview Software 3. VI Package Manager (Install Arduino Package) 4. VISA (Virtual Instrument Software Architecture) Note: After installing these software, write the program (LIFA_Base.ino) available to below specified location to Arduino. C:\Program Files\National Instruments\LabVIEW 2013\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base\LIFA_Base.ino

3 Arduino Interface with LabVIEW Two Tasks have been performed: Task-1: LED ON & OFF with a Button on Front Panel of LV (Used Arduino Board: Arduino UNO) Task-2: Reading Analog DC Voltage & Showing on FP using Meter (Used Arduino Board: Arduino Mega 2560)

4 Task-1: LED ON & OFF with a Button on Front Panel of LV (Used Arduino Board: Arduino UNO)

5 Task-1: LED ON & OFF with a Button on Front Panel of LV LabVIEW

6 Task-1: LED ON & OFF with a Button on Front Panel of LV Initialization

7 Task-1: LED ON & OFF with a Button on Front Panel of LV Closing

8 Task-1: LED ON & OFF with a Button on Front Panel of LV While Loop

9 Task-1: LED ON & OFF with a Button on Front Panel of LV Pin and Pin Mode Declaration

10 Task-1: LED ON & OFF with a Button on Front Panel of LV Digital Write Prog.

11 Task-1: LED ON & OFF with a Button on Front Panel of LV Front Panel OFF

12 Task-1: LED ON & OFF with a Button on Front Panel of LV Front Panel ON

13 Task-1: LED ON & OFF with a Button on Front Panel of LV ON

14 Task-1: LED ON & OFF with a Button on Front Panel of LV OFF

15 Task-2: Reading Analog DC Voltage & Showing on FP using Meter (Used Arduino Board: Arduino Mega 2560) The on-board voltage available to this board is 0V, 3.3V and 5V. These three voltages has been read and displayed.

16 Task-2: Reading Analog DC Voltage & Showing on FP using Meter Analog Read Prog. Analog Pin A 0 is used to receive the input signal. Arduino Board

17 Task-2: Reading Analog DC Voltage & Showing on FP using Meter Front Panel Showing different Voltages:

18 Task-2: Reading Analog DC Voltage & Showing on FP using Meter Pic-1: Showing on board connection of GND pin to A0 Analog input and LabVIEW meter output.

19 Task-2: Reading Analog DC Voltage & Showing on FP using Meter Pic-2: Showing on board connection of 3.3V pin to A0 Analog input and LabVIEW meter output.

20 Task-2: Reading Analog DC Voltage & Showing on FP using Meter Pic-3: Showing on board connection of 5V pin to A0 Analog input and LabVIEW meter output.

21 References: 1. https://en.wikipedia.org/wiki/Computer_port_(hardware) 2. http://www.learning-about-computers.com/tutorials/ports.shtml 3. http://www.firewall.cx/networking-topics/cabling-utp-fibre/121-network-serial-cable.html 4. http://maxembedded.com/2013/09/serial-communication-rs232-basics/ 5.http://www.commfront.com/rs232_protocol_analyzer_monitor/RS232_Analyzer_Monitor_Tester_TU TORIAL.HTM


Download ppt "A LECTURE ON Arduino Interface With LabVIEW (Used Boards: Arduino UNO & Arduino MEGA 2560) By Satish Kumar Rai Assistant Professor Department of ECE BKBIET,"

Similar presentations


Ads by Google