Madalina Vintila David Wilkinson Michelle Zhang Zac Greenawalt

Slides:



Advertisements
Similar presentations
Switch code for Lab 4.2 switch (input) { /* input is a variable that we will test. */ case 'M': printf("The prefix is equal to 1E6.\n"); break; case 'k':
Advertisements

Senior Q2 Shy Tortoise. Sample >>> > > >>
The 8051 Microcontroller Chapter 5 SERIAL PORT OPERATION.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 6: Process Synchronization.
5.6 Semaphores Semaphores –Software construct that can be used to enforce mutual exclusion –Contains a protected variable Can be accessed only via wait.
Software Design Project
Madalina Vintila David Wilkinson Michelle Zhang Zac Greenawalt.
ENTC-489 Embedded Real Time Software Development Embedded Real Time Software Development Week 10 Real Time System Design.
Madalina Vintila David Wilkinson Michelle Zhang Zac Greenawalt.
Ethernet Driver Changes for NET+OS V5.1. Design Changes Resides in bsp\devices\ethernet directory. Source code broken into more C files. Native driver.
FPGA firmware of DC5 FEE. Outline List of issue Data loss issue Command error issue (DCM to FEM) Command lost issue (PC with USB connection to GANDALF)
Madalina Vintila David Wilkinson Michelle Zhang Zac Greenawalt.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 29P. 1Winter Quarter Software Design Project Lecture 29.
Madalina Vintila David Wilkinson Michelle Zhang Zac Greenawalt.
Team 10 Julia Liston. Project Overview  Our team’s goal is to build a prototype of a robot that can: Use GPS to locate a lost person Autonomously navigate.
Stacks An Abstract Data Type. Restricted Access Unlike arrays, stacks only allow the top most item to be accessed at any time The interface of a stack.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 6: Process Synchronization.
Phillip Byers Jonathan Mulvaine Josh Schortgen Michael Broski TEAM BOAR.
ECE477 Senior Design Android street car Team 12 Libo Dong 1.
System Software Design Dan Sweet May 6 th, 2008 Western Washington University Bicycle Power Meter.
1 Ian Bacon Zach Dicklin Amy Ritter Eric Yee Software Overview.
Wireless control of an LED. the XBee transceiver transmitter: sends radio waves receiver: receives radio waves transceiver: sends AND receives.
System Software Design Presentation Western Washington University Taylor Reijm.
WORKING OF SCHEDULER IN OS
Team 9 - Scribacious Rabble
Serial I/O Port.
Unit 1 Instruction set M.Brindha AP/EIE
Chapter 4 The If…Then Statement
ECE 353 Lab 3 Pipeline Simulator
LCD and Keyboard Interfacing
Source: Serial Port Source:
HKN ECE 220: Fall 2017 Midterm 1 AJ Schroeder, Evan Lissoos, Utsav Kawrani 23rd September, 2017.
Flight Software – EPS Module
3.Instruction Set of 8085 Consists of 74 operation codes, e.g. MOV
Understanding the Geometric Shape Code
1. Introduction A microprocessor executes instructions given by the user Instructions should be in a language known to the microprocessor Microprocessor.
Moto-eV Team 13 Michael Stuckenschneider Loren Garby Arin Chakraverty
Serial I/O and Data Communication.
Chapter 5: Loops and Files.
Group 60 ECE 445 Spring 2016 Devin Berchtold Michael Yu
Repetition-Counter control Loop
Introduction to Micro Controllers & Embedded System Design I/O Processing and Serial Port Operation Department of Electrical & Computer Engineering Missouri.
I/O - input/output system components: CPU, memory, and bus -- now add I/O controllers and peripheral devices CPU must perform all transfers to/from simple.
ECE 477 Design Review Team 8  Spring 2007
LCD and Keyboard Interfacing
8051 Single Board Computer (SBC) Version 1.0
Arrays, For loop While loop Do while loop
ECE 354 Computer Systems Lab II
LCD and Keyboard Interfacing
Serial Communication Interface: Using 8251
Madalina Vintila David Wilkinson Michelle Zhang Zac Greenawalt
Final Exam Review Department of Electrical and Computer Engineering
Home Enhancement Suite
Thermal arm-wrestling
HKN ECE 220: Spring 2018 Midterm 1
LCD and Keyboard Interfacing
Joe Trefilek Jeff Kubascik Paul Scheffler Matt Rockey
Chapter 7 LC-2 Assembly Language.
TCSP – Software Design.
George Hadley Kelli Hacker Sean Ma Jacob Champion
Zac Nina Michelle David
ECE 353 Lab 3 Pipeline Simulator
MIPS I/O and Interrupt.
Assemblers CSCI/CMPE 3334 David Egle.
VB.Net Programming Console Application
Software Development Environment, File Storage & Compiling
ENSC351 Final Project Demo
Lec 21 More Fun with Arrays: For Loops
ECE511: Digital System & Microprocessor
Finding the maximum matching of a bipartite graph
Presentation transcript:

Madalina Vintila David Wilkinson Michelle Zhang Zac Greenawalt Team 5 Software Design Madalina Vintila David Wilkinson Michelle Zhang Zac Greenawalt

Flowchart

Pseudo Code for the Pen Initialization; While true { If pb flag set { Clear pb flag 2 channel conversion; Store sample in memory location Set data ready flag } else { if prev_press flag set { transmit end of character } } If data ready flag set { clear data ready flag Take sample from memory & add to buffer for transmitter Take battery count add to transmitter buffer Transmit (when buffer full) If CC > max value { add CC value to transmitter stack transmit

Subroutines Timer interrupt service subroutine (120Hz) { If PB pressed { Set flag to do conversion set previous press flag } Else { clear previous press flag } } CC interrupt { Increment cc value++ } Transmit subroutine { Clear CC Transmit buffer data

Flowchart

Pseudo Code for the Base Initialization; While true { If receiver flag { clear receiver flag read from SPI; parse data check for end of character info – set flag if present else { store ATD into buffer } increment battery status variable with CC received } If end of character flag set { clear flag attempt character match with buffer data if match, display on LCD else display error mark (?) clear data stack

Subroutines CC interrupt { if discharging { Increment cc value++ } else { Decrement cc value -- } } Timer interrupt { update base & pen battery status on LCD } Transceiver interrupt { set receiver flag }

Questions? Comments?