BICYCLE SECURITY AND TRIP COMPUTER MATTHEW ROTHNIE WESTERN WASHINGTON UNIVERSITY 4/25/12.

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

Programmable Interval Timer
EET 450 Chapter 2 – How hardware and Software Work Together.
Basic Input Output System
BlueECG System Software Design Western Washington University By: Corey Williamson.
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
CSNB374: Microprocessor Systems Chapter 5: Procedures and Interrupts.
1.4 Hardware Review. CPU  Fetch-decode-execute cycle 1. Fetch 2. Bump PC 3. Decode 4. Determine operand addr (if necessary) 5. Fetch operand from memory.
Michael Nist. System Software Design  MCU (2): CY8CPLC20 8-bit  32 KB Flash, 2 KB SRAM  Bus Frequency: 24 MHz  Memory requirements:  Main Controller:
System Software Design Review.  MCU: NXP LPC2378 ARM7 32-bit  512 KB Flash, 8KB EEPROM and SRAM  Bus Frequency: 20 MHz  Approximate Memory requirements:
1/9/ :46 1 Priority Model Real-time class Idle Above Normal Normal Below Normal Lowest Highest 31 Time-critical Dynamic classes.
 Home Security and Lighting System  Western Washington University  Jonathon Ross  28 April, 2009.
System Software Design Colin Gatlin May 12, 2009 Western Washington University.
Turbine Flow Meter Kevin Hooks Senior Design Project.
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.
SYSTEM SOFTWARE DESIGN JAMES ZUROSKE Pet Proximity Sensor.
Lost Item Pager System Design Russ Kinley 5/6/6008.
Processor Memory Processor-memory bus I/O Device Bus Adapter I/O Device I/O Device Bus Adapter I/O Device I/O Device Expansion bus I/O Bus.
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.
100KW E LECTRIC V EHICLE C ONTROLLER /I NVERTER S OFTWARE D ESIGN Tony Ahmann 5/6/09.
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.
Lab 1 Summary.
Portable/Programable Location System – Software Design By: Mark Moerdyk.
Digitally Configurable Audio Routing Patchbay DCARP System Software Presentation Aaron Cramer Western Washington University 2009.
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.
SGDRS Software System Design Justin A. King WWU EET Senior project 2013.
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.
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.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Lecture 3 Chapter 1: Introduction Provided & Updated by Sameer Akram.
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.
Conserve-A-Watt System Software Design Justin Rapozo.
FINGERPRINT BASED ACCESS CONTROL SECURITY SYSTEM SPONSERED BY : PINACLE SOLUTIONS GROUP MEMBERS : 1.PRATIBHA DESAI 2.MANISHA BOLAGE 3.SEEMA KAKADE GROUP.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
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]
Automated Aquarium Controller System Software Design ETEC 474 Western Washington University By: Gregory Rose.
28 April 2005 Brushless DC Motor Controller Software Design Presentation Western Washington University Patrick Prendergast.
System Software Design Presentation Western Washington University Taylor Reijm.
CS501 Advanced Computer Architecture
Wireless Optical USB Mouse
Lesson Objectives Aims Key Words Interrupt, Buffer, Priority, Stack
Wireless Heart Rate Monitor
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
System Software Design
Presentation transcript:

BICYCLE SECURITY AND TRIP COMPUTER MATTHEW ROTHNIE WESTERN WASHINGTON UNIVERSITY 4/25/12

 MCU- MC9S12C bit  128-K Flash EEPROM, 4KB RAM 31 GPIO  25MHz bus speed  ROM- no ROM  Flash EEPROM- 4K  RAM- 1K  Resources- 23 GPIO

 Kernel- Timeslice  Pre-emptive real-time Kernel  Tick period- 100 mS  Task and ISR total-  Start, Data, Key, Alarm, Sensor, Alarm ISR, Sensor ISR and Toggle ISR

 Initializes all Resources  Period- Once at beginning  Execution time- ~500 mS

 Scans Keypad and updates buffer  Period- 10 mS  Execution Time- ~1 mS  CPU load = 1 mS/10 mS = 10%

 Handles user input  Gets speed values from the Speed-Sensor  Updates LCD values  Does all calculations for speed and distance  Handles Alarm Driver output  Period- 500 mS  Execution Time- ~30 mS  CPU load = 30 mS/500 mS = 6%

 Handles the alarm interrupts from the sensor, secure-loop and keypad entry  Period- Sporadic  Execution time- 1 mS

 Takes all the output from the Hall Effect sensor and converts to timing information that can be used for the Data function  Scans Sensor output and updates buffer  Period- ~10 mS  Execution Time- ~1 mS

 Gives output voltage for Buzzer Driver when alarm is “on” and the sensor reports movement  Period- Sporadic  Execution Time- ~2 mS

 Goes into initialization routine after this interrupt occurs  Period- Sporadic  Execution Time- ~1 mS

Load (max) = 10% + 6% = (with rounding) ~ 20%

ModuleTasksPublic Functions Main.cStart() Data() Alarm() Sensor() CalculateSpeed() CalculateDistance() LCD4Bit.cLCDSpeed() LCDDistance() LCDCalculation Key.cKeyTask()KeyInit() GetKey()

KEYSCAN KEYPAD KEY TABLE Key Flag KEY KeyPend() KeyInit()

CalculateSpeed() CalculateDistance() Buzzer() ALARM DRIVER Main.c Sensor() Alarm() LCD

IRQ Alarm() ISR Flag

XIRQ ISR Flag Alarm()

PP 05 ISR Flag Alarm()