User Interface Engineering FS 2013

Size: px
Start display at page:

Download "User Interface Engineering FS 2013"

Transcription

1 User Interface Engineering FS 2013 Input Fundamentals

2 Last Week Brief Overview of HCI as a discipline History of the UI Product perspective Research perspective Overview of own research as motivation Evaluation Design Prototype

3 Today

4 Buttons & Switches Buttons are everywhere Especially on interactive devices

5

6

7

8 Bop It What s in it?

9 Bop It What s in it?

10 Electronics 101- The Basics - Just Enough to Scrape By Current, Voltage, Resistance Illustrations mostly from: Paul Scherz, Practical Electronics for Inventors Recommended Reading:

11 Current e e e e e e The amount of charge crossing an area per unit of time

12 Current e e e e e e I = ΔQ Δt = dq dt

13 Current Electric currents are carried by electrons Each electron carries a (negative) charge e = 1.6 x C Current is measured in Ampere (A) 1A = 1 C s e

14 e Direction of Flow Conventional current flow (I) e e e e e e e e - Battery + e YouTube: Oil Drop Experiment

15 Voltage Opposing charge distributions at a distance create electrical force between them Unit of positive charge will pushed by the positive and pulled by the negative distribution V When the charge unit moves it will change in potential energy Voltage is the amount of energy needed to move a unit charge from one place to another Potential energy Unit of charge 1V = 1 J C

16

17 Voltage Reference Points 6V 3V V 0V + + Ground or 0V Reference - - 0V -3V

18 Resistance Reduction in current flow due to resistance in conductor All conductive materials have some resistance Measured in Ohm (Ω) Potential difference of 1 Volt will force a current of 1 Ampere through a resistance of 1 Ohm 1Ω = 1 V A

19 Resistance - Water Analogy

20 Resistor Symbol R

21 Ohm s Law Current through a conductor between two points is directly proportional to the potential difference across the two points I = V R V = IR R = V I Ohm's law states that the R in this relation is constant, independent of the current

22 Power The work performed by an electrical current as it runs through a circuit Measured in Watts P = V I 1W = 1VA

23 Basic Circuits

24 Series Circuits

25 Parallel Circuit

26 What s in a Switch?

27 Switches + - Interrupter Switch

28 Switches + - Two way diverter switch

29 Types of Switches Number of Poles Throws Duration of contact Long-term (Switch) Momentary (Button) Default Behavior for Push Buttons Normally Open (NO) Normally Closed (NC)

30 Single Pole Single Throw (SPST)

31 Single Pole Dual Throw (SPDT)

32 Dual Pole Single Throw (DPST)

33 Single Pole (n) Throws (SP(n)T)

34 Magnetic Reed Switch

35 Mercury Tilt-Over Switch

36 An interactive system Conceptual Overview Mechanical elements Enclosure Circuits Microcontroller Host-PC Sensors Actuators ADC DAC

37 Microcontroller Atmel ATmega328 Used in Arduino and other electronics frameworks

38 Arduino Pin Mapping

39 Arduino Board

40

41 Connecting to a digital pin Switch closes/breaks circuit Problem? Input is floating Undefined behavior on digital read Value might stay or it might alternate quickly (50Hz hum) Input 5V SPST Solution: Connect to ground value via resistor Pull-Down Resistor 10K

42 Pull-Up Resistor Pull-Up resistor is equivalent Pulls voltage up to high logic state 5V 10K Input SPST

43 Interactivity 5V SPST 1K Output 12 Input 13 LED 10K D

44 /* * Switch and LED test program */ int ledpin = 12; // LED is connected to pin 12 int switchpin = 13; // switch is connected to pin 13 int val; // variable for reading the pin status void setup() { } pinmode(ledpin, OUTPUT); pinmode(switchpin, INPUT); // Set the LED pin as output // Set the switch pin as input void loop(){ val = digitalread(switchpin); // read input value and store it in val If (val == LOW) { } digitalwrite(ledpin, HIGH); // check if the button is pressed // turn LED on } if (val == HIGH) { digitalwrite(ledpin, LOW); } // check if the button is not pressed // turn LED off

45 Switch Debouncing Switches and Buttons are mechanical mechanisms Not truly binary! Many switches don t change instantaneously from on to off they bounce between states Especially momentary buttons, spring loaded buttons and tilt switches where a mass moves to make or break contact

46 Switch bounce

47 Naïve Debounce Read Input once => Wait for bounce duration => Read again Only if readings agree change state Issue? Introduces unnecessary latency Bounce duration needs to be evaluated empirically

48 Counter based Debounce unsigned char counter; //Variable used to count unsigned char T_valid; //Variable used as the minimum duration of a valid pulse void main(){ P1 = 255; // Initialize port 1 as input port T_valid = 100; //Arbitrary number from 0 to 255 where the pulse if validated while(1){ //infinite loop if (counter < 255){ //prevent the counter to roll back to 0 counter++; } if (P1_0 == 1){ counter = 0; //reset the counter back to 0 } if (counter > T_valid){ //... // Code to be executed when a valid pulse is detected. //... } } } //... //Rest of you program goes here. //

49 Analog solutions Introduce capacitor into circuit Capacitor resists the voltage change on the out pin Response speed and hence harshness of filter can be tuned exactly

50 15 Minute Break

51 Designing with Switches

52

53

54 Key cap construction Conductive Layer Spacer Non Conductive Key Switch Membrane Conductive Layer

55 Key cap construction Conductive Layer Spacer Non Conductive Key Switch Membrane Conductive Layer

56 Keyboard Switch Matrix IBM compatible keyboard has 104(+) keys Issue? To expensive to read each key individually Depending on controller IO pins Needed for many different tasks Solution: Connect buttons in matrix fashion Keyboard: 16x8 matrix requires 24 pins

57

58 Microcontroller Key Matrix Rows & Columns connected to microcontroller Controller drives circuitry and generates key events (key codes) Each row and column pin Can be used as in- or output pin Output pins are driven (low / high) Input pins are read (low / high) A C B D

59 Single Key Drive rows, read columns Drive columns, read rows A B C D E F G H I J K L M N O P

60 Multiple Keys Drive columns sequentially Read rows simultaneously A B C D E F G H I J K L M N O P

61 Multiple Keys - Ghosting and Masking Certain constellations may lead to erroneous key press/release events A B C D C is detected pressed or not Release of B can t be detected

62 Eliminating Ghosting and Masking Diodes restrict flow direction of current D

63

64

65 Things that act like switches Many other devices (can) produce binary events just like buttons Proximity detector Touch sensor Light barrier

66

67

68 Photo Diode IR Emitter

69 Forward / Backward rotation is ambiguous!

70 Quadrature Encoding Clockwise Rotation Phase A B C-Clockwise Rotation Phase A B

71 Example: Rotary Encoder

72 Continuous Input

73 Voltage divider Convert variable resistance to measurable signal Resistance-varying and fixed resistor in series, measure voltage between them V Out = V supply R 2 R 1 + R 2 No discrete event Polling required ADC necessary

74 Example: Potentiometer Resistive element Strip or arc Sliding contact (Wiper) Electrical terminals at each end of resistive element Electrical terminal at the wiper R

75 Further examples Force Sensing Resistor

76

77 Further examples: Flex sensor Resistance straight: 10kΩ Resistance bent: 40kΩ

78

79

80 Force sensing Switches Instead of measuring force directly measure velocity Delay between closing of two switches Time between break and make of SPDT switch Or two staggered switches

81

82 Optical Mice Optoelectronic sensor essentially a super fast low-res camera Typically 18x18 pixel Sometimes >3000Hz (gaming mice) LED at grazing angle Onboard microprocessor computes 2D coordinates

83 Optical Flow Mouse sensor operates under very constraint circumstances Translation only Fixed illumination Simple flow methods are sufficient

84 Optical Flow Optical Flow estimates motion of Camera Objects Between two successive frames In the case of the mouse the problem is slightly easier: Moves in 2D On a flat surface Controlled Illumination Can be computed efficiently in hardware

85 Onboard Optical Flow Cross-Correlation Computes similarity between signals (offset in some dimension(s)) CC-based Optical Flow computation Shift frame t 0 relative to frame t 1 n times in all directions Highest correlation score signifies motion direction

86 Optical Flow in Hardware Implemented on ASIC Integrates imaging sensor and processor Compute optical flow via correlation Store previous frame (Row- and column-wise) sums of XORs of single pixels Integrate decisions to track movement Massive parallel implementation Very fast in hardware

87 Laser Optical Mice Uses infrared laser diode rather than LED for illumination. Exploit laser speckle Pattern produced by mutual interference of several wavefronts of the same wavelength but different phase and amplitudes Observable when coherent lightsource (i.e. laser) is shown onto a surface (each point on the surface acts as secondary lightsource) Increases observable structure in the environment Allows for much higher sensing fidelity and faster update rate Works on more surfaces (even glass)

88 Summary Overview of input devices built from simple buttons and switches Discrete (Game controller buttons, Keyboards) Analog(-ish) (Mouse-Wheel, Data Glove) Electronics basics Current, Voltage, Resistance, Power, Circuits Working principle of several fundamental input devices Mouse Keyboard

89 Application Cards You have been given three cards Write down three real-world application ideas using some of the technologies you learned about today A (traditional) input device that you are sure will work A non-traditional input device that re-purposes sensor technologies in a creative way (e.g., Bop-It, PhotoHelix) An out-there input device you don t even need to be sure whether it will work or not creativity counts most. You have 10 Minutes time Drop off your cards when you are done We will discuss a select number of your designs next week

90 Reading suggestions Scherz, Paul (2006). Practical Electronics for Inventors. McGraw-Hill Tucker, Allen B. (2004). Computer Science Handbook (Fundamental Input and Output Devices). Chapman and Hall. 2 nd Ed. Lyon, Richard F. (1981). The Optical Mouse and an Architectural Methodology for Smart Digital Sensors. Xerox PARC TechReport Borchers, Jan (2013). Arduino in a Nutshell

CMSC838. Tangible Interactive Assistant Professor Computer Science

CMSC838. Tangible Interactive Assistant Professor Computer Science CMSC838 Tangible Interactive Computing Week 04 Lecture 05 Feb 17, 2014 Electronic Components Sensing and Sensors Human Computer Interaction Laboratory @jonfroehlich Assistant Professor Computer Science

More information

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Roberts Page 1 See Appendix A, for Licensing Attribution information

More information

Shock Sensor Module This module is digital shock sensor. It will output a high level signal when it detects a shock event.

Shock Sensor Module This module is digital shock sensor. It will output a high level signal when it detects a shock event. Item Picture Description KY001: Temperature This module measures the temperature and reports it through the 1-wire bus digitally to the Arduino. DS18B20 (https://s3.amazonaws.com/linksprite/arduino_kits/advanced_sensors_kit/ds18b20.pdf)

More information

Embedded Control. Week 1 (6/29/11)

Embedded Control. Week 1 (6/29/11) Embedded Control Week 1 (6/29/11) Week 1 15:00 Lecture Circuit theory, terminology Overview of elementary circuit components Reading circuit diagrams 16:00 Lab NXT GPIO with HiTechnic sensor expansion

More information

Intelligent Systems Design in a Non Engineering Curriculum. Embedded Systems Without Major Hardware Engineering

Intelligent Systems Design in a Non Engineering Curriculum. Embedded Systems Without Major Hardware Engineering Intelligent Systems Design in a Non Engineering Curriculum Embedded Systems Without Major Hardware Engineering Emily A. Brand Dept. of Computer Science Loyola University Chicago eabrand@gmail.com William

More information

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1 HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for

More information

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino) Workshops Elisava 2011 Introduction to programming and electronics (Scratch & Arduino) What is programming? Make an algorithm to do something in a specific language programming. Algorithm: a procedure

More information

EE 109 Midterm Review

EE 109 Midterm Review EE 109 Midterm Review 1 2 Number Systems Computer use base 2 (binary) 0 and 1 Humans use base 10 (decimal) 0 to 9 Humans using computers: Base 16 (hexadecimal) 0 to 15 (0 to 9,A,B,C,D,E,F) Base 8 (octal)

More information

Sensors and Sensing Motors, Encoders and Motor Control

Sensors and Sensing Motors, Encoders and Motor Control Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 13.11.2014

More information

Electronic Systems - B1 23/04/ /04/ SisElnB DDC. Chapter 2

Electronic Systems - B1 23/04/ /04/ SisElnB DDC. Chapter 2 Politecnico di Torino - ICT school Goup B - goals ELECTRONIC SYSTEMS B INFORMATION PROCESSING B.1 Systems, sensors, and actuators» System block diagram» Analog and digital signals» Examples of sensors»

More information

ELECTRONIC SYSTEMS. Introduction. B1 - Sensors and actuators. Introduction

ELECTRONIC SYSTEMS. Introduction. B1 - Sensors and actuators. Introduction Politecnico di Torino - ICT school Goup B - goals ELECTRONIC SYSTEMS B INFORMATION PROCESSING B.1 Systems, sensors, and actuators» System block diagram» Analog and digital signals» Examples of sensors»

More information

Microcontrollers and Interfacing

Microcontrollers and Interfacing Microcontrollers and Interfacing Week 07 digital input, debouncing, interrupts and concurrency College of Information Science and Engineering Ritsumeikan University 1 this week digital input push-button

More information

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY Objectives Preparation Tools To see the inner workings of a commercial mechatronic system and to construct a simple manual motor speed controller and current

More information

Electronics Merit Badge Kit Theory of Operation

Electronics Merit Badge Kit Theory of Operation Electronics Merit Badge Kit Theory of Operation This is an explanation of how the merit badge kit functions. There are several topics worthy of discussion. These are: 1. LED operation. 2. Resistor function

More information

Job Sheet 2 Servo Control

Job Sheet 2 Servo Control Job Sheet 2 Servo Control Electrical actuators are replacing hydraulic actuators in many industrial applications. Electric servomotors and linear actuators can perform many of the same physical displacement

More information

Sensors and Sensing Motors, Encoders and Motor Control

Sensors and Sensing Motors, Encoders and Motor Control Sensors and Sensing Motors, Encoders and Motor Control Todor Stoyanov Mobile Robotics and Olfaction Lab Center for Applied Autonomous Sensor Systems Örebro University, Sweden todor.stoyanov@oru.se 05.11.2015

More information

Quantizer step: volts Input Voltage [V]

Quantizer step: volts Input Voltage [V] EE 101 Fall 2008 Date: Lab Section # Lab #8 Name: A/D Converter and ECEbot Power Abstract Partner: Autonomous robots need to have a means to sense the world around them. For example, the bumper switches

More information

Portland State University MICROCONTROLLERS

Portland State University MICROCONTROLLERS PH-315 MICROCONTROLLERS INTERRUPTS and ACCURATE TIMING I Portland State University OBJECTIVE We aim at becoming familiar with the concept of interrupt, and, through a specific example, learn how to implement

More information

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 PIC Functionality General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 General I/O Logic Output light LEDs Trigger solenoids Transfer data Logic Input Monitor

More information

Position and Velocity Sensors

Position and Velocity Sensors Position and Velocity Sensors Introduction: A third type of sensor which is commonly used is a speed or position sensor. Position sensors are required when the location of an object is to be controlled.

More information

Lecture 3: Sensors, signals, ADC and DAC

Lecture 3: Sensors, signals, ADC and DAC Instrumentation and data acquisition Spring 2010 Lecture 3: Sensors, signals, ADC and DAC Zheng-Hua Tan Multimedia Information and Signal Processing Department of Electronic Systems Aalborg University,

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion Why It s Needed Embedded systems often need to measure values of physical parameters These parameters are usually continuous (analog) and not in a digital form which computers

More information

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016 Analog I/O ECE 153B Sensor & Peripheral Interface Design Introduction Anytime we need to monitor or control analog signals with a digital system, we require analogto-digital (ADC) and digital-to-analog

More information

Chapter 7: The motors of the robot

Chapter 7: The motors of the robot Chapter 7: The motors of the robot Learn about different types of motors Learn to control different kinds of motors using open-loop and closedloop control Learn to use motors in robot building 7.1 Introduction

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

Analog Servo Drive. Continuous Current. Features

Analog Servo Drive. Continuous Current. Features Description Power Range The PWM servo drive is designed to drive three phase brushless motors with sine wave current at a high switching frequency. The drive requires two sinusoidal command signals with

More information

Lab 7 - Inductors and LR Circuits

Lab 7 - Inductors and LR Circuits Lab 7 Inductors and LR Circuits L7-1 Name Date Partners Lab 7 - Inductors and LR Circuits The power which electricity of tension possesses of causing an opposite electrical state in its vicinity has been

More information

Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett

Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett Anatomy of a Program Programs written for a microcontroller have a fairly repeatable format. Slight variations exist

More information

AERO2705 Space Engineering 1 Week 7 The University of Sydney

AERO2705 Space Engineering 1 Week 7 The University of Sydney AERO2705 Space Engineering 1 Week 7 The University of Sydney Presenter Mr. Warwick Holmes Executive Director Space Engineering School of Aerospace, Mechanical and Mechatronic Engineering The University

More information

Analog Servo Drive 100A40

Analog Servo Drive 100A40 Description Power Range The 100A40 PWM servo drive is designed to drive brush type DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected

More information

EE 314 Spring 2003 Microprocessor Systems

EE 314 Spring 2003 Microprocessor Systems EE 314 Spring 2003 Microprocessor Systems Laboratory Project #9 Closed Loop Control Overview and Introduction This project will bring together several pieces of software and draw on knowledge gained in

More information

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ υιοπασδφγηϕκλζξχϖβνµθωερτψυιοπασδ φγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκλζ ξχϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµ EE 331 Design Project Final Report θωερτψυιοπασδφγηϕκλζξχϖβνµθωερτψ

More information

ECE 511: MICROPROCESSORS

ECE 511: MICROPROCESSORS ECE 511: MICROPROCESSORS A project report on SNIFFING DOG Under the guidance of Prof. Jens Peter Kaps By, Preethi Santhanam (G00767634) Ranjit Mandavalli (G00819673) Shaswath Raghavan (G00776950) Swathi

More information

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP ( 1

Published by: PIONEER RESEARCH & DEVELOPMENT GROUP (  1 Biomimetic Based Interactive Master Slave Robots T.Anushalalitha 1, Anupa.N 2, Jahnavi.B 3, Keerthana.K 4, Shridevi.S.C 5 Dept. of Telecommunication, BMSCE Bangalore, India. Abstract The system involves

More information

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already!

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already! introduction to Digital Electronics Install the Arduino IDE 1.8.5 on your laptop if you haven t already! Electronics can add interactivity! Any sufficiently advanced technology is indistinguishable from

More information

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Ahmed Okasha, Assistant Lecturer okasha1st@gmail.com Objective Have a

More information

Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville

Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville Using Magnetic Sensors for Absolute Position Detection and Feedback. Kevin Claycomb University of Evansville Using Magnetic Sensors for Absolute Position Detection and Feedback. Abstract Several types

More information

12V Dimmer Kit, version 2

12V Dimmer Kit, version 2 12V Dimmer Kit, version 2 User Manual Description The 12V Dimmer Kit V2 is an especially efficient PWM (pulse-width modulation) controller for 12V loads up to 60 watts. It features a single dial control

More information

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech

Computational Crafting with Arduino. Christopher Michaud Marist School ECEP Programs, Georgia Tech Computational Crafting with Arduino Christopher Michaud Marist School ECEP Programs, Georgia Tech Introduction What do you want to learn and do today? Goals with Arduino / Computational Crafting Purpose

More information

An Arduino-based DCC Accessory Decoder for Model Railroad Turnouts. Eric Thorstenson 11/1/17

An Arduino-based DCC Accessory Decoder for Model Railroad Turnouts. Eric Thorstenson 11/1/17 An Arduino-based DCC Accessory Decoder for Model Railroad Turnouts Eric Thorstenson 11/1/17 Introduction Earlier this year, I decided to develop an Arduino-based DCC accessory decoder for model railroad

More information

Position Sensors. The Potentiometer.

Position Sensors. The Potentiometer. Position Sensors In this tutorial we will look at a variety of devices which are classed as Input Devices and are therefore called "Sensors" and in particular those sensors which are Positional in nature

More information

Experiment 4.B. Position Control. ECEN 2270 Electronics Design Laboratory 1

Experiment 4.B. Position Control. ECEN 2270 Electronics Design Laboratory 1 Experiment 4.B Position Control Electronics Design Laboratory 1 Procedures 4.B.1 4.B.2 4.B.3 4.B.4 Read Encoder with Arduino Position Control by Counting Encoder Pulses Demo Setup Extra Credit Electronics

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

More information

Ch 5 Hardware Components for Automation

Ch 5 Hardware Components for Automation Ch 5 Hardware Components for Automation Sections: 1. Sensors 2. Actuators 3. Analog-to-Digital Conversion 4. Digital-to-Analog Conversion 5. Input/Output Devices for Discrete Data Computer-Process Interface

More information

Section 1. Fundamentals of DDS Technology

Section 1. Fundamentals of DDS Technology Section 1. Fundamentals of DDS Technology Overview Direct digital synthesis (DDS) is a technique for using digital data processing blocks as a means to generate a frequency- and phase-tunable output signal

More information

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Contents Parts Reference... 1 Installing Arduino... 7 Unit 1: LEDs, Resistors, & Buttons... 7 1.1 Blink (Hello

More information

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits

MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits PH-315 MICROCONTROLLERS Stepper motor control with Sequential Logic Circuits Portland State University Summary Four sequential digital waveforms are used to control a stepper motor. The main objective

More information

A circuit for controlling an electric field in an fmri phantom.

A circuit for controlling an electric field in an fmri phantom. A circuit for controlling an electric field in an fmri phantom. Yujie Qiu, Wei Yao, Joseph P. Hornak Magnetic Resonance laboratory Rochester Institute of Technology Rochester, NY 14623-5604 June 2013 This

More information

Lecture 6. Interfacing Digital and Analog Devices to Arduino. Intro to Arduino

Lecture 6. Interfacing Digital and Analog Devices to Arduino. Intro to Arduino Lecture 6 Interfacing Digital and Analog Devices to Arduino. Intro to Arduino PWR IN USB (to Computer) RESET SCL\SDA (I2C Bus) POWER 5V / 3.3V / GND Analog INPUTS Digital I\O PWM(3, 5, 6, 9, 10, 11) Components

More information

Sweep / Function Generator User Guide

Sweep / Function Generator User Guide I. Overview Sweep / Function Generator User Guide The Sweep/Function Generator as developed by L. J. Haskell was designed and built as a multi-functional test device to help radio hobbyists align antique

More information

8-Bit A/D Converter AD673 REV. A FUNCTIONAL BLOCK DIAGRAM

8-Bit A/D Converter AD673 REV. A FUNCTIONAL BLOCK DIAGRAM a FEATURES Complete 8-Bit A/D Converter with Reference, Clock and Comparator 30 s Maximum Conversion Time Full 8- or 16-Bit Microprocessor Bus Interface Unipolar and Bipolar Inputs No Missing Codes Over

More information

Analog Servo Drive. Peak Current 16 A (11.3 A RMS )

Analog Servo Drive. Peak Current 16 A (11.3 A RMS ) Description The PWM servo drive is designed to drive three phase brushless motors with sine wave current at a high switching frequency. The drive requires two sinusoidal command signals with a 120-degree

More information

The Allen-Bradley Servo Interface Module (Cat. No SF1) when used with the Micro Controller (Cat. No UC1) can control single axis

The Allen-Bradley Servo Interface Module (Cat. No SF1) when used with the Micro Controller (Cat. No UC1) can control single axis Table of Contents The Allen-Bradley Servo Interface Module (Cat. No. 1771-SF1) when used with the Micro Controller (Cat. No. 1771-UC1) can control single axis positioning systems such as found in machine

More information

Adjustable Parametric Equalizer Hardware Description

Adjustable Parametric Equalizer Hardware Description Adjustable Parametric Equalizer Hardware Description Adam Grunke April 27, 2004 ETEC 474 Professor Morton Introduction The Adjustable Parametric Equalizer (APE) allows the professional audio engineer to

More information

DC motor control using arduino

DC motor control using arduino DC motor control using arduino 1) Introduction: First we need to differentiate between DC motor and DC generator and where we can use it in this experiment. What is the main different between the DC-motor,

More information

Sensors. Chapter 3. Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 3.1

Sensors. Chapter 3. Storey: Electrical & Electronic Systems Pearson Education Limited 2004 OHT 3.1 Sensors Chapter 3 Introduction Describing Sensor Performance Temperature Sensors Light Sensors Force Sensors Displacement Sensors Motion Sensors Sound Sensors Sensor Interfacing Storey: Electrical & Electronic

More information

WIRING DIAGRAMS FOR SMART MODELS

WIRING DIAGRAMS FOR SMART MODELS SMART SERIES CODING SYSTEM FOR AV ACTUATOR WIRING DIAGRAMS There are 3 elements to the wiring codes used in AVA electric actuators: CONTROL WIRING CODE CONTROL WIRING TYPE 1 3 Wire system, single pole

More information

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin 2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control October 5, 2009 Dr. Harrison H. Chin Formal Labs 1. Microcontrollers Introduction to microcontrollers Arduino microcontroller

More information

Workshop 9: First steps in electronics

Workshop 9: First steps in electronics King s Maths School Robotics Club Workshop 9: First steps in electronics 1 Getting Started Make sure you have everything you need to complete this lab: Arduino for power supply breadboard black, red and

More information

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months

Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months PROGRESS RECORD Study your lessons in the order listed below. Number of Lessons:155 #14B (P) Electronics Technology with Digital and Microprocessor Laboratory Completion Time: 42 months 1 2330A Current

More information

ZBasic. Application Note. AN-213 External Device Interfacing. Introduction. I/O Pin Fundamentals. Connecting an LED

ZBasic. Application Note. AN-213 External Device Interfacing. Introduction. I/O Pin Fundamentals. Connecting an LED ZBasic Application Note AN-213 External Device Interfacing Introduction In most microcontroller projects, you will want to connect external devices to the ZX processor. Examples of such devices include

More information

Bend Sensor Technology Electronic Interface Design Guide

Bend Sensor Technology Electronic Interface Design Guide Technology Electronic Interface Design Guide Copyright 2015 Flexpoint Sensor Systems Page 1 of 15 www.flexpoint.com Contents Page Description.... 3 Voltage Divider... 4 Adjustable Buffers.. 5 LED Display

More information

Bourns Sensors & Controls Model EM14 Brochure

Bourns Sensors & Controls Model EM14 Brochure Bourns Sensors & Controls Model EM14 Brochure Sensors & Controls Bourns Model EM14 Product Description Bourns Model EM14 is a self-contained rotary optical encoder. It produces a 2-bit incremental quadrature

More information

Lab 5: Inverted Pendulum PID Control

Lab 5: Inverted Pendulum PID Control Lab 5: Inverted Pendulum PID Control In this lab we will be learning about PID (Proportional Integral Derivative) control and using it to keep an inverted pendulum system upright. We chose an inverted

More information

EEE312: Electrical measurement & instrumentation

EEE312: Electrical measurement & instrumentation University of Turkish Aeronautical Association Faculty of Engineering EEE department EEE312: Electrical measurement & instrumentation Digital Electronic meters BY Ankara March 2017 1 Introduction The digital

More information

High Current MOSFET Toggle Switch with Debounced Push Button

High Current MOSFET Toggle Switch with Debounced Push Button Set/Reset Flip Flop This is an example of a set/reset flip flop using discrete components. When power is applied, only one of the transistors will conduct causing the other to remain off. The conducting

More information

Tel: Fax:

Tel: Fax: B Tel: 78.39.4700 Fax: 78.46.33 SPECIFICATIONS (T A = +5 C, V+ = +5 V, V = V or 5 V, all voltages measured with respect to digital common, unless otherwise noted) AD57J AD57K AD57S Model Min Typ Max Min

More information

Chapter 6: Sensors and Control

Chapter 6: Sensors and Control Chapter 6: Sensors and Control One of the integral parts of a robot that transforms it from a set of motors to a machine that can react to its surroundings are sensors. Sensors are the link in between

More information

LDOR: Laser Directed Object Retrieving Robot. Final Report

LDOR: Laser Directed Object Retrieving Robot. Final Report University of Florida Department of Electrical and Computer Engineering EEL 5666 Intelligent Machines Design Laboratory LDOR: Laser Directed Object Retrieving Robot Final Report 4/22/08 Mike Arms TA: Mike

More information

SixPac Series of SCR AC Controller and DC Converters

SixPac Series of SCR AC Controller and DC Converters SixPac Series of SCR AC Controller and DC Converters Complete Series of SCR Three-Phase Power Control Units Features Include: Compact, rugged construction Applications include: Windmill Converters Motor

More information

Putting It All Together: Computer Architecture and the Digital Camera

Putting It All Together: Computer Architecture and the Digital Camera 461 Putting It All Together: Computer Architecture and the Digital Camera This book covers many topics in circuit analysis and design, so it is only natural to wonder how they all fit together and how

More information

Analog Servo Drive 30A8

Analog Servo Drive 30A8 Description Power Range The 30A8 PWM servo drive is designed to drive brush type DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected

More information

Development of Control Algorithm for Ring Laser Gyroscope

Development of Control Algorithm for Ring Laser Gyroscope International Journal of Scientific and Research Publications, Volume 2, Issue 10, October 2012 1 Development of Control Algorithm for Ring Laser Gyroscope P. Shakira Begum, N. Neelima Department of Electronics

More information

Analog Servo Drive 20A20

Analog Servo Drive 20A20 Description Power Range NOTE: This product has been replaced by the AxCent family of servo drives. Please visit our website at www.a-m-c.com or contact us for replacement model information and retrofit

More information

Analog Devices: High Efficiency, Low Cost, Sensorless Motor Control.

Analog Devices: High Efficiency, Low Cost, Sensorless Motor Control. Analog Devices: High Efficiency, Low Cost, Sensorless Motor Control. Dr. Tom Flint, Analog Devices, Inc. Abstract In this paper we consider the sensorless control of two types of high efficiency electric

More information

Single Device Combines Pushbutton On/Off Control, Ideal Diode PowerPath and Accurate System Monitoring

Single Device Combines Pushbutton On/Off Control, Ideal Diode PowerPath and Accurate System Monitoring L DESIGN FEATURES Single Device Combines Pushbutton On/Off Control, Ideal Diode PowerPath and Accurate System Monitoring 3V TO 25V Si6993DQ 2.5V V IN V OUT LT1767-2.5 12V C ONT Si6993DQ PFI VM RST PFO

More information

Peak Current. Continuous Current. See Part Numbering Information on last page of datasheet for additional ordering options.

Peak Current. Continuous Current. See Part Numbering Information on last page of datasheet for additional ordering options. Description Power Range The PWM servo drive is designed to drive brushless DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected against

More information

DLVP A OPERATOR S MANUAL

DLVP A OPERATOR S MANUAL DLVP-50-300-3000A OPERATOR S MANUAL DYNALOAD DIVISION 36 NEWBURGH RD. HACKETTSTOWN, NJ 07840 PHONE (908) 850-5088 FAX (908) 908-0679 TABLE OF CONTENTS INTRODUCTION...3 SPECIFICATIONS...5 MODE SELECTOR

More information

AxCent Servo Drive A25A100

AxCent Servo Drive A25A100 Description Power Range The A25A100 PWM servo drive is designed to drive brush type DC motors at a high switching frequency. A single red/green LED indicates operating status. The drive is fully protected

More information

The physics of capacitive touch technology

The physics of capacitive touch technology The physics of capacitive touch technology By Tom Perme Applications Engineer Microchip Technology Inc. Introduction Understanding the physics of capacitive touch technology makes it easier to choose the

More information

Technical Explanation for Displacement Sensors and Measurement Sensors

Technical Explanation for Displacement Sensors and Measurement Sensors Technical Explanation for Sensors and Measurement Sensors CSM_e_LineWidth_TG_E_2_1 Introduction What Is a Sensor? A Sensor is a device that measures the distance between the sensor and an object by detecting

More information

Embedded systems. Exercise session 1. Introduction and project presentation

Embedded systems. Exercise session 1. Introduction and project presentation Embedded systems Exercise session 1 Introduction and project presentation Introduction Contact Mail : michael.fonder@ulg.ac.be Office : 1.82a, Montefiore Website for the exercise sessions and the project

More information

B RoboClaw 2 Channel 30A Motor Controller Data Sheet

B RoboClaw 2 Channel 30A Motor Controller Data Sheet B0098 - RoboClaw 2 Channel 30A Motor Controller (c) 2010 BasicMicro. All Rights Reserved. Feature Overview: 2 Channel at 30Amp, Peak 60Amp Battery Elimination Circuit (BEC) Switching Mode BEC Hobby RC

More information

Momentum and Impulse. Objective. Theory. Investigate the relationship between impulse and momentum.

Momentum and Impulse. Objective. Theory. Investigate the relationship between impulse and momentum. [For International Campus Lab ONLY] Objective Investigate the relationship between impulse and momentum. Theory ----------------------------- Reference -------------------------- Young & Freedman, University

More information

Laser Writer. Final Project Report December 8, 2000 Engineering 155, Micro Processor design. Jerod Meacham Bryce Nichols.

Laser Writer. Final Project Report December 8, 2000 Engineering 155, Micro Processor design. Jerod Meacham Bryce Nichols. Laser Writer Final Project Report December 8, 2000 Engineering 155, Micro Processor design Jerod Meacham Bryce Nichols Abstract: The Laser Writer system uses a single laser beam to project letters onto

More information

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale UNIT III Data Acquisition & Microcontroller System Mr. Manoj Rajale Syllabus Interfacing of Sensors / Actuators to DAQ system, Bit width, Sampling theorem, Sampling Frequency, Aliasing, Sample and hold

More information

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device

More information

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN) 217-3367 Ordering Information Product Number Description 217-3367 Stellaris Brushed DC Motor Control Module with CAN (217-3367)

More information

Range Rover Autonomous Golf Ball Collector

Range Rover Autonomous Golf Ball Collector Department of Electrical Engineering EEL 5666 Intelligent Machines Design Laboratory Director: Dr. Arroyo Range Rover Autonomous Golf Ball Collector Andrew Janecek May 1, 2000 Table of Contents Abstract.........................................................

More information

Chapter 2 Analog-to-Digital Conversion...

Chapter 2 Analog-to-Digital Conversion... Chapter... 5 This chapter examines general considerations for analog-to-digital converter (ADC) measurements. Discussed are the four basic ADC types, providing a general description of each while comparing

More information

CHAPTER 7 HARDWARE IMPLEMENTATION

CHAPTER 7 HARDWARE IMPLEMENTATION 168 CHAPTER 7 HARDWARE IMPLEMENTATION 7.1 OVERVIEW In the previous chapters discussed about the design and simulation of Discrete controller for ZVS Buck, Interleaved Boost, Buck-Boost, Double Frequency

More information

Analog to Digital Conversion

Analog to Digital Conversion Analog to Digital Conversion 02534567998 6 4 2 3 4 5 6 ANALOG to DIGITAL CONVERSION Analog variation (Continuous, smooth variation) Digitized Variation (Discrete set of points) N2 N1 Digitization applied

More information

Mechatronics Project Report

Mechatronics Project Report Mechatronics Project Report Introduction Robotic fish are utilized in the Dynamic Systems Laboratory in order to study and model schooling in fish populations, with the goal of being able to manage aquatic

More information

Chapter 5 Electric Logic Sensors and Actuators

Chapter 5 Electric Logic Sensors and Actuators Chapter 5: Electric logic sensors and actuators -IE337 Chapter 5 Electric Logic Sensors and Actuators 1 5.1 Introduction to Electric Logic Sensors and Actuators Electric sensors and actuators can be classified

More information

Data Sheet. HEDS-9710, HEDS-9711 Small Optical Encoder Modules 360 Ipi Analog Current Output. Features. Description. Block Diagram.

Data Sheet. HEDS-9710, HEDS-9711 Small Optical Encoder Modules 360 Ipi Analog Current Output. Features. Description. Block Diagram. HEDS-9710, HEDS-9711 Small Optical Encoder Modules 360 Ipi Analog Current Output Data Sheet Description The HEDS-971x is a high performance incremental encoder module. When operated in conjunction with

More information

40 Amp Digital Bidirectional PWM Motor Controller with Regenerative Braking BIDIR-340-DR

40 Amp Digital Bidirectional PWM Motor Controller with Regenerative Braking BIDIR-340-DR 40 Amp Digital Bidirectional PWM Motor Controller with Regenerative Braking BIDIR-340-DR The BIDIR-340-DR is a fully solid-state motor controller that allows you to control the speed and direction of a

More information

Application Note # 5438

Application Note # 5438 Application Note # 5438 Electrical Noise in Motion Control Circuits 1. Origins of Electrical Noise Electrical noise appears in an electrical circuit through one of four routes: a. Impedance (Ground Loop)

More information

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino Lecture 4: Basic Electronics Lecture 4 Page: 1 Brief Introduction to Electronics and the Arduino colintan@nus.edu.sg Lecture 4: Basic Electronics Page: 2 Objectives of this Lecture By the end of today

More information

EXERCISE 4: A Simple Hi-Fi

EXERCISE 4: A Simple Hi-Fi EXERCISE 4: A Simple Hi-Fi EXERCISE OBJECTIVE When you have completed this exercise, you will be able to summarize the features of types of sensors that can be used with electronic control systems. You

More information