Lab Report Title - Overleaf · Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 ......

6
Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 (Hardware) Hamdard Institute of Engineering & Technology Hamdard University Karachi, Pakistan November 18, 2015

Transcript of Lab Report Title - Overleaf · Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 ......

Page 1: Lab Report Title - Overleaf · Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 ... Hamdard University Karachi, Pakistan November 18, 2015. I ... 1 Microcontroller

Lab Report Title

Author 1 (Fritzing)Author 2 (Proteus)Author 3 (Hardware)

Hamdard Institute of Engineering & TechnologyHamdard University

Karachi, Pakistan

November 18, 2015

Page 2: Lab Report Title - Overleaf · Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 ... Hamdard University Karachi, Pakistan November 18, 2015. I ... 1 Microcontroller

I. Introduction

Write your semester project introduction in this page.

# Component Name Model Price (PKR)

1 Microcontroller ATMega16 200

2 Breadboard DDDDDD 100

Total

1

Page 3: Lab Report Title - Overleaf · Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 ... Hamdard University Karachi, Pakistan November 18, 2015. I ... 1 Microcontroller

II. Diagram

Embed diagram from Fritzing and describe interconnections.

2

Page 4: Lab Report Title - Overleaf · Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 ... Hamdard University Karachi, Pakistan November 18, 2015. I ... 1 Microcontroller

III. Simulation Model

Embed Proteus model here.

3

Page 5: Lab Report Title - Overleaf · Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 ... Hamdard University Karachi, Pakistan November 18, 2015. I ... 1 Microcontroller

IV. Program Code

#include <avr/io.h>

#include <util/delay.h>

int main( ) {

unsigned int temp;

DDRB = 0; // Port B as input

DDRC = 0xFF; // Port C as output

while(1) {

temp = PINB; // Read Port B

_delay_ms(10); // 10 msec delay

PORTC = temp; // Write to Port C

}

return 0;

}

4

Page 6: Lab Report Title - Overleaf · Lab Report Title Author 1 (Fritzing) Author 2 (Proteus) Author 3 ... Hamdard University Karachi, Pakistan November 18, 2015. I ... 1 Microcontroller

V. Photoshot

Use mobile camera to take a snapshopt of group while working on the project and placehere.

5