COSC 3215 Embedded Systems Laboratory

Size: px
Start display at page:

Download "COSC 3215 Embedded Systems Laboratory"

Transcription

1 Introduction COSC 3215 Embedded Systems Laboratory Lab 5 Temperature Controller Your task will be to design a temperature controller using the Dragon12 board that will maintain the temperature of an object at 12+/-1 C. This will be accomplished by varying the current through a Peltier Cooler using the pulse width modulated outputs of the HCS12 chip. The temperature of the device is monitored using Analog Devices AD592AN Precision IC Temperature transducer. The AD592AN is connected to an operational amplifier located on the breadboard area of the DRAGON12. Specification Outline of program function: The temperature controller will have a default temperature setting of 12 C. The temperature will be monitored continuously using the Analog Converter, with the temperature displayed on the 7-Segment display in C, ex. 20 C will be displayed as Note the decimal point will appear as a superscript on the 7- Segment display. Control of the temperature is by means of a PWM signal, where the temperature will increase with decreasing duty cycle. The complete program will be developed in parts over two lab sessions. Note these are 1- week lab sessions. You will only be graded at the end of the second session for this lab. Pre Lab Even in simple programs such as this it is advisable to partition well and to test your modules independently. You should have test programs written to test your code for the important functions as well as the overall program. The software can be readily decomposed into functional components: temperature measurement and display, cooler set-point adjustment and the temperature controller. Testing the code in parts will make the project more manageable. You should plan on completing steps 1-4 during week one so that the entire lab can be completed by the second week. 1. VR2 on the DRAGON12 is connected to channel 7 of the Analog Converter. Write an interrupt-based program that will read the voltage level on channel 7, convert it to degrees Celsius and display the temperature value on the 7-segment display. You can average several readings using the ATD peripheral and get

2 smoother measurements. (Hint: one possibility is to have a timer that gives an interrupt every 1ms to time the display update. After 100 display updates, you could initiate an ATD conversion that will generate an interrupt upon completion. You could maintain a counter in the timer ISR, initialized to 100, to keep track of the number of display updates and thus know when to do the conversions. The mainline can concentrate on controlling the temperature without having to worry about the details). 2. Write a program that will accept a set-point value in terms of PWM duty cycle (initially from the DIP switch on the Dragon-12 board but eventually from the temperature controller) and generate the corresponding PWM output to the cooler. 3. Write appropriate programs for testing the components in 1 and The final demonstration program for these two functions should integrate the setpoint measurement and the temperature measurement functions. This program should continuously read the set-point from the dip-switches and drive the coolers at the specified duty-cycle. The current temperature at the sensor should be displayed continuously. Based on the characterization of the Peltier cooler performed in the lab (and described below) 5. Write a simple open-loop temperature controller that attempts to set the temperature at the sensor based upon an assumed ambient temperature and a desired temperature specified above. 6. Write a closed-loop controller that adjusts the set-point of the cooler based upon the error between the current temperature and the desired temperature specified above. Hints The HCS12 timer module can provide precision timing. The use of interrupts for the ATD converter and the timer module will greatly reduce the complexity of your program. Use the methods you developed in Labs 3 & 4 to show characters on the seven-segment display. The temperature sensor and the cooler have a long thermal time constant. Remember to allow some time for settling when doing your measurements. The output of U2-6 located on the breadboard is connected to the ATD of the DRAGON12. This output voltage is what your program will read as the temperature.

3 The output of U2-6 has a gain and offset adjustment. These two adjustments can be used to tailor the output voltage to the level your program requires, if necessary. Reference Reading Standard references from previous labs Enhanced Capture Timer user s guide S12ECT16B8V1.pdf ATD Converter user s guide S12ATD10B8CV2.pdf Data Sheets for Analog devices AD592AN Temperature Sensor AD592.pdf Dragon12 schematics Temperature Sensor Interface Schematic Note: Ensure that you are wearing your antistatic wrist strap prior to handling the DRAGON12 board. Failure to do so could result in severe damage to the DRAGON12. Make appropriate notes and answer all questions clearly in your lab book. PRELAB MUST BE COMPLETED BEFORE STARTING THE LAB! Week 1 Procedure 1. Connect the DRAGON12 to the PC and launch the MiniIde program. 2. Download and debug your assembled or compiled programs. Once you feel comfortable that your programs are working move on to the experiments below. 3. Using your temperature measurement program measure the ambient room temperature. Note this measurement. Does it meet your expectations? If not can you explain/correct the problem? 4. Using the program developed for pre-lab part 4 measure the relationship between cooler duty cycle and sensor temperature (both absolute and with respect to ambient).

4 5. At several duty cycles, measure the reported temperature and compare it with the voltage at the output of U1-6 located on the breadboard. Note the temperature in C is calculated as follows: T = (Vo 2.73) * 100 (the voltage at this point is negative). Does it meet expectations? If not can you explain or correct the discrepancy. 6. Measure the temperature/duty-cycle relationship of at least eight different dutycycles. Start with a low duty-cycle at first and repeat the measurements in reverse order. a. What type of relationship was there between duty cycle and temperature? b. Where the measurements repeatable? c. Was there any indication of hysteresis? 7. Demonstrate your working program to the lab demonstrator. Return all equipment and boards before leaving the lab. Evaluation There will be no grade for week 1. The entire lab exercise will be evaluated in week 2. Week 2 procedure 1. Before starting to debug your controller ensure that you have completed the week one work and demonstrated it to the TA. 2. Debug and test your open loop controller. How does the system respond to changes in room temperature? 3. Debug your closed loop system. If you have trouble with stability apply the control changes more slowly. What is the advantage of closed loop control versus open loop. Any disadvantage? 4. Demo the result to the TA. If the closed loop controller does not work or is unstable demo your open loop controller. Evaluation You must demonstrate a working version of your code to the lab demonstrator (note this means you must show convincing evidence that it works) and have acceptable written documentation about your programs performance. Please submit the final version of your code using the 'submit' command. This includes the temperature controller code and the experimental code from week 1.

5 The first goal of the lab is the characterization of the cooler. You should have documented the results of the experiment and answered the questions posed in the procedure in your lab book. This will be given significant weighting in the evaluation. You should also be able to answer questions about the program, the use of the test equipment and your test and debugging techniques. Successful demonstration of the temperature controllers is the second goal of the lab. At a minimum you should demonstrate the open loop controller. Perfect implementation of the closed loop controller is difficult and will be considered a significant bonus. However, you should have at least a full and reasonable implementation developed that you have partially debugged.

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System Introduction CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System The purpose of this lab is to introduce you to digital control systems. The most basic function of a control system is to

More information

ME 461 Laboratory #3 Analog-to-Digital Conversion

ME 461 Laboratory #3 Analog-to-Digital Conversion ME 461 Laboratory #3 Analog-to-Digital Conversion Goals: 1. Learn how to configure and use the MSP430 s 10-bit SAR ADC. 2. Measure the output voltage of your home-made DAC and compare it to the expected

More information

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

ME 461 Laboratory #5 Characterization and Control of PMDC Motors ME 461 Laboratory #5 Characterization and Control of PMDC Motors Goals: 1. Build an op-amp circuit and use it to scale and shift an analog voltage. 2. Calibrate a tachometer and use it to determine motor

More information

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE 9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION

More information

EE 308 Lab Spring 2009

EE 308 Lab Spring 2009 9S12 Subsystems: Pulse Width Modulation, A/D Converter, and Synchronous Serial Interface In this sequence of three labs you will learn to use three of the MC9S12's hardware subsystems. WEEK 1 Pulse Width

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

EE 233 Circuit Theory Lab 3: First-Order Filters

EE 233 Circuit Theory Lab 3: First-Order Filters EE 233 Circuit Theory Lab 3: First-Order Filters Table of Contents 1 Introduction... 1 2 Precautions... 1 3 Prelab Exercises... 2 3.1 Inverting Amplifier... 3 3.2 Non-Inverting Amplifier... 4 3.3 Integrating

More information

Lab 6: Instrumentation Amplifier

Lab 6: Instrumentation Amplifier Lab 6: Instrumentation Amplifier INTRODUCTION: A fundamental building block for electrical measurements of biological signals is an instrumentation amplifier. In this lab, you will explore the operation

More information

Lab 5 Timer Module PWM ReadMeFirst

Lab 5 Timer Module PWM ReadMeFirst Lab 5 Timer Module PWM ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) Interrupt Vector Table 3) Pin out Summary 4) DriverLib API 5) SineTable Overview In this lab, we are going to use the output hardware

More information

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Exercise 1: PWM Modulator University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Lab 3: Power-System Components and

More information

Lab 5. Binary Counter

Lab 5. Binary Counter Lab. Binary Counter Overview of this Session In this laboratory, you will learn: Continue to use the scope to characterize frequencies How to count in binary How to use an MC counter Introduction The TA

More information

Lab 6. Binary Counter

Lab 6. Binary Counter Lab 6. Binary Counter Overview of this Session In this laboratory, you will learn: Continue to use the scope to characterize frequencies How to count in binary How to use an MC14161 or CD40161BE counter

More information

Lab Exercise 9: Stepper and Servo Motors

Lab Exercise 9: Stepper and Servo Motors ME 3200 Mechatronics Laboratory Lab Exercise 9: Stepper and Servo Motors Introduction In this laboratory exercise, you will explore some of the properties of stepper and servomotors. These actuators are

More information

Temperature Sensing Function

Temperature Sensing Function Chapter 9 Temperature Sensing Function 1. Scope 9-2 2. Function 9-2 3. Characteristics of the Temperature Sensor 9-2 4. Temperature Sensing Function when Using ADI-ADuM4138 9-3 5. Temperature Sensing Correction

More information

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

More information

OPERATIONAL AMPLIFIERS (OP-AMPS) II

OPERATIONAL AMPLIFIERS (OP-AMPS) II OPERATIONAL AMPLIFIERS (OP-AMPS) II LAB 5 INTRO: INTRODUCTION TO INVERTING AMPLIFIERS AND OTHER OP-AMP CIRCUITS GOALS In this lab, you will characterize the gain and frequency dependence of inverting op-amp

More information

Lecture 2 Exercise 1a. Lecture 2 Exercise 1b

Lecture 2 Exercise 1a. Lecture 2 Exercise 1b Lecture 2 Exercise 1a 1 Design a converter that converts a speed of 60 miles per hour to kilometers per hour. Make the following format changes to your blocks: All text should be displayed in bold. Constant

More information

University of Pittsburgh

University of Pittsburgh University of Pittsburgh Experiment #7 Lab Report Analog-Digital Applications Submission Date: 08/01/2018 Instructors: Dr. Ahmed Dallal Shangqian Gao Submitted By: Nick Haver & Alex Williams Station #2

More information

Exercise 5: PWM and Control Theory

Exercise 5: PWM and Control Theory Exercise 5: PWM and Control Theory Overview In the previous sessions, we have seen how to use the input capture functionality of a microcontroller to capture external events. This functionality can also

More information

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

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

More information

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage)

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Explore More! Points awarded: Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Name: Net ID: Laboratory Outline A voltage comparator considers two voltage waveforms,

More information

ME 4447 / ME 6405 MICROPROCESSOR CONTROL OF MANUFACTURING SYSTEMS / INTRODUCTION TO MECHATRONICS

ME 4447 / ME 6405 MICROPROCESSOR CONTROL OF MANUFACTURING SYSTEMS / INTRODUCTION TO MECHATRONICS ME 4447 / ME 6405 MICROPROCESSOR CONTROL OF MANUFACTURING SYSTEMS / INTRODUCTION TO MECHATRONICS Instructor: Professor I. Charles Ume Phone: 404-894-7411 Office: MARC Building, Room 453 Office Hours: Wednesday

More information

Laboratory Design Project: PWM DC Motor Speed Control

Laboratory Design Project: PWM DC Motor Speed Control EE-331 Devices and Circuits I Summer 2013 Due dates: Laboratory Design Project: PWM DC Motor Speed Control Instructor: Tai-Chang Chen 1. Operation of the circuit should be verified by your lab TA by Friday,

More information

EE 233 Circuit Theory Lab 2: Amplifiers

EE 233 Circuit Theory Lab 2: Amplifiers EE 233 Circuit Theory Lab 2: Amplifiers Table of Contents 1 Introduction... 1 2 Precautions... 1 3 Prelab Exercises... 2 3.1 LM348N Op-amp Parameters... 2 3.2 Voltage Follower Circuit Analysis... 2 3.2.1

More information

Lab 23 Microcomputer-Based Motor Controller

Lab 23 Microcomputer-Based Motor Controller Lab 23 Microcomputer-Based Motor Controller Page 23.1 Lab 23 Microcomputer-Based Motor Controller This laboratory assignment accompanies the book, Embedded Microcomputer Systems: Real Time Interfacing,

More information

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Laboratory 14 Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Required Components: 1x PIC 16F88 18P-DIP microcontroller 3x 0.1 F capacitors 1x 12-button numeric

More information

Lab #6: Op Amps, Part 1

Lab #6: Op Amps, Part 1 Fall 2013 EELE 250 Circuits, Devices, and Motors Lab #6: Op Amps, Part 1 Scope: Study basic Op-Amp circuits: voltage follower/buffer and the inverting configuration. Home preparation: Review Hambley chapter

More information

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory

University of California at Berkeley Donald A. Glaser Physics 111A Instrumentation Laboratory Published on Instrumentation LAB (http://instrumentationlab.berkeley.edu) Home > Lab Assignments > Digital Labs > Digital Circuits II Digital Circuits II Submitted by Nate.Physics on Tue, 07/08/2014-13:57

More information

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name MPSD A/D Lab Exercise Analog-to-Digital Converter Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name Notes: You must work on this assignment with your partner. Hand in a

More information

Programming and Interfacing

Programming and Interfacing AtmelAVR Microcontroller Primer: Programming and Interfacing Second Edition f^r**t>*-**n*c contents Preface xv AtmelAVRArchitecture Overview 1 1.1 ATmegal64 Architecture Overview 1 1.1.1 Reduced Instruction

More information

EE 233 Circuit Theory Lab 4: Second-Order Filters

EE 233 Circuit Theory Lab 4: Second-Order Filters EE 233 Circuit Theory Lab 4: Second-Order Filters Table of Contents 1 Introduction... 1 2 Precautions... 1 3 Prelab Exercises... 2 3.1 Generic Equalizer Filter... 2 3.2 Equalizer Filter for Audio Mixer...

More information

ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair. Overview

ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair. Overview ME 333 Assignment 7 and 8 PI Control of LED/Phototransistor Pair Overview For this assignment, you will be controlling the light emitted from and received by an LED/phototransistor pair. There are many

More information

PSoC Academy: How to Create a PSoC BLE Android App Lesson 9: BLE Robot Schematic 1

PSoC Academy: How to Create a PSoC BLE Android App Lesson 9: BLE Robot Schematic 1 1 All right, now we re ready to walk through the schematic. I ll show you the quadrature encoders that drive the H-Bridge, the PWMs, et cetera all the parts on the schematic. Then I ll show you the configuration

More information

INTERFACING WITH INTERRUPTS AND SYNCHRONIZATION TECHNIQUES

INTERFACING WITH INTERRUPTS AND SYNCHRONIZATION TECHNIQUES Faculty of Engineering INTERFACING WITH INTERRUPTS AND SYNCHRONIZATION TECHNIQUES Lab 1 Prepared by Kevin Premrl & Pavel Shering ID # 20517153 20523043 3a Mechatronics Engineering June 8, 2016 1 Phase

More information

EMBEDDED SYSTEM DESIGN FOR A DIGITAL MULTIMETER USING MOTOROLA HCS12 MICROCONTROLLER

EMBEDDED SYSTEM DESIGN FOR A DIGITAL MULTIMETER USING MOTOROLA HCS12 MICROCONTROLLER EMBEDDED SYSTEM DESIGN FOR A DIGITAL MULTIMETER USING MOTOROLA HCS12 MICROCONTROLLER A Thesis Submitted in partial Fulfillment Of the Requirements of the Degree of Bachelor of Technology In Electronics

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

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 7: IR SENSORS AND DISTANCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section will introduce

More information

Designing with a Microcontroller (v6)

Designing with a Microcontroller (v6) Designing with a Microcontroller (v6) Safety: In this lab, voltages are less than 15 volts and this is not normally dangerous to humans. However, you should assemble or modify a circuit when power is disconnected

More information

Experiment 9 : Pulse Width Modulation

Experiment 9 : Pulse Width Modulation Name/NetID: Experiment 9 : Pulse Width Modulation Laboratory Outline In experiment 5 we learned how to control the speed of a DC motor using a variable resistor. This week, we will learn an alternative

More information

Project Final Report: Directional Remote Control

Project Final Report: Directional Remote Control Project Final Report: by Luca Zappaterra xxxx@gwu.edu CS 297 Embedded Systems The George Washington University April 25, 2010 Project Abstract In the project, a prototype of TV remote control which reacts

More information

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its main features and the application benefits of leveraging

More information

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 7. RC Oscillator. Guide. The Waveform Generator Lab Guide

Electric Circuit Fall 2016 Pingqiang Zhou LABORATORY 7. RC Oscillator. Guide. The Waveform Generator Lab Guide LABORATORY 7 RC Oscillator Guide 1. Objective The Waveform Generator Lab Guide In this lab you will first learn to analyze negative resistance converter, and then on the basis of it, you will learn to

More information

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen

More information

Intro to Engineering II for ECE: Lab 3 Controlling Servo Motors Erin Webster and Dr. Jay Weitzen, c 2012 All rights reserved

Intro to Engineering II for ECE: Lab 3 Controlling Servo Motors Erin Webster and Dr. Jay Weitzen, c 2012 All rights reserved Lab 3: Controlling Servo Motors Laboratory Objectives: 1) To program the basic stamp to control the motion of a servo 2) To observe the control waveforms as the motion of the servo changes 3) To learn

More information

SRV02-Series Rotary Experiment # 3. Ball & Beam. Student Handout

SRV02-Series Rotary Experiment # 3. Ball & Beam. Student Handout SRV02-Series Rotary Experiment # 3 Ball & Beam Student Handout SRV02-Series Rotary Experiment # 3 Ball & Beam Student Handout 1. Objectives The objective in this experiment is to design a controller for

More information

ECE 220 Laboratory 3 Thevenin Equivalent Circuits, Constant Current Source, and Inverting Amplifier

ECE 220 Laboratory 3 Thevenin Equivalent Circuits, Constant Current Source, and Inverting Amplifier ECE 220 Laboratory 3 Thevenin Equivalent Circuits, Constant Current Source, and Inverting Amplifier Michael W. Marcellin The first portion of this document describes preparatory work to be completed in

More information

An External Command Reading White line Follower Robot

An External Command Reading White line Follower Robot EE-712 Embedded System Design: Course Project Report An External Command Reading White line Follower Robot 09405009 Mayank Mishra (mayank@cse.iitb.ac.in) 09307903 Badri Narayan Patro (badripatro@ee.iitb.ac.in)

More information

EE-3306 HC6811 Lab #5. Oscilloscope Lab

EE-3306 HC6811 Lab #5. Oscilloscope Lab EE-3306 HC6811 Lab #5 Oscilloscope Lab Objectives: The purpose of this lab is to become familiar with the 68HC11 on chip Analog-to-Digital converter. In this lab, DC input voltages in 0V to +5V range are

More information

Motor Control Demonstration Lab

Motor Control Demonstration Lab Motor Control Demonstration Lab JIM SIBIGTROTH and EDUARDO MONTAÑEZ Freescale Semiconductor launched by Motorola, 8/16 Bit MCU Division, Austin, TX 78735, USA. Email: j.sibigtroth@freescale.com eduardo.montanez@freescale.com

More information

GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following

GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following Goals for this Lab Assignment: 1. Learn about the sensors available on the robot for environment sensing. 2. Learn about classical wall-following

More information

MICROPROCESSOR TECHNICS II

MICROPROCESSOR TECHNICS II AGH University of Science and Technology Faculty of Computer Science, Electronics and Telecommunication Department of Electronics MICROPROCESSOR TECHNICS II Tutorial 5 Combining ADC & PWM Mariusz Sokołowski

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

UNIVERSAL PNEUMATIC TRANSDUCER FEATURES

UNIVERSAL PNEUMATIC TRANSDUCER FEATURES UNIVERSAL PNEUMATIC TRANSDUCER FEATURES Non-bleed device (no air consumption in steady state) 3-15 PSI adjustable. Internal accurate closed loop control Optional pressure feedback signal Jumper selectable

More information

Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments

Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments Name: Date of lab: Section number: M E 345. Lab 1 Precalculations Individual Portion Introductory Lab: Basic Operation of Common Laboratory Instruments Precalculations Score (for instructor or TA use only):

More information

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Recommended Due Date: By your lab time the week of February 12 th Possible Points: If checked off before

More information

Lab #5: Operational Amplifier Application: Electronic Security System Design: Part 2 of 2. Theory & Introduction

Lab #5: Operational Amplifier Application: Electronic Security System Design: Part 2 of 2. Theory & Introduction ab #5: Operational Amplifier Application: Electronic Security System Design: Part of Theory & Introduction aser Diode Photodetector CurrenttoVoltage Converter Signal Ampifier Signal Comparator atch ED

More information

SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS

SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS 8 TO 35 V OPERATION 5.1 V REFERENCE TRIMMED TO ± 1 % 100 Hz TO 500 KHz OSCILLATOR RANGE SEPARATE OSCILLATOR SYNC TERMINAL ADJUSTABLE DEADTIME CONTROL INTERNAL

More information

OVEN INDUSTRIES, INC. Model 5C7-362

OVEN INDUSTRIES, INC. Model 5C7-362 OVEN INDUSTRIES, INC. OPERATING MANUAL Model 5C7-362 THERMOELECTRIC MODULE TEMPERATURE CONTROLLER TABLE OF CONTENTS Features... 1 Description... 2 Block Diagram... 3 RS232 Communications Connections...

More information

Automated Industrial Wind Tunnel Network Control with LabVIEW. Matt Draear

Automated Industrial Wind Tunnel Network Control with LabVIEW. Matt Draear Automated Industrial Wind Tunnel Network Control with LabVIEW Matt Draear Advisor: Dr. Malinowski 1 Presentation Outline Overview of Old Hardware Overview of New Hardware Details of New Hardware FPGA LabVIEW

More information

Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen

Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen Project Proposal Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen Advisor Dr. Gary Dempsey Bradley University Department of Electrical Engineering December

More information

LM4: The timer unit of the MC9S12DP256B/C

LM4: The timer unit of the MC9S12DP256B/C Objectives - To explore the Enhanced Capture Timer unit (ECT) of the MC9S12DP256B/C - To program a real-time clock signal with a fixed period and display it using the onboard LEDs (flashing light) - To

More information

EECS 270: Lab 7. Real-World Interfacing with an Ultrasonic Sensor and a Servo

EECS 270: Lab 7. Real-World Interfacing with an Ultrasonic Sensor and a Servo EECS 270: Lab 7 Real-World Interfacing with an Ultrasonic Sensor and a Servo 1. Overview The purpose of this lab is to learn how to design, develop, and implement a sequential digital circuit whose purpose

More information

Driving LEDs with a PIC Microcontroller Application Note

Driving LEDs with a PIC Microcontroller Application Note Driving LEDs with a PIC Microcontroller Application Note Introduction Nowadays, applications increasingly make use of LEDs as a replacement for traditional light bulbs. For example, LEDs are frequently

More information

Laboratory: Introduction to Mechatronics. Lab 5. DC Motor Speed Control Using PWM

Laboratory: Introduction to Mechatronics. Lab 5. DC Motor Speed Control Using PWM Laboratory: Introduction to Mechatronics Instructor TA: Edgar Martinez Soberanes (eem370@mail.usask.ca) 2017-03-15 Lab 5. DC Motor Speed Control Using PWM Lab Sessions Lab 1. Introduction to the equipment

More information

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering EE320L Electronics I Laboratory Laboratory Exercise #2 Basic Op-Amp Circuits By Angsuman Roy Department of Electrical and Computer Engineering University of Nevada, Las Vegas Objective: The purpose of

More information

Data Conversion and Lab (17.368) Fall Lecture Outline

Data Conversion and Lab (17.368) Fall Lecture Outline Data Conversion and Lab (17.368) Fall 2013 Lecture Outline Class # 03 September 19, 2013 Dohn Bowden 1 Today s Lecture Outline Administrative Detailed Technical Discussions Lab Sample and Hold Finish Lab

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 6: INTRODUCTION TO BREADBOARDS DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section introduces

More information

CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I)

CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I) CENG4480 Embedded System Development and Applications The Chinese University of Hong Kong Laboratory 1: Op Amp (I) Student ID: 2018 Fall 1 Introduction This lab session introduces some very basic concepts

More information

BM6312 FEATURES GENERAL DESCRIPTION APPLICATIONS. High-performance current mode PWM Controller. Product Specification

BM6312 FEATURES GENERAL DESCRIPTION APPLICATIONS. High-performance current mode PWM Controller. Product Specification GENERAL DESCRIPTION BM6312 is a high-performance current mode PWM control IC designed for AC/DC convertor, which built-in high-voltage power switch tube and supplies continuous output power of 12W within

More information

Operational Amplifiers

Operational Amplifiers 1. Introduction Operational Amplifiers The student will be introduced to the application and analysis of operational amplifiers in this laboratory experiment. The student will apply circuit analysis techniques

More information

Experiment #3: Experimenting with Resistor Circuits

Experiment #3: Experimenting with Resistor Circuits Name/NetID: Experiment #3: Experimenting with Resistor Circuits Laboratory Outline During the semester, the lecture will provide some of the mathematical underpinnings of circuit theory. The laboratory

More information

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #10 Electronics Design Laboratory 1 Lessons from Experiment 4 Code debugging: use print statements and serial monitor window Circuit debugging: Re check operation

More information

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals

More information

EE Laboratory 4 - First Order Circuits *** Due in recitation on the week of June 2-6, 2008 ***

EE Laboratory 4 - First Order Circuits *** Due in recitation on the week of June 2-6, 2008 *** Page 1 EE 15 - - First Order Circuits *** Due in recitation on the week of June -6, 008 *** Authors R.D. Christie Objectives At the end of this lab, you will be able to: Confirm the steady state model

More information

PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL.

PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL. ELECTROMECHANICAL SYSTEMS PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL. OUTLINE OF MODULE 17: What you will learn about in this

More information

Hashemite University Faculty of Engineering Mechatronics Engineering Department. Microprocessors and Microcontrollers Laboratory

Hashemite University Faculty of Engineering Mechatronics Engineering Department. Microprocessors and Microcontrollers Laboratory Hashemite University Faculty of Engineering Mechatronics Engineering Department Microprocessors and Microcontrollers Laboratory The Hashemite University Faculty of Engineering Department of Mechatronics

More information

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits

Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits Lab 1: Non-Ideal Operational Amplifier and Op-Amp Circuits 1. Learning Outcomes In this lab, the students evaluate characteristics of the non-ideal operational amplifiers. Students use a simulation tool

More information

EE 210 Lab Exercise #5: OP-AMPS I

EE 210 Lab Exercise #5: OP-AMPS I EE 210 Lab Exercise #5: OP-AMPS I ITEMS REQUIRED EE210 crate, DMM, EE210 parts kit, T-connector, 50Ω terminator, Breadboard Lab report due at the ASSIGNMENT beginning of the next lab period Data and results

More information

Lab Exercise 6: Digital/Analog conversion

Lab Exercise 6: Digital/Analog conversion Lab Exercise 6: Digital/Analog conversion Introduction In this lab exercise, you will study circuits for analog-to-digital and digital-to-analog conversion Preparation Before arriving at the lab, you should

More information

TL594 PULSE-WIDTH-MODULATION CONTROL CIRCUITS

TL594 PULSE-WIDTH-MODULATION CONTROL CIRCUITS Complete PWM Power Control Circuitry Uncommitted Outputs for 200-mA Sink or Source Current Output Control Selects Single-Ended or Push-Pull Operation Internal Circuitry Prohibits Double Pulse at Either

More information

DUAL ULTRA MICROPOWER RAIL-TO-RAIL CMOS OPERATIONAL AMPLIFIER

DUAL ULTRA MICROPOWER RAIL-TO-RAIL CMOS OPERATIONAL AMPLIFIER ADVANCED LINEAR DEVICES, INC. ALD276A/ALD276B ALD276 DUAL ULTRA MICROPOWER RAILTORAIL CMOS OPERATIONAL AMPLIFIER GENERAL DESCRIPTION The ALD276 is a dual monolithic CMOS micropower high slewrate operational

More information

Measuring Distance Using Sound

Measuring Distance Using Sound Measuring Distance Using Sound Distance can be measured in various ways: directly, using a ruler or measuring tape, or indirectly, using radio or sound waves. The indirect method measures another variable

More information

EE 448 Fall Lab Experiment No. 3 04/04/2008. Transformer Experiment

EE 448 Fall Lab Experiment No. 3 04/04/2008. Transformer Experiment EE 8 Laboratory Experiment 3 EE 8 Fall 2008 Lab Experiment No. 3 0/0/2008 1 I. INTRODUCTION OBJECTIVES: EE 8 Laboratory Experiment 3 1. To learn how real world transformers operate under ideal conditions.

More information

University of Texas at El Paso Electrical and Computer Engineering Department

University of Texas at El Paso Electrical and Computer Engineering Department University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 05 Pulse Width Modulation Goals: Bonus: Pre Lab Questions: Use Port

More information

Precision Flash Lamp Current Measurement Thermal Sensitivity and Analytic Compensation Techniques

Precision Flash Lamp Current Measurement Thermal Sensitivity and Analytic Compensation Techniques Precision Flash Lamp Current Measurement Thermal Sensitivity and Analytic Compensation Techniques 2006 Summer Research Program By Ben Matthews Advisors: Greg Brent, David Lonobile Abstract: For multiple-beam

More information

Lab 6 Prelab Grading Sheet

Lab 6 Prelab Grading Sheet Lab 6 Prelab Grading Sheet NAME: Read through the Background section of this lab and print the prelab and in-lab grading sheets. Then complete the steps below and fill in the Prelab 6 Grading Sheet. You

More information

Control System for Lamp Luminosity. Ian Johnson, Tyler McCracken, Scott Freund EE 554 November 29, 2010

Control System for Lamp Luminosity. Ian Johnson, Tyler McCracken, Scott Freund EE 554 November 29, 2010 Control System for Lamp Luminosity Ian Johnson, Tyler McCracken, Scott Freund EE 554 November 29, 2010 Table of Contents Abstract...ii Introduction...1 Procedure...1 Results/Discussion...3 Conclusion...4

More information

Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206

Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206 Laboration: Frequency measurements and PWM DC motor. Embedded Electronics IE1206 Attention! To access the laboratory experiment you must have: booked a lab time in the reservation system (Daisy). completed

More information

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

LABORATORY 5 v3 OPERATIONAL AMPLIFIER University of California Berkeley Department of Electrical Engineering and Computer Sciences EECS 100, Professor Bernhard Boser LABORATORY 5 v3 OPERATIONAL AMPLIFIER Integrated operational amplifiers opamps

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

UNISONIC TECHNOLOGIES CO., LTD

UNISONIC TECHNOLOGIES CO., LTD U UNISONIC TECHNOLOGIES CO., LTD REGULATING PWM IC DESCRIPTION The UTC U is a pulse width modulator IC and designed for switching power supplies application to improve performance and reduce external parts

More information

Resistive Circuits. Lab 2: Resistive Circuits ELECTRICAL ENGINEERING 42/43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

Resistive Circuits. Lab 2: Resistive Circuits ELECTRICAL ENGINEERING 42/43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS NAME: NAME: SID: SID: STATION NUMBER: LAB SECTION: Resistive Circuits Pre-Lab: /46 Lab: /54 Total: /100 Lab 2: Resistive Circuits ELECTRICAL ENGINEERING 42/43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

More information

TL494 PULSE-WIDTH-MODULATION CONTROL CIRCUITS

TL494 PULSE-WIDTH-MODULATION CONTROL CIRCUITS Complete PWM Power-Control Circuitry Uncommitted Outputs for 200-mA Sink or Source Current Output Control Selects Single-Ended or Push-Pull Operation Internal Circuitry Prohibits Double Pulse at Either

More information

STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley

STATION NUMBER: LAB SECTION: RC Oscillators. LAB 5: RC Oscillators ELECTRICAL ENGINEERING 43/100. University Of California, Berkeley YOUR NAME: YOUR SID: Lab 5: RC Oscillators EE43/100 Spring 2013 Kris Pister YOUR PARTNER S NAME: YOUR PARTNER S SID: STATION NUMBER: LAB SECTION: Pre- Lab GSI Sign- Off: Pre- Lab Score: /40 In- Lab Score:

More information

UNIVERSAL INPUT RESISTANCE OUTPUT

UNIVERSAL INPUT RESISTANCE OUTPUT UNIVERSAL INPUT RESISTANCE OUTPUT FEATURES Jumper selectable analog input DIP switch selectable pulse input type DIP switch selectable time bases 256 step output resolution Field changeable resistance

More information

Regulating Pulse Width Modulators

Regulating Pulse Width Modulators Regulating Pulse Width Modulators UC1525A/27A FEATURES 8 to 35V Operation 5.1V Reference Trimmed to ±1% 100Hz to 500kHz Oscillator Range Separate Oscillator Sync Terminal Adjustable Deadtime Control Internal

More information

PWM LED Color Control

PWM LED Color Control 1 PWM LED Color Control Through the use temperature sensors, accelerometers, and switches to finely control colors. Daniyah Alaswad, Joshua Creech, Gurashish Grewal, & Yang Lu Electrical and Computer Engineering

More information

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps University of Portland EE 271 Electrical Circuits Laboratory Experiment: Op Amps I. Objective The objective of this experiment is to learn how to use an op amp circuit to prevent loading and to amplify

More information

ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University

ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University ECEN 449: Microprocessor System Design Department of Electrical and Computer Engineering Texas A&M University Prof. Sunil P Khatri (Lab exercise created and tested by Ramu Endluri, He Zhou, Andrew Douglass

More information

Lab 2.2 Custom slave programmable interface

Lab 2.2 Custom slave programmable interface Lab 2.2 Custom slave programmable interface Introduction In the previous labs, you used a system integration tool (Qsys) to create a full FPGA-based system comprised of a processor, on-chip memory, a JTAG

More information