Microprocessors & Interfacing
Lecturer :
COMP9032 Week1 1
Copyright By PowCoder代写 加微信 powcoder
• Before the lecture starts, please
– Turn off Notifications on your computer – Mute your mobile phone
• During the lecture,
– If you have any questions,
• raise your hand to ask, or
• post your questions in chat (preferred)
– Set the microphone properly in your MS Teams
• When you are allowed to speak
– Unmute the microphone
• When you are not speaking
– Mute the microphone
COMP9032 Week1 2
Lecture Overview
• Course Introduction
– A whole picture of the course
• Basics of Computing with Microprocessor Systems
COMP9032 Week1 3
Course Organization
• Lecture:
– Online (4-6pm, Mon. & Tue.)
– Three areas about the microprocessor
• Fundamentals
• Assembly programming
• Interfacing
• Changed from f2f → teaching plan should be adjusted – Four labs (start from Week2)
• Week 1: Set up the simulation environment; form lab groups
• Assignment (design project)
– Microprocessorapplication
COMP9032 Week1 4
Aims of the Course
• After completing the course, you should
– be able to explain the basic microprocessor architecture and the interface between software and hardware
– be familiar with assembly programming (based on the AVR microprocessor)
– be able to explain how the communication between microprocessor and I/O devices works (based on the AVR microcontroller)
COMP9032 Week1 5
Aims of the Course (cont.)
• After completing the course, you should
– understand how analog signals are converted into digital signals and vice versa
– demonstrate the ability to solve various problems with the (AVR) microcontroller
– demonstrate the ability to work in teams for lab tasks and design project
COMP9032 Week1 6
• Lectures
Strategies (1)
– Concepts
– Principles
– Problem solving approaches and techniques
Key topics
• BasicsofComputingwithMicroprocessor
• Instructionsetarchitecture
• AVRassemblyprogramming
• InputandOutput
• Interrupt
• Analog/digitalanddigital/analogconversion
• Serialcommunication
COMP9032 Week1 7
– Lab tools
• Atmel studio
Strategies (2)
– Project development, simulation and debug
• AVR lab board
– Programming and testing
– Lab exercises
• Preparebeforethelabclass
• Finishinlab
• Markedoffbythelabtutor
– Late penalty
» 30% per week
COMP9032 Week1 8
Strategies (3)
– Through a whole design cycle
– Apply what have been learnt in the course
• concepts
• approaches and techniques
– Collaborate with team members
– Communicateprojectwork
• Lab demonstration
• Written report
• Late penalty
– 10% per day
• Design project
COMP9032 Week1 9
• Homework
– Readings – Questions
Strategies (4)
• For quick evaluation and feedback
COMP9032 Week1 10
How to run lecture/lab online?
• Classes on MS Teams
– One team for COMP9032
• Lecture channel
• Consultation channel
• Channels for different lab classes
CO MP9032_21T3
A team private to wholecourse
Channels private to wholecourse
Channels private to individual lab classes
Lecture starts from the lecture channel Consultation starts from consultation channel
Tutor starts a meeting from the general channel Then create breakout rooms for individual lab groups
COMP9032 Lecture
COMP9032 Consultation
COMP9032 Week1 11
How to run lecture/lab online?
• For lectures
– The lecturer will start a meeting five mins before the lecture in the Lecture channel
– You can join the meeting afterwards
• via a link on the lecture page of the course website or from the MS Teams
CO MP9032_21T3
A team private to wholecourse
Channels private to wholecourse
Channels private to individual lab classes
Lecture starts from the lecture channel Consultation starts from consultation channel
Tutor starts a meeting from the general channel Then create breakout rooms for individual lab groups
COMP9032 Lecture
COMP9032 Consultation
COMP9032 Week1 12
How to run lecture/lab online?
• For labs
– The tutor starts a meeting in your lab class channel
• If required, create breakout rooms for individual lab groups
– Members work together in the assigned room during the lab session.
CO MP9032_21T3
A team private to wholecourse
Channels private to wholecourse
Channels private to individual lab classes
Lecture starts from the lecture channel Consultation starts from consultation channel
Tutor starts a meeting from the general channel Then create breakout rooms for individual lab groups
COMP9032 Lecture
COMP9032 Consultation
COMP9032 Week1 13
Lab Groups
• You need to form your lab group in Week 1
– In your lab class
• The student list of your lab class is available in your team channel
– Students should be in two categories
• in Australia (L) or overseas (O)
student 10
student 11
student 12
student 13
student 14
student 15
student 16
student 17
student 18
student 19
student 20
COMP9032 Week1 14
Lab Groups (cont.)
• Each group ideally has 5 members.
• You can select your members as long as
– Each group has at least one student
• is located in Australia and
• holds the lab board for the lab group
– Different types of students are roughly evenly distributed over all groups
– We may ask your help to change to or merge with other group if some students drop the course later.
student 10
student 11
student 12
student 13
student 14
student 15
student 16
student 17
student 18
student 19
student 20
student 15
student 10
student 17
student 13
student 11
student 20
student 14
student 16
student 18
student 12
student 19
COMP9032 Week1
Assessment
• Lab exercises
– 25% (of the final result)
– Mainly carried out either in groups or individually
• Assessed in a hybrid mode
– Group demonstration – Individual Q&A
• Project design
– Carried out in groups
• Group demonstration
– But your marks are based on both the group work and the individual performance.
» Namely, your mark is also determined by your contribution
• Report submitted individually and marked individually
COMP9032 Week1 16
Assessment (cont.)
• Final exam
– 2-hour online exam.
– On Inspera
• An online assessment platform
– Demo test available
• To pass the course,
– (final result >=50)&(final_exam>=40)
• For assessment special considerations,
please apply through Student Lifecycle.
COMP9032 Week1 17
References
• Main references:
– . Cady: Microcontrollers and Microcomputers —Principles of Software and Hardware Engineering
– AVR documents (available on the course website)
• Data Sheet
• Instruction Set
– Additional materials provided on the course website
• Lecture notes
– Posted before each lecture
• Lecture recordings
– Available after each lecture
• MS Teams→COMP9032_21T3→Lecture Channel→file folder
COMP9032 Week1 18
Resources for Help
• Course website
– www.cse.unsw.edu.au/~cs9032
• Lecturer
– Consultation
• Wed. 11:30—12:30
• Lab tutors
• Course forum
COMP9032 Week1 19
• From time to time I will post notice on the course website.
• Please check the website frequently for new notices, lectures, lab exercises, and the assignment specification.
COMP9032 Week1 20