EECE 321L - Project - Competition Scoring Display - PIC16F84A

PW
by Pierre WEHBE0 views·Updated Apr 28, 2016
Powered by AI

Need to present on this topic?

Create your own polished presentation in minutes. Just describe what you need.

Free to try, no credit card required

Transcript

Thank you :)

Any questions ?

Final Display

Extras

Winner Screen

  • Play Again

Display Winner

No winner

Wait Before Changing

Modes

  • Phase 1 Mode
  • Statistics Mode
  • Phase 2 Mode
  • Phase 3 Mode

Phase 1

Phase 3

Setup Screen

Phase 3 - Interrupt

Setup Screen

Phase 1 - Interrupt

TMR0 Interrupt

START/STOP

TIMESCORE

Move Arrow

Chosen

Phase 2

Statistics

Setup Screen

Phase 2 - Interrupt

STATISTICS

GOTOSTATISTICS

ADDSCORE

INCSCORE2

Interrupt

Setup Screen

Select Statistics

Maximum

Sort by Score

Minimum

Sort by Team name

Delays

LCD functions

Ripple delay for switches

LCD Interract

ET

Print

LCD Delay for fast display

500ms Delay

Buzz

Short Buzz

Long Buzz

Team

Get team name in TEMP register

Get team score in TEMP register

Sorting Algorithm

Step 1 - Start

Step 4 - if not equal

Step 2 - Compare

GOTO Phase

Step 3 - if equal

RB - Interrupt

Interrupts

Headings and Initialization

Some useful routines

Header

Inputs/Outputs

Initializer

Declaration of registers

Outputs:

  • LCD
  • Green LED
  • Red LED
  • Buzzer

Inputs:

  • Move
  • Enter
  • Write
  • Start / Stop

Restart

Start routine

LCD Initialization

We have two types of interrupts:

  • RB - Interrupt

- RB4 : Move

- RB5 : Enter

- RB6 : Write

- RB7 : Start / Stop

  • TMR0 - Interrupt - Timer

Welcome Screen

Introduction - CSD

I- A unique device that :

  • Records
  • Calculates
  • Display

the scores of different teams

II - Multiple phases that can be manipulated according to the user's needs

Outline

  • Introduction
  • Headings and Initializations
  • Interrupts
  • Some useful routines
  • Phase 1 Mode
  • Statistics Mode
  • Phase 2 Mode
  • Phase 3 Mode
  • Final Display
  • Extra

EECE 321L - Project

Presented by

Group 38

Marwan MAALOUF

Hussam SHEHAB

Pierre WEHBE

Competition Scoring Display