ECE 102 Engineering Computation Chapter 11 LabJack Photo Resistor & Mechanical Switch Interface Dr. Herbert G. Mayer, PSU Status 9/2/2015 For use at CCUT.

Slides:



Advertisements
Similar presentations
LIGHT SENSORS Sensor Technology Metropolia University Kiia Tammi Jonathan Malangoni.
Advertisements

Component Symbols & Information Prof. Dr. Moustafa M. Mohamed Vice Dean, Faculty of Allied Medical Science, Pharos University in Alexandria.
EMS1EP Lecture 6 Digital Inputs
1 ECE 221 Electric Circuit Analysis I Chapter 12 Superposition Herbert G. Mayer, PSU Status 2/26/2015.
1 ECE 221 Electric Circuit Analysis I Chapter 12 Superposition Herbert G. Mayer, PSU Status 11/26/2014 For use at Changchun University of Technology CCUT.
1 ECE 221 Electric Circuit Analysis I Chapter 8 Example 4.3, Problem 4.11 Node-Voltage Method Herbert G. Mayer, PSU Status 1/19/2015.
Switch Debouncing. Switches connected to sources of constant logic 0 and 1 are often used in digital systems to supply “user inputs”. In high speed digital.
Potentiometer Electric circuit Cell or Battery Resistor Switch Bulb Earth/Ground LED.
Previous Lecture 12 Voltage Dividers with Resistive loads.
ECE 265 – LECTURE 13 Interface to switches and LEDs 7/3/ ECE265.
Copier Jam Detector Design Problem
Working with Arduino: Lesson #2: Variable, Photo, and Force Sensitive Resistors EGN1007.
Objective of the Lecture Describe a basic electric circuit, which may be drawn as a circuit schematic or constructed with actual components.
Circuits  Electricity flowing through a substance is called an electric current.  A circuit is a path through which electricity flows from a negative.
Image of Arduino. Arduino discussion Address issues with circuit walk-through – Electricity, Programming, Arduino Concepts Work on BeatTable (next week)
ST08 – Resistive based sensors and interfacing 1 Resistive based sensors and interfacing Lecturer: Smilen Dimitrov Sensors Technology – MED4.
Agenda Introduction to circuits Building a simple circuit
1 ECE 102 Engineering Computation Chapter 20 Source Transformations Dr. Herbert G. Mayer, PSU Status 9/2/2015 For use at CCUT Fall 2015.
Question ONE What is the name of this component?.
1 Chapter 6: Light Sensitive Navigation With Photoresistors Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation.
Electrical Control Components
ECE 194 S’01 Introduction to Engineering II Arizona State University 1 The operational amplifier, cont.  Has a multitude of circuit applications  Linear.
Engineering 1040: Mechanisms & Electric Circuits Winter 2015 Interfacing Light-Emitting Diodes (LEDs) & Push Buttons to Microcontrollers.
Advanced Design Applications UNIT 4: MANUFACTURING
CIRCUITS Chapter Electric Circuit An electrical device connected so that it provides one or more complete paths for the movement of charges.
Learning about Electrical Components
Syllabus Resistor Inductor Capacitor Voltage and Current Sources
Technician License Course Chapter 3 Lesson Plan Module 6 – Part 1 Electrical Components 21 March 2015.
ECE 102 Engineering Computation Chapter 9 LabJack Introduction Dr. Herbert G. Mayer, PSU Status 10/2/2015 For use at CCUT Fall 2015.
Electronic. Analog Vs. Digital Analog –Continuous –Can take on any values in a given range –Very susceptible to noise Digital –Discrete –Can only take.
ECE Lecture 1 1 L15 –I/O Part II Department of Electrical and Computer Engineering The Ohio State University ECE 2560.
DPCL Solid State Device Discrete Control Lecture.
1 ECE 221 Electric Circuit Analysis I Chapter 11 Source Transformations Herbert G. Mayer, PSU Status 11/25/2014 For use at Changchun University of Technology.
Basic Equipment and Schematic Reading. Objectives Learn the basic equipment that will be used in the Lab. Learn some of the basic symbols used on electrical.
Electromagnetism Lecture#11 Part (1) MUHAMMAD MATEEN YAQOOB THE UNIVERSITY OF LAHORE SARGODHA CAMPUS.
Lab 2 page 1 ENT-DIGI-210 Lab 2 Notes ©Paul Godin Updated September 2007.
Basic study of a switch Unit 3.Lesson 3. A switch Purpose A switch is a mechanical device used to connect and disconnect a circuit at will Parts seen.
ECE 102 Engineering Computation Chapter 10 LabJack LED Interface Dr. Herbert G. Mayer, PSU Status 9/2/2015 For use at CCUT Fall 2015.
Voltage Divider Circuits Input transducers Input transducers are devices that convert a change in physical conditions (for example, temperature) into a.
Rowan Hall 238A September 12, 2006 Networks I for M.E. ECE James K. Beard, Ph.D.
Introduction to Electronic Circuits Khansaa Almansor.
ECE 101 Exploring Electrical Engineering Chapter 7 Data Acquisition Herbert G. Mayer, PSU Status 11/30/2015 Derived with permission from PSU Prof. Phillip.
6.2 ELECTRONICS. CAPACITOR An electrical device used to store electrical charge.
Components and their operation. SMART Funded by The National Science Foundation Diode A diode is an semiconductor component that, in general, will pass.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
0 ECE 222 Electric Circuit Analysis II Chapter 11 Op Amp Cascade Herbert G. Mayer, PSU Status 5/10/2016 For use at CCUT Spring 2016.
ME 120: Photoresistors and Arduino Programming Arduino Programming Case Study: Photoresistor Measurements ME 120 Mechanical and Materials Engineering Portland.
Starter: use Pg to complete the table
Switches Electronics 1 CVHS.
ELG4135: Electronics III (Fall 2005)
(EVENING ON TO MORNING OFF)
Ms. Ead Physics S2 Final Review.
SUN SET TO SUN RISE LIGHTING SWITCH (EVENING ON TO MORNING OFF)
Introduction to Electricity
LDRs and Thermistors.
Basic Electronics.
Analog Input through POT
More Resistors Activity 6.2.3a
Transistor & Voltage Divider
Intro to Engineering Electronics
Chapter 2 Push button and Potentiometer
Intro to Engineering Electronics
Potential Dividers Electric Circuits ☞.
Copier Jam Detector Design Problem
Electrical Circuits Properties of an electrical circuit include Voltage Volts V Current Amps A Resistance Ohms Ω.
Electronic systems 7.
Transistors Magic of Electrons © 2011 Project Lead The Way, Inc.
Interrupts.
Buttons.
Presentation transcript:

ECE 102 Engineering Computation Chapter 11 LabJack Photo Resistor & Mechanical Switch Interface Dr. Herbert G. Mayer, PSU Status 9/2/2015 For use at CCUT Fall 2015

Syllabus LabJack HW Overview LabJack Features LabJack HW Control Input & Output Channels Digital Input Output\Analog Input Analog Output Summary

2 Photoresistor A photoresistor, or photocell, is a semiconductor device whose resistance depends (inversely) on the incident light intensity. Symbol: illumination increases  resistance decreases

3 Connect photoresistor to analog FIO channel LabJack AIN Sense VS RpRp V in You need to add the external resistor R. R Read AIN: LabJack AIN Sense VS RpRp V in R ← OR → Read AIN: Issues: AIN range is 0 to V Sensitivity of response depends on R

4 Mechanical Switch A switch is a component that can interrupt or divert electric current in a circuit. Symbol: Mechanical switches have “contact bounce”. Courtesy of Wikimedia Commons SPST SPDT Pushbutton

5 In the lab exercises and project, a mini push button switch (SPST, momentary ON) is used. Switch Input → Left two pins are internally connected together (same node) Switch Output → Right two pins are internally connected together (same node ) Schematic view 1

6 Connect switch to digital FIO channel: SW pushed → V in = 0 V Digital value read is 0. SW released → V in = +3.3 V Digital value read is V Sense 100K Ω LabJack FIO Internal circuit – You do not need to build this. SW Assume switch is normally open. V in Read FIO: If 0 → SW pushed (ON) If 1 → SW released (OFF)

7 Connect switch to analog FIO channel (AIN): SW pushed → V in = 0 V SW released → V in = VS Threshold value = VS / 2 LabJack AIN SW Assume switch is normally open. Sense VS 1K Ω V in You need to add the external pull-up resistor. Read AIN: If V in < VS / 2 → SW pushed (ON) If V in ≥ VS / 2 → SW released (OFF)

8 What if there are not enough FIOs available to support multiple switches? Example: Connect three switches to a single FIO channel on the LabJack. → Configure the FIO for analog input (AIN) and connect the switches to a voltage divider network. AIN LabJack VS R up R1R1 R2R2 SW 0 SW 1 SW 2 V AIN