Sie sind auf Seite 1von 16

10/13/2016

About

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

Privacy Policy

Search

Search

Write For Us|Earn Money

Home

Buy Project Kits

Store

Advertise With Us

Write For Us

Home / 8051 / Interfacing Seven segment display to 8051

Interfacing Seven segment


display to 8051
Last Updated on March 6, 2014 by admin in 8051 with 44
Comments

A Note about 7 segment LED display.


This article is about how to interface a seven segment LED display
to an 8051 microcontroller. 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, n, o,t,u,y, 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 squarish 8 slightly inclined
to the right and a single LED as the dot character. Dierent
Enteryouremail
characters can be displayed by selectively glowing the required
Subscribe
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 labeled as com and the anode of all LEDs are left alone as
individual pins labeled as a, b, c, d, e, f, g & h (or dot) . In common
anode type, the anode of all LEDs are tied together as a single
Categories
terminal and cathodes are left alone as individual pins. The pin out
101Announcements
scheme and picture of a typical 7 segment LED display is shown in
555TimerIC
the image below.

GetDaily
Updatesvia
Email

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

(25)
(14)

8051

(24)

8051projects

(19)

AmplifierCircuits

(39)

Arduino

(37)

1/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

ARM
AudioCircuits

(28)

AVR

(15)

BasicElectricity

(1)

BasicElectronics

(6)

BatteryCircuits

(23)

CProgramming

Digit drive pattern.

Digit

Interfacing seven segment display to 8051.

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

(14)
(1)

CameraTechnology

(5)

ClippingandClampingCircuits

(7)

Clocking&TimerCircuits

(2)
(10)

CounterCircuits

(2)

Counters

(2)

DigitalElectronics

(11)

Education&Training

(6)

ElectronicComponents

(31)

ElectronicKeys&Locks

(3)

ElectronicsBooks

(10)

ElectronicsJobs

(4)

EmbeddedSystems

(7)

EquipmentReviews

(1)

Events

(3)

FanCircuits

(1)

FilterCircuits
FireAlarm
Fun&GameCircuits

(7)

CableTVCircuits

ConversionCircuits

Digit drive pattern of a seven segment LED display is simply the


dierent logic combinations of its terminals a to h in order to
display dierent digits and characters. The common digit drive
patterns (0 to 9) of a seven segment display are shown in the table
below.

(104)

AutomotiveCircuits

Cplusplus

7 segment LED display

(3)

(16)
(3)
(14)

GadgetReviews

(6)

HamRadioCircuits

(2)

HighVoltageCircuits

(1)

History

(26)

HomeCircuits

(35)

IndustrialCircuits

(15)

Instruments

(13)

IntegratedCircuits

(20)

Inverters

(5)

LabManuals

(20)

LEDrelated

(3)

2/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

LightRelated

(14)

LightingCircuits

(43)

MATLAB

(3)

Microcontrollers

(7)

MobilePhoneRelated

(1)

MotorRelated

(14)

Nanotechnology

(14)

Oscillators

(25)

PeripheralInterfaceController
PowerControllerCircuits

(29) (PIC)

PowerElectronics

Interfacing 7 segment display to 8051


The circuit diagram shown above is of an AT89S51 microcontroller
based 0 to 9 counter which has a 7 segment LED display interfaced
to it in order to display the count. This simple circuit illustrates two
things. How to setup simple 0 to 9 up counter using 8051 and
more importantly how to interface a seven segment LED display to
8051 in order to display a particular result. The common cathode
seven segment display D1 is connected to the Port 1 of the
microcontroller (AT89S51) as shown in the circuit diagram. R3 to
R10 are current limiting resistors. S3 is the reset switch and R2,C3
forms a debouncing circuitry. C1, C2 and X1 are related to the clock
circuit. The software part of the project has to do the following
tasks.
Form a 0 to 9 counter with a predetermined delay (around 1/2
second here).
Convert the current count into digit drive pattern.
Put the current digit drive pattern into a port for displaying.
All the above said tasks are accomplished by the program given
below.

Program.
ORG000H//initialstartingaddress
START:MOVA,#00001001B//initialvalueofaccumulator

(2)

(8)

PowerSupplies

(72)

ProductReviews

(2)

ProjectIdeas

(1)

Projects

(7)

Proteus

(5)

ProximityDetectors

(3)

RadioCircuits

(30)

RadioTransmitters

(19)

RaspberryPi

(1)

Relays

(3)

RemoteCircuits

(12)

Reviews

(5)

Robotics

(6)

RTOS

(2)

Security&Saftey

(16)

SensorCircuits

(16)

SignalConditioners

(11)

SignalGenerators

(13)

SpeedControllerCircuits

(1)

Statespaceanalysis

(2)

SwitchingCircuits

(6)

TechNews

(87)

TelephoneRelated

(9)

TelevisionRelated

(4)

TemperatureRelated

(3)

Test&MeasurementCircuits

(38)

MOVB,A

TestingComponents

(9)

MOVR0,#0AH//RegisterR0initializedascounterwhichcounts

Threephasecircuits

(1)

from10to0

TimerCircuits

(3)

LABEL:MOVA,B
http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

3/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

INCA

Tonegeneratorcircuits

MOVB,A

ToolsandSoftwares

(6)

Transmitters

(7)

MOVCA,@A+PC//addsthebyteinAtotheprogramcounters
address
MOVP1,A

Tutorials

(20)

(158)

ACALLDELAY//callsthedelayofthetimer

UPS

(2)

DECR0//CounterR0decrementedby1

USBCircuits

(3)

Videos

(5)

MOVA,R0//R0movedtoaccumulatortocheckifitiszeroin
nextinstruction.
JZSTART//ChecksaccumulatorforzeroandjumpstoSTART.
Donetocheckifcountinghasbeenfinished.

VLSI

(36)

VoltageRegulators

(15)

SJMPLABEL
DB3FH//digitdrivepatternfor0
DB06H//digitdrivepatternfor1
DB5BH//digitdrivepatternfor2
DB4FH//digitdrivepatternfor3
DB66H//digitdrivepatternfor4
DB6DH//digitdrivepatternfor5
DB7DH//digitdrivepatternfor6
DB07H//digitdrivepatternfor7
DB7FH//digitdrivepatternfor8
DB6FH//digitdrivepatternfor9
DELAY:MOVR4,#05H//subroutinefordelay
WAIT1:MOVR3,#00H
WAIT2:MOVR2,#00H
WAIT3:DJNZR2,WAIT3
DJNZR3,WAIT2
DJNZR4,WAIT1
RET
END

About the program.


Instruction MOVC A,@A+PC is the instruction that produces the
required digit drive pattern for the display. Execution of this
instruction will add the value in the accumulator A with the content
of the program counter(address of the next instruction) and will
move the data present in the resultant address to A. After this the
program resumes from the line after MOVC A,@A+PC.

LatestArticles
DragandDropIoTProject
BuildermyDevicespartnerwith
Arduino
AnalogOscilloscopes/CRO
OnlineBuyingGuide
GSMandGPRSModem/Module
PriceandBuyingGuide
HowisARMProgramming
Different?
ProteusTutorialUsingDot
MatrixDisplays
HowtoMakeanLEDScrollbar
Heartratemonitorwithsms
alert.
ProteusTutorialUsing
SingleandMultipleDigit
SegmentDisplays
ProteusTutorialLight
EmittingDiode(LED)andBar
GraphDisplay
HowtoInstallandSetup
CompilerwithDevelopment
EnvironmentforARM7

In the program, initial value in A is 00001001B. Execution of MOVC


A,@A+PC will add oooo1001B to the content in PC ( address of
next instruction). The result will be the address of label DB 3FH

LikeUsonFacebook

(line15) and the data present in this address ie 3FH (digit drive
pattern for 0) gets moved into the accumulator. Moving this
pattern in the accumulator to Port 1 will display 0 which is the rst
count.

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

4/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

At the next count, value in A will advance to 00001010 and after


the execution of MOVC A,@+PC ,the value in A will be 06H which is
the digit drive pattern for 1 and this will display 1 which is the next
count and this cycle gets repeated for subsequent counts.
The reason why accumulator is loaded with 00001001B (9 in
decimal) initially is that the instructions from line 9 to line 15
consumes 9 bytes in total.
The lines 15 to 24 in the program which starts with label DB can be
called as a Look Up Table (LUT). label DB is known as Dene Byte
which denes a byte. This table denes the digit drive patterns
for 7 segment display as bytes (in hex format). MOVC operator
fetches the byte from this table based on the result of adding PC
and contents in the accumulator.

RecentComments

Register B is used as a temporary storage of the initial value of the

ABonFewLM317voltage
regulatorcircuits

accumulator and the subsequent increments made to accumulator


to fetch each digit drive pattern one by one from the look up
table(LUT).
Note:- In line 6, Accumulator is incremented by 1 each time (each
loop iteration) to select the next digit drive pattern. Since MOVC
operator uses the value in A to fetch the digit drive pattern from
LUT, value in ACC has to be incremented/manipulated accordingly.
The digit drive patterns are arranged consecutively in LUT.
Register R0 is used as a counter which counts from 10 down to 0.
This ensures that digits from o to 9 are continuously displayed in
the 7 segment LED. You may note lines 4, 11, 12, and 13 in the
above program. Line 4 initializes R0 to 10 (OAh). When the
program counter reaches line 11 for the rst time, 7 segment LED
has already displayed 0. So we can reduce one count and that is

ShanjedulHassanonDigital
CodeLockusingArduinowith
LCDDisplayandUserDefined
Password
MarkHarderonHowisARM
ProgrammingDifferent?
jojoonBurglarAlarmusing
ArduinoandPIRSensorwith
SMSAlarmusingGSMModule
jojoonBurglarAlarmusing
ArduinoandPIRSensorwith
SMSAlarmusingGSMModule
jojoonBurglarAlarmusing
ArduinoandPIRSensorwith
SMSAlarmusingGSMModule

why we have written DEC Ro. We need to continuously check if R0


has reached full count (that is 0). In order to do that lines 12 and 13 jojoonGSMandGPRS
Modem/ModulePriceand
are used. We move R0 to accumulator and then use the Jump if
BuyingGuide
Zero (JZ) instruction to check if accumulator has reached zero. If
Acc=0, then we makes the program to jump to START (initial state)
and hence we restart the 7 segment LED to display from 0 to 9
again. If Acc not equal to zero, we continue the program to display
the next digit (check line 14).

Multiplexing 7 segment display to 8051.

mohanrajonGSMandGPRS
Modem/ModulePriceand
BuyingGuide

NoelonBurglarAlarmusing
ArduinoandPIRSensorwith
SMSAlarmusingGSMModule

Suppose you need a three digit display connected to the 8051.


Each 7 segment display have 8 pins and so a total amount of 24

kayxaveriuzonHowtoMakean
LEDScrollbar

pins are to the connected to the microcontroller and there will be


only 8 pins left with the microcontroller for other input output

KarthikeyanonDigitalDoor
LockPasswordbased

applications. Also the maximum number of displays that can be


http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

5/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

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

ElectronicCodeLockusing
8051

associated with the straight forward method can be solved by


multiplexing .

GuruonDigitalCountDown
TimerusingPIC
Microcontroller

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

janeonHowtoInterfaceGSM
ModuletoArduinoSendand
ReceiveSMS

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

sureshonDigitalvoltmeter
usingICL7107
msdavaonCarbatterycharger

Fewer number of port pins are required .


Consumes less power.
More number of display units can be interfaced (maximum
24).

Pages
About

The circuit diagram for multiplexing 2 seven segment displays to

AdvertiseWithUs

the 8051 is shown below.

Authors
BuyProjectKits
CTHome
Datasheets
Disclaimer
ElectronicCircuitSymbols
LabManuals
ElectronicCircuitsLab
Microcontrollerlab
MicroprocessorLab
PrivacyPolicy

Multiplexing 7 segement display to 8051

ProjectContests
RecentPosts

When assembled and powered on, the circuit will display the
ResistorColorCodeCalculator
number 16 and let us see how it is done. Initially the rst display is
activated by making P3.0 highand then digit drive pattern for 1 is Sitemap
loaded to the Port 1. This will make the rst display to show 1. In TestingComponents
the mean time P3.1 will be low and so do the second display will be
WriteForUs
OFF. This condition is maintained for around 1ms and then P3.0 is
made low. Now both displays will be OFF. Then the second display
is activated by making P3.1 high and then the digit drive pattern for
6 is loaded to the port 1. This will make the second display to
show 6. In the mean time P3.0 will be low and so the second
display will be OFF. This condition is maintained for another 1ms
and then port 3.1 is made low. This cycle is repeated and due to
the persistence of vision you will feel it as 16.
http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

6/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

Transistor Q1 drives the rst display (D1) and transistor Q2 drives


the second display (D2). R11 and R12 are the base current limiting
resistors of Q1 and Q2. The purpose of other components are
explained in the rst circuit.

Program.
ORG000H//initialstartingaddress
MOVP1,#00000000B//clearsport1
MOVR6,#1H//stores"1"
MOVR7,#6H//stores"6"
MOVP3,#00000000B//clearsport3
MOVDPTR,#LABEL1//loadstheadressofline29toDPTR
MAIN:MOVA,R6//"1"ismovedtoaccumulator
SETBP3.0//activates1stdisplay
ACALLDISPLAY//callsthedisplaysubroutineforgettingthe
patternfor"1"
MOVP1,A//movesthepatternfor"1"intoport1
ACALLDELAY//callsthe1msdelay
CLRP3.0//deactivatesthe1stdisplay
MOVA,R7//"2"ismovedtoaccumulator
SETBP3.1//activates2nddisplay
ACALLDISPLAY//callsthedisplaysubroutineforgettingthe
patternfor"2"
MOVP1,A//movesthepatternfor"2"intoport1
ACALLDELAY//callsthe1msdelay
CLRP3.1//deactivatesthe2nddisplay
SJMPMAIN//jumpsbacktomainandcycleisrepeated
DELAY:MOVR3,#02H
DEL1:MOVR2,#0FAH
DEL2:DJNZR2,DEL2
DJNZR3,DEL1
RET
DISPLAY:MOVCA,@A+DPTR//addsthebyteinAtotheaddress
inDPTRandloadsAwithdatapresentintheresultantaddress
RET
LABEL1:DB3FH
DB06H

DB5BH
DB4FH
DB66H
DB6DH
DB7DH
DB07H
DB7FH
DB6FH
END
Gotanydoubts/questions?Askhereincomments!
http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

7/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

Tagged interfacing7segmentdisplayto8051
multiplexing7segmentdisplayto8051

Youmayalsolike:
DigitalDoorLockPasswordbasedElectronicCodeLock
using8051
Interfacingsteppermotorto8051
HowtoInterfaceGSMModuleto8051MicroController
SendandReceiveSMS
RFIDBasedAccessControlSystemusing8051
MicrocontrollerBasedProgrammableDatacumTemperature
Display

Werecommend:
40Waudioamplifier
DigitalvoltmeterusingICL7107
HiFiAmplifiercircuit
Vacuumtubediodes
SingleChipFMRadiocircuit

44thoughtsonInterfacingSevensegment
displayto8051
akhilchandranMarch29,2016at7:07pm

thanksforthecode
Reply

nayanJuly19,2015at9:39am
whatistheprogramof7segmentdisplaywherethe0to
9digitwillbedisplayinsuchawaythattheydisplay
simulteneouslyinonedisplaywhereoddno.andin
seconddisplaywhereevenno.aredisplays
Reply

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

8/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

MandarKholgadeApril22,2015at5:05am
DearSir,
ItsverygoodexplanationofthesevensegmentDisplay.
PlshighlighthowthesaidProgrammeisBurntandloaded
inthecontroller8051inHexCode.
Reply

JawadAhmadMarch28,2015at3:57am
howcaniinterfacethreesevensegmentto8051such
thatigetdigitsstartingfrom000to999withadelay
of0.5seconds?plzsendmethecode
Reply

jojoMarch28,2015at9:34am
@JawadYoumayusemultiplexedsevensegment
display(3displays)
Reply

VaishaliDecember13,2014at10:21am
Sir,whythesubroutineDISPLAYintheactualprogramis
differentfromtheabovementionedprogram
Reply

AkshayNSorathiyaOctober22,2014at7:15am
iwanttomakesevensegmentbaseddigitalclockusing
8051microcontroller,ihavenoprogramforcircuit,can
igetthat??
Reply

WayneOctober21,2014at9:48am
Whataboutacodetomultiplexed7segmentdisplaythat
countstoFFinHEX?

Reply

darshanaJuly22,2014at1:18am
hey,cananyonehelpmetotheprogrammingofthe8051
tocountupto5digitformetaldetectorcircuit
Reply

RAJAVARMAJune2,2014at8:29pm

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

9/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

pleasewriteaprogramtodisplayFIREandHELP
alternatly
Reply

InstinctApril25,2014at4:04am
forgottaadd.theupanddowncountingshouldbeon
respectivekeypress.
thanx!
Reply

InstinctApril25,2014at4:03am
Hey,cananyoneplshelpmewithacodefor8051wherein
icancountupanddownupto5digits,andthedisplay
istobeon5multiplexedsevensegments.
Reply

Nagaraj.TApril17,2014at3:50am
Thiswasveryusefullforme.Andiwanttoknowifi
wanttocountdownanywherewhentheaboveprogramwill
berunning.iwillbeusingexternalinterruptforthis
tointerruptthemicrocontrollertodocountdowntask
anditwilldowncountuptozerothenitshouldstop
counting.
pleaseanyonedohelpinthis
thanks
Reply

ajithApril8,2014at1:41am
canutellmeaembeddedcprogramforrealtimeclock
Reply

blessedMarch24,2014at5:41pm

thankxalotforyourdetailedlecture.pleasesir,how
doicascadeormultiplexorinterfaceuptoeight
displaystoonemicrocontrollertodisplayaneight
letteredword,ineedthecircuitarrangementand
program.ThankxandGodbless.
Reply

sumaMarch8,2014at10:26am
sir,howtodisplaytheallthe7segementLEDatatime
sir?
ineedtoblinkallthefour7segmentledallofonce.
http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

10/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

Reply

manishkumarFebruary6,2014at1:45am
Hitoallofyou,
Iwantstoknowweathermicrocontrollerwouldbeable
todriveSevensegmentdisplay.Ithassourcecurrentin
microAmp.
Reply

samarnathdevJanuary16,2014at1:02am
iuse4094bwithcommoncathodfndto8051#11010010B
;210Dd2hfor4hshow,nowiwanttoconverttohexso
pleashelpmeasasmidia.
Reply

laxmanaraoSeptember18,2013at11:49pm
sir,
howtoprint1to24onsevensegmentdisplay.
heretwoswitchsarethere.
firstoneis1to24print.(wheneverthispinis
press).
secondisnumberselectionpin(wheneverthispinis
press).
ifitis20numberselect,clockwillmustbeon.could
plesesendmesourcecode
thankyou.
Reply

suneelAugust31,2013at11:11pm
thankyousirforgreatdescription!
(CodesnippeteditedbyAdministrator)
whilecompilingtheaboveprogram,error(variableor
constantnotfound)iscomming.pleasetellmehowtofix
it

Reply

jojoSeptember5,2013at4:32am
HiSuneel,
Ihaveeditedthecodesnippetduetoits
length!Howevertheerrorcanbeduetoa
referencetoanundefinedvariableinthe
program.Justreadthroughyoucodestwiceto
spotanundefinedvariable/constant.
http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

11/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

Reply

JaisinjacobNovember30,2012at1:33am
Ininterfacing7sdgment8051,therearesomeoneare
earthed.whatthisexactlydo?
Reply

AshwaniKumarSharmaSeptember21,2012at10:10pm
Thankssirthewayofwrittingthearticleis
awesome,thingebecomeprettymucheasyafterstudying
thearticles.Thearticleshavetheirpracticalsideof
own.
Reply

jojoSeptember22,2012at6:35pm
HelloAshwani,Thanksforthenicewords.Keep
lookingformorearticles.
Reply

MarceloSeptember16,2012at5:23pm
dearsir,idontunderstandverywellthemovaa,@a+pc,
whentheprogramisinthisline,thepciswithvalue
of0bh,withtheacc,willbe0bh+0aH=15h,thedb=3fh
isinthe15hposition?tks!
Reply

hameedAugust11,2012at3:40am
iwanttomakealeddisplayboardwhichshowsdigits
thatarepressedonatvremote.pleaseguide..
Reply

kamleshvaghelaJuly22,2012at11:27pm

goodproject
Reply

ManjinderJuly16,2012at1:03am
sir,
duetotheinterruptthebrightnessofsevensegment
displays(byusinggreenleds)isdecreaseanyideato
increasebrightnessofdisplays
pleasehelpme
Reply

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

12/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

namgvaerarakJune28,2012at4:53am
hey,thanksforthecode,itsuredoeslooklikeit
willwork
heyiwaswondering,irecentlyreadthebook8051mc
andembeddedsystemsandonpageno99wehaveanother
code
ORG0000H
START:MOVR1,#10
MOVDPTR,#400H
BACK:CLRA
MOVCA,@A+DPTR
MOVP1,A
ACALLDELAY
INCDPTR
DJNZR1,BACK
SJMPSTART
ORG0400H
DB3FH,06H,5BH,4FH,66H,6DH,7DH,07H,7FH,6FH
END
plzzletmeknowwhetherthiscodecouldalsowork
thanksaton
Reply

jojoJuly2,2012at1:23am
@namgvaerarakLogicallyitshouldwork.I
haventseenanyerrorsinparticular.
Reply

RajeshOctober17,2012at3:58am
itwillwork,iguess.
Reply

SachinShintreOctober21,2012at6:09pm
Sir
Ihaveconnectthe7segmentinterfessingckt.
butconnectinputasthemicrocontrollerinIR

transmeterusingic358ckt.thenhowto
changesinprogram
Reply

G.SaiPranavJune25,2012at8:39pm
Ihaveusededsim51simulatortolearnthismodule\run
theprogram.ButIhaveafacedaproblem,inthat
simulatorthe2scomplimentoftheinstructionDB3F
i.eDBC0hastobewrittenforgettingthethedisplay
for0.ThatmeansfortheL.E.Dtoglow0hastobegiven
http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

13/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

totherespectivepinnot1.Isitthefaultof
simulatororIsitmyfault?
Reply

adminJune26,2012at12:44am

Postauthor

@G.SaiPranav
wehavetestedthecircuitinreal
environment.
differentsimulatorshavedifferent
specificationsandyouhavetoadjustthecode
accordingly.
Reply

AmyOctober11,2012at9:29pm
Thatisbecausethesimulatorfollowsacommon
anodeconfiguration.Soalowtothe
respectivepinneedstobeprovidedtomake
theLEDglow
Reply

SrihariRaoJune22,2012at8:24pm
Okayanywaythanksfortheresponse..

Waitingfor

morepostsonmicrocontroller.
Reply

SrihariRaoJune21,2012at7:18pm
IfyouhaveMultisimsoftwarethenpleasecheckoutthis
file..
http://www.mediafire.com/?83sb6eoe56a98rq
Reply

ManjinderJuly16,2012at3:44am
YouusewrongSevensegmentdisplaythisis

notCAthisisCCDisplay
Reply

SrihariRaoJune21,2012at7:04pm
SiriuseNIMultisim11.0softwaretobuiltthese
circuitsinmyPC.Butwhenicheckedthiscircuitin
Multisimsoftwareitisnotworking.Thesevensegment
isnotdisplayingmethenumbers.Buttheassembler
resultsisshowingzeroerrorsandzerowarnings.Iwant
toknowweatheritissoftwarefaultorthecircuit

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

14/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

fault.Ifitisthesoftwarefaultthenpleaserecommend
mesomesoftwaretobuildcircuitslikethese.
Reply

jojoJune21,2012at10:07pm
@shrihariraoWetestedthiscircuitina
realenvironment.Wehavenotusedany
simulatorstotestsoftware/circuit.SoIcant
tellexactlywhichpartiscausingthe
problem.
Reply

jojoJune21,2012at2:57am
@shrihariWehavetestedthiscircuithereinourlab.
Itworkedreallyfine.Theprogramwedevelopedis
perfect.Pleasetellwhatstheproblemyouface??
Reply

bilalJuly26,2014at7:50am
Sirwhichcompilerisused
Reply

SrihariRaoJune20,2012at10:34pm
https://www.facebook.com/groups/technotweets/permalink/399892846713713/
Pleaseseethis..Helpme..
Reply

SrihariRaoJune20,2012at8:52pm
Thanksforinfo..

Wantmorepostslikethis..
Reply

LeaveaReply
Youremailaddresswillnotbepublished.Requiredfieldsare
marked*
Comment

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

15/16

10/13/2016

InterfacingSevensegmentdisplayto8051ElectronicCircuitsandDiagramElectronicsProjectsandDesign

Name*

Email*

Website

PostComment

PopularTags
2N2222

555IC

555timer

AudioAmplifierCircuits
DigitalElectronics

8085labmanual
Audiocircuits

ElectronicCircuits

circuitdesign

ElectronicProjects

HistoryofElectronics

hobbycircuits

IntegratedCircuits

microprocessorlabmanual
Oscillators
SCR

PIC

PLL

SimpleElectronicsProjects

voltageconverter

FilterCircuits

hobbyprojects

Thyristors

IC

LightRelated

Nanotechnology

PowerSupplies

TechNews

FMtransmitter

HomeCircuits

InventionStories

MostPopularCircuits

PowerAmplifiers

circuitdiagram

ElectronicComponents

ElectronicInstruments

ICAudioAmplifier

arduinocircuits

NE555timer

RadioCircuits
TimerIC

Robotics

Tutorials

VLSI

VoltageRegulators

2015CircuitsToday.Allrightsreserved.

http://www.circuitstoday.com/interfacingsevensegmentdisplayto8051

LatestElectronicCircuits

16/16

Das könnte Ihnen auch gefallen