3rd Year Lab Microprocessor Course           

                                                                Dr. Costas Foudas

                               c.foudas@imperial.ac.uk

Register for the Microprocessor Course   !!!!!

The course starts on January 6th at 15:00. It is offered as a 2 Unit course for a duration of 4 weeks (10 Lab hours /week) or as a 3 Unit 3d year project till the end of term (MSci students excluded)

 
            *

 

 

 

 

 

Microprocessor Course News:  

Ø    When are the project reports due:  It depends on the mutually agreed number of units assigned to the course. Usually the course is offered either as 2.0 lab unit or 3.0 lab units and we follow the deadlines of the 3d year lab.

Ø    The final report can be submitted either electronically or at the 3d year lab office.

Ø    If you submit electronically (preferred) you will NOT get an automatic acknowledge instantly but you will get an e-mail the next day once I have received it and made sure that your report has been received ok

Ø    During the last lab session all students need to be in the lab to demonstrate their devices. Demonstration takes normally 10-15 min/group. Students should be prepared to demonstrate working devices and be able to answer questions about their project and about material taught during the course.

Ø    Report deadlines will only be extended if you have medical reasons and can demonstrate it with the Doctors certificate.

Ø   An example report can be found in:

 

       http://www.johnaj.force9.co.uk/downloads/DataLogger.doc   

 


This is a crash course in electronics and micro-controllers.

The course goals are:

·         To teach the architecture of an AVR micro-controller.

·         To show that a micro-controller can be programmed and be useful in everyday life applications.

·       To teach students the basics of electronics-design by constructing various interfaces of the micro-controller with other devices.

·       In a few words: To give the students basic skills in electronic design and micro-controller programming.

The basic processor is the ATMEL ATmega103 micro-controller.

New Projects using PIC micro-controllers, VME,  FPGAs can be offered.


PLEASE TAKE THE FOLLOWING STATEMENT IN TO SERIOUS  CONSIDERATION:

· The course is taught in a very intensive mode and each session has a

    lecture-part and a laboratory-part. Missing one or two sessions will

   make it impossible to follow.  Students are advised not to miss any

   sessions  because chances are that one will have drop the course after

   that.

· The course requires either prior experience in electronics or strong

   motivation to learn electronics. Students who do not have any of

   the two are discouraged from registering.

·      However, no previous knowledge of electronics is assumed.

   For this reason the course includes 5 lectures focused on the basic     

   electronics which are required for this course

 

For those who want to learn how computers work and put the time and effort,

the course will be a very good learning and enjoyable experience as you can

see from:

Ø      Pictures from projects done by the Fall 2001 students

Ø      Pictures from Projects done by the Fall 2004 Students

 

 

The handouts can be downloaded from this page.

§ Please remember that you must arrange a demonstration of your program

   (whether for 1.5, 2 or 3units) before you finish.

 

 

 

Lab Times: Mondays10-12 & 2-4, Thursdays 2-5,

                     Fridays 9-12.

 
 

 

 

 

 

 


Demonstrators:

M. Raymond

Room: 510b-Blackett, 

Tel.: 47799

Monday Morning;
Friday Morning

m.Raymond@imperial.ac.uk

Costas Foudas

Room: 508-Blackett,  Tel.: 47590

All days

c.foudas@imperial.ac.uk

Matt Noy

Room: 513-Blackett,

Tel.: 41620

Thursday Afternoon;

Friday Morning

matthew.noy@imperial.ac.uk

Ian Munro

Room: 627-Blackett, 

Tel.: 47715

Thursday Afternoon

Monday Afternoon

i.munro@ic.ac.uk

John Jones

Room: 511-Blackett, 

Tel.: 47797

Monday Morning;

Monday Afternoon;

John.jones@imperial.ac.uk

 

 

 

 


 

Lectures:

     § Introductory Lecture: Introduction and requirements of the course

           PDF


     § Lecture 2: Introduction to Microprocessors

 

           PDF


     § Lecture 3: Assembly I

 

           PDF

 

              You can download the LED program from here.

              You can download the Processor Definitions File from here.

               To write a new program you need a Header File.

 


     § Lecture 4 : ATmega103 Assembly II

               PDF

              An example assembly program using the commands from this lecture

              can be found here :  The header program for the memory lab exercise is here:


     §  Lecture 5: 3 Byte Memory Project

           PDF


     §  Lecture 6 : Serial versus Parallel Data Transfers

                PDF


    

     § Lecture 7: Interfacing an LCD Display 

            PDF

           Download the Software from here

            The LCD Display Manual is here


     § Lecture 8: Decoding and Interfacing the 4x4 Keyboard

          PDF


     § Lecture 9: The Digital Voltmeter

           PDF

          An example program that reads the ADC and

          Displays the data in HEX on the LCD display

          Can be downloaded from here: ADCE1.ASM


     § Electronics Lecture I: Passive Filters

           PDF


     §  Electronics Lecture II: Solid State Diodes

              PDF


     § Electronics Lecture III: A short introduction to Transistors

        PDF


     § Electronics Lecture IV: Operational Amplifiers

           PDF


     § Lecture 10: Digital to Analog Converters

           PDF

         The data sheet of the DAC you will be using can be found here.


       § Lecture 11: ATmega103 Timer0 and Interrupts

                  PDF

             The example program simulated during the lecture, using STUDIO, can

        be down-loaded from here: Timer0Interrupt.inc

        Also available here is a faster version interrupt demonstration purposes


The Course Schedule for the Fall 2002 Term (html)(or Word Document)

 

Hardware Documentation:

 

¨ Short Description of the ATMEL ATmega103Microcontroller: Basic hardware description plus a useful list of the assembly instruction.

¨ ATmega103 Data Sheets: Description of theATmega103 in detail including I/O, Registers, Interrupts, Timers, ADC…(123pages)

¨ The ATMEL AVR-Programming Board for ATmega103: Describes in detail the ATMEL programming interface used in the Lab.

¨The Hitachi LCD Display LM32XMBL Module page1, page2, page3, page4. Describes a display module that can be connected

     with the Atmega103 card to display text. The Atmega103 ‘sees’ this module as an  extra segment in its external memory.

¨ The ATmega103 chip pin assignments.

 

 

Software Documentation:

 

¨ AVR Instruction Set (a): Extensive description of the Atmega103 instruction set. describes the Flags well (110 pages).

¨AVR Instruction Set (b): Nice pictorial description of the Atmeag102 instruction set (149 pages).

¨The AVR Assembler Manual: This is the programming manual, which includes all assembly commands (PDF).

¨ Output File Formats: Description of the assembler output files.

¨ PonyProg2000: This is used to download the assembled code (usually in *.hex, Intel Format) to the Atmega103 chip.

 



 

General information about the 3rd year lab.

Last Updated 08/10/2004 by Costas Foudas.