24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment...

13
24/Sep/08 Tim Sumner, Imperial Co llege, Rm: 505, x47 552 1 3 3 rd rd Year Lab Microprocessor Year Lab Microprocessor Experiment Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50 Fridays 9:00-11:50

Transcript of 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment...

Page 1: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

1

33rdrd Year Lab Microprocessor Experiment Year Lab Microprocessor Experiment

Mondays 10:00-11:50, 14:00-15:50

Thursdays 14:00-16:50

Fridays 9:00-11:50

Page 2: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

2

The ‘Experiment’ Goals are:The ‘Experiment’ Goals are:

To explain the inner workings of a computer at a fundamental programming level (assembler) with hardware interfacing.

To teach you how to work independently and find yourself all you need for your project. Hence, no book. Everything you need is on the Web

To teach you to design, construct and document a commercial product

To give you insight into a use of microprocessors which has a wide range of applications in automobiles, appliances and other industrial applications

To give you useful career skills

Page 3: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

3

At the end you will:At the end you will:

Be able to design basic electronic circuits and interfaces

Be completely familiar with the detailed user information of the ATMEL ATmega103/128 microprocessor

Be able to program in AVR assembler including– the basic commands– writing a structured program, with top-down modular

design using subroutines– using tools to compile and download your programs to

the ATmega103/128 chip

Page 4: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

4

At the end you will have:At the end you will have:

Used a microprocessor to create an application and construct something useful :– Some electronics will be needed– Interfacing the microprocessor with various devices– Had novel ideas and been motivated

Written a good and clear report on the product you have made

Page 5: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

5

Course Duration and MilestonesCourse Duration and Milestones

4 weeks of lectures/training followed by 2 weeks for ‘experiment’ completion and writing your report.

This 2.0 unit experiment ends on 21st November.

This term it is possible to extend the work to a full-term ‘project’ worth 3 units.FOR MORE INFO...

http://www3.imperial.ac.uk/physicsuglabs/thirdyearlab/microprocessor

Page 6: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

6

The ATMEL Programming BoardThe ATMEL Programming Board

Modern electronics design includessoftware design (Microcontrollers,FPGA, PLD……)

Page 7: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

7

The ATMEL Programming BoardThe ATMEL Programming Board

Page 8: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

8

The Product The Product ReportReport Goals Goals

To get you to describe your product in a clear and professional manner

The make you to focus on the main message you need to pass to the reader

To produce a report in timeTo learn how to document the good

work you have done

Page 9: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

9

The Product Report The Product Report StructureStructure

Abstract Introduction High Level Design Software and Hardware Design Results and Performance Updates, Modifications and Improvements Conclusions Product Specifications Appendices

Page 10: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

10

AssessmentAssessment

For a 6 week ‘double-experiment’ we assess you on your report, ‘product’, and interview.

For a full-term ‘project’ after 5-6 weeks the assessment includes:-– a short proposal report after 4 weeks– a formal project report at the end– an interview.

Page 11: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

11

Demonstrators:Demonstrators:

Kwun-Pan Chan (SPAT)Ian Munro (PHOT)Yuri Shitov (HEP)Tim Sumner (HEP)Michael Trupke (QOLS)

Page 12: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

12

Starting with your Win2000 computerStarting with your Win2000 computer

Log in : username : student password : ph422-??

Log out by typing: Start Shut Down Log off

Log in again using your password

Page 13: 24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552 1 3 rd Year Lab Microprocessor Experiment Mondays 10:00-11:50, 14:00-15:50 Thursdays 14:00-16:50.

24/Sep/08 Tim Sumner, Imperial College, Rm: 505, x47552

13

Getting startedGetting started

Make sure you can open a file and save it using NotePad

Click on : Explorer and wait until the page appears on your screen

Go to http://www3.imperial.ac.uk/physicsuglabs/thirdyearlab/

Click on ‘The Microprocessor Course’ Make sure you can see it and download from it. In case of difficulties an earlier page is available at http://webct.imperial.ac.ukNote there are differences and the official site rules!