Electrical Overview HC08 Motor Controller Motor Controller Motor Controller.

Slides:



Advertisements
Similar presentations
I can order decimal numbers up to three decimal places (4a)
Advertisements

ELEC 330 Digital Systems Engineering Dr. Ron Hayne
EET 2261 Unit 5 Tables; Decision Trees & Logic Instructions
Revised: Aug 1, EE4390 Microprocessors Lesson 6,7 Instruction Set, Branch Instructions, Assembler Directives.
Assembler Programming Chapter 6. EEL-4746 Best Practices.
A.U.V. Emeric Rochford Dale Williams Bryan Douse Ryan Gray.
68HC11 Polling and Interrupts
© 2010 Kettering University, All rights reserved..
Team Stargazer Dan Beard. Problem Statement To build an altitude and azimuth steerable satellite dish, with a receiver or a transceiver for communication.
Programming the HC12 in C. Some Key Differences – Note that in C, the starting location of the program is defined when you compile the program, not in.
1 ECE 372 – Microcontroller Design Basic Assembly Programming for(j=0; j
A.U.V. Emeric Rochford Dale Williams Bryan Douse Ryan Gray.
10/18/2006ELM 4071 Miniproject Team Gary Dan Farley Tyson Rogstad Erik Flum Rob Koch Gary Zigmann Rob.
A.U.V. Emeric Rochford Dale Williams Bryan Douse Ryan Gray.
A.U.V. Emeric Rochford Dale Williams Bryan Douse Ryan Gray.

Microcontroller Fundamentals & Programming
© 2010 Kettering University, All rights reserved..
The M68HC11 Basic Instruction Set Basic Arithmetic Instructions
ELE22MIC Lecture 19, 20, 21 Edge Detector Latch vs Flip Flop
3 x 5 means… 3 “lots of” 5 3 x 5 means… 3 “lots of” = 15.
M Semiconductor Products Sector 68HC08 CPU Training Slide #1 of 29 Tutorial Introduction PURPOSE: -To explain how to effectively use the 68HC08 CPU Module.
Unit 6 Lesson 1 An inequality is like an equation, but instead of an equal sign (=) it has one of these signs: < : less than ≤ : less than or equal to.
ECE 265 – LECTURE 8 The M68HC11 Basic Instruction Set The remaining instructions 10/20/ ECE265.
ECE Lecture 13 Motorola 68HC11. Resources 68HC11 E-series Reference Guide and if necessary 68HC11 E-series Technical Data 68HC11 Reference Manual.
 A -  B -  C -  D - Yes No Not sure.  A -  B -  C -  D - Yes No Not sure.
ECE 447: Lecture 12 Logic, Arithmetic, Data Test and Control Instructions of MC68HC11.
What is the value of the money shown? a)$1.38 b)$1.18 c)$1.48 d)$1.75.
EE 319K Introduction to Microcontrollers
Scientific Notation. A number is in scientific notation when There is a number (I’ll call “n”) that is bigger than or equal to one, but less than ten.
1 Segments and Pseudo Operations Program Development.
George W. Woodruff School of Mechanical Engineering, Georgia Tech ME4447/6405 ME 4447/6405 Microprocessor Control of Manufacturing Systems and Introduction.
1 ECE 372 – Microcontroller Design Assembly Programming HCS12 Assembly Programming Addressing Modes Stack Operations Subroutines.
Which is closer to the boat; the bird or the fish?
Ordering decimals.
Ordering Decimals. Learning Goals LG: Demonstrate the ability to order decimals in an accurate order Kid Friendly: Show that you understand how to determine.
Microcontroller Fundamentals & Programming Arithmetic Instructions.
© T Madas Positive NumbersNegative Numbers Zero is not positive or negative.
Embedded Systems Lecture 5 January 25 th, 2016.
1 68HC11 Timer. 2 68HC11 Timer Subsystem Several timing functions: Basic timing Basic timing Real time interrupts Real time interrupts Output compare.
ALGEBRA 1 Lesson 1-4 Warm-Up. ALGEBRA 1 Lesson 1-4 Warm-Up.
1 ECE 372 – Microcontroller Design Basic Assembly Programming for(j=0; j
ELE22MIC Lecture 17 Writing 68HC11 software 68HC11 Main Timer System –Output Compare –What is different about TOC1?
Vessel Water Line Location as a function of Overall Displacement
ELE22MIC Lecture 18 Writing 68HC11 software 68HC11 Main Timer System
ECE 3430 – Intro to Microcomputer Systems
Slide 7 Mikroprosesor Sub. Algoritma Program___
Buffered, Interrupt-Driven Printer Design Example
HC11 Programming.
ECE 3430 – Intro to Microcomputer Systems
ELE22MIC Lecture 18 Writing 68HC11 software 68HC11 Main Timer System
General Purpose I/O.
ECE 3430 – Intro to Microcomputer Systems
Buffered, Interrupt-Driven Printer Design Example
ECE 3430 – Intro to Microcomputer Systems
Branching and Loops.
Graded Quiz #4 Sept. 25, 2017 Clicker [AB]
Counting & Comparing Money 2 $ $ $ $.
Counting & Comparing Money $ $ $ $.
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Rahu is Ascending or Northern Node Ketu is Descending or Southern Node.
Interrupt-Driven State Machine
ME 4447/6405 Microprocessor Control of Manufacturing Systems and
Notes Over 1.7 Solving Inequalities
Every number has its place!
Adding Real Numbers Find each sum
Notes Over 1.7 Solving Inequalities
Indexing Through Memory
Inequalities x > a Means x is greater than a
Decisions in assembler code
Presentation transcript:

Electrical Overview HC08 Motor Controller Motor Controller Motor Controller

Software Overview Depth Control depth equal to 30? Ascend Start Surface Water Present in hull? No Yes No depth Greater than 30? descend Yes No Yes SET_DEPTH: SEI ; LDAA M1_CTRL BPL SD_M1_DIVE ; BCLR PORTT,% NEGA ; BRA SD_M1_CONT SD_M1_DIVE: BSET PORTT,% SD_M1_CONT: TSTA ; BNE SD_M1_SETSPEED INCA SD_M1_SETSPEED: LDAB #PWM_STEP ; MUL STD M1_PWM_DCYCLE ; ; --- LDAA M2_CTRL BPL SD_M2_FORW ;must be negative BSET PORTT,% ;( NEGA BRA SD_M2_CONT SD_M2_FORW: BCLR PORTT,% ;( SD_M2_CONT: TSTA BNE SD_M2_SETSPEED INCA SD_M2_SETSPEED: LDAB #PWM_STEP MUL STD M2_PWM_DCYCLE CLI ;