[PDF] [PDF] 8051 Lab pgms - WordPresscom

Write C programs to interface 8051 chip to Interfacing modules to develop single chip Conduct an experiment to configure 8051 microcontroller to transmit



Previous PDF Next PDF





[PDF] Microcontroller Laboratory Semester - LABORATORY MANUAL

Note: Single chip solution for interfacing 8051 is to be with C Programs for the following experiments 8 Stepper motor interface 9 DC motor interface for direction 



[PDF] 8051 Lab pgms - WordPresscom

Write C programs to interface 8051 chip to Interfacing modules to develop single chip Conduct an experiment to configure 8051 microcontroller to transmit



[PDF] Micro Controllers and Embedded Systems Lab Manual - Electronics

LABORATORY MANUAL FOR THE COURSE Program 8051 microcontroller to meet the requirements of the user 2 Interface such as, being able to comprehend and write effective reports and design documentation, make effective



[PDF] LABORATORY MANUAL - BRCM-CET

14 nov 2014 · Experiment No -1 Aim: To generate 10 kHz square wave using 8051 microcontroller Apparatus Required: Microcontroller kit, Interfacing kit, 



[PDF] Jawaharlal Nehru Engineering College Lab Manual

21 mai 2013 · It is my great pleasure to present this laboratory manual for third year EEP students for simple applications using microcontroller 8051 also



[PDF] TE0322 RF Microcontroller & Interfacing Labs Laboratory Manual

STUDY OF 8051 A brief history of the 8051: In 1981, Intel Corporation introduced an 8-bit micro – controller called the 8051 This micro controller had 128bytes of  



[PDF] Microcontroller Lab Manual - Create Business Press Release

MCS 8051 is an 8-bit single chip microcontroller with many built-in functions microcontroller Lab Manual - Free download as Word Doc ( doc), PDF File ( pdf )  



[PDF] A Practical Approach based on 8051 architecture - Mobile Education

Experiment 1 Design and development of a Reprogrammable Embedded System (Computer) (RES) using 8051 Microcontroller (MC) 1 1 Objective: Design 



[PDF] Microprocessor 8085 Lab Manual Doc - WordPresscom

7 2 INTRODUCTION: Microprocessor Laboratory is equipped with 8085,8086 4 guidedirectories net/doc/1ksh/8051-microcontroller-lab-manual pdf weekly 0 4



[PDF] MPMC Lab Manual - MRCET

write effective reports and design documentation, make effective presentations, and give and receive clear To develop and execute simple programs on 8051 micro controller MICROPROCESSOR LAB EXECUTION PROCEDURE

[PDF] 8051 microcontroller pdf

[PDF] 8051 programming questions

[PDF] 806 bus timetable nsw

[PDF] 807 bus timetable

[PDF] 808 bus route

[PDF] 808 bus times

[PDF] 808 bus timetable liverpool

[PDF] 808 bus timetable newcastle

[PDF] 808 bus timetable rome

[PDF] 808 bus timetable sydney

[PDF] 8085 and 8086 microprocessor

[PDF] 8085 assembly language instruction set pdf

[PDF] 8085 assembly language pdf

[PDF] 8085 assembly language programming

[PDF] 8085 cheat sheet

QMP 7.1 D/F

CUannabaVaveVUwara InVWiWuWe of TecUnology

(An ISO 9001J2008 CerWifieT InVWiWuWion) Department of NlecWrical F NlecWronicV Nngineering

Microcontrollers LaboraWory

10ESL47

B.E - IV SemeVWer

Lab Manual 2015-16

CUannabaVaveVUwara InVWiWuWe of TecUnology

(An ISO 9001J2008 CerWifieT InVWiWuWion) Department of NlecWrical F NlecWronicV Nngineering

Microcontrollers Lab Manual

February 2016

Prepared by: Reviewed by:

Mrs. Ashwini K B Ór. LokUanaWUan Ó S

ÓrV. Roopa S AVViVWanW ProfeVVor

ÓV.SucUeWa N AngaTi

Approved by:

Prof.V C Oumar

ProfeVVor F HeaTH

MepW. of NNN

QMP 7.1 D/D

CUannabaVaveVUwara InVWiWuWe of TecUnology

(An ISO 9001:2008 Certified Institution) DEPARTMENT OF ELECTRONICS F COÓÓUNICATION NNGINNNRING

SYLLABUS

MICROCONTROLLERS LAB

Sub CoTeJ 10NSL47 IA ÓarkVJ 25

HrVIweekJ 03 Nxam HourVJ 03

ToWal HourVJ 42 Nxam ÓarkVJ 50

I. PROGRAMMING

2. Arithmetic Instructions - ATTiWionIVubWracWionH mulWiplicaWion anT TiviVionH VquareH Cube

(16 biWV AriWUmeWic operaWionV biW aTTreVVable).

3. Counters.

4. Boolean & Logical Instructions (Bit manipulations).

5. Conditional CALL F RNTURN.

6. Code conversion: BCD ASCII; ASCII Mecimal; Mecimal - ASCII;

7. HEX - Mecimal anT Mecimal - HNX.

8. Programs to generate delay, Programs using serial port and on-CUip Wimer ICounWer.

Note: Programming exercise is to be done on both 8051 & MSP430.

II. INTERFACING

PriWe C programV Wo inWerface 8051 cUip Wo InWerfacing moTuleV Wo Tevelop Vingle cUip

VoluWionV.

9. Simple Calculator using 6 digit seven segment displays and Hex Keyboard inWerface Wo

8051.

10. Alphanumeric LCD panel and Hex keypaT inpuW inWerface Wo 8051.

11. External ADC and Temperature control interface to 8051.

12. Generate different waveforms Sine, Square, Triangular, Ramp etc. using MAC inWerface

Wo 8051; cUange WUe frequency anT ampliWuTe.

13. Stepper and DC motor control interface Wo 8051.

14. NlevaWor inWerface Wo 8051.

Index Page

Sl.

No Name of the Experiment

Date

Manual Marks (Max . 25)

Record

Marks (Max. 10)

Signature (Student)

Signature (Faculty

Conduction Repetition Submission

of Record

PART-A1: Assembly language programming using 8051

01 Data Transfer Programming

02 Arithmetic Instruction Programming

03 Boolean & Logical Instructions

Programming

04 Counter Programming

05 Code Conversion Programming

06 Serial Communication Programming

PART-B: 8051 Interfacing programs

07 C program for waveform generation

using DAC

08 C program to motor Interfacing

09 C program to LCD and keypad

Interfacing

10 C program to interface Elevator

11 program to interface Calculator using

Keyboard

12 C program to interface Temperature

sensor Program for temperature sensor.

PART-A2: Programming using MSP430

13 Data Transfer Programming ,

Arithmetic Instruction Programming

14 Boolean & Logical Instructions

Programming,

15 Counter Programming, Code

Conversion Programming

Average

QMP 7.1 D/D

CUannabaVaveVUwara InVWiWuWe of TecUnology

(An ISO 9001:2008 Certified Institution) DEPARTMENT OF ELECTRONICS F COÓÓUNICATION NNGINNNRING

OBJECTIVES ANM OUTCOÓNS OŃ THN COURSN

TUe objecWiveV of WUe courVe areJ

¾ To introduce the baVicV of microconWroller anT iWV applicaWionV. ¾ To proviTe in TepWU knowleTge of 8051 anT ÓSP 430 aVVembly language programming. ¾ To expertise working with Keil compiler anT embeTTeT C programming. ¾ To impart the I/O interfacing concepts for developing real time embedded systems. ¾ To encourage the students in building real time applications.

OUTCOÓNS

Upon completion of the lab course, students will be able to: ¾ FamiliariYe wiWU WUe aVVembly level anT embeTTeT C programming uVing 8051. ¾ Familiarize with the assembly level programming using low powered MSP430. ¾ Familiarize with the Oeil µViVion-3I4 anT IAR NmbeTTeT PorkbencU WoolV. ¾ Design circuits for various applicaWionV uVing microconWrollerV. ¾ Apply the concepWV on real- Wime applicaWionV.

GENERAL INSTRUCTIONS TO STUDENTS

1. Students should come with thorough preparation for the experiment to be conducted.

2. Students should take prior permission from the concerned faculWy before availing WUe

leave.

3. Students should come with formals. And to be present on time in the laboratory.

4. Students will not be permitted to attend the laboratory unless they bring the practical

recorT fully compleWeT in all reVpecWV perWaining Wo WUe experimenW conTucWeT in WUe previouV claVV.

5. Students will be permitted to attend laboratory unless the bring the observation book

fully compleWeT in all reVpecWV perWaining Wo WUe experimenW conTucWeT in WUe preVenW claVV.

6. They should obtain the signaWure of WUe VWaff-in-cUarge in WUe obVervaWion book afWer

compleWing eacU experimenW.

7. Practical record and observation book should be maintained neatly.

QMP 7.1 D/F

TABLE OF CONTENTS

PART-A1: Assembly language programming using 8051

Sl. No. Name of the Design Page No.

1. Data Transfer Programming 05

2. Arithmetic Instruction Programming 09

3. Boolean & Logical Instructions Programming 13

4. Counter Programming 16

5. Code Conversion Programming 17

6. Serial Communication Programming 19

PART-B: 8051 Interfacing programs

Sl. No. Name of the Design Page No.

7. C program for waveform generation using DAC 21

8. C program to motor Interfacing 25

9. C program to LCD and keypad Interfacing 29

10. C program to interface Elevator 31

11. C program to interface Calculator using Keyboard 35

and 7-segment display.

12. C program to interface Temperature Sensor Program for 38

temperature sensor.

PART-A2: Programming using MSP430

Sl. No. Name of the Design Page No.

13. Data Transfer & Arithmetic Instruction 43

Programming

14. Boolean & Logical Instructions Programming 49

15. Counter & Code Conversion Programming 51

Additional Programs

References

57
59

Viva Questions 60

Question Bank 63

Annexure 65

MicrocontrollerV Lab-10NSL47 2015-16

Dept. of EENH C.I.T.H Gubbi 1

INTROMUCTION

Earlier to Microcontrollers, Microprocessors were greatly used for each and every purpoVe. ÓicroproceVVorV were conWaining ALUH general purpoVe regiVWerH VWack poinWerH program counWerH clock counWer anT Vo many oWUer feaWureV wUicU W Microcontroller also possesses. But the difference between them exists with respect to ÓicroproceVVor conWainV large inVWrucWion VeW calleT aV CISC proceVVor wUereaV ÓicroconWroller conWainV leVV number of inVWrucWionV anT iV calleT aV RISC proceVVor. TUe acceVV Wime iV leVV in caVe of microconWrollerV compareT Wo microproceVVorV anT TUere are many verVionV of microconWrollerV 8051H 80528751H AT8951 from AWmel CorporaWion anT many more. In WUiV manual we will VWuTy abouW WUe 8051 arcUiWecWureH iWV feaWureVH programming anT inWerfacing. MCS 8051 iV an 8-biW Vingle cUip microconWroller wiWU many builW-in funcWionV anT iV WUe core for all ÓCS-51 TeviceV.

TUe main feaWureV of WUe 8051 core areJ

Operates with single Power Supply +5V.

8-biW CPU opWimiYeT for conWrol applicaWionV.

16-biW program counWer (PC) anT 16-biW TaWa poinWer (MPTR).

8-biW program VWaWuV worT (PSP).

8-biW VWack poinWer (SP).

4K Bytes of On-CUip Program Óemory (InWernal ROÓ or NPROÓ).

128 bytes of On-CUip MaWa Óemory (InWernal RAÓ)J

Four Register Banks, each containing 8 registers (R0 to R7) [ToWal 32 reg]

16-byWeV of biW aTTreVVable memory.

80 bytes of general-purpoVe TaWa memory (ScraWcU PaT Area).

Special Function Registers (SFR) to configure/operate microcontroller.

32 bit bi-TirecWional IIO LineV (4 porWV P0 Wo P3).

Two 16-biW WimerVIcounWerV (T0 anT T1).

Full duplex UART (Universal AsyncUronouV ReceiverITranVmiWWer).

On-CUip oVcillaWor anT clock circuiWry.

MicrocontrollerV Lab-10NSL47 2015-16

Dept. of EENH C.I.T.H Gubbi 2

X1 X2

STEPS TO CREATE AND COMPILE Oeil µViVion-3I4 PROJNCTJ

1. Double Click on the

icon on WUe TeVkWop.

2. Close any previous projects that were opened using Project -L CloVe.

3. Start Project New ProjecWH and select the CPU from the device database

(MaWabaVe-AWmel- AT89C51NM2 or AT89C51RM2 aV per WUe boarT).On clicking , WUe following opWion iV TiVplayeT. CUooVe No.

4. Create a source file (using File-LNew), type in the assembly or C program and

Vave WUiV (filename.asm/filename.c) and add this source file to the project using eiWUer one of WUe following Wwo meWUoTV. (i) Project-LÓanage-LComponenWVH Add

ŃileV Wo Group option.

4 K ROM

BUS CONTROL

4 I/O PORTS

SERIAL CONTROL

OSC CPU

INTERRUPT

CONTROL

128 Byte RAM

TIMER 1

TIMER 0

EXTERNAL

INTERRUPTS

TXD RXD

ADDRESS /

quotesdbs_dbs19.pdfusesText_25