Automated Aquarium Controller System Software Design ETEC 474 Western Washington University By: Gregory Rose.

Slides:



Advertisements
Similar presentations
System Software Design Frank Mirabelli. Motorola MC9S12DP512 Bus Frequency 24 MHz Available Memory 512K bytes Flash EEPROM, 4K bytes EEPROM, 14K bytes.
Advertisements

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.
Digital Thermostat and Data Logger Brandon Wagner and David Southwick.
Mark Schaumburg.  Dash Module for Formula Car  Sample pulse from engine for RPM  Display Information  Control gui  Can network interface  Request.
9/23/02 Program Flow Chart User Hits Key Setup Key Product Key Product Program Direct Robot Programming Area Perimeters Hopper Position Assembly Area Position.
Automated Pool Maintenance System Jonathan Arbogast Janine Garnham Ajay Suthar.
Craig Chan & Mike Abidoye
Confidential Document 1 EverAccess Product Overview By Julian Garcia.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
TextWand Programmable LED Display Carlos Vila-Virella and Andy Campanella.
BlueECG System Software Design Western Washington University By: Corey Williamson.
EE 446 Project Assignment Top Design Sensor Components Pin Assignment and Configuration Completed Physical Setup Project Tasks.
Ulster.ac.uk Embedded Systems Designing the high level structure of your embedded system Ian McCrum School of Engineering.
Team 15. Code Modules Web Server Interface and Operating Parameters Chemical Level Detection Calibration Routine Adjusting Agent Calculation Chemical.
DELTA TAU Data Systems, Inc. 1 UMAC TurboTurbo PMAC PCIGeo Drive Single Source Machine Control motion logic data Power PMAC Operational Summary November.
The Amiga Operating System: Past and Present Aaron Hensley Kayla Zinn Brad Campbell Gregory Mathurin Josh Benson.
Overview Task State Diagram Task Priority Idle Hook AND Co-Routines
ECGR-6185 µC/OS II Nayana Rao University of North Carolina at Charlotte.
UNIX Unit 1- Architecture of Unix - By Pratima.
Michael Nist. System Software Design  MCU (2): CY8CPLC20 8-bit  32 KB Flash, 2 KB SRAM  Bus Frequency: 24 MHz  Memory requirements:  Main Controller:
 Home Security and Lighting System  Western Washington University  Jonathon Ross  28 April, 2009.
Turbine Flow Meter Kevin Hooks Senior Design Project.
System Software Design and Documentation Zach Hill Western Washington University.
Digital Handheld Communication and Navigation Device
Water Flow GROUP A. Analogue input voltage results: Motor Input voltage( V) pin 12 Analogue input voltage (V) Display number
Vinh Le.  MCU: Freescale Kinetis K60512 ARM Cortex M4  Bus Frequency: 50MHz  Available Memory: ◦ 512KB Flash ◦ 64KB SRAM  Memory Required: ◦ 10KB.
Lost Item Pager System Design Russ Kinley 5/6/6008.
Ryan Hansgen. General System Design  MC9S08QE64CFT 24MHz Bus Frequency 64 K byte Flash EEPROM, 4.0 K byte RAM  Memory required 8 K bytes ROM 2 K bytes.
RFID Access Control System Lucius Knight. General System Design  Microcontroller  PSoC CY8C29466  24MHz Bus Frequency  Memory Available  32kB FLASH.
System Software Design Dane Kim May 4 th, 2009 EET 475, WWU.
BICYCLE SECURITY AND TRIP COMPUTER MATTHEW ROTHNIE WESTERN WASHINGTON UNIVERSITY 4/25/12.
By Jesse W. Spalding.  Microcontroller Choice  Motorola 9S12DP256B ◦ Set to 24 MHz for the Bus Frequency ◦ Memory  256K Bytes of ROM  12K Bytes of.
ATV INSTRUMENTATION DISPLAY System Design Ed Raezer Senior Project Western Washington University.
Multi-Access Lock Andrew Hall. General System Requirements MCU: MC9S12C128 Bus Frequency: 24MHz Memory Requirements: 11k bytes Flash EEPROM 3k bytes RAM.
System Software Design Engineer: Mac Gainor Western Washington University.
Machine Access System Software Design and Documentation Western Washington University By: Kevin Pogue.
Portable/Programable Location System – Software Design By: Mark Moerdyk.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
Humidity Sensing Fan Controller Jason Huft 05/11/10.
System Software Design Dan Sweet May 6 th, 2008 Western Washington University Bicycle Power Meter.
Automatic Pressure Canning System System Software Design By: Michael Drysdale.
Atmospheric Data Measuring Rocket Software Design & Description Matt Buonadonna ADaM Code Presentation.
GPS Enhanced PFD System Software Presentation Eric Grossmann.
Software Design Review Andres Rodriguez. General System Design  MCU: STM32F405  MCU Bus Frequency: 84MHz  Memory Requirements  Flash: ~ 10Kb  RAM:
System Software Design GPS Training System Jason Corbridge May 8, 2008 Western Washington University.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
WESTERN WASHINGTON UNIVERSITY KENT SYKES 2009 Audio Field Recorder System Software Design.
ATV INSTRUMENTATION DISPLAY System Software Design Ed Raezer.
Confidential Document 1 EverAccess Product Overview By Rodney Guinto.
Wireless Heart Rate Monitor. On-Person Unit MC13213 (HCS08)  16 MHz Bus Frequency  On Chip Resources 60K of Flash 4K of RAM  Require Resources 15K.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
HOME CONTROL SYSTEM By: Justin E. Klumpp & Leo L.S. Wan Leo L.S. Wan.
System Software Design Doorbell Jukebox Henry Arbicor and Arthur Bingcang.
Electronic Automotive Motor Control System Software Description Viking 32.
Voice Over IP – Software Western Washington University By: Jonathan R. Peterson.
Electronic Memory Game System Software Design Jack Sullivan May 08, 2007.
Alarm units AL 175 NT and Aeon Gold For small, medium and large power range.
Conserve-A-Watt System Software Design Justin Rapozo.
KNU RTLAB A Real-Time Linux System For Autonomous Navigation And Flight Attitude Control Of An Uninhabited Aerial Vehicle Charles E. Hall, Jr. Mechanical.
Software Overview Walking Robot by Sharon Davis Kernel MicroC/OSII.
The Guardian: Refrigerator Contents Tracker Bryant Lampano Western Washington University Electronics Engineering Technology [Type the company name]
28 April 2005 Brushless DC Motor Controller Software Design Presentation Western Washington University Patrick Prendergast.
System Software Design Presentation Western Washington University Taylor Reijm.
Wireless Optical USB Mouse
Wireless Heart Rate Monitor
Mobile Operating System
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
System Software Design
Presentation transcript:

Automated Aquarium Controller System Software Design ETEC 474 Western Washington University By: Gregory Rose

Kernel Selection Real-time preemptive multitasking kernel Configured for my program –Modify (os_cfg.h) MicroC/OS-II

Priority of Tasks 4) Start Task 5) Clock Task 6) User Interface Task 7) Key Task 8) Control Task 9) Main Task

Start Task Description:  Initializes system  Creates other tasks  Displays Startup message Priority #4 Period: once (at start-up) Execution time ~ 3sec

Clock Task Description:  Calculates current time of day and date Priority #5 Period: 1 sec (Periodic) Execution time ~ 1.5 us (max)

User Interface Task Description:  Handles User inputs Allows users to set Time Temperature pH Range Lamp times Feeding Amount Scheduled Water Change Priority #6 Period: 0.5 sec (Sporaidc) Execution time ~ 1.7 ms (max)

Key Task Description:  Reads the keypad and updates the buffer Priority #7 Period: 10 ms (Periodic) Execution time ~ 2.2us (max)

Control Task Description:  Read inputs and controls output LEDs, relays, and motor. Priority #8 Period: 1 sec (Periodic) Execution time ~ 1.5us (max)

Main Task Description:  Get A/D conversions  Updates the main operating screen Displays current Date, Time, Temperature, and pH when in main operating mode Priority #9 Period: 1 sec (Periodic) Execution time ~ 1.9 ms (max)

ISR Description:  Generate a semaphore every one second for Clock Task to calculate current time. Period: 1 ms (Periodic) Execution time ~ 291 ns (max)

CPU load L max= (1.5us) + (1.7ms) + (2.2ms) + (1.5us) + (1.9ms) + (291 ns) (1s) ( 0.5 s) (10ms) (1s) (1s) (1ms) L max= 22.6% L average = 9.2%

Modules Main.cATC.cClock.cLCD.c Key.c Control.c Tasks StartTaskClockTask KeyTask ControlTask UITask Main Task Functions and Data CorrectTime()AtdInit()CorrectTime()LcdInit() GetKey() TheDate LcdKeyAtdTempReadLcdKeyLcdClrDisp() KeyInit() TimeOfDay TimeKeyAtdPhRead()TimeKeyLcdDispChar() KeyFlag temp TheDatetempTheDateLcdDispStrg() ph TimeOfDayTimeOfDayLcdMoveCursor() settemp NumberArrayLcdDispTemp() phhigh UIStateLcdDispPh() phlow tempLcdDispTime() feeding phLcdCursor() lampon err lampoff input settemp phhigh phlow feeding lampon lampoff waterchange

Data Flow Diagrams Keypad Keypad I/O KeyTask() KeyCodeTable key KeyFlag Keypad Driver ModuleApplication KeyInit() KeyPend()

Data Flow Diagrams LCD LcdKey LCD Display LCD UITask DisplayMainTask Main.c LCD Driver Module

Data Flow Diagrams ISR IOC0 ISR OCOIsr OneSecond ClockTask Clock.cMain.cTimer Channel PostPend

Data Flow Diagrams A to D A-to–D I/O PAD00 PAD01 Ts = 1 sec AN0-1 ADRODR0H ADRODR1H AtdTempRead() AtdPhRead() ATDCTL5 A\D Converter AtoD.c

Data Flow Diagrams Control Items UITask phhigh phlow settemp temp ph feeding lampon lampoff MainTask main.ccontrol.c Control Task waterchange ClockTask TheDate TimeOfDay TimeKey clock.c