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.

Slides:



Advertisements
Similar presentations
Lecture 23: Registers and Counters (2)
Advertisements

Unit 7 Discrete Controllers
Indian Institute of Technology Hyderabad Anti sleep Alarm for Students M. Rohit Reddy- cs12b1022 Soumith Raju K – cs12b1037 T Rohit Reddy – ee12b1035.
InnoSys Process Sequence. End Effector Components End Effector Prox Switch Load Cell Wire Conduit Crows Foot Nut Runner.
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.
Reef Controllers Oh, the things you can do!. What is a controller? Monitors parameters and hardware in your aquarium Controls equipment in different ways.
This symbol is used to; Start a flow-chart; Stop a singe flow-chart (or all flow charts in that program); Mark the Start of a Sub-Routine (a separate.
5:47 1: Default Clock State PM Alarm off, time set to 5:47PM. Hour
1 Electronics and Control Technology. 2 Electronics and Control The 555 timer is an 8-Pin D.I.L. Integrated Circuit or ‘chip’ What it looks like Notch.
Lecture 7: PLC: Review Questions
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
Lecture 6: PLC: Timers and Counters
Chapter 7 Counters and Registers
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.
Presentation Timer Select a time to count down from the clock above 60 min 45 min 30 min 20 min 15 min 10 min 5 min or less.
Presentation Timer Select a time to count down from the clock above 60 min 45 min 30 min 20 min 15 min 10 min 5 min or less.
ELEC 1041 Digital Electronics Tutorial: Word Problems
Gas Alarm System 4th Floor, Kjemi V If Gas Alarm, What to do? 1.There is 1 min delay before signal goes to the fire brigades (if high alarm) 2.Hurry to.
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.
Module 4: Analog programming blocks. Module Objectives Analyze a control task that uses analog inputs. Connect a potentiometer to LOGO! controller and.
ENEE 440 Chapter Timer 8254 Register Select The 8254 timer is actually 3 timers in one. It is an upgraded version of the 8253 timer which was.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
Silent Classroom Timer Select a time to count down from the clock above 60 min 45 min 30 min 20 min 15 min 10 min 5 min or less TURN SOUND ON.
iSpeak Break Timer 60 min 45 min 30 min 20 min 15 min 10 min 5 min or less.
Silent Classroom Timer
Ladder Diagram Symbols. Study the various symbols identified in this presentation. Once you have memorized the different symbols and can name them, take.
Introduction to Robo Pro
Forging new generations of engineers
Chapter 8.
Counter Application (Part B) By : Pn Siti Nor Diana Ismail CHAPTER 3.
Engineer Training Pneumatic System Overview. Engineer Training Confidential 2 Working Concept Overview: The Pneumatic System is comprised of:  Y Pistons.
How to use Touch Screen SeneS Technology. Co, Ltd.
PLC Counter Instructions
© 2008 Wayne Wolf Overheads for Computers as Components 2nd ed. Bus-Based Computer Systems Example: alarm clock 1.
Nitro New Program Training December 1, Nitro bridges the gap between compact basic dispensers and large feature full dispensers too bulky for smaller.
Instructor: Alexander Stoytchev
Projects 8051.
User Interface – Switch Panel 6 Gang Switch Panel Configuration guide RS485 Terminal Fixing hole Bayonet Front ViewBack View.
Service Section Technical Training December 2005.
Digital Electronics Board Game Counter Analog. Board Game Counter Demo - Analog 2 This presentation will Review the Board Game Counter block diagram.
Board Game Counter - Analog
4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.
LEARNING GOALS I will discuss seasonal variation in day length as a consequence of axis tilt, rotation, and revolution.
Introduction to the DE0 Board Prof. Taeweon Suh Computer Science & Engineering Korea University COSE221, COMP211 Computer Logic Design.
Electronic Devices and Circuit Theory
The embedded systems platform
Cleaning Mode Startup Mode Spray Mode Maintenance Mode Standby Mode
Features of the room. ITS/CC/CS/AV
Electric Potential Difference and Electric Current
Wireless Relay HDL-MPR01-RF.18.
Choose a Count down Time by Clicking a Button Below.
Store Multiple Results?
You have 5 minutes to look over your table of sensor and outputs ready for a spot check on the different symbols Start Timer 5 mins
You have 5 minutes to look over your homework and with a green pen answer the question in your book or make a correction Start Timer 5 mins
COMP211 Computer Logic Design Introduction to the DE2 Board
Wireless Relay HDL-MPR02-RF.18.
Administrative stuff Turn in your HW #3!
Three Minute Timer Two Minute Timer One Minute Timer
ELEC 1041 Digital Electronics Tutorial: Word Problems
GE Counters and Order of Operation
Instructor: Alexander Stoytchev
MECH 1500 Pulse Timer Energizes contacts immediately when enabled and begins timing. De-energizes contacts after the preset time value has elapsed De-energizing.
सोलर पॅनेलचा उपयोग करुन रीचर्जेबल टॉर्च बनवणे.
Input-Output-Process Demo
Input-Output-Process Demo
Making) LED table lamp.
Lab 1. Introduction to the DE2 Board
Lecture 4. Introduction to the DE2 Board
Making) Melody timer.
About how much time does it take the Earth to complete one rotation?
Presentation transcript:

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 Display update process Alarm set process Set Alarm Alarm set process Set Ramp + sunset Ramp set process Light switch Dimmer process Brightness control OVERALL PROCESS Keep Time Process Alarm control, light ramp LSTATUS = LED’s on (1) or off (0) STAGECNT = set how long light setting at each brightness level ON = length of time on OFF = length of time off COUNTLT= counter for light on or off ALARMFLAG = alarm going off BRT = brightness of light TWLGT= 1 for sunrise, 0 for sunset RAMPBUTN = ramp button was on RMPTIME = ramp length (minutes) RMPDIS = length of time ramp display is on FRSTPRES = flag to denote when ramp button pushed first time RMPCNT = length of time ramp button is pushed COUNTL = length of time light on button must be pressed before doing anything LDELAY = delay to slow rapid increase in light when switch pressed COUNTER1 = first stage counter in keeping time COUNTER2 = second, higher order counter for time MIN = minutes AMIN = alarm minute setting HOUR= hours AHOUR = alarm hour setting AMPM= am pm flag AAMPM = alarm am/pm setting PULSE = pulse state SCHMIDT = signal from schmidt trigger THOLD = delay timer for time setting TDELAY = delay timer for time setting (second timer)

Set time 6 PM Set Alarm 12 am Alarm off pulse off Alarm flag off Power Up Time Set Input Time set button pushed Hour set button pushed Hour Set Button Min set button pushed Min Set Button Min set button pushed Yes Set time 6 PM Yes TDELAY=10 MIN=MIN+1 SET TIME THOLD=3 TDELAY=1 THOLD= THOLD-1 THOLD=200 TDELAY= TDELAY-1 TDELAY=0 MIN=60 MIN=0 Yes THOLD=3 TDELAY=1 Yes TDELAY=10 HOUR= HOUR+1 THOLD= THOLD-1 THOLD=200 TDELAY= TDELAY-1 TDELAY=0 HOUR=12 HOUR=1 Yes AMPM=1 HOUR=13 AMPM=1 AMPM=0 Yes

Time Set Input Alarm set pushed Hour set button pushed Hour Set Button Min set button pushed Min Set Button Min set button pushed Yes Set alarm 12 AM Yes TDELAY=10 AMIN=AMIN+1 SETALARM TIME THOLD=3 TDELAY=1 THOLD= THOLD-1 THOLD=200 TDELAY= TDELAY-1 TDELAY=0 AMIN=60 AMIN=0 Yes THOLD=3 TDELAY=1 Yes TDELAY=10 AHOUR= AHOUR+1 THOLD= THOLD-1 THOLD=200 TDELAY= TDELAY-1 TDELAY=0 AHOUR=12 AHOUR=1 Yes AAMPM=1 AHOUR=13 AAMPM=1 AAMPM=0 Yes

MIN=60 60 Hz Pulse HOUR=12 MIN=0 inrement HOUR Time equal Alarm time ALARMFLAG=1 BRT=1 STAGECNT=X LSTATUS=1 TWLGT=1 SCHMIDT=1 COUNTER1 = first stage counter in keeping time COUNTER2 = second, higher order counter for time MIN = minutes AMIN = alarm minute setting HOUR= hours AHOUR = alarm hour setting AMPM= am pm flag AAMPM = alarm am/pm setting PULSE = pulse state SCHMIDT = signal from schmidt trigger THOLD = delay timer for time setting TDELAY = delay timer for time setting (second timer) COUNTER1 =200 COUNTER2 =150 Increment COUNTER1 =0 COUNTER2 =0 increment MINUTE Toggle AMPM yes HOUR=13 HOUR=1 No KEEPING TIME PULSE=1 No PULSE=0 No

ALARMFLAG =1 Decrement STAGE- CNT STAGECNT = 0? No Increase BRT ON=BRT OFF=255-BRT Set STAGECNT COUNTLT=0? Decrement COUNTLT LSTATUS=1? LSTATUS=0 COUNTLT= OFF LSTATUS=1 COUNTLT= ON No CONTROL BRIGHTNESS BRT > 100 STAGECNT =X STAGECNT =X/2 TWLGT=1? decrease BRT ON=BRT OFF=255-BRT Set STAGECNT STAGECNT= X/2 BRT=0 ALARMFLAG =0 TWLGT=0 No BRT=255 No ALARMFLAG =0 LSTATUS=1 STROBE=1 STROBEON=1 No NEED STROBE!!!

CONTROL RAMP LENGTH AND SUNSET Ramp Input Ramp button pushed RMPCNT= RMPCNT+1 Yes RMPCNT<250 RMPCNT=250 TWLGT=0 ALARMFLAG=1 Display “SUNS” yes RMPDIS=250 RAMPBUTN=1 No FRSTPRES=1 RMPCNT=1 FRSTPRES=1 RAMPDIS=0 FRSTPRES=0 Don’t display RMPTIME No Yes TURN ON SUNSET AFTER BUTTON HELD FOR A WHILE RAMPBUTN=1 Display RMPTIME RMPDIS= RMPDIS-1 BUTTON JUST TURNED ON BUTTON RELEASED BUTTON HELD ON RMPCNT<250 yes Rotate RMPTIME NOT FIRST TIME BUTTON PRESSED MEASURES HOW LONG BUTTON PUSHED

LIGHT SWITCH OPERATION Variables: LIGHTON = 1 (on), 0 (off) LIGHTSW = light switch held on (1), off (0) LDELAY = delay to slow light getting brighter Light switch pressed xxx Light Switch LIGHTON=1 COUNTL= COUNTL+1 COUNTL=5 Yes COUNTL=0 LDELAY=0 LIGHTON=0 LDELAY<3 LDELAY= LDELAY+1 LDELAY=0 ON=ON+1 OFF=OFF-1 LIGHTON=0 Yes LIGHTON=1 Yes LIGHT SWITCH AND DIMMER FUNCTIONS Yes