Lab 2 - Introduction to the Atmel ATmega 128 Microcontroller

Lab 2 - Introduction to the Atmel ATmega 128...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Department of Mechanical and Aerospace Engineering Introduction to the Atmel ATmega 128 Microcontroller 9/23/08 Report Author: Lab Date: 9/16/08 Summary This report describes how to get familiarized with the Atmel ATmega 128 microcontroller; STK500 and STK501 interface boards and associated hardware. It also familiarize with the components of AVR Studio, a freeware programming environment for the ATmega 128 are introduced in the procedure. A serial communications program in C-language using the AVRlib examples is slightly introduced as well. We compiled it using the GNU-C complier for AVR processors. The display of the output is then downloaded and run on the ATmega 128 microcontroller. ___________________________ Results/Discussion The procedure is described as follow; Jumper setting on the STK500 is checked to the default value. Then the ISP6PIN header on the STK500 to the SPROG header on the STK501 board with this cable. Figure 1. AVR Studio New Project Window. Figure 2. Project File Manager . In AVR studio, project name is saved as Figure 1. And then the source file and header files are added to the project file manager as Figure 2. 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Figure 3. Project Options . Figure 4. AVR Programmer Toolbar. The project options are entered as displayed as Figure 3. After the power on the SKT500, AVR program is connected to the processor as showed in Figure 4. 2
Background image of page 2
Department of Mechanical and Aerospace Engineering Figure 5. AVR Fuse Selection. Figure 6. STK500 ISP Settings.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Lab 2 - Introduction to the Atmel ATmega 128...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online