SYSTEM SOFTWARE DESIGN JAMES ZUROSKE Pet Proximity Sensor.

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

Mark Schaumburg.  Dash Module for Formula Car  Sample pulse from engine for RPM  Display Information  Control gui  Can network interface  Request.
Parts & Functions of a Computer. 2 Functions of a Computer.
1 TinyOS Mohammad Rahimi CSCI599-Spring Motivation  The new class of distributed tiny devices  The new generation of software.
2008EECS Embedded Network Programming nesC, TinyOS, Networking, Microcontrollers Jonathan Hui University of California, Berkeley.
A Framework for Patient Monitoring A. L. Praveen Aroul, William Walker, Dinesh Bhatia Department of Electrical Engineering University of Texas at Dallas.
UNIX chapter 03 Getting Started Mr. Mohammad Smirat.
What is the It is the Next Generation, Calibration Station for the GasBadge ® Plus Personal Monitor
A versatile networked embedded platform for KNX/EIB TU Wien Automation Systems Group Fritz Praus
1 Semester 2 Module 3 Configuring a Router Yuda college of business James Chen
Hardware Fundamentals. Instructor: G. Rudolph, Summer Key Hardware Components Microprocessor Memory Peripherals (I/O) Bus “Glue Logic”
Peripherals and their Control An overview of industrially available “peripheral devices” that use “pulse-width modulation” for information passing. Review.
Chapter 7 AC 800M Hardware Course T314.
BlueECG System Software Design Western Washington University By: Corey Williamson.
The ZigBee Development Enviroment Date: 2009/11/24 Speaker: Junn-Keh Yeh Advisor: Quincy Wu.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
1 XYZ: A Motion-Enabled, Power Aware Sensor Node Platform for Distributed Sensor Network Applications Presenter: James D. Lymberopoulos, A. Savvides.
Other Chapters From the text by Valvano: Introduction to Embedded Systems: Interfacing to the Freescale 9S12.
Project 2 Mobile Game: Hexagon Zhong Zou, Joseph Ferrara EE194 WIR.
Cybikos: wireless handheld computers Cybikos specifications: 32-bit processor running at 11mhz 4mhz coprocessor for its radio transmitter 512k of RAM 512k.
Xiong Junjie Node-level debugging based on finite state machine in wireless sensor networks.
2001 Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling 3.
System Software Design Review.  MCU: NXP LPC2378 ARM7 32-bit  512 KB Flash, 8KB EEPROM and SRAM  Bus Frequency: 20 MHz  Approximate Memory requirements:
 Home Security and Lighting System  Western Washington University  Jonathon Ross  28 April, 2009.
System Software Design and Documentation Zach Hill Western Washington University.
Digital Handheld Communication and Navigation Device
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.
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.
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.
Embedded Computer - Definition When a microcomputer is part of a larger product, it is said to be an embedded computer. The embedded computer retrieves.
Operating Systems. Categories of Software System Software –Operating Systems (OS) –Language Translators –Utility Programs Application Software.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
Humidity Sensing Fan Controller Jason Huft 05/11/10.
Yared Woldekiros Western Washington university WEB ENABLE HOME AUTOMATION.
System Software Design Dan Sweet May 6 th, 2008 Western Washington University Bicycle Power Meter.
Embedded Programming and Robotics Lesson 11 Arduino Interrupts 1.
Automatic Pressure Canning System System Software Design By: Michael Drysdale.
Atmospheric Data Measuring Rocket Software Design & Description Matt Buonadonna ADaM Code Presentation.
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.
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.
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.
Voice Over IP – Software Western Washington University By: Jonathan R. Peterson.
Electronic Memory Game System Software Design Jack Sullivan May 08, 2007.
Low Power Management for CC2430 Jinho Son Real-Time System Lab.
Conserve-A-Watt System Software Design Justin Rapozo.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
The Guardian: Refrigerator Contents Tracker Bryant Lampano Western Washington University Electronics Engineering Technology [Type the company name]
System Software Design Presentation Western Washington University Taylor Reijm.
Chapter Objectives In this chapter, you will learn:
Resource Management IB Computer Science.
Microcontrollers & GPIO
Wireless Heart Rate Monitor
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
Reduce the Startup Load: All the applications start after turning on your computer out of its available memory unless you are using applications every.
Presentation transcript:

SYSTEM SOFTWARE DESIGN JAMES ZUROSKE Pet Proximity Sensor

General System Design MC13213 (HCS08)  Includes the 9S08GT60 & MC1319x  16 MHz Bus Frequency  60K Flash  4K RAM My System Requires  17K Flash  2K RAM  PopNet alone takes 16K Flash and 1k RAM  Paging Required to save to Non-Volatile Memory during battery replacements: Only 2 pages.

Chaos Kernel Round Robin Non Pre-emptive Multitasking Kernel Once started, tasks run to completion Tasks will be skipped if they don’t have any pending events

Tasks PopPhyTaskInit PopBspTaskInit PopNwkTaskInit PopSerialTaskInit PopAppTaskInit PopPhyTaskEventLoop PopBspTaskEventLoop PopNwkTaskEventLoop PopSerialTaskEventLoop PopAppTaskEventLoop

PopPhyTaskEventLoop Handles interaction with the radio Places the radio in receive mode Places the radio in transmit mode and indicates when complete Returns the LQI (Link Quality Indicator) of received data Max Execution Time: 2.3 us

PopBspTaskEventLoop Contains drivers for all hardware (LCD, LEDs, Buzzer) except the radio and serial port Handles low power (sleep mode) and Non-Volatie Memory storage. Handles the timers Max Execution Time: 251us Average Time: 7us

PopNwkTaskEventLoop Handles starting, joining and leaving the network The base or gateway device will form the network The nodes and asset will join the network

SerialTaskEventLoop Handles communicating through the serial port I will not be using this and will have it disabled

PopAppTaskEventLoop Base Device  Waits for data from asset device  Determines location information based on data received or not received  Displays location information on LCD periodically  Handles button press for setting the alarm  Turns buzzer on if alarm is set Routing Node  Waits for data from asset device  Passes data to Base device Asset Device  Periodically sends out a response to whichever node its connected to  Sleeps Max Execution Time: 500us Average Time: 48us

Modules ModuleTasksPublic Functions and Data PopNet.lib Contains: (PopAes.c, PopEvent.c, PopMain.c, PopMem.c, PopMgmt.c, PopNwk.c, PopNwk.h) PopNwkTaskInit PopNwkTaskEventLoop PopSetAppEvent() PopSetEvent() PopApp.cPopAppTaskInit PopAppTaskEventLoop PopBsp.cPopBspTaskInit PopBspTaskEventLoop PopStartTimer() PopEndTimer() extern const int_t cPopLcdRows; extern const int_t cPopLcdCols; extern const int_t cPopNumLeds; extern const index_t giPopNvNumPages; PopCfg.c

Modules Continued ModuleTaskPublic Functions and Data PopDefault.cPopDefaultHandler() PopSerial.cPopSerialTaskInit PopSerialTaskEventLoopN/A PopPhy.cPopPhyTaskInit PopPhyTaskEventLoop PopPhyLqi() LCD.c void LCDInit(void); void LCDWriteString(UINT8 line, UINT8 *str); void LCDClearDisplay(void); void LCDWriteChar(UINT8 ch); Led.c void setLedsMode(UINT8 u8mode, UINT16 u16value, UINT16 u16ledDelay, UINT8 flags); void setLed(UINT8 u8value, UINT8 flags);

LCD Dataflow

Dataflow Between Base and Asset

Dataflow Between Devices