Digital Thermostat and Data Logger Brandon Wagner and David Southwick.

Slides:



Advertisements
Similar presentations
Mark Neil - Microprocessor Course 1 Device Drivers – Digital Voltmeter.
Advertisements

Proximity Sensor Theremin Khoa Nguyen Walter Hudson Dennis Gilbert G. Hewage Thushara.
SPI Serial Peripheral Interface. SPI Serial Peripheral Interface is communication between two devices, one bit at a time sequential one bit at time over.
Lab 3 General MIDI Explorer with Record/Playback
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
1 Lab2: A/D Converter. 2 This circuit connects a variable voltage to an A/D port on the AVR mcu. Your software running on the AVR mcu will read the digital.
Introduction of Holtek HT-46 series MCU
Interfacing ADC to 8051.
MS_uC / dnd / V RTC - Real Time Clock Programming Microcontroller ADC – Analog Digital Converter Autumn term K Byte Burst Flash 64K or 96K.
Initial Position Orientation Tracking System (IPOTS) Group Members: Keiichi McGuireHenry Pham Marc TakamoriScott Spiro.
HT46 A/D Type MCU Series Data Memory (Byte) Program Memory HT46R22 (OTP) HT46C22 (Mask) 2Kx Kx16 4Kx HT46R23 (OTP) HT46C23 (Mask) HT46R24.
Logic Analyzer and pulse generator ECE 682. The specification Specification was handed out in ECE 582 last quarter. Basics  3 channels – dedicated output.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
ARM Timers.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
System Clocks.
ECE 477 DESIGN REVIEW TEAM 2  FALL 2011 Members: Bo Yuan, Yimin Xiao, Yang Yang, Jintao Zhang.
Embedded System Design Laboratory October 11, 2002Stanford University - EE281 Lecture #4#1 Lecture #4 Outline Announcements Project Proposal AVR Processor.
Digital to Analogue Converter
Gauge Operation and Software by Scott A. Ager. Computer Recommendations 750 MHz Pentium III 64 Meg SRAM 40 Gig Hard Drive 1024 x 768 graphics CD Writer.
ENTC-489 Embedded Real Time Software Development Embedded Real Time Software Development Week 11 Design Examples.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
Timer Timer is a device, which counts the input at regular interval (δT) using clock pulses at its input. The counts increment on each pulse and store.
Features of the new Alibava firmware: 1. Universal for laboratory use (readout of stand-alone detector via USB interface) and for the telescope readout.
1 April 29, 1999 ZENO DATALOGGER Texas Natural Resource Conservation Commission.
Basics of Most C++ Programs // Programmer: Clayton Price date: 9/4/ // File: fahr2celc.cpp 03. // Purpose:
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 4 Standard Single Purpose Processors: Peripherals.
By James Cockrell and Justin Loveless
Group Five MSP430 Project Katy Charlton Jeremy McNutt Ben Ealey Aaron Vallance April 14, 2007.
Interpreting Temperature Logger Data
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Lab 3: ADC.
ECE 2799 Electrical and Computer Engineering Design ANALOG to DIGITAL CONVERSION Prof. Bitar Last Update:
SOFTWARE NARRATIVE PRESENTED BY: JUSTIN LINDLEY Team # 15: Acoustic Storm Interweaving the impressive visual power of electricity and the visceral emotion.
Analog to Digital Converter (ADC)
ATV INSTRUMENTATION DISPLAY System Design Ed Raezer Senior Project Western Washington University.
Steve Andre Eric Glover Shaun Greene Russell Willmot.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
FSAEe Data Acquisition System ECE 445 Senior Design Mohan Sha Raviraj Mahajan Mohammad Farooq Shaik TA: Ryan May Project No. 34 Spring 2013.
Critical Air System Pressure Controller Senior Design Project, 2010 Morgan Hespe, Department of Electrical and Computer Engineering Mentor: Dr. Stanislaw.
Electronic instrumentation Digitization of Analog Signal in TD
Sensing Algorithm using IR Sensor and ADC Soong-sil University. Robotics 기 정 두 원.
1 Lab 4: D/A Converter Lab 4: D/A Converter This is a simple resistive network for a D/A converter Port 1, Port 0 are digital inputs ==> 00 (minimum),
WEATHER MONITORING SYSTEM. User Requirements  Design a weather monitoring system that detects the following parameters  Temperature  Pressure  Relative.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 AD converter.
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
Application Case Study Security Camera Controller
ARDUINO BASED AUTOMATIC TEMPERATURE BASED FAN SPEED CONTROLLER
Environment Temperature Monitor
Analog Comparator An analog comparator is available on pins PE2(AIN0), PE3(AIN1) The comparator operates like any other comparator. -when (+) exceeds (-)
ADC,DAC and sensor interface
4-Integrating Peripherals in Embedded Systems
BITS EDU. CAMPUS , VARNAMA
4-Integrating Peripherals in Embedded Systems
Programmable Interval Timer
AVR Addressing Modes Subject: Microcontoller & Interfacing
ADC, DAC, and Sensor Interfacing
The Arduino Microcontroller: Atmel AVR Atmega 328
8051 Single Board Computer (SBC) Version 1.0
ADC and DAC Programming in AVR
ADC and DAC Data Converter
MSP432™ MCUs Training Part 6: Analog Peripherals
AVR – ATmega103(ATMEL) Architecture & Summary
DS1620 Digital Thermometer and Thermostat
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
Device Drivers – Digital Voltmeter
ADC and DAC Data Converter
The BalloonSat Development Board
Presentation transcript:

Digital Thermostat and Data Logger Brandon Wagner and David Southwick

Schematic  ATmega88PA  MAX232 Level Shifter  5V to 15V  PCF8583 Real Time Clock  LM34 precision Fahrenheit Sensor  10 mv/ °F  24LC256 EEPROM  32K x 8 storage  EVE-GA1F2012B Rotary Pulse Generator  GDM1602K 2x16 LCD  2 LEDs  Pushbutton Switch I2C Serial CLK I2C Serial DATA ADC0 pin

Features  Current Time and Temperature display  Fahrenheit and Celsius  User selectable threshold temperature  0.1° F precision via RPG rotation  Heating mode or A/C mode  H – Heating mode  Red LED active when temp below threshold  A – A/C mode  Green LED active when temp above threshold  Temperature data logger with time stamp  Stores temperature in EEPROM on a user selected interval  Serial interface to computer terminal  Commands:  “T” – Time change request  “D” – Date change request  “H” – Temperature history request  “C” – Change storage interval Actual Temp (F) Actual Temp (C) User Desired Temp Current Time Mode - Heat - A/C

Temperature Logging Terminal - Enter “H” Import data to EXCEL Use EXCEL to plot Temp vs Time

Software  Initialize/Configure USART, LCD, I2C, ADC, and Timers  Determine RPG rotation  Increment or Decrement desired temperature setting  Check pushbutton  Toggle heat or A/C mode  Update LED outputs  If A/C mode: activate green LED if desired temp < actual temp  If heat mode: activate red LED if desired temp > actual temp  If (Timer0 flag set) – set every second  Read ADC register  Convert to value to Fahrenheit and Celsius  Read RTC for date and time  Update LCD with actual and desired temp, mode, and time  If (Timer1 flag set) – set every user defined number of minutes  Format temperature and time/date from RTC into a string  Write data string to EEPROM  Process any input from USART  “H” - Read data from EEPROM  “T”, “D” - Write to data to RTC

Analog to Digital Converter V REF = Internal 1.1 V ADC Channel Select = ADC0 ADC EnableStart Conversion Conversion Complete INT Flag Freq Prescaler: kHz Choose 8MHz/128 = 125 kHz Resolution = 1.1V / 1024 = mV => ADC value of 1 = mV LM34 outputs 10 mv / °F Example: Temperature is 74.8 °F => Sensor outputs 74.8 x 10 mV = V Convert back to °F: x =  display “74.7°F” ADC INT Enable

Demonstration