mmu

7
Four Week Training Report Submitted in partial fulfillment of the requirements for the award of degree of Bachelor of Technology In Electronics and Communication Engineering Maharishi Markandeshwar University, Sadopur Ambala Submitted By ABHISHEK K. UPADHYAY Univ. Roll no: 75113002 Under Supervision of: Er. MANVIR (External, Trainer of company) ELECTRONICS AND COMMUNICATION ENGINEERING DEPARTMENT MAHARISHI MARKANDESHWAR UNIVERSITY, SADOPUR, AMBALA

Upload: abhishek-upadhyay

Post on 14-Jul-2015

31 views

Category:

Education


3 download

TRANSCRIPT

Four Week Training Report

Submitted in partial fulfillment of the requirements for the award of degree of

Bachelor of Technology

In

Electronics and Communication Engineering

Maharishi Markandeshwar University, Sadopur

Ambala

Submitted By

ABHISHEK K. UPADHYAY

Univ. Roll no: 75113002

Under Supervision of:

Er. MANVIR (External, Trainer of company)

ELECTRONICS AND COMMUNICATION ENGINEERING DEPARTMENT

MAHARISHI MARKANDESHWAR UNIVERSITY, SADOPUR, AMBALA

CERTIFICATE

(Photocopy of Certificate given by company)

ACKNOWLEDGEMENT

First of all I would like to thank almighty GOD who has given this wonderful gift of life

to us. He is the one who is guiding us in right direction to follow noble path of humanity.

In my Four weeks industrial training it is a wonderful experience to be a part of it where

I have opportunity to work under brilliant minds. I owe my deep regards for the

supporting and kind staff authorities who are helping me in my lean patches during these

Four weeks. The knowledge I am gaining throughout my studies have the practical

implementation during this period. I am grateful to all the staff of the company and for

their timely support and sharing of their experience with me. I would like to express my

heartiest concern for able guidance and for inspiring attitude, praiseworthy attitude and

honest support.Last but not the least I would express my utmost regards for the

Electronics and Communication Department of our Institute.

CONTENTS

Certificate…………………………………………………………………………i

Preface..…………………………………………………………………….. …….ii

Acknowledgement…………………………………………………………. …….iii

List of figures………………………………………………………………. …….iv

List of tables………………………………………………………………... …….v

1. INTRODUCTION TO PIC MICROCONTROLLERS

1.1. Key Features Of PIC16F73……………………………………….. .1

1.2. Pin Configuration…………………………………………………...2

1.3. Block Diagram Of PIC16F73………………………………………3

1.4. Introduction Of Timers……………………………………………..5

1.4.1. Timer TMR0…………………………………………………..5

1.4.2. Timer TMR1……………………………………………………7

1.4.3. Timer TMR2……………………………………………………9

1.5. Capture/Compare/PWM Mode……………………………………11

1.6. Special Feature Of PIC16F73………………………………………13

2. INTERFACING OF MICROCONTROLLERS

2.1. Interfacing With Leds……………………………………………….14

2.2. Interfacing With Seven Segment……………………………………15

2.3. Interfacing With LCD………………………………………………18

2.3.1. Pin Description of LCD………………………………………18

2.3.2. LCD Initialization…………………………………………….18

2.3.3. Algorithm To Send Data To LCD……………………………19

3. Project Description

3.1. Power Supply……………………………………………………….20

3.1.1. Transformer…………………………………………………...20

3.1.2. Bridge Rectifier……………………………………………......21

3.1.3. Capacitor………………………………………………………22

3.1.4. Resistance ……………………………………………………..23

3.1.5. Voltage regulator………………………………………………24

3.1.6. Led……………………………………………………………25

3.2. Power Supply Circuit………………………………………………..26

3.3 Running Message Display on LCD……………………..27

3.4 PIC microcontroller based Running Message Display on LCD….31

3.5 Program…………………………………………………………….32

LIST OF FIGURES

Fig 1.1 Key Feature of PIC16F73………………………………………………………………..1

Fig. 1.2 INPUT/OUTPUT port………………………………………………………………………3 Fig 1.3 PORTB & TRISB registers……………………………………………………………..4 Fig 1.4 PORTC & TRISC register…………………………………………..4 Fig.1.5 TIMERTMR0………………………………………………………6 Fig 1.6 TIMER TMR 2……………………………………………………...10

Fig 2.1 Seven Segment Conversion………………………………………....17 Fig 2.2 Pin Description of LCD………………………………………….…18

LIST OF TABLES

Table 1.1 Pin Configuration 2

Table 1.2 Block Diagram of 16F73 3

Table 2.1 Interfacing with LED’S 15

Table 2.2 Common Anode & Common Cathode 15

Table 2.3 Seven Segment Display 16

Table 3.1 Transformer 20

Table 3.2 Bridge Rectifier 21

Table 3.3 Capacitor 22

Table 3.4 Resistance 23

Table 3.5 Voltage Regulator 24

Table 3.6 LED 25

Table 3.7 Power Supply Circuit 26

Table 3.8 Running Message Display on LCD Circuit Diagram 27

Table 3.9 Crystal Oscillator 28

Table 3.10 PIC16F73 29

Table 3.11 LCD Display 30

Table 3.12 Running Message Display on LCD Project Diagram 31