GVSU Pinewood Derby EGR 450 Greg Cooke Bob Humphrey.

Slides:



Advertisements
Similar presentations
Chapter 3 Basic Input/Output
Advertisements

11-instruction CPU with 2 12 (4096) 16-bit RAM. Illustrates how a general-purpose computer is assembled from gates and registers. The design is simplified.
Building Dependable Systems. R1. There is a single control button available for the user of the oven. If the oven is idle with the door closed and you.
Adding a Crystal Report to M3 This presentation will assist you in adding a custom Crystal report into Millennium 3.
In this presentation you will:
Functional Analysis and Physical Decomposition ME/EE 386.
 Control structures  Algorithm & flowchart  If statements  While statements.
Programmable Logic Controller PLC
Lab. 2 – More details – Tasks 4 to 6 1. What concepts are you expected to understand after the Lab. 2 is finished? 2. How do you demonstrate that you have.
Group 4 Rotationally Refreshed Display Patrick Boyd Daniel Hill.
Lecture 6: PLC: Timers and Counters
Statement of Purpose: To program an incremental counter using the PSoC Designer 5.0, Imagecraft, the programming language C, the PSoCEval USB CY3214 circuit.
SELF TEST TUTORIAL Taking an Exam What you need to get started.
Ultimate Super Cars: MV Presented by: Rishi Parmar Michael Asavareungchai.
1 Timing System Timing System Applications. 2 Timing System components Counting mechanisms Input capture mechanisms Output capture mechanisms.
ROBOTC Software Introduction. ROBOTC Software ROBOTC developed specifically for classrooms and competitions Complete programming solution for VEX Cortex.
Programmable Logic Controllers
Assembly Programming on the TI-89 Created By: Adrian Anderson Trevor Swanson.
Chapter 10 And, Finally... The Stack. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display Stacks A LIFO.
Pinewood Derby Timing System Using a Line-Scan Camera Rob Ostrye Class of 2006 Prof. Rudko.
Genuine random number generator demo software explanation What happens in this demo LeTech Co.,ltd.
Using the Stop Watch & Scientific Calculator
Continue The information provided in this training module covers the schematic flow charts for all ovens and ranges that utilized a preheat board, Self.
Khaled A. Al-Utaibi  The Push Button  Interfacing Push Buttons to Arduino  Programming Digital Inputs  Working with “Bouncy”
Memory Layout and SLC500™ System Addresses. Processor Memory Division An SLC 500 processor's memory is divided into two storage areas. Like two drawers.
Microcode Source: Digital Computer Electronics (Malvino and Brown)
AT&T Metroplex High School Hockey League Home testing instructions as of 8/13/2014 Contact: Corey Smith, MS, ATC
CS 147 June 13, 2001 Levels of Programming Languages Svetlana Velyutina.
Cosc 2150: Computer Organization Chapter 2 Part 1 Integers addition and subtraction.
Introduction to structured VLSI Projects 4 and 5 Rakesh Gangarajaiah
Installing the Server Software The first step in creating a MagicInfo Pro digital signage system is to install and configure the MagicInfo Pro Server.
TK2633 : MICROPROCESSOR & INTERFACING Lecture 10: Fixed Point Arithmetic Lecturer: Ass. Prof. Dr. Masri Ayob.
Know and use the different functions on a basic calculator.
Timer Timer is a device, which counts the input at regular interval (δT) using clock pulses at its input. The counts increment on each pulse and store.
Lecture 14 Today’s topics MARIE Architecture Registers Buses
CS 111 – Sept. 15 Chapter 2 – Manipulating data by performing instructions “What is going on in the CPU?” Commitment: –Please read through section 2.3.
CS 232: Computer Architecture II Prof. Laxmikant (Sanjay) Kale.
PHY 201 (Blum)1 Microcode Source: Digital Computer Electronics (Malvino and Brown)
read and learn from example loop programs develop modular program
Timers and Counters by Dr. Amin Danial Asham. References  Programmable Controllers-Theory and Implementation, 2nd Edition, L.A. Bryan and E.A. Bryan.
Velleman Oscilloscope: Windows 7 by Mr. David Fritz.
© GCSE Computing Candidates should be able to:  describe the characteristics of an assembler Slide 1.
Outline Binary Addition 2’s complement Binary Subtraction Half Adder
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
Interrupt driven I/O Computer Organization and Assembly Language: Module 12.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
9-4 Permutations (pg ) Indicator – D7. Permutation: an arrangement, or listing, of objects in which order is important (you can use the to find.
Basic study of a switch Unit 3.Lesson 3. A switch Purpose A switch is a mechanical device used to connect and disconnect a circuit at will Parts seen.
بسم الله الرحمن الرحيم MEMORY AND I/O.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
TIMERS Used to carry out tasks which involve time delay and time counting. A timer circuit is specified by stating the interval to be timed and the conditions.
Copyright 2006 Addison-Wesley Brief Version of Starting Out with C++ Chapter 5 Looping.
DS200 PROCEDURES SPEAKER TOUCH SCREEN DISPLAY
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Control Unit.
PLC programming Part 3: Problems with solutions. Topics  Every problem is devided into three parts:  Technology description contains the general properties.
F453 Module 8: Low Level Languages 8.1: Use of Computer Architecture.
Discrete Control Logic
Bell Ringer: 11/3/14 What is an irrational number?
Affiliate Menu – Gallery
Control Unit Lecture 6.
Assembly Language Programming of 8085
Machine code Recall that all a computer recognises is binary code.
Introduction of microprocessor
Fundamentals of Computer Organisation & Architecture
1.6) Storing Integer:.
Press Ad Screen-shot.
Programmable Logic Controllers (PLCs)
Building Dependable Systems
Register sets The register section/array consists completely of circuitry used to temporarily store data or program codes until they are sent to the.
Presentation transcript:

GVSU Pinewood Derby EGR 450 Greg Cooke Bob Humphrey

Goals Modify pinewood derby track for addition of new components. Modify pinewood derby track for addition of new components. Create timing system for 4-lane pinewood derby to display time from start to finish for each car, using Motorola 68HC11. Create timing system for 4-lane pinewood derby to display time from start to finish for each car, using Motorola 68HC11. Write software in assembly language for control of 68HC11 and implementation of timing system. Write software in assembly language for control of 68HC11 and implementation of timing system.

Track Modification Contact added on start lever completes circuit when race started, setting a bit on the 68HC11. Contact added on start lever completes circuit when race started, setting a bit on the 68HC11. Plexiglass arms added at finish line with metal contacts under track to complete a circuit. Plexiglass arms added at finish line with metal contacts under track to complete a circuit. Cars knock arms over, break contact, clearing a bit on the 68HC11. Cars knock arms over, break contact, clearing a bit on the 68HC11.

And Theyre Off! When start lever completes circuit, software detects and branches to a race subroutine. When start lever completes circuit, software detects and branches to a race subroutine. Inside race subroutine, the current value of 68HC11s free-running timer is stored in memory for later calculations. Inside race subroutine, the current value of 68HC11s free-running timer is stored in memory for later calculations. Race subroutine then repeatedly checks bits to see when cars finish, until all cars have finished. Race subroutine then repeatedly checks bits to see when cars finish, until all cars have finished.

The Race The 68HC11s free-running timer has a range of 524.3ms. The timer will overflow several times during the race. The 68HC11s free-running timer has a range of 524.3ms. The timer will overflow several times during the race. Accumulator B is used as an overflow counter. Accumulator B is used as an overflow counter.

Cars knock arms over, breaking a circuit, clearing a bit in memory. Cars knock arms over, breaking a circuit, clearing a bit in memory. As each car finishes, software detects the bit change and stores the current timer value and current overflow count in memory locations designated for each cars data. As each car finishes, software detects the bit change and stores the current timer value and current overflow count in memory locations designated for each cars data. Finish Line

Post-Race Calculation The start timer value will be the same for each car. That value is subtracted from the timer range and stored. The start timer value will be the same for each car. That value is subtracted from the timer range and stored. For each car, the timer range is multiplied by the overflow count and stored. For each car, the timer range is multiplied by the overflow count and stored. Also for each car, the start timer value is added to the overflow time and the finish time, giving a total time. Also for each car, the start timer value is added to the overflow time and the finish time, giving a total time. The total time is then stored in memory. The total time is then stored in memory.

And the Winner Is… The times for each lane are displayed down to the hundredth of a second in Hyperterminal. The times for each lane are displayed down to the hundredth of a second in Hyperterminal. Times are always displayed from lane 1 to lane 4. Times are always displayed from lane 1 to lane 4. The results remain on the screen until a start button is pressed, indicating that a new race is ready to begin. The results remain on the screen until a start button is pressed, indicating that a new race is ready to begin.