Intelligent Power Saver Alarm Clock with Digital Thermometer

Similar documents
Microtronics technologies Mobile:

Display Message on Notice Board using GSM

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

Keywords: GPS, GSM, AVR Microcontroller, SMS.

Lab Experiment 1: The LPC 2148 Education Board

ET-BASE AVR ATmega64/128

Atmel Norway XMEGA Introduction

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

SHORT COMMUNICATION Vehicle Tracking and Theft Control Using GSM and GPS

Chapter 13. PIC Family Microcontroller

GAS LEAKAGE DETECTION & AUTO ON-OFF GAS SYSTEM

Ingar Fredriksen AVR Applications Manager. Tromsø August 12, 2005

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

2.0 Command and Data Handling Subsystem

8-bit Atmel with 8KBytes In- System Programmable Flash. ATmega8 ATmega8L. Summary

Am186ER/Am188ER AMD Continues 16-bit Innovation

Chapter 2 Logic Gates and Introduction to Computer Architecture

8-bit Atmel megaavr Microcontroller

Wireless Sensor Network for Electric Meter Handling

AN LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

DATA LOGGER AND REMOTE MONITORING SYSTEM FOR MULTIPLE PARAMETER MEASUREMENT APPLICATIONS. G.S. Nhivekar, R.R.Mudholker

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

Serial port interface for microcontroller embedded into integrated power meter

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

ADVANCED FIRE ALARMING SYSTEM THROUGH MOBILE PHONE

8051 MICROCONTROLLER COURSE

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Android Controlled Based Interface

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

INTELLIGENT HOME MONITORING AND WIRELESS CONTROL SYSTEM

POCKET SCOPE 2. The idea 2. Design criteria 3

Automated Intelligent Power Saving System and Security System

STM32L. Ultra-low-power Cortex -M3 devices

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

8-bit Microcontroller with 1K Bytes In-System Programmable Flash. ATtiny13V ATtiny13

Cell Phone Operated Land Rover

Mobile Operated Landrover Using Dtmf Decoder

DS1621 Digital Thermometer and Thermostat

Location-Aware and Safer Cards: Enhancing RFID Security and Privacy

Designing VM2 Application Boards

8-bit Microcontroller with 4/8/16/32K Bytes In-System Programmable Flash. ATmega48PA ATmega88PA ATmega168PA ATmega328P

Microcontroller Based Anti-theft Security System Using GSM Networks with Text Message as Feedback

How To Design A Code Lock System With A Status Display On A Cell Phone And A Password Code On A Smart Phone

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

USER GUIDE EDBG. Description

8-bit Microcontroller with 16K Bytes In-System Programmable Flash. ATmega16 ATmega16L

Serial Communications

ATmega32A. Introduction. Features. 8-bit AVR Microcontroller DATASHEET SUMMARY

The Programming Interface

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

RF CONTROLLED VEHICLE ROBOT WITH METAL DETECTOR

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

DS1621 Digital Thermometer and Thermostat

Computer Automation Techniques. Arthur Carroll

INTRODUCTION: ABSTRACT:

Microcontrollers in Practice

An Introduction to MPLAB Integrated Development Environment

Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

8-bit Atmel Microcontroller with 128KBytes In-System Programmable Flash. ATmega128 ATmega128L

8-bit Atmel with 8KBytes In- System Programmable Flash. ATmega8 ATmega8L

Intelligent Home Automation and Security System

ATmega8A. Introduction. Features. 8-bit AVR Microcontroller DATASHEET COMPLETE

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

8-bit Microcontroller with 2K Bytes In-System Programmable Flash. ATtiny2313/V. Preliminary

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Keywords ATM Terminal, Finger Print Recognition, Biometric Verification, PIN

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

Introducing AVR Dragon

EvB 5.1 v5 User s Guide

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

Atmel s Self-Programming Flash Microcontrollers

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

The Heartbeat behind Portable Medical Devices: Ultra-Low-Power Mixed-Signal Microcontrollers

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

STEPPER MOTOR SPEED AND POSITION CONTROL

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

STK User Guide

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

ATtiny4 / ATtiny5 / ATtiny9 / ATtiny10. Introduction. Feature. Atmel 8-bit AVR Microcontroller with 512/1024 Bytes In-System Programmable Flash

Implementing MOD bus and CAN bus Protocol Conversion Interface

ADS9850 Signal Generator Module

Monitoring of Intravenous Drip Rate

8-bit Microcontroller with 16K Bytes In-System Programmable Flash. ATmega162 ATmega162V. Features

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

Software engineering for real-time systems

International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

Tutorial for MPLAB Starter Kit for PIC18F

Lecture N -1- PHYS Microcontrollers

PROJECT PRESENTATION ON CELLPHONE OPERATED ROBOTIC ASSISTANT

AVR Timer/Counter. Prof Prabhat Ranjan DA-IICT, Gandhinagar

ATmega32A. Introduction. Features. 8-Bit AVR Microcontroller DATASHEET COMPLETE

Android based Alcohol detection system using Bluetooth technology

Transcription:

International Journal of Electronic and Electrical Engineering. ISSN 0974-2174 Volume 7, Number 2 (2014), pp. 107-112 International Research Publication House http://www.irphouse.com Intelligent Power Saver Alarm Clock with Digital Thermometer Kevin Johny Joseph 1, Helena Babu 2 and Jithin Jose K 3 1 UG Student [EEE], Dept. of Electrical and Electronics, Mar Athanasius College of Engineering, Kothamangalam, India 2 UG Student [EEE], Dept. of Electrical and Electronics, Mar Athanasius College of Engineering, Kothamangalam, India 3 UG Student [EEE], Dept. of Electrical and Electronics, Mar Athanasius College of Engineering, Kothamangalam, India Abstract The purpose of this project is to create a micro-controller based power saver alarm clock with digital thermometer. Energy scarcity is one of the major problems in the present world. Future without energy is beyond imagination. For this we need to use energy wisely.the project is aimed in developing a power saver alarm clock during studying with an automatic shut off of the lighting in the study room when triggered after a certain predetermined time. The major component used in the project is ATMEGA microcontroller, one of the most user friendly microcontrollers. This project also incorporates the functionality of a digital thermometer. A thermometer is a device that measures temperature.here to read the value, we convert surrounding temperature to digital value by the help of a temperature sensor. Sensors, from their name convey that they sense the temperature in the surroundings. The sensors give the output in relation to the centigrade scale. Keywords: Intelligent Power Saver Alarm Clock, Digital Thermometer, Microcontroller, LCD Display Interface. 1. Introduction The system comprises of a push button keypad connected to the 8 bit microcontroller ATmega328P. This is one of the popular Microcontrollers. It has only 20 pins and

108 Kevin Johny Joseph et al there are 15 input/output lines. The microcontroller has a flash memory of 32Kbytes, 1 Kbyte EEPROM and 2 Kbytes RAM. The project is aimed in developing a power saver alarm clock during studying with an automatic shut off of the lighting in the study room when triggered after a certain predetermined time. The basic idea behind the project is that a predetermined time is entered into the microcontroller. A relay driven by the output of the microcontroller controls the supply. Thus it controls the lighting. This project also incorporates the functionality of a digital thermometer. A thermometer is a device that measures temperature.here to read the value, we convert surrounding temperature to digital value by the help of a temperature sensor. Sensors, from their name convey that they sense the temperature in the surroundings. The sensors give the output in relation to the centigrade scale. These sensors are easily available. These sensor output can be used in measuring the temperature, Hence these sensors are used in digital thermometers. 2. ATMEGA 328P Architecture The ATmega328P is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega328P achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. The AVR core combines a rich instruction set with 32 general purpose working registers. All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs up to ten times faster than conventional CISC microcontrollers. The ATmega328P provides the following features: 32K bytes of In-System Programmable Flash with Read-While-Write capabilities, 1K bytes EEPROM, 2K bytes SRAM, 23 general purpose I/O lines, 32 general purpose working registers, three flexible Timer/Counters with compare modes, internal and external interrupts, a serial programmable USART, a byte-oriented 2-wire Serial Interface, an SPI serial port, a 6- channel 10-bit ADC (8 channels in TQFP and QFN/MLF packages), a programmable Watchdog Timer with internal Oscillator, and five software selectable power saving modes. The Idle mode stops the CPU while allowing the SRAM, Timer/Counters, USART, 2-wire Serial Interface, SPI port, and interrupt system to continue functioning. The Power-down mode saves the register contents but freezes the Oscillator, disabling all other chip functions until the next interrupt or hardware reset. In Power-save mode, the asynchronous timer continues to run, allowing the user to maintain a timer base while the rest of the device is sleeping. The ADC Noise Reduction mode stops the CPU and all I/O modules except asynchronous timer and ADC, to minimize switching noise during ADC conversions. In Standby mode, the crystal/resonator Oscillator is running while the rest of the device is sleeping. This allows very fast start-up combined with low power consumption.

Intelligent Power Saver Alarm Clock with Digital Thermometer 109 The device is manufactured using Atmel s high density non-volatile memory technology. The On-chip ISP Flash allows the program memory to be reprogrammed In-System through an SPI serial interface, by a conventional non-volatile memory programmer, or by an On-chip Boot pro- gram running on the AVR core. The Boot program can use any interface to download the application program in the Application Flash memory. Software in the Boot Flash section will continue to run while the Application Flash section is updated, providing true Read-While-Write operation. By combining an 8-bit RISC CPU with In-System Self-Programmable Flash on a monolithic chip, the Atmel ATmega328P is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. 3. LCD Display Interface The dot-matrix liquid crystal display controller and driver LSI displays alphanumeric, characters, and symbols. It can be configured to drive a dot-matrix liquid crystal display under the control of a 4 or 8-bit microprocessor. Since all the functions such as display RAM, character generator, and liquid crystal driver, required for driving a dotmatrix liquid crystal display are internally provided on one chip, a minimal system can be interfaced with this controller/driver. A single HD44780U can display up to two 8- character lines (16 x 2). Pin no 3 of the LCD is used to control the contrast by using preset PR1. Pin No. Name Description Pin no. 1 D7 Data bus line 7 (MSB) Pin no. 2 D6 Data bus line 6 Pin no. 3 D5 Data bus line 5 Pin no. 4 D4 Data bus line 4 Pin no. 5 D3 Data bus line 3 Pin no. 6 D2 Data bus line 2 Pin no. 7 D1 Data bus line 1 Pin no. 8 D0 Data bus line 0 (LSB) Pin no. 9 EN1 Enable signal for row 0 and 1 (1stcontroller) Pin no. 10 R/W 0=Write to LCD module 1=Read from LCD module Pin no. 11 RS 0=Instruction input 1=Data input Pin no. 12 VEE Contrast adjust Pin no. 13 VSS Power supply (GND) Pin no. 14 VCC Power supply (+5V) Pin no. 15 EN2 Enable signal for row 2 and 3 (2ndcontroller) Pin no. 16 NC Not Connected 4. Working and Circuit Diagram After the program is burned, LCD displays SET TIME. Time is set using the push buttons (tactile switches) in the circuit. After the time is set, LCD displays SET

110 Kevin Johny Joseph et al ALARM. Alarm is also set with the help of push buttons. Alarm goes on for that particular time at which the alarm has been set. If the alarm is not snoozed then the relay is cut off and the supply is shut off. If it is snoozed the microcontroller starts its next cycle of counting. The LCD also displays the temperature of the surroundings at bottom right of the screen. We can introduce a lighter fire or any heat source near the LM-35 temperature sensor for observing this. Fig. 1: Block Diagram

Intelligent Power Saver Alarm Clock with Digital Thermometer 111 The Main Part of the above Circuit diagrams is the Microcontroller ATmega328P. The push button keypad is the input device wherein one button acts as an up button(number gets incremented with each press 1,2,3,etc), second button acts as a down button and the third one is the set button(sets a digit and moves to the next digit). ). A predetermined time is set on the microcontroller(say 30 mins). An alarm (worked by interfacing to the microcontroller) will be triggered after every 30 mins during the study period. A student who is awake can snooze the alarm, so that the microcontroller starts it counting for next cycle. If the student is asleep the alarm won t be snoozed(which means that the student is either asleep or he is not in the room).hence the lighting in the room is shut off by using a controlling relay. The power supply section is very important. It should deliver constant output regulated power supply for successful working of the project. Regulated 5 volt supply is taken through the USB port of a laptop/desktop. Fig. 2: Circuit Diagram.

112 Kevin Johny Joseph et al 5. Conclusion The desired output for student anti sleep alarm clock with digital thermometer is obtained. The system worked as per the requirements specified. As the relay automatically shuts off the power supply, a lot of energy can be saved helping to reduce the extent of energy scarcity. As an extended application, the system can be incorporated in the student hostels were energy wastage is at its peak.. We were able to implement all the functions specified in our proposal. The biggest hurdle we had to overcome with this project was interfacing the micro controller with the hardware components. We feel that this power saver alarm is very marketable because it is easy to use, comparatively inexpensive due to low power consumption, and highly reliable. This power saver alarm is therefore particularly useful in applications such as student anti sleep alarms. 6. Acknowledgment We extend our sincere thanks to Prof. Radhakrishnan K, Head of the department for providing us with the guidance and facilities for the mini project. We also thank our faculty advisor Prof. Salice Peter for her valuable guidance. We express our sincere gratitude to mini project coordinator Mr. Eldhose K A, staff in charge, for their cooperation and guidance for preparing and presenting this mini project. We also extend our sincere thanks to all other faculty members of Electrical and Electronics Department and our friends for their support and encouragement. References [1] AT mega 328P datasheet http://www.atmel.com/images/doc8161.pdf. [2] Jeremy Blum, Exploring Arduino: Tools and Techniques for Engineering Wizardry, Wiley publishers,4th edition. [3] LCD 16*2 datasheet http://www.engineersgarage.com/electroniccomponents/16x2-lcd-module-datasheet. [4] http://www.instructables.com/id/password-lock-with-arduino/