Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 11

Assessment Manual

For

Micro Project
Embedded System
(22532)
Diploma Programme: - Industrial Electronics

Maharashtra State
Board of Technical Education, Mumbai
Subject:
 Embedded System

Name of micro project:


 Seven Segment Display in embedded ‘c’ language.

Done by:

1. Divya Dnyanadev Patil. (407)


2. Anushka Avinash Patil. (416)

3. Sayali Kumar Pawar. (419)

4. Rachana Deepak Chougule. (425)


PART A – Micro-Project Proposal

1.0 Brief Introduction

7 segment LED display is very popular and it can display digits from 0 to 9 and quite a few
characters like A, b, C, ., H, E, e, F etc. Knowledge about how to interface a seven segment
display to a micro controller is very essential in designing embedded systems.

A seven segment display consists of seven LEDs arranged in the form of a squares ‘8’ slightly
inclined to the right and a single LED as the dot character. Different characters can be
displayed by selectively glowing the required LED segments. Seven segment displays are of
two types, common cathode and common anode. In common cathode type , the cathode of
all LEDs are tied together to a single terminal which is usually labelled as ‘com‘   and the
anode of all LEDs are left alone as individual pins labelled as a, b, c, d, e, f, g &  h (or dot) . In
common anode type, the anodes of all LEDs are tied together as a single terminal and
cathodes are left alone as individual pins. The pin out scheme and picture of a typical 7
segment LED display is shown in the image below.

7 segment LED display

The ProteusDesignSuite is a proprietary software tool suite used primarily for electronic


design automation. The software is used mainly by electronic design engineers and
technicians to create schematics and electronic prints for manufacturing printed circuit
boards
Keil MicroVision is free software which solves many of the pain points for an embedded
program developer. This software is an integrated development environment (IDE), which
integrated a text editor to write programs, a compiler and it will convert your source code to
hex files too.

2.0 Aim of the Micro-project

 To get 7 segment display using keil and proteus software.

3.0 Intended Course Outcome

Co- (b)– Use ‘Embedded C’ programming to maintain embedded system


Co- (e) – Develop simple application of embedded system

4.0 Literature Review

Seven-segment representation of figures can be found in patent as early as 1903 (in U.S.


Patent 1,126,641), when Carl Kinsley invented a method of telegraphically transmitting
letters and numbers and having them printed on tape in a segmented format. In 1908, F.
W. Wood invented an 8-segment display, which displayed the number 4 using a diagonal
bar (U.S. Patent 974,943). In 1910, a seven-segment display illuminated by incandescent
bulbs was used on a power-plant boiler room signal panel. They were also used to show
the dialed telephone number to operators during the transition from manual to
automatic telephone dialing. They did not achieve widespread use until the advent of
LEDs in the 1970s.
They are sometimes used in posters or tags, where the user either applies color to pre-
printed segments, or applies color through a seven-segment digittempts, to compose
figures such as product prices or telephone numbers.

5.0 Proposed Methodology


1. We will form a group of four for micro project.
2. First we will find our project with help of Google and various websites available. Then we
will show it to our project to guide.
3. After permission of guide we will try to find the components as per requirements and of
perfect values.
5. First, we download the keil and proteus software.
6. After download the software we built the proper program.
7. As soon as it works properly our guide will give the permission to do it.
8. We will do the proper programming and develop the circuit.
9. When we will give the required output we shall move to the further preparation of micro
project.
10. Then we will ask our guide about the format of report and will start to collect all the
information needed for report.
11. We shall arrange the information in proper way to represent as report.
13. We shall gather all the information needed to power point presentation and try to make
as per the format.
14. After completion of PCB report formation as well as PPT presentation, we will submit it
to our guide.
By giving presentation to our project as well as by showing the working project, submission
process will be done.

6.0 Resources Used

Sr. Components Required Specification Quantity


No.
1. PC Loaded with keil and 1
proteus software
2. Microcontroller kit 8051 microcontroller 1

3. 7 segment display kit - 1


7.0 Action plan

Sr. Details of activity30 Planned Start Planned Name of


No. date Finish date Responsible
Team
Members
1 Formation of group 9 Dec 2019 16 Dec All members
2019
2 Searching of micro project. 16 Dec 2019 21 Dec 2019 All members

3 Collecting all information 23 Dec 2019 23 Dec 2019 All members


related to micro project.

4 Implement the logic and 24 Dec 2019 30 Dec All members


develop the program. 2019
5 Testing the program by guide. 2 Jan 2020 6 Jan 2020 All members

6 Searching of information 8 Jan2020 13 Jan 2020 All members

7 Collecting information from 15 Jan 2020 20 Jan 2020 All members


books

8 Collecting information from 24 Jan 2020 29 Jan 2020 All members


online resources
9 Arrangement of gathered 3 Feb 2020 5 Feb 2020 All members
information

10 Formation of report 6 Feb 2020 12 Feb 2020 All members

11 Confirmation to guide 18 Feb 2020 20 Feb 2020 All members

12 Presentation of report 22 Feb 2020 27 Feb 2020 All members


13 Submission of report 9 July 9 July 2020 All members
2020
PART B – Micro-Project Report

1.0Rationale

Multiplexing 7 segment displays to 8051.


Each 7 segment display have 8 pins and so a total amount of 24 pins are to the connected to
the microcontroller and there will be only 8 pins left with the microcontroller for other input
output applications. Also the maximum number of displays that can be connected to the
8051 is limited to 4 because 8051 has only 4 ports. More over three 3 displays will be ON
always and this consumes a considerable amount of power. All these problems associated
with the straight forward method can be solved by multiplexing.
In multiplexing all displays are connected in parallel to one port and only one display is
allowed to turn ON at a time, for a short period. This cycle is repeated for at a fast rate and
due to the persistence of vision of human eye, all digits seems to glow. The main advantages
of this method are

1. Fewer number of port pins are required.

2. Consumes less power.

3. More number of display units can be interfaced (maximum 24).

The circuit diagram for multiplexing 2 seven segment displays to the 8051 is shown
below.

The Proteus Design Suite is a proprietary software tool suite used primarily for electronic
design automation. The software is used mainly by electronic design engineers and
technicians to create schematics and electronic prints for manufacturing printed circuit
boards.

Keil MicroVision is a free software which solves many of the pain points for an embedded
program developer. This software is an integrated development environment (IDE), which
integrated a text editor to write programs, a compiler and it will convert your source code to
hex files too.
2.0Course Outcomes Addressed:

Co- (b) – Use ‘Embedded C’ programming to maintain embedded system


Co- (e) – Develop simple application of embedded system

3.0 Literature Review:

Seven-segment representation of figures can be found in patent as early as 1903 (in U.S.


Patent 1,126,641), when Carl Kinsley invented a method of telegraphically transmitting
letters and numbers and having them printed on tape in a segmented format. In 1908, F.
W. Wood invented an 8-segment display, which displayed the number 4 using a diagonal
bar (U.S. Patent 974,943). In 1910, a seven-segment display illuminated by incandescent
bulbs was used on a power-plant boiler room signal panel. They were also used to show
the dialed telephone number to operators during the transition from manual to
automatic telephone dialing. They did not achieve widespread use until the advent of
LEDs in the 1970s.
They are sometimes used in posters or tags, where the user either applies color to pre-
printed segments, or applies color through a seven-segment digit teamptes, to compose
figures such as product prices or telephone numbers.

4.0Actual Methodology followed:


1. We form a group of four for micro project.
2. First we find our project with help of Google and various websites available. Then we will
show it to our project to guide.
3. After permission of guide we try to find the components as per requirements and of
perfect values.
4. First, we download the keil and proteus software.
5. After download the software we built the proper program.
6. As soon as it works properly our guide give the permission to do it.
7. We do the proper programming and develop the circuit.
8. When we give the required output we shall move to the further preparation of micro
project.
9. Then we ask our guide about the format of report and will start to collect all the
information needed for report.
11. We arrange the information in proper way to represent as report.
13. We gather all the information needed to power point presentation and try to make as
per the format.
14. After report formation as well as PPT presentation, we will submit it to our guide.
By giving presentation to our project as well as by showing the working project, submission
process will be done.
5.0 Actual Resources Used:

Sr. Components Required Specification Quantity


No.
1. PC Loaded with keil and 1
proteus software
2. Microcontroller kit 8051 microcontroller 1

3. 7 segment display kit - 1

6.0 Outputs of the Micro project

Seven segment displays are used to indicate numerical information. Seven segments display
can display digits from 0 to 9 and even we can display few characters like A, b, C, H, E, e, F,
etc. These are very popular and have many more applications. So, in this project, I’ll show
you how a 7 Segment Display works by interfacing 7 Segment Display to 8051
Microcontroller

Code for 7 Segment Display Interfacing with 8051 Microcontroller (AT89S52)

#include<reg51.h>
void msdelay(unsigned int time) // Function for creating delay in milliseconds.
{
unsigned i,j ;
for(i=0;i<time;i++)
for(j=0;j<1275;j++);
}

void main()
{
unsigned char no_code[]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90};
//Array for hex values (0-9) for common anode 7 segment

int k;
while(1)
{
for(k=0;k<10;k++)
{
P2=no_code[k];
ms_delay(100);
}
}
}

We have created ms_delay function to provide the delay in milliseconds, this delay is usually
provided in any microcontroller program so that microcontroller can complete its internal
operation.
Then we have created an array of the hex codes for 0 to 9 and finally we have sent the hex
codes to the port 2, which is connected to common anode 7 segment. So in this way the
numbers are shown on the 7 segment display.
Now we have only 4 ports in microcontroller and what if we want to show the data in more
than four 7 segments?? To solve this problem, multiplexing technique comes into picture.
We need to multiplex multiple 7.
7.0 Skill Developed / learning out of this Micro-Project

 We got the knowledge about how the circuit works according to the program loaded on
the connected computer.
 We got the knowledge about microcontroller pin configuration and their working.
 We learned about practical implementation of required aim.

8.0 Applications of this Micro-Project

 Seven segments are widely used in digital clocks to display the time.
 These are used in electronic meters for displaying the numerical information.
 Used in Instrument panels
 Used in digital readout displays

9. 0 Area of Future Improvement:


1. In microwave
2. In digital DC power supply
3. In temperature sensing circuit
4. In air cooler i.e. AC to indicate temperature
5. In watches
6. In toy

You might also like