0% found this document useful (0 votes)
13 views17 pages

MMMM

Mmmmm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views17 pages

MMMM

Mmmmm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 17

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

"Jnana Sangama", Belgavi-590 018, Karnataka, India

A Project Based Learning Report


On
“Displaypriate.
Submitted in Partial Fulfillment of the requirement for the award of the degree of

BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING

Submitted By
Student Name: Poorna Chandra Tejaswi P USN:1SJ22CS118
Student Name:Nayani Lakshmi Sai Thribhuvan USN:1SJ22CS108
Student Name: Nimra Fathima A S USN:1SJ22CS109
Student Name: Komal Kumar B V USN:1SJ22CS078

Under the guidance


of Guide Name
Designation
Department Name
College Name
(Font: Times New Roman, Size: 14)

S.J.C.INSTITUTE OF TECHNOLOGY
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
CHIKKABALLAPUR-562101
2023-2024
||Jai Sri Gurudev||
Sri Adichunchanagiri Shikshana Trust®

SRI JAGADGURU CHANDRASHEKARANATHA SWAMIJI


INSTITUTE OF TECHNOLOGY
CHICKBALLAPUR – 562101

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

CERTIFICATE

This is to certify that the Mini Project work entitled “...................Project


Title……………………………………..” is a bonafied work carried out by Student
Name’s (USN) in partial fulfillment for the Fourth Semester course
MICROCONTROLLERS BCS402 Bachelor of Engineering in Computer
Science and Engineering in of the Visvesvaraya Technological University,
Belagavi during the year 2023-2024. It is certified that all corrections/suggestions
indicated for internal assessment have been incorporated in the report. The mini
project report has been approved as it satisfies the academic requirements with
respect to fourth semester mini project work as part of Project Based Learning.

Signature of Guide Signature of HOD


Dr. Manjunatha Kumara B H
Guide Name Professor & HOD,
Designation Dept. of CSE,SJCIT
Dept. of CSE,SJCIT
ACKNOWLEDGEMENT

First and foremost, I would like to thank Almighty God for all the blessings He has
bestowed upon us to work thus far and finish this project. I are grateful to our most respected
founder (late) Dr. D.G.S. Dhinakaran, C.A.I.I.B, Ph.D., and honorable chancellor Dr. Paul
Dhinakaran, M.B.A, Ph.D., for their grace and blessing.

I express our gratitude to the Vice Chancellor Dr. P. Mannar Jawahar, Ph.D., Pro
Vice Chancellor Dr. Ridling Margarat Waller, Ph.D., Pro Vice Chancellor Dr. E. J. James
and the Registrar Dr. R. Elijah Blessing, Ph.D., Karunya University, for their enduring
leadership.

I extend my thanks to our Dean, School of Engineering and Technology, Dr. Prince
Arul Raj, Ph.D., Karunya University, for his excellent encouragements in course of this work.

I am very thankful to Dr. D. Nirmal Professor & Head i/c, Department of Electronics
and Communication Engineering for providing his constant readiness in providing help and
encouragement at all stages in my project.

My sincere and special thanks to my guide, Dr.K.Martin Sagayam., .M.E.,Ph.D.,


Assistant Professor Dept of ECE , for her immense help and guidance. I would like to extend
a thankful heart for her constant support through the entire project.

I would take this opportunity to thank our Dr.S .Sreedevi Sathya Priya, ,Assistant professor
Department of ECE, who had been always there for us. I would like to convey gratitude to my
Parents whose prayers and blessings were always there with me. Last but not the least, I would
like to thank my Friends and Others who directly or indirectly helped in successful completion of
this wo

iv
CONTENTS

Chapter Page No

ACKNOWLEDGEMENT 4

ABSTRACT 6

LIST OF FIGURES 7

1. INTRODUCTION 8

2. COMPONENTS REQUIRED 9

3.HARDWARE/SOFTWARE 9

4.WORKING 10-13

5. RSULTS 18

6.CONCLUSION 19

7.REFERENCES 19

Note: If your domain is Image/Signal change the heading as per your guide’s advice (
Eg: Algorithm)

v
ABSTRACT

A Seven-Segment Display (SSD) is a widely used electronic display


device for displaying decimal numbers from 0 to 9. They are most commonly
used in electronic devices like digital clocks, timers and calculators to display
numeric information.

The 7-segment display, also written as “seven segment display”, consists


of seven LEDs (hence its name-A,B,C,D,E,F,G) arranged in a rectangular
fashion as shown. Each of the seven LEDs is called a segment because when
represented the segment forms part of a numerical digit (both Decimal and
Hex) to be displayed. An additional 8th LED is sometimes used within the
same package thus allowing the indication of a decimal point, (DP) when two
or more 7-segment displays are connected together to display numbers greater
thanten

vi
LIST OF FIGURES

Figure No. Name of the figure page No.

1.1 Interface diagram 8

1.2 Input circuit 17

1.3 Output circuit 18

vii
INTRODUCTION

. a 7-segment device consists of 7 light emitting diodes. These light-emitting


diodes are arranged and packed inside a single display with a specific pattern in
mind. If this pattern is controlled in a specific way by turning on and turning off
LEDs, a seven-segment device will display a unique number. There is also an
extra eighth LED on a seven-segment display which is used to display dots. This
dot is sometimes used as a decimal point when we want to display a fractional
value. The string of eight LEDs on the left side shows the internal connection and
a picture on the right side shows how these LEDs are arranged to make a seven-
segment display. Pin3 and 8 are common pins. These pins are used to provide
either 5 volt or ground in common-anode and common cathode type displays
respectively.

.1.1 Interface diagram


vii
i
COMPONENTS REQUIRED

 Arduino uno R3
 Liquid display(LCD)
 Common cathode
 Common anode
 Light emitting diode
 Ground
 577
SOFTWARE

 Arduino IDE

 Proteus professional

HARDWARE

 1 Bread board

 Arduino

 Resistors

 Connecting wires

ix
WORKING

Depending upon the decimal digit to be displayed, the particular set of LEDs is
illuminated. For instance, to display the numerical digit 4, we will need to light up
four of the LED segments corresponding to b, c, f and g. Thus the various digits
from ‘0 through 9’ and characters from ‘A through F’ can be displayed using a 7-
segment display as shown.

Below truth table shows the individual segments that need to be illuminated in order
to produce digits and characters. that truth table for common anode 7-segment
display is exact opposite to that of common cathode 7-segment display. In the
common cathode display, all the cathode connections of the LED segments are
connected together to ‘logic 0’ / GND. The individual segments are then illuminated
by applying HIGH / ’logic 1’ signal to the individual Anode terminals (a-g).

x
xi
xii
Code 1:
#include <LPC214x.h>
#include <stdio.h>
#include “7SEG.H”
Unsigned int thou, hun, ten, single:
Unsigned int x;
Void main(void)
PINSELO 0;
PINSELI 0;
PINSEL2 & 0x0000000C;
IODIRO |= 0x0F << 10; // PO.10 P0.13 Control Lines
IODIR1 |= 0xfF << 16; // P1.16 Pl.23 are Outputs
While(1)
{
if(x ==300)
{
X=0;
single++;
if (single>9)
{
Single=0;
ten++;
if (ten>9)
{
ten=0;
hun++;
if(hun>9)
{
hun=0;
thou++;
if (thou>9)
thou=0;
}
}
xii
i
}
X++;
Segment Disp(&IOPIN1, 16, thou, hun, ten, single);
}
}
Void DelayMs (unsigned int count)
{
Unsigned int i ,j;
for(i=0;i<count;i++)
{
for(j=0;j<3000;j++);
}
}

To compile the above C code you must need the KEIL software. They
must be properly set up and a project with correct settings must be created
in order to compile the code. To compile the above code, the C file must
be added to the project.
In KEIL, you want to develop or debug the project without any hardware
setup. You must compile the code for generating HEX file. In debugging
Mode, you want to check the port output without LPC2148 Slicker Board.
The Flash Magic software is used to download the hex file into your
microcontroller IC LPC2148 through UARTO.

Testing the I2C – Seven segment with LPC2148


Give +3.3V power supply to LPC2148 Slicker Board; the four seven
segment display is connected with the LPC2148 Slicker Board. First
check the entire seven segments LED’s are properly working or not. Here
we are display just 1234 in four seven segment. The entire seven
segments receive it through I2C & display it in order.
If any data is not coming in seven segments, then you just check the entire
seven segments LED’s are working or not. Change the seven segment
driver IC & Check the 12C connections. Check the four seven segments
connections. Otherwise you just check the code with debugging mode in
xi
v
KEIL.

xv
1.2 Input circuit

xvii
RESULT

Thus proteus simulation displaying decimal numbers from 0to9 continually

Using Arduino has been designed .

Fig 1.3 output circuit

xvii
CONCLUSION
It’s a complex form of LED matrix and is normally used in clocks, LCD displays,
calculators etc where there’s a need to display the numeric data. It has total seven
leds in it which you can also count from above image and by turning these LEDs ON
or OFF we can display any numeric on it.
REFERENCES

Oyebola B. O. and Odueso V. T. (2017), interfacing of seven


segment with arduino: A Simple Demonstration. Equatorial Journal
ofComputational and Theoretical Science, 2 (1): 6-15

https://vdocuments.net//interfacing-seven-segment-display-meter-a-simple-
seven-segment with arduino

xix

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy