Lab Report 1MP
Lab Report 1MP
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
Lab Assessment
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.
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.