Experiment 10 Fall 2012

Similar documents
Experiment 2 Fall 2012

Experiment 6 Fall 2012

Lab-3: LCDs Serial Communication Analog Inputs Temperature Measurement System

EK307 Lab: Microcontrollers

SYSTEM DESIGN SPECIFICATIONS ZIGBEE BASIC SYSTEM

Lab 5: LCD and A/D: Digital Voltmeter

Lab 5: LCD and A/D: Digital Voltmeter

ENGG1015: Lab 7. In Search of Light

EECS 100/43 Lab 9 PIC Input-Output (I/O)

PROGRAMMING AND CUSTOMIZING

Introduction 1. Liquid crystal display (16 characters by 2 rows) Contrast dial: turn the dial to adjust the contrast of the display (see page 5)

Design of Digital Voltmeter for Microcontrollers

EDUCATION EXPERIENCES WITH A USB INTERFACE

IME-100 ECE. Lab 4. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Objectives: - You need to be able to use the two equations above and the series and parallel circuit rules.

Operational Amplifiers: Temperature-Controlled Fan

Robotic Systems ECE 401RB Fall 2006

AC : DESIGN OF DATA ACQUISITION SYSTEM FOR COMPUTER ENGINEERING EDUCATION

ECE 367 -Experiment #1 Fall 2012

Lab 2: Introduction to LabVIEW 8.5

REQUIRED MATERIALS Epiphany-DAQ board Wire Jumpers Switch LED Resistors Breadboard Multimeter (if needed)

Lab 5: EBI and ADC: Digital Voltmeter

7-4-2 CP1W-MAD11/CPM1A-MAD11 Analog I/O Units

TOPICS. Other Number Systems. Other Number Systems 9/9/2017. Octal Hexadecimal Number conversion

Layad Circuits Arduino Basic Kit B. Content Summary

ME 224: EXPERIMENTAL ENGINEERING. Lecture 2

HDS Series I2C Application Notes

TEMPERATURE SENSOR. Revision Class. Instructor / Professor LICENSE

LDR_Light_Switch1 -- Overview

Crystal Technology, Inc.

Unit 2: Data Storage CS 101, Fall 2018

PIC18F452 Oven Calibrator Using the MAX6674/MAX6675 Thermocouple-to-Digital Converter. Group: SMOKE Duston Cline Adam McCorkle

ECE 20B, Winter Purpose of Course. Introduction to Electrical Engineering, II. Administration

Using LabVIEW in Instrumentation and Control Course

Photoresistor, Transistor, and LED s

NATIONAL CERTIFICATE (VOCATIONAL) ELECTRONIC CONTROL AND DIGITAL ELECTRONICS NQF LEVEL 2 NOVEMBER 2009

Design of An Embedded System For Monitoring and Controlling Temperature and Light

Physical Computing Self-Quiz

Laboratory of Sensors Engineering Sciences 9 CFU

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017

Using LabVIEW to Send Commands via RS232 to Ontrack Control Systems ADR Interfaces

LabVIEW Experiment 1 Light Sensor Calibration Using Arduino Data Acquisition (Arduino DAQ)

ELECTRONIC SYSTEMS. Politecnico di Torino - ICT school. Goup B - goals. System block diagram Sensors and actuators Analog and digital signals

BE/EE189 Design and Construction of Biodevices Lecture 5. BE/EE189 Design and Construction of Biodevices - Caltech

Number Systems. TA: Mamun. References: Lecture notes of Introduction to Information Technologies (ITEC 1011) by Dr Scott MacKenzie

Mercury Baseboard Reference Manual

USB-Based 14-Channel Data-Acquisition Module

Computer Hardware Requirements for Real-Time Applications

Analog Input. Sure sure, but how to make a varying voltage? With a potentiometer. Or just pot.

DEMO9S08LG32 Up to 5V MCU with integrated LCD display driver

Data Acquisition Laboratory

Labview Lab 2. Vern Lindberg. April 16, 2012

Physical Computing Self-Quiz

KING FAHD UNIVERSITY OF PETROLEUM & MINERALS ELECTRICAL ENGINEERING DEPARTMENT

Using a Temperature Sensor

LAB 1 Binary Numbers/ Introduction to C. Rajesh Rajamani. ME 4231 Department of Mechanical Engineering University Of Minnesota

Implementation of Temperature Sensor on PICM4520 Microcontroller

ECE L A B 1 Introduction ASSEMBLY PROGRAMMING WITH MINIIDE

Manual. Meter for BlueSolar DUO 12/24V-20A For RVs, Caravans and boats

ENGG1015: Project Circuits

Chapter 1. Digital Systems and Binary Numbers

Lecture 1: Introduction to Microprocessors

Basic Express, BasicX, BX-01, BX-24 and BX-35 are trademarks of NetMedia, Inc.

MECHATRONIC LAB ROOM NO: 4201, MECHANICAL DEPARTMENT INTERCOM: 418. INCHARGE: Mr. M. MOHANDASS, Associate Professor, Mechanical

Lecture (01) Digital Systems and Binary Numbers By: Dr. Ahmed ElShafee

LDR_Light_Switch5 -- Overview

ADC SCALER METHOD V REF R TOP V ADC R BOT

CAN EGT-8 Amplifier. About:

Digital Pins and Constants

E2 Modbus RTU Register Map Revision History Version Comments Author Date 1.02 Previous version PAE 11/06/ Revised to new format PAE 09/03/09

General information. Engineering with. Supply voltage. Load voltage L+ Input current. Power losses. Memory. Work memory.

Chapter 3: Number Systems and Codes. Textbook: Petruzella, Frank D., Programmable Logic Controllers. McGraw Hill Companies Inc.

PT100 Temperature Module for UniOP

CS 150 Lab 3 Arithmetic and the Debugger. Lab 3.0 We are going to begin using the Visual Studio 2017 debugger to aid with debugging programs.

Lecture (03) Binary Codes Registers and Logic Gates

Application Note 69 LCD Contrast Control Using Dallas Semiconductor Digital Potentiometers

Lecture (01) Introduction Number Systems and Conversion (1)

Quantity required (R) Quantity available (A) Deficiency (R - A) Sl. No. Description of Equipment. 1. BC 107, BC 148,2N2646,BFW10 (each) 25

PIN ASSIGNMENT PIN DESCRIPTION

Vladimir Tsarkov Electrical Engineering

Jukebox Hero. Group #41. James Brewster Ross Bulkley Zach Glueckert Kevin Wills

Octal & Hexadecimal Number Systems. Digital Electronics

Temperature Sensor. Overview. Features

DS2756EVKIT+ High Accuracy Battery Fuel Gauge With Programmable Suspend Mode Evaluation Kit

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

HAND-HELD THERMOCOUPLE THERMOMETER SERVICE MANUAL. CATALOG NUMBERS , and , and PROPRIETARY

Manual iaq-engine Indoor Air Quality sensor

Nokeval. No Manual. Models 575F, 1000F, 1100F, Scalable counter for pulse sensors

Lecture 2: Number Systems

Earthshine Design Arduino Starters Kit Manual - A Complete Beginners Guide to the Arduino. Project 13. Serial Temperature Sensor

ELECTRONIC INSTRUMENTATION AND SYSTEMS LABORATORY

SPDM Level 2 Smart Electronics Unit, Level 2

Number Systems. Dr. Tarek A. Tutunji Philadelphia University, Jordan

Light Sensors. Measuring Light. The Phototransistor. Discharge Times. Measuring Light. Chapter 7: Measuring Light

Spooky Projects. Class 2. Introduction to Microcontrollers with Arduino. 14 Oct machineproject - Tod E. Kurt

BalloonSat Sensor Array

Power LED Driver. By Dushan Grujich, on February 14 th. 2014

Project 24 LCD Temperature Display

BSC & BIT Numbering Systems. ITU Lecture 3b

NUMERIC SYSTEMS USED IN NETWORKING

Transcription:

10/30/12 Experiment 10 Fall 2012 Experiment 10 Fall 2012 Electronic Multi-Meter - A Voltage, Temperature, and Light Meter Due: Week 11 Lab Sessions (11/06/2012) For the voltage, light and temperature gauges described below use keys from the keypad to select i) temperature measurement (with choice of degrees Celsius or degrees Fahrenheit), ii) light measurement, iii) voltage measurement, and iv) A/D output. I. Design and Implement a digital voltmeter (with 0.2 volt accuracy.) Use the ADC0804 A/D converter in freerunning mode for 8-bit data conversion. See example setup from lecture notes. Test and verify the accuracy of your voltmeter. II. Design and implement an electronic temperature gauge using a NanoCore12 built-in 8-bit analog to digital converter and a NTC semiconductor thermistor. Make a voltage divider using the thermistor and a resistor (10K recommended) in series with the system power supply Vcc. The output of the divider will be the input to the A/D converter. Determine a method for converting the voltage from the divider into accurate temperature values and display the temperature on the LCD display. The system should allow the user to choose to display temperature in degrees Celsius or degrees Fahrenheit. Your system should be accurate over a reasonable range of temperatures. Test and verify the accuracy of your temperature gauge. Comment on the accuracy of your gauge. How would you improve on the accuracy of the gauge? How could you increase the range of your gauge? III. Design and implement an electronic Light gauge using a built-in 10-bit analog to digital converter of the NanoCore12 microcontroller and a photo cell in series with an appropriate resister. Photo cell. The output for the light meter should give five light ranges. Using your own eyes as a gauge, determine and display the five ranges of light as Dark, Medium Low, Medium, Medium High, and Bright Light. Note that the photo cell is very non-linear so dividing the range 0 to 1023 into five equal size ranges will not work to accommodate the five ranges above. Use your eyes and good judgment to determine the range breakpoints. Give your device a product name. At power up or reset the display should i) identify the device by the product name, ii) give instructions on how to choose the measured quantity, iii) if measuring temperature have a choice for temperature in degrees Celsius or degrees Fahrenheit. After power up or reset the user should be able to change between measurement type without having to do a RESET. www.uic.edu/classes/ece/ece367/experiments/current.exp.html 1/2

10/30/12 Experiment 10 Fall 2012 For any measurement type the user should have a key to select making a change in the display from the normal measured units to a display of the n-bit output from the A/D converter in HEX, Binary, and Decimal. Example: if the voltmeter displays 2.5 volts then the display should change to: A/D value is: HEX = $80H, Binary = 10000000, Decimal = 128 Your report should include all of the standard sections in addition to the above inclusions. Last modified: Tue Oct 30 19:17:56 2012 www.uic.edu/classes/ece/ece367/experiments/current.exp.html 2/2

ECE 367: Experiment 9 Electronic Multi-Meter - A Voltage, Temperature, and Light Meter Semester: Fall 2012 Name: Kai Zhao Signature: UIN: 670720413 Due Date: 2012 November 6 Lab Section: T11 TA: Chenjie Tang

User Manual: This device is an electronic voltage meter, a thermometer, and a light meter. The user should first supply power to the circuit and then press the reset button to clear the display. On startup, the device is a voltage meter. The voltage meter can detect the voltage difference between its inputs. The thermometer displays the temperature in Celsius or Fahrenheit. The light sensor detects five different brightness values from dark to intense. All readings will be placed in the LCD display along with its binary equivalent, decimal equivalent, hexadecimal equivalent, and voltage equivalent. 'A' sets the device to volt meter mode 'B' sets the device to Celsius thermometer mode 'C' sets the device to Fahrenheit thermometer mode 'D' sets the device to light sensor mode Questions: Comment on the accuracy of your gauge. My gauge does range from 0 to 5 volts exactly so it is pretty precise. How would you improve on the accuracy of the gauge? I could improve on the accuracy of the gauge by using more bits to do the conversion. The 9S12 allows 10 bit input modes. Another method to improve on the accuracy is to average multiple samples. How could you increase the range of your gauge? I could increase the range of my gauge by multiplying by difference values. For example, with 8 bits and 5V, each unit represents about 0.02V. For a larger range, use a larger voltage per a bit. Give your device a product name. Analog to Digital Ulti-meter

Conclusion: Yes, my circuit meets the specifications and function properly. I had trouble testing the volt meter, but it just turns out that I just messed up the potentiometer wiring. I also had trouble understanding why the given methods to take data work because we never mentioned portm2.. I had trouble with displaying the binary digits, decimal digits, and hexadecimal digits because I originally programmed it to use accumulator A and B to compute each digits. However, when attempting to display the binary digits from the light sensor (which uses 10 binary digits), the previous implementation did not work well so I had to restart writing to code to write to the LCD display using the IDIV op-code. Furthermore, I often messed the conversion by missing a few instructions or leaving in/out extra bits while doing the IDIV. I would do this project differently by combining each output as one, like I normally intended to. However, the extra 2 bits from the light sensor raised a need for a new method. The extra feature I have implemented is that instead of having to select the display format, the LCD display shows all of them together. This means that the user can look at the binary, decimal, hexadecimal, and voltage all at once. manipulation. I learned about A/D conversion, photocell, thermistor, division, and 2-byte number