成人大片

MECH ENG 3032 - Micro-Controller Programming

North Terrace Campus - Semester 2 - 2017

The focus of this course is on the programming and use of micro-controllers in mechatronics applications. Assuming basic knowledge of the C programming language, the material is presented in a combination of lectures, tutorials and hands-on laboratory sessions. The build process of micro-controller software is examined in detail thereby providing the language for understanding compiler handbooks, on-line publications and micro-controller datasheets. The newly developed skills are then applied in a number of practical case studies covering typical mechatronics applications including servo-mechanisms, sensor interfacing, real-time issues and inter-platform communication. Emphasis will be laid on the confident use of the C programming language using a variety of programming environments. Fault finding techniques will be introduced, ranging from low-level in-circuit debugging to source-level debugging on simulators and evaluation boards. Small-group projects and case studies will be used to provide important hands-on experience with micro-controller based projects.

  • General Course Information
    Course Details
    Course Code MECH ENG 3032
    Course Micro-Controller Programming
    Coordinating Unit School of Mechanical Engineering
    Term Semester 2
    Level Undergraduate
    Location/s North Terrace Campus
    Units 3
    Contact Up to 4 hours per week
    Available for Study Abroad and Exchange Y
    Incompatible MECH ENG 7072
    Assumed Knowledge C programming e.g. MECH ENG 1103
    Restrictions Available to BE(Mechatronic), BE(Mechanical & Automotive) & associated double degree students only
    Assessment assignments 50%, final exam 50%
    Course Staff

    Course Coordinator: Associate Professor Steven Grainger

    Course Timetable

    The full timetable of all activities for this course can be accessed from .

  • Learning Outcomes
    Course Learning Outcomes
    On successful completion of this course students will be able to:

     
    1 Analyse the needs of mechatronic applications and design appropriate micro-controller based solutions;
    2 Apply the hardware units within a modern micro-controller;
    3 Create micro-controller based applications through appropriate use of software tools;
    4 Interface external devices to a micro-controller; and
    5 Recognise the need to undertake lifelong learning.

     
    The above course learning outcomes are aligned with the Engineers Australia .
    The course is designed to develop the following Elements of Competency: 1.1   1.2   1.3   1.4   1.5   1.6   2.1   2.2   2.3   2.4   3.1   3.2   3.3   3.4   3.5   3.6   

    University Graduate Attributes

    This course will provide students with an opportunity to develop the Graduate Attribute(s) specified below:

    University Graduate Attribute Course Learning Outcome(s)
    Deep discipline knowledge
    • informed and infused by cutting edge research, scaffolded throughout their program of studies
    • acquired from personal interaction with research active educators, from year 1
    • accredited or validated against national or international standards (for relevant programs)
    1-4
    Critical thinking and problem solving
    • steeped in research methods and rigor
    • based on empirical evidence and the scientific approach to knowledge development
    • demonstrated through appropriate and relevant assessment
    1, 3, 4
    Teamwork and communication skills
    • developed from, with, and via the SGDE
    • honed through assessment and practice throughout the program of studies
    • encouraged and valued in all aspects of learning
    1, 3, 4
    Career and leadership readiness
    • technology savvy
    • professional and, where relevant, fully accredited
    • forward thinking and well informed
    • tested and validated by work based experiences
    1, 3, 4
    Intercultural and ethical competency
    • adept at operating in other cultures
    • comfortable with different nationalities and social contexts
    • able to determine and contribute to desirable social outcomes
    • demonstrated by study abroad or with an understanding of indigenous knowledges
    1
    Self-awareness and emotional intelligence
    • a capacity for self-reflection and a willingness to engage in self-appraisal
    • open to objective and constructive feedback from supervisors and peers
    • able to negotiate difficult social situations, defuse conflict and engage positively in purposeful debate
    1-5
  • Learning Resources
    Required Resources

    Lecture Notes provided

    Recommended Resources

    Qing Li, Caroline Yao, Real-Time Concepts for Embedded Systems, CMP Books, New York, 2003, ISBN 1-57820-124-1

    Thomas Bräunl, Embedded Robotics, Mobile Robot Design and Applications with Embedded Systems, Springer, Berlin, 2003, ISBN 3-540-03436-6

    Online Learning
    Jonathan W. Valvano, Developing Embedded Software in C Using ICC11/ICC12/Metrowerks, , [last accessed: 10/01/2006]
  • Learning & Teaching Activities
    Learning & Teaching Modes

    The course takes a flexible approach to teaching and learning with material delivered, concepts explored and skills developed using a range of techniques. A flipped model is utilised with interactive sessions used for presentation of material, exploration of concepts and discussion of directed reading. A series of diagnostic quizzes is used to establish existing knowledge and the assimilation of taught concepts.

    Laboratories are centred upon project based learning with case studies used to provide hands-on experience.

    Workload

    The information below is provided as a guide to assist students in engaging appropriately with the course requirements.

    Indicative workload is 13 hours per week

    Activity Hours
    Interactive lecture sessions 18
    Online activities 6
    Laboratories 24
    Self study 56
    Directed reading 12
    Assignments 40
    Learning Activities Summary
    Introduction [1 week]
    • Definition of embedded systems
    • Application examples
    • Common micro-controller tasks
    • Typical hardware units within a micro-controller
    • Software development cycle
    • Programming languages for micro-controllers (C, C++, Java)
    • Target Platform: Wytec Dragon12
    • Software IDE: Keil C166, Metrowerks CodeWarrior, GNU gcc

    The build process, fundamentals [1 week]
    • Compiler, assembler, linker
    • Compiler and linker options
    • Keil C166 projects
    • Source level debugging using a micro-controller simulator
    • Debugging using a target monitor
    • Macro definitions, configuration registers and stack frames
    • Memory models and memory maps
    • Memory type specifiers
    • Object classes and storage class

    Micro-controller interfacing [2 weeks]
    • Address, data and control busses
    • Serial, parallel, DMA techniques
    • Interrupts and polling
    • Timing
    • Digital I/O
    • A/D converter
    • Serial communications
    • PWM unit
    • Object classes and storage class

    The build process, advanced concepts [2 weeks]
    • Sections, modules, programs
    • The linker
    • Interpreting the assembler listing
    • Interpreting the linker map file
    • Near data and far data
    • Library files
    • Development utilities
    • Objects file formats: ELF, COFF, DWARF-1/2, S-Records, Intel HEX
    • Optimisation

    Interfacing to Mechatronic Devices [3 weeks]
    • Intelligent instrumentation
    • Transducers
    • Signal processing
    • Motion control
    • Power circuitry

    Embedded control applications [3 weeks]
    • Servo-motor control
    • Stepper motor control
    • Real-time data logger (menu driven, RS-232, communications, adjustable sample rate)
    Specific Course Requirements

    N/A

  • Assessment

    The University's policy on Assessment for Coursework Programs is based on the following four principles:

    1. Assessment must encourage and reinforce learning.
    2. Assessment must enable robust and fair judgements about student performance.
    3. Assessment practices must be fair and equitable to students and give them the opportunity to demonstrate what they have learned.
    4. Assessment must maintain academic standards.

    Assessment Summary
    Assessment Task Weighting (%) Individual/ Group Formative/ Summative
    Due (week)*
    Hurdle criteria Learning outcomes
    Laboratory participation 10 Individual Summative Weeks 1-6 1. 2. 3. 4.
    Assignment 1 Mini project 10 Individual Summative Week 5 1. 2. 3.
    Assignment 2 Mini project 15 Group Summative Week 9 1. 2. 3. 4.
    Assignment 3 Mini project 15 Group Summative Week 12 1. 2. 3. 4. 5.
    Examination 50 Individual Summative 1. 2. 3. 4.
    Total 100
    * The specific due date for each assessment task will be available on MyUni.
     
    This assessment breakdown complies with the University's Assessment for Coursework Programs Policy.
     
    Assessment Related Requirements

    N/A

    Assessment Detail

    Assignment 1 10%
    Requires the design and implementation of software for the sensing and control of mechatronics devices. Submission of an engineering report and developed software.

    Assignment 2 15%
    Requires the design and implementation of interface hardware and software for the sensing and control of mechatronics devices. Student demonstration and submission developed software.

    Assignment 3 15%
    Requires the design and implementation of interface hardware and software for the sensing and control of mechatronics devices. Student demonstration and submission of hardware and developed software.

    Lab sessions 10%
    Students are required to undertake the weekly lab sessions.

    Examination 50%
    2hr open book examination.

    In addition there will be a series of formative quizzes.

    Submission

    Fully commented source code and associated assignment documentation must be submitted through myUni. Late submissions are subject to a penalty of 10% per working day. Re-submissions are not allowed except under extenuating circumstances. Assignments will normally be returned within 2 working weeks.

    Course Grading

    Grades for your performance in this course will be awarded in accordance with the following scheme:

    M10 (Coursework Mark Scheme)
    Grade Mark Description
    FNS   Fail No Submission
    F 1-49 Fail
    P 50-64 Pass
    C 65-74 Credit
    D 75-84 Distinction
    HD 85-100 High Distinction
    CN   Continuing
    NFE   No Formal Examination
    RP   Result Pending

    Further details of the grades/results can be obtained from Examinations.

    Grade Descriptors are available which provide a general guide to the standard of work that is expected at each grade level. More information at Assessment for Coursework Programs.

    Final results for this course will be made available through .

  • Student Feedback

    The University places a high priority on approaches to learning and teaching that enhance the student experience. Feedback is sought from students in a variety of ways including on-going engagement with staff, the use of online discussion boards and the use of Student Experience of Learning and Teaching (SELT) surveys as well as GOS surveys and Program reviews.

    SELTs are an important source of information to inform individual teaching practice, decisions about teaching duties, and course and program curriculum design. They enable the University to assess how effectively its learning environments and teaching practices facilitate student engagement and learning outcomes. Under the current SELT Policy (http://www.adelaide.edu.au/policies/101/) course SELTs are mandated and must be conducted at the conclusion of each term/semester/trimester for every course offering. Feedback on issues raised through course SELT surveys is made available to enrolled students through various resources (e.g. MyUni). In addition aggregated course SELT data is available.

  • Student Support
  • Policies & Guidelines
  • Fraud Awareness

    Students are reminded that in order to maintain the academic integrity of all programs and courses, the university has a zero-tolerance approach to students offering money or significant value goods or services to any staff member who is involved in their teaching or assessment. Students offering lecturers or tutors or professional staff anything more than a small token of appreciation is totally unacceptable, in any circumstances. Staff members are obliged to report all such incidents to their supervisor/manager, who will refer them for action under the university's student鈥檚 disciplinary procedures.

The 成人大片 is committed to regular reviews of the courses and programs it offers to students. The 成人大片 therefore reserves the right to discontinue or vary programs and courses without notice. Please read the important information contained in the disclaimer.