Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,

Slides:



Advertisements
Similar presentations
Interfacing to the Analog World
Advertisements

Intermediate Electronics and Lilypad Where Electronics Meet Textiles Workshop with Lynne Bruning and Troy Robert Nachtigall Sponsored by Spark Fun and.
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
What have we learned so far?  When we apply a voltage, the capacitor will charge up to the applied voltage.  The capacitor charges up exponentially.
PPT 206 Instrumentation, Measurement and Control SEM 2 (2012/2013) Dr. Hayder Kh. Q. Ali 1.
Data Acquisition Risanuri Hidayat.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Presented by- Md. Bashir Uddin Roll: Dept. of BME KUET, Khulna-9203.
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
Copyright 2014 Kenneth M. Chipps Ph.D. Network Management Using Sensors to Monitor Network Equipment Rooms Last Update
ADC. A/D converter (Analog/Digital converter) A device that converts continuously varying analog signals from instruments and sensors that monitor conditions,
Unit 4 Sensors and Actuators
1 Project supervised by: Dr Michael Gandelsman Project performed by: Roman Paleria, Avi Yona 12/5/2003 Multi-channel Data Acquisition System Mid-Term Presentation.
FOLLOWER SENSORS AND ACTUATORS EE 552 INTSTRUCTOR :Dr MOHAN KRISNAN BY MOHAMMED KASHIF IQBAL ANESH BODDAPATTI UNIVERSITY OF DETROIT MERCY.
ESE Lab Computer based Temperature Control Sid Deliwala, ESE Labs.
Dataloggers. Records voltage, current, or circuit closing Environmental variables must be converted to electronic signal.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
Study of Data Acquisition System and Data Loggers
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Dean Brock, Rebecca Bruce and Susan Reiser, CCSC SE 2009 Using Arduino Material taken from Todbot blog Bionic Arduino Todbot blog Bionic ArduinoTodbot.
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
LSU 06/04/2007Expanding the BASIC Stamp1 Expanding the BASIC Stamp: Useful peripherals Programming Unit, Lecture 6.
Diffuse Optical Tomography Optimization and Miniaturization ECE 4902-Spring 2014 Thomas Capuano (EE&BME), Donald McMenemy (EE), David Miller (EE), Dhinakaran.
LAB 1 MATLAB, dSPACE and Simulink
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
Basics of data acquisition systems
Data Acquisition Systems
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Introduction to the Arduino
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
Digitization When data acquisition hardware receives an analog signal it converts it to a voltage. An A/D (analog-to-digital) converter then digitizes.
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi. Objectives 1. Control the rotation of standard servo motor  A standard servo motor is limited in its rotation.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
THEMIS Instrument CDR 1 UCB, April 19-20, 2004 Boom Electronics Board (BEB) Engineering Peer Review Apr. 20, 2004 Hilary Richard.
Suleyman Demirel University CSS340 Microprocessor Systems – Lecture 2 ATMEGA328P ARCHITECTURE ANALOG INPUTS.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lab 1P. 1Winter Quarter Data Acquisition System Fundamentals Lab 1.
Analog to Digital Converter David Wallace English 314.
16722 Mo: data acquisition150+1 data acquisition.
Data Acquisition Device (DAQ) A DAQ is a cool little device that allows you to interface hardware to a computer. Here is what we will do:  Create a square.
C# SERIAL COMMUNICATION TEMPERATURE CONTROL WITH ARDUINO KAAN EREN
A Presentation on Mr. SAJID NAEEM M.SC – Electronics (UOP) PG-DEP (C-DAC)
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
MIDI Controller By: Ronal Inga Jeyner Cespedes. Musical Instrument Digital Interface is a computer language that allows communication with other devices.
Bdps 2 Lecture 2. Circuits and Ohm's Law For resistive circuits.
ICTWays workshop “Creativity and imagination in the classroom: Arduino and its application samples” LLP PT-COMENIUS-CNW
Electronic instrumentation Digitization of Analog Signal in TD
Lecture Notes / PPT UNIT III
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Arduino Week 3 Lab ECE 1020 Prof. Ahmadi. Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage,
MADEIRA Valencia report V. Stankova, C. Lacasta, V. Linhart Ljubljana meeting February 2009.
Lesson 1 PLC BASICS. PLC Definition  Programmable Logic Controllers are industrial computers that control machine and other applications.  PLC have.
EET 2259 Unit 12 Data Acquisition
Intro to USB-6009 DAQ.
Prototyping with Microcontrollers and Sensors
Data Acquisition Systems
‘SONAR’ using Arduino & ultrasonic distance sensor
Roller Coaster Design Project
What is Arduino? By James Tedder.
FeMaidens Programming
EET 2259 Unit 12 Data Acquisition
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi.
Data Acquisition (DAQ)
CTY SAR FCPS Alexander Velikanov
Presentation transcript:

Arduino Week 3 Lab ECE 1020 Prof. Ahmadi

Objective Data acquisition (DAQ) is the process of measuring an electrical or physical phenomenon such as voltage, current, temperature, pressure, or sound with a computer. A DAQ system consists of sensors, DAQ measurement hardware, and a computer with programmable software 1.

What Is a DAQ Device? DAQ hardware acts as the interface between a computer and signals from the outside world. It primarily functions as a device that digitizes incoming analog signals so that a computer can interpret them. The three key components of a DAQ device used for measuring a signal are the signal conditioning circuitry, analog-to-digital converter (ADC), and computer bus. Many DAQ devices include other functions for automating measurement systems and processes. For example, digital-to-analog converters (DACs) output analog signals, digital I/O lines input and output digital signals, and counter/timers count and generate digital pulses.

Schematic of a DAQ System

In Today Lab: 1.We are going to connect the light sensor to Arduino UNO board to capture data 1.Transfer the captured data to a computer 1.Analyze and plot the data on computer using MATLAB

DAQ components must be able to communicate For each and every two systems to communicate, they must speak the same language (protocols). For example in today’s lab experiment, o Arduino board must communicate with MATLAB on the computer through a known setup protocol o We upload a program on Arduino (adioes),which tells the Arduino board to listen for communication coming from MATLAB under defined terms and conditions o MATLAB is programed with a code (arduino), which know how to communicate with adioes on the Arduino board o Once the connection is established data can be transferred from Arduino to MATLAB, analyzed, and visualized.

1.Light Sensor Connect the light sensor to the Arduino UNO board as depicted in the

How to read a light sensor [How to connect it?] The sensor is connected in series with a resistor Both of which are between the +5V terminal of the Arduino and the Ground terminal They form a Voltage Ladder The data we want comes from the voltage at the point of connection between the sensor and resistor [This is what will change in response to light]

Layout

2. Program the Arduino Program the Arduino with the adioes.pde in the …/pde directory. Make sure you have chosen the right COM port and Arduino board (Arduino UNO). If programmed successfully, close the Arduino IDE software.

3. MATLAB Open MATLAB Select the …/Arduino_Lab_3 as your working directory Open the arduino_lab_3.m code file Replace the ‘COM3’ with the port your Arduino is connected to on line 11 of the code Replace 4 on line 14, val(i,1)=OBJ.analogRead(4) with the input port your light sensor in connected to Run the Script!

Sample Output Plot

Other Input Signals You can use any other input signal with amplitude in the range 6~20 Volts ( 7~12 Recommended) like, o Light Sensor o Sonar Sensor o Signals generated using a Fucntion Generator o Etc.

Reference What Is Data Acquisition? - National Instruments