0% found this document useful (0 votes)
26 views5 pages

Lab Report 1MP

The document outlines Lab-01 for the EEE-342 Microprocessor Systems and Interfacing course, focusing on the use of software development tools for the AVR ATmega 328P microcontroller. Students learn to utilize Arduino, Atmel Studio, AVR Studio, and Proteus for programming and simulating microcontroller circuits. The lab concludes with a hands-on experience in compiling and debugging code to achieve desired outputs, such as generating a Fibonacci series.

Uploaded by

Obaid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views5 pages

Lab Report 1MP

The document outlines Lab-01 for the EEE-342 Microprocessor Systems and Interfacing course, focusing on the use of software development tools for the AVR ATmega 328P microcontroller. Students learn to utilize Arduino, Atmel Studio, AVR Studio, and Proteus for programming and simulating microcontroller circuits. The lab concludes with a hands-on experience in compiling and debugging code to achieve desired outputs, such as generating a Fibonacci series.

Uploaded by

Obaid
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

EEE-342 MICROPROCESSOR SYSTEMS AND

INTERFACING
Lab-01

M.OBAID TAHIR
NAME M.MUBASHIR AWAN
M.UMAR SHAHID

FA22-BEE-193
REGISTRATION NUMBER FA22-BEE-167
FA22-BEE-183

CLASS/SECTION BEE-5A

INSTRUCTOR DR.SHARUGH AGHA

Lab Assessment

Post Lab Total


In-Lab
Data
Data Analysis Writing Style
Presentation
Lab # 01 Introduction to Development Tools and
LabSoftwares
OBJECTIVES:
 Learn to use software development tools such as Arduino, Integrated
Development Environment (IDE) (Atmel Studio, AVR Studio),
Compiler (WinAVR), and Simulator (Proteus) for the AVR ATmega
328P microcontroller.
 Learn to program Arduino and ATmega328P.

SOFTWARES USED:
 Arduino
 Atmel Studio (Version 7)
 AVR Studio (Version 4)
 Proteus ISIS
 WinAVR (Version 2010)

IN LAB-TASKS:
Task 1: Arduino Learning Tutorial:
1. Launch Arduino IDE.
2. Some built-in examples are included in Arduino software. Click on the toolbar
menu: File >Examples>Basics>Blink.This will turn an LED on Arduino board on
and off with some delay/
3. Compile the sketch. After successful compilation, the code can be uploaded to the
Arduino board.
Task2: AVR Studio Learning Tutorial 1.
Launch AVR Studio and Select Project Wizard form menu bar and Select New
Project and follow the instructions given in lab manual. Then write down the code
below in source window.

Task3: Atmel Studio Learning Tutorial:


Launch Atmel Studio either by start menu or by selecting desktop icon from start page new projects
can be created and recently used projects can be opened. The Start page can also be accessed from
View → Start Page or Alt V G. Click on new project and follow the instructions given in lab
manual. Write a code given in Task 1 in the source window.
TASK 4: PROTEUS INTRODUCTORY LEARNING TUTORIAL:

To learn basics about Proteus, we will simulate a microcontroller based circuit. In


Proteus.We will use the same program for microcontroller which we simulated in AVR
Tutorial. Launch Proteus from start menu or by desktop icon. Proteus layout shown
below will appear on the screen and follow the steps from manual.

In Lab Task4:
• The following code is written to generate Fibonacci series output at Port
which is given as (0, 1, 2, 3, 5, 8, 13, 21, 34, and 55).
• Build the following code in AVR Studio or Atmel Studio. Read the error
messages, identify y and correct any syntax errors and rebuild the solution.
• Use Debugging mode of AVR Studio or Atmel Studio to debug and
correct the code to get the desired output. In debug mode, open watch
window to check the value of the variables.
CONCLUSION:
In this lab we have learnt how to put into effect hardware the usage of AVR microcontroller
Through software’s ATMEL STUDIO, AVR STUDIO, ARDUINO IDE &
PROTEUS. In this lab, we got used to that above-mentioned software. To implement
the hardware, we go grade by grade and Microcontroller’s first want is code that's to
be burnt in it via the software program ATMEL or AVR STUDIO. We first compile
the code inside the AVR/ATMEL STUDIO and after a successful construct; the hex
file is uploaded within the microcontroller.

You might also like