Alarm Clock Robert Stuart. 1.Keep track of time. 2.When the time matches a stored value an alarm should go off. 3.Functionality that allows for the user.

Slides:



Advertisements
Similar presentations
How To Use The Podium Touch Panel. Volume Up Volume Down Volume Mute Microphone On/Off Power Off / Exit The touch panel can operate by touching anywhere.
Advertisements

DP-IR Detecto-Pak Infrared
Follow the man….. Read the phrases on the shimmering neon lights and write down the correct economic term to match that phrase.
TLA. Replacing The Battery On the Back of the pager press in this button while moving the door away from the pager, then lift up. On the Back of the pager.
1.MWI Message Waiting Indicator lights up when receiving voice mail. 2.LCD Screen displays date and time. 3.Cisco IP Phone model displays. 4.Directories.
Programming The Hexcorder
Set Time Set Initial Parameters: MIN=0 HOUR=6 AMPM=1 AMIN=0 AHOUR=12 AAMPM=0 PULSE=O COUNTER1=0 COUNTER2=0 ALARMFLAG=0 BRT=0 LEDSTATUS=0 TWLGT=0 ON=0 OFF=255.
5:47 1: Default Clock State PM Alarm off, time set to 5:47PM. Hour
EDSM II Training. EDSM II EDSM II (Enhanced Digital Select Module) is a hand held program module used to program Atlas laundry dispensers –Recommended.
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
ECE 265 – LECTURE 17 Simulator Project 8/7/ ECE265.
Programming – Touch Sensors Intro to Robotics. The Limit Switch When designing robotic arms there is always the chance the arm will move too far up or.
AccuMax Multi-Point Injection Mechanics
July 2008 Fairfield Fire Department Bendix King EPH and GPH Portable Radios FAIRFIELD FIRE DEPARTMENT.
May 2007 North Zone – Communications Bendix King EPH and GPH Portable Radios North Zone Communications Committee.
PROPOSED APPROACH A clear, aesthetically pleasing casing shall be used. Two digital displays: standard and binary. Components shall be fixed onto a printed.
1 Starting & Stopping Motors Pico Pico LAB#4. 2 Program a series of three basic ladder logic rungs. These basic rungs are the most common rungs found.
Camera Switch. Objective Able to operate briefly the timeline – Zoom in /out – Display different tracks – Display effects at various tracks Able to switch.
Introduction ► Scope:- Service Diagnostics Routines can use for XXL, Side by Side products with STEALTH user interface with single evaporator fan product.
Paver System Five Control Box Overview Aug 2009 Control Box Overview Paver System Five.
Chapter 8: String Manipulation
JavaScript Events and Event Handlers 1 An event is an action that occurs within a Web browser or Web document. An event handler is a statement that tells.
Java Class Syntax CSIS 3701: Advanced Object Oriented Programming.
Operating system for mobile devices with a Java programming interface. Provides tools, e.g. a compiler, debugger, device emulator, and its own Java Virtual.
World Class Leaders in Fire Detection for over 75 years.
Model 1621M Trainer’s Guide. General Overview Model 1621M is a Geiger Meuller based Personal Radiation Detector (PRD) Complies with ANSI Used for.
GCS 300 System Operation Application – Level 1.
Khaled A. Al-Utaibi  The Push Button  Interfacing Push Buttons to Arduino  Programming Digital Inputs  Working with “Bouncy”
DEMO - 8/14/2007. R2 Feature List ReceiveDocumentBatch Web Service SendPESCAcknowledgment Web Service Validate Acknowledgment Upload Acknowledgment Transcript.
Introducing The IP550 IP Telephone. What to expect from your new IPitomy IP telephone system The IPitomy system has many of the same features of traditional.
1 THE VICTOR READER WAVE ● Plays DAISY books as well as music and books on MP3 or audio CD ● Powerful navigation features ● Go directly to any page number.
Synchronizing and setting the clock on the Viking timepiece wall oven 12:15.
Variables and Inheritance Part 1
Nitro New Program Training December 1, Nitro bridges the gap between compact basic dispensers and large feature full dispensers too bulky for smaller.
Slide 1 Project 1 Task 2 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Task 2 Briefing The Design of a Computer.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 20.1 Test-Driving the Shipping Hub Application.
Detecting Instruments (For Contest Work Only) MSA Passport Personal Alarm.
TANDBERG VIDEO CONFERENCING SYSTEMS. CONTENTS USAGE OF REMOTE CONTROL INITIATE A POINT TO POINT CALL INITIATE A MULTIPOINT CALL DUO VIDEO SOME OTHER FEATURES.
User Interface – Switch Panel 6 Gang Switch Panel Configuration guide RS485 Terminal Fixing hole Bayonet Front ViewBack View.
Service Section Technical Training December 2005.
Java Coding 8 David Davenport Computer Eng. Dept., Bilkent University Ankara - Turkey. Object-Oriented Design Examples.
Senior Design Dec06-04 Diana Calhoun (Communication Coordinator) Matt Koch (Group Leader) Kelly Melohn (Communication Aide) Yesuratnam Thommandru (Group.
Random Numbers Random numbers are extremely useful: especially for games, and also for calculating experimental probabilities. Formula for generating random.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Student Grades Application Introducing Two-Dimensional Arrays and RadioButton.
Multifunctional LCD Panel HDL-MPL8.48. LCD Panel Description The HDL-MPL8.48 series is a new generation of wall mounted switch, with a total of 8 metal.
IMS 3253: Controls 1 Dr. Lawrence West, MIS Dept., University of Central Florida Topics Check Boxes Radio Buttons Date Time Picker Masked.
Embedded Programming and Robotics Lesson 11 Arduino Interrupts 1.
1 i-Pendant for the R-J3iC & R-30iA Controllers ArcTool Version (GMAW) i Pendant New.
Spring Hill Assembly1 InnoSys Park Brake Tool Master Control Panel Screens 1 3-Mar-2008.
How to Set your CHIP Pedometer. Written Instructions The written instructions for the pedometer are somewhat lacking. This guide may be of help. To set.
All Freezer Advance. When the Freezer is first supplied with power or if a power outage occurs, the display will indicate this by flashing the temperature.
ADVANCED WATER LEVEL CONTROLLER
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
The embedded systems platform
Do-more Technical Training
Peripherals – Keypad The Keypad provides a simple means of numerical data or control input. The keys can be attributed whatever data or control values.
Wireless Relay HDL-MPR01-RF.18.
GEM-P1632 Hybrid Control Communicator
Wireless 4 Buttons Touch Panel
Wireless Relay HDL-MPR02-RF.18.
Bendix King EPH and GPH Portable Radios
MPU-16A / FPU-16 TEST UNIT TUTORIAL
Module 1: System Overview
Programming – Touch Sensors
Call to Fix Canon Pixma MX340 printer Error 5200
Raspberry Pi: External Inputs & Outputs
Training 11/11/16 Robot Code (WPILib).
STELR Ranging Multimeter
2. ATP INITIALIZATION PLACE ATP SWITCH TO “1” OR “NORMAL” POSITION A
Chapter 1: Creating a Program.
Presentation transcript:

Alarm Clock Robert Stuart

1.Keep track of time. 2.When the time matches a stored value an alarm should go off. 3.Functionality that allows for the user to set the time to a desired value. 4.Functionality that allows for the user to set the alarm to a desired value. 5.Allow for the alarm function to be enabled or disabled. 6.Incorporate a snooze feature 7.Display the time and the alarm time. Functions of an Alarm Clock

Implementation 1.Hours, Minutes, Seconds variables introduced by Phil. Needed to add in some code to have the hours operate in the 12-hr system and to keep track of am and pm. 2.A simple test to see if the time and the stored alarm time are the same. 3/4. Use one on board button to switch between 3 modes: Running, Settime, and Setalarm. To be able to set the time or the alarm I used another 3 on board buttons; one to toggle between the hours and the minutes being selected, and the other two to increase or decrease the selected variable. 5. To ensure this function is not changed by accident, it requires two of the on board buttons to be pressed and released simultaneously. 6. An additional large button that when pressed disables the alarm for five minutes (from when the snooze button was pressed, not when the alarm first went off). 7. An LCD display allows for more information to be displayed in an easy to understand format. I have included the time (or alarm time), a decimal point to indicate the state of the alarm, another decimal point to show pm, and a letter to indicate what mode you are in.

Layout

Code – Start and Running Loop Set up input/output ports Declare and initialize all variables Running loop if change mode pressed goto Set Time loop if enable/disable alarm pressed switch the state of that variable if alarm is enabled goto tests for the alarm Goto Running

Set Time Loop if up button pressed increase current variable (either Hours or Minutes) if down button pressed decrease current variable (either Hours or Minutes) if Hr/Min button pressed toggle between the variables Hours and Minutes if enable/disable button pressed toggle enabled/disabled if mode button pressed goto Set Alarm loop Goto Set Time loop

Set Alarm Loop if up button pressed increase current variable (either AHR or AMI) if down button pressed decrease current variable (either AHR or AMI) if Hr/Min button pressed toggle between the variables AHR and AMI if enable/disable button pressed toggle enabled/disabled if mode button pressed goto Running loop Goto Set Alarm loop

Tests for Alarm Test AM/PM if AM/PM matches for alarm and time goto test hours Return Test hours if Hours and AHR are the same goto test minutes Return Test minutes if Minutes and AMI are the same goto test seconds Return Test seconds if Seconds is 0 goto Alarming Loop! Return

Alarming Loop! Alarming Loop if Snooze button has been pressed increase alarming variable by 5 minutes and goto Tests for Alarm if Snooze button hasn’t been pressed BEEP! if off button pressed turn alarm off and go back to Running if enable/disable button pressed turn alarm off, disable alarm function, and go back to Running GotoAlarming Loop