Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Expt No-01

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

MICROCONTROLLERS (EIG309) Experiment No.

EXPERIMENT NO. 1

1.0 Title:
Interpret details of Hardware kit for Microcontroller and practice to write and execute
programs.

2.0 Prior Concepts:


Computer fundamentals, Microprocessor and microcontroller

3.0 Practical Significance

 In today’s evolving world, technology is not only becoming more and more advanced,
but also more and more common in our everyday lives. The invention of “smart”
products is revolutionizing the design process for nearly every product imaginable.
Shoes containing chips that pair with our phones to keep track of our activity,
refrigerators that can track when groceries expire, and now even cars that are capable
of driving themselves are all examples of modern inventions that use microcontrollers
to make our lives easier.
 A microcontroller is a programmable IC, capable of multiple functions depending on
how it’s programed. Many different kinds of microcontrollers exist that offer a wide
range of functionality. The versatility of the microcontroller is what makes it one of
the most powerful tools in modern design. This guide will explain the basics of
microcontrollers and how they are programmed.
 This practical will help the students to develop skills to Identify various blocks of
8051 development board.
4.0 Minimum Theoretical Background

1.1 Block Diagram of 8051 Microcontroller

IE / E&TC DEPT., GOVERNMENT POLYTECHNIC, KOLHAPUR 1


MICROCONTROLLERS (EIG309) Experiment No.1

 Specifications of 8051
Microcontroller:
 It is an 8-bit microcontroller.
 It has 128 bytes of Internal RAM.
 It has 4kilo bytes of Internal ROM.
 It has two 16 bit internal
timers/counters.
 It has 4 eight-bit parallel ports.
 Programmable full duplex serial
channel.
 It has three internal and two external interrupts

Figure 1.2 Systems on chip-8051

 Pins 1 to 8 − these pins are known as Port 1.


This port doesn’t serve any other functions. It is
internally pulled up, bi-directional I/O port.
 Pin 9 − It is a RESET pin, which is used to
reset the microcontroller to its initial values.
 Pins 10 to 17 − these pins are known as
Port 3. This port serves some functions like
interrupts, timer input, control signals, serial
communication signals RxD and TxD, etc.
 Pins 18 & 19 − these pins are used for
interfacing an external crystal to get the system clock.

Fig.1.3 1Pin Diagram of 8051

 Pin 20 − this pin provides the power supply


to the circuit.
 Pins 21 to 28 − these pins are known as
Port 2. It serves as I/O port. Higher order address bus signals are also multiplexed
using this port.
 Pin 29 − this is PSEN pin which stands for Program Store Enable. It is used to read
a signal from the external program memory.
 Pin 30 − this is EA pin which stands for External Access input. It is used to
enable/disable the external memory interfacing.
 Pin 31 − this is ALE pin which stands for Address Latch Enable. It is used to
demultiplex the address-data signal of port.

IE / E&TC DEPT., GOVERNMENT POLYTECHNIC, KOLHAPUR 2


MICROCONTROLLERS (EIG309) Experiment No.1

 Pins 32 to 39 − these pins are known as Port 0. It serves as I/O port. Lower order
address and data bus signals are multiplexed using this port.
 Pin 40 − this pin is used to provide power supply to the circuit.
 Flash programming utility for downloading the application program into Flash ROM.
 Links to manuals, on-line help, device datasheets, and user guides.

The Explore Ultra 8051 Kit comes with all the things required, not just for this experiment
but for the entire series. The base board is fully open; no peripheral is directly connected to
the MCU breakout board. You may connect any peripheral to any port/pin you wish. It is a
devise used to develop and design a prototype embedded system. Port pins are taken out for
interfacing various peripherals. It has a provision to download the hex file of user program
which is generated by Keil or any other IDE. Software is used to download the hex file into
the code memory of microcontroller.

IE / E&TC DEPT., GOVERNMENT POLYTECHNIC, KOLHAPUR 3


MICROCONTROLLERS (EIG309) Experiment No.1

5.0 Learning Objectives


5.1 Intellectual Skills:
5.1.1 Identify the each block of Hardware kit.
5.1.2 Understand the use and operating procedure of 8051 Hardware kit.
5.2 Motor Skills:
5.2.1 Ability to make the connection with hardware kit

6.0 Apparatus

Sr. Apparatus Specifications Quantity


No.
1 Microcontroller kit Single board system with 8K RAM,ROM
memory with battery
backup,16X4,16X2LCD display, PC
keyboard interfacing facility, Hex keypad 01
facility, single user cross c-compiler,USB,
interfacing facility with built in power
supply.
2 Desktop PC Loaded with open source IDE, simulation
01
and program downloading software.

7.0 Precautions to be Followed


Do not power up development board when identifying blocks.

8.0 Resources used

Sr Instrument specification Quantity


.No. /Components

9.0 Actual procedure followed (use blank sheet provided if space is not sufficient)
......................................................................................................................................................
......................................................................................................................................................
................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................

IE / E&TC DEPT., GOVERNMENT POLYTECHNIC, KOLHAPUR 4


MICROCONTROLLERS (EIG309) Experiment No.1

.......................................
………….……….........................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
........................................

10. Precautions followed (use blank sheet provided if space not sufficient)
......................................................................................................................................................
.......
………….……….........................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
.......................................

11. Observations (use blank sheet provided if space not sufficient) observe development
board and list various components and write their functions.

Sr. No Component Function

12. Result (Identification of various block of 8051 development board )


......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
.......................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
.......................

IE / E&TC DEPT., GOVERNMENT POLYTECHNIC, KOLHAPUR 5


MICROCONTROLLERS (EIG309) Experiment No.1

13. Conclusions and Recommendations


………….……….........................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
......................................................................................................................................................
........................................

14. Practical Related Questions Note:


(Below given are few sample questions for reference. Teacher must design more such
questions so as to ensure the achievement of identified CO)
1. List internal and external interrupts available to 8051 microcontroller?
2. List MCS51 family members and write their specifications.
3. Explain the selection criteria for selecting a microcontroller device.
4. List I/O ports available in 8051 microcontroller.
………………………………………………………………………………………………
………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
……………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………

Assessme Cognitive Psychomotor Affective Tot Signatu


nt Technical Algorith Program/Lo Disciplin Decency al re of
Parameter preparedne m / gic (5) e and and Out Teacher
ss for Flowcha punctuali presentati of with
practical rt ty (5) on (5) 25 Date
(5) (5)

Marks:

IE / E&TC DEPT., GOVERNMENT POLYTECHNIC, KOLHAPUR 6

You might also like