Chris Wallau ECE5330 November 17, 2008 Remote Thermometer and Display.

Slides:



Advertisements
Similar presentations
1 ECE 372 – Microcontroller Design Parallel IO Ports - Outputs Parallel IO Ports E.g. Port T, Port AD Used to interface with many devices Switches LEDs.
Advertisements

Seven Segment Display. What's A 7-Segment Display? A 7-segment display is a package with 7 bar-shaped LEDs arranged to allow the display of many useful.
8051 I/O Interfacing Need for more ports PPI 8255
EXTERNAL COMMUNICATIONS DESIGNING AN EXTERNAL 3 BYTE INTERFACE Mark Neil - Microprocessor Course 1 External Memory & I/O.
Programmable Interval Timer
Input/Output (I/O) Ports and Interfacing
Input/Output Ports and Interfacing ELEC 330 Digital Systems Engineering Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Engr. M.K.Debnath1 Microcontroller and PLC Eng. ISRAFIL KHAN. DIPLOMA IN ELECTRONIC.
MICRO-CONTROLLER: A microcontroller is the brain of the robot: These are: 1. Integrated Circuits (ICs) 2. Programmable.
LOGIC DESIGN AND CIRCUITS SEVEN SEGMENT LED DISPLAY Res. Assist. Hale İnan 1.
Mark Neil - Microprocessor Course 1 Decoding and Using a 4x4 Keyboard.
Counter Circuits and VHDL State Machines
Serial Peripheral Interface (SPI)
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
Sensors And Micro-Controllers
ECE 448 – FPGA and ASIC Design with VHDL Lecture 13 PicoBlaze I/O & Interrupt Interface.
OTHER COMBINATIONAL LOGIC CIRCUITS
2 Way FM Car Starter Dan Owens April 12, 2005 Instructor: Dr. Pao-Lo Liu Department of Electrical Engineering University at Buffalo Course Requirement.
BCD to 7-Segment Display
Digital Outputs 7-Segment Display
Dewan Tanvir Ahmed SITE, UofO
EEE305 Microcontroller Systems Lecture 5B: Simple I/O Embedded C using PIC microcontrollers Teaching resources on on
ASPPRATECH.
Microprocessor Block Diagram
UNIVERSAL COLLEGE OF ENGINEERING &TECHNOLOGY DIGITAL ELECTRONICS SUBJECT - DIGITAL ELECTRONICS.
Department of Electronic & Electrical Engineering Embedded system Aims: Introduction to: Hardware. Software Ideas for projects ? Robotics/Control/Sensors.
Lecture 111 Lecture 11: Lab 3 Overview, the ADV7183B Video Decoder and the I 2 C Bus ECE 412: Microcomputer Laboratory.
1 EKT 225 MICROCONTROLLER I CHAPTER 3 I/O PORT PROGRAMMING.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Ballooning Bundle. What is a Microcontroller? Small computer with a processor core, memory and programmable input/output Continuously repeats software.
Input/Output Ports and Interfacing
EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
ELEC4601 Microprocessor systems Lab 3 Tutorial
MOBILE OPERATING ROBOT ON EMBEDDED SYSTEM
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
© 2008 RoboRubik1 11 Technical Communication Skills Practicum Theory of Operation and Hardware Design Narrative.
MICROPROCESSOR AND MICRO CONTROLLER
PCA9557: REMOTE 8-BIT I 2 C AND SMBus LOW- POWER I/O EXPANDER.
Semiconductors, ICs and Digital Fundamentals. The Diode The semiconductor phenomena. Diode performance with ac and dc currents. Diode types: –General.
Counter Circuits and VHDL State Machines
Digital Temperature Gauge Project Proposal ECE 4330 Patricia Kaminski System Overview Hardware Design Software Design Testing.
CIT 673 Created by Suriyong1 Micro controller hardware architechture.
ECE 320 Homework #3 1. Simplify the Boolean function F using the don’t care conditions d, in both S.O.P. and P.O.S. form: a) F=A’B’D’+A’CD+A’BC d=A’BC’D+ACD+AB’D’
Magnitude Comparator Dr. Ahmed Telba.
KyungHee Univ. 1-0 Parallel Input/Output Controller (PIO)
Department of Electronic & Electrical Engineering Serial interfaces Serial Interfaces allow communication between devices sending one bit at a time. In.
BCD S EVEN SEGMENT D ECODER. I NTRODUCTION  A Decoder IC, is a device which converts one digital format into another and the most commonly used device.
Alpha/Numeric Keypad Functions using AVR Preliminary Design Review Luke R. Morgan ECE /17/2008.
Lecture 13 PicoBlaze I/O & Interrupt Interface Example of Assembly Language Routine ECE 448 – FPGA and ASIC Design with VHDL.
Serial Peripheral Interface SPI I2C (i-squared cee)
Tutorial 9 Module 8 – 8.1,8.2,8.3. Question 1 Distinguish between vectored and non-vectored interrupts with an example Build a hardware circuit that can.
KEYBOARD/DISPLAY CONTROLLER - INTEL Features of 8279 The important features of 8279 are, Simultaneous keyboard and display operations. Scanned keyboard.
WATER LEVEL INDICATOR AND AUTOMATIC MOTOR SWITCHING SYSTEM
MICROCONTROLLER AND INTERFACING Presented by: Shefali Jethva ( ) Shivali Panchal ( ) Komal Soni ( ) Roll no. :- 14EC308.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
Circuit diagram for interfacing Common Anode 7-Segment Display.
Microprocessor and Microcontroller Fundamentals
Environment Temperature Monitor
ABSTRACT The controller continuously polls the temperature with certain regular time intervals and displays over the 7_segment display The temperature.
ALGORITHM TO PRINT THE DIGITS ON THE SEVEN-SEGMENT DISPLAY
SUBMITTED BY EDGEFX TEAM
Chapter 11: Inter-Integrated Circuit (I2C) Interface
Lecture 18 PicoBlaze I/O Interface
Keyboard/Display Controller (8279)
8051 Micro Controller.
Lecture 13 PicoBlaze I/O & Interrupt Interface
Multiplexing seven-segment displays
I/O Experiments Assignment 1.
Presentation transcript:

Chris Wallau ECE5330 November 17, 2008 Remote Thermometer and Display

Overview Key Features Two AVR units: Thermometer controller Display Controller Thermometer I 2 C Interface Digital 9-bit readout Display Four digit seven segment LED display BOMQuantity Atmel Mega16 AVR/STK 5002 DS1621 IC Thermometer1 LTC-4627JR LED 7 Segment Display1 DC327 PNP Tansistors4 4.7Kohm Resistors4 220 Ohm Resistors7 10Kohm Reistors2 2

Block Diagram AVR1AVR2 SPI Interface I 2 C Interface AVR Ports Direct Connection 4 Digit LED Display External Display Control Logic DS1621 Thermometer 3

Hardware: Thermometer DS1621 Digital Thermometer from Maxim IC Connected as I 2 C interface to PD1 and PD0 Temperature range: -55˚C to +125˚C Outputs 9-bit digital value Open Drain Interface requires 10KOhm pullup resistors on SDA and SCL 4

Hardware: Display LTC-4627 Quadruple Seven Segment Display from Lite-On Electronics Common Anode Design Decimal points and clock colon will not be used in this application. Requires each segment to be driven separately by time multiplexing which will be controlled through PNP transistors at the common anode points. Current limiting resistors required at the cathode points and then connected to I/O ports on the AVR. 5

Software: SPI Interface 6 Both AVRs will be tied together through the SPI port: PB[7:4] The AVR with the display attached will be defined as the master. The AVR with the thermometer will be defined as the slave. The Master will shift All 1’s pattern to the Slave to indicate that it is ready for updated information. The Slave will place upper 8 bits of the thermometer output in the outgoing register. The Master will then shift the data in. This loop will be continuous and be contained in interrupt service routines.

Software: Thermometer 7 The thermometer IC that has been chosen utilizes Inter-Integrated Circuit communication (I 2 C) I 2 C is a protocol-based communications system. CodeWizard provides specific library functions for the DS1621 thermometer IC. These functions will be utilized. After initialization, a timer interrupt service routine will prompt the DS1621 thermometer IC for the most current temperature. An 8-bit code representing the temperature in whole degrees Celsius will be received and written to the SPI outgoing data register. The ninth bit received from the DS1621 represents a ½ degree Celsius and will be ignored for this application.

Software: Display 8 The AVR Ports must control the logic that drives the 7- segment display. Each segment of the display must be controlled individually (time multiplexed) due to the cathode connection. Timer interrupt service routines will control the time multiplexing of the segment display. The software will receive the 8-bit code read from thermometer AVR and decode this to drive the proper segments of each digit of the display.