0% found this document useful (0 votes)
2 views

Embedded System Lab Assignment 2

The document outlines objectives for writing assembly language code for the 8051/8052 microcontroller to control 7-segment LED displays, including both non-multiplexed and multiplexed outputs. It lists required equipment such as simulation software and in-system programming tools, and presents several coding problems related to counting, Fibonacci sequences, multiplication tables, and displaying roll numbers. The document serves as a guide for interfacing and programming 7-segment displays in various formats.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Embedded System Lab Assignment 2

The document outlines objectives for writing assembly language code for the 8051/8052 microcontroller to control 7-segment LED displays, including both non-multiplexed and multiplexed outputs. It lists required equipment such as simulation software and in-system programming tools, and presents several coding problems related to counting, Fibonacci sequences, multiplication tables, and displaying roll numbers. The document serves as a guide for interfacing and programming 7-segment displays in various formats.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

TITLE

Interfacing 7-Segment LED Display with 8051/8052 Microcontroller

OBJECTIVES

To enable us to write assembly language code for the 8051/8052 microcontroller capable of:

1. Displaying non-multiplexed and multiplexed output on 7-segment LED units

2. Displaying static and scrolling output on 7-segment LED units

Equipment Required

1. Simulation Software: KEIL, Vision-Embedded development tool, Proteus Design Suite – Professional PCB layout,
circuit design and simulation tool.
2. In-System Programming (ISP) Software: ProgISP – An in-system-programmable tool to load HEX files in to micro-
controller.

Theory

1. 7-Segment LED Display


2. Common cathode seven segment
3. Circuit diagram
PROBLEMS

1. Write a code to design a single digit decimal counter that counts up from 0 to 9 and back from 9 to 0. This process
should repeat indefinitely.

2. Write a code to design a double digit decimal counter that counts up from 00 to 20 and back to 00 indefinitely.
3. Write a code to display the first (N) numbers of the Fibonacci sequence, where the number (N) must be stored in
a memory location and can be any integer from 1 to 10. The sequence should repeat indefinitely.

4. Write a code to generate the multiplication table of a number (N) stored in a memory location which can be any
integer from 1 to 10. Repeat the sequence indefinitely.
5. Write a code to display your roll number in static format. Roll number should be of four characters. Display of
student roll numbers should repeat indefinitely.
6. Write a code to display the roll numbers of your lab group members in scrolling format, separated by using
decimal point. Roll numbers should be scrolled towards the left and is repeated indefinitely.

You might also like