|
ECE 375: Introduction to Computer Organization and Assembly
ECE 375 is an exciting course that introduces students to the basics of Computer Organization and basic computing paradigms. Using a Atmel ATMega128 microcontroller students will interface with their TekBots and be able to see how their programs and concepts are put into action in a real device.
|
 |
The following lab files require Adobe Acrobat Reader for viewing.
ATMega128 uController Board
AVR Starter Guide, by David Zier
AVR Instruction Set
AVR Assembler Users Guide
mega128.2 Board User Manual
mega128.2 Board Schematic
Software Used in this Course:
Download ECE375 (F09 to current) manual
- v1.02 Wiring Diagram
- v1.03 Wiring Diagram
- v2 Wiring Diagram
- Assembly Code for v1.02 TekBot
- Assembly Code for v1.03 TekBot
- Assembly Code for v2 TekBot
Lab 2 - C -> Assembler -> Machine Code -> TekBot
This section asks you to write a simple C program that mimics the operation of the TekBot from last section. The code sizes of these two program are then looked at.
- Example 'C' Code for v1.02 TekBot
- Example 'C' Code for v1.03 and v2 TekBot
- Skeleton 'C' Code for making Bumper TekBot
Lab 3 - Data Manipulation and the LCD Display
Very important in any computing system is a method of observing the results. Your mega128 board has an on-board LCD display that can be used to observe the results of various actions. This section asks you to create a simple scrolling marquee on your LCD display.
- Lab 3 Code Samples
Lab 4 - Large Number Arithmetic
Often times in computing you need to work with data types that are not standard to the system you are using. For example, the AVR architecture is only 8 bits, what if you wanted to work with 16 bit numbers? In this section you will design a 'simple' function to perform math on some 16 bit numbers.
- Lab 4 Skeleton Code
Lab 5 - Simple Interrupts
In engineering there are always many ways of solving a problem or designing a system. Your job as an engineer is to be able to examine the designs and pick the 'best' one. You have built and compiled two different versions of the bumper TekBot in this course. Now you are going to make one more version, this time using external interrupts on the AVR. You will then compare and contrast the three different versions and explain when and why each solution is better.
- Lab 5 Skeleton Code
Lab 6 - Extremely Simple Computer (ESC)
In this lab we are going to explore in detail how a simple computer processor might work. To do this we are going to simulator called the 'Extremely Simple Computer' (ESC) simulator. Using this tool you will be able to explore computing in depth and gain understanding.
- Lab 6 Skeleton Code
Lab 7 - Remotely Operated Vehicle v2.0
For your project you will need to work together with your partner to make a remote controlled TekBot. You will need to use the IR Communications port on your AVR board to control another AVR board that is connected to the TekBot itself. You need to be able to make your TekBot go forward, backward, stop, and turn either direction.
- Lab 7 Robot Skeleton Code
- Lab 7 Remote Skeleton Code
|