Course Title: Develop and test code for microcontroller devices

Part B: Course Detail

Teaching Period: Term2 2009

Course Code: EEET6745C

Course Title: Develop and test code for microcontroller devices

School: 130T Vocational Engineering

Campus: City Campus

Program: C6083 - Advanced Diploma of Electronics and Communications Engineering

Course Contact: William Lau

Course Contact Phone: +61 3 99254703

Course Contact Email:

Name and Contact Details of All Other Relevant Staff

Pantea Peidaee

Phone: 9925 4468


Peter Lindorff

Phone: 9925 4468


Nominal Hours: 60

Regardless of the mode of delivery, represent a guide to the relative teaching time and student effort required to successfully achieve a particular competency/module. This may include not only scheduled classes or workplace visits but also the amount of effort required to undertake, evaluate and complete all assessment requirements, including any non-classroom activities.

Pre-requisites and Co-requisites

There are no prerequisite competencies for this unit.

Course Description

This competency standard unit covers structured programming instructions for micro devices at a fundamental level. The unit encompasses working safely, applying knowledge device architecture and programming fundamentals, writing and testing specified instructions and documenting development activities.

National Codes, Titles, Elements and Performance Criteria

National Element Code & Title:

UEENEED028B Develop and test code for microcontroller devices


1. Prepare to develop and test basic specifications.

Performance Criteria:

1.1 OHS processes and procedures for a given work structured programs for control sub systems. area are obtained and understood.
1.2 Established OHS risk control measures and procedures in preparation for the work are followed.
1.3 The extent of structure programming to be developed is determined from job performance specifications and in consultations with relevant persons.
1.4 Activities are planned to meet scheduled timelines in consultation with others involved on the work.

1.5 Appropriate development kit and software are selected based on specified requirements and performance standard.
1.6 Strategies are implemented to ensure programming is carried out efficiently. 


2. Develop basic specification.

Performance Criteria:

2.1 OHS risk control measures and procedures for carrying out the work are followed.  

2.2 Knowledge of computer functions and features are applied to developing structure program.
2.3 Correct structure and syntax is applied to developing structure program.
2.4 Key features of the programming language are applied to develop and test solutions. (Note)
2.5 Approaches to issues/problems are analysed to provide most effective solutions.
2.6 Quality of work is monitored against personal performance agreement and/or established organizational or professional standards


3. Test and document the basic specification.

Performance Criteria:

3.1 Testing procedures are developed to test developed program.
3.2 Problems and bugs in program are rectified to ensure specification the creation of the code is met.
3.3 Intermediate and final work reports are written in accordance with professional standards and presented to appropriate person or persons.

Learning Outcomes

Details of Learning Activities

The student will participate in Laboratory based programming tasks., together with background research into C coding, classes and libraries.
Emphasis will be on access to microprocessor ports for control and testing of controller functions.

Teaching Schedule

Week No.Topic Description Assessment Task
1Terminology, applications, bus widths, memory capacityLAB 1
2• The ATMEGA 32 programming model.
• ATMEGA 32 Registers
• Addressing modes of the ATMEGA 32 Microcontroller
3• Introduction to the AVR assembler.
• Terminology and definitions.
• The Assembly process.
• Command line syntax
Lab 3
4The ATMEGA 32 Status Register 
5The ATMEGA 32 packaging and Pin AssignmentsLab 4
6The Fetch Execute Cycle Project Commences
7Programming the ATMEGA 32 Microcontroller
 Phase 1 Completion
8Programming the ATMEGA 32 Microcontroller (Continued)
9• Reset and the ATMEGA 32 Microcontroller.
• Reset circuitry
 Phase 2 Completion
10• The ATMEGA 32 instruction set.
• Shift, rotate, logical and arithmetic instructions.
• Revision
 Phase 3 Completion
11The ATMEGA 32 Stack
Stack definition and operation
12• Subroutines, subroutine calling, nested subroutines.
• Operation and usage
13• Delay Routines
• Determining delay time.
• Problems.
 Phase 4 Completion
14• Parallel Input/Output
• The ATMEGA 32 Input/Output ports.
• Operation and Programming
 Phase 5 Completion
15Revision. Working on project 
16Working on project 
17Written Test Phase 6 Completion
18Project Submission 

Learning Resources

Prescribed Texts


The ATmel 8-bit Microcontroller (AtMega32/32L) 
The ATmel AVR Instruction Set
The ATmel AVR Assembler User Guide

Avail from:

Other Resources

Overview of Assessment

The assessment of this course will consist of:
1. Class Laboratory Exercises
2. Written test
3. Microprocessor Project

Assessment Tasks

Assessment will be comprised of:
• Weekly Laboratory Sessions
• A Practical Laboratory Test
• A Project Submission

Assessment Matrix

Course Overview: Access Course Overview