Вы находитесь на странице: 1из 5

7/15/2015

DecimaltoBCDConvetor

DecimaltoBCD
Convetor
Home Analysis Help Media Links Practical Schematics Simulation
Updates
Circuit: RonJ

EmailRon
Description
ThiscircuitwillprovideanoutputinBinaryCodedDecimalfromanyoftheinput
switches.Theinputswitchesmaybeexpandedto16switches,providinga
HexadecimaltoBCDconversion.

http://www.zen22142.zen.co.uk/Circuits/Misc/dec_bcd.htm

1/5

7/15/2015

DecimaltoBCDConvetor

Notes
Whenanyparticularkeyispressed,itsvaluewillappearinBCDformatthe
outputs(A,B,C&D).Itwillremainthereuntilanotherkeyispressed.The12
keysproduceoutputsupto"1011".Extendedto16keys,thecircuitwillgive
thefullHEXtoBCDconversion.
MemoryModule:
TheabovecircuitproducesanoutputONLYwhiletheinputswitchisdepressed.
Tomakeaconvertorwithalatchedoutput,thefollowingmodificationsare
made.EachCMOS'AND'gatehasitsfreeinputtiedtoVcc,andbytheactionof
R1throughR4any'hiinput'willthereforecausetheoutputtobelatched.

http://www.zen22142.zen.co.uk/Circuits/Misc/dec_bcd.htm

2/5

7/15/2015

DecimaltoBCDConvetor

Whenanyparticularkeyispressed,itsvaluewillappearinBCDformatthe
outputs(A,B,C&D).Itwillremainthereuntilanotherkeyispressed.The12
keysproduceoutputsupto"1011".Extendedto16keys,thecircuitwillgive
thefullHEXtoBCDconversion.
TheLEDsareavisualindicationofthevalue.Theyarenotnecessarytothe
operationofthecircuit.Ifyouwish,youmayleavethemouttogetherwith
theirassociatedresistors(R5,R6,R7&R8).
Thecircuitworksatvoltagesfrom5to15vdc.PleasenotethatA,B,C&Dare
connecteddirectlytotheoutputsoftheCmosIC.Youwillneedtoregulatethe
loadyourapplicationplacesontheseoutputs.
Construction:
Becausethekeypadmaybeusedwithoutthememory,thelayoutsaredrawn
separately.Ifyoubuildthembothonthesamepieceofstripboard,isolatethem
fromoneanother.Cutallofthetracksexceptforthesixthatjointhekeypad
terminalstothememorymodule.Alwayscheckcarefullythatthecopperiscut
allthewaythrough.Sometimesasmallstrandofcopperremainsatthesideof
http://www.zen22142.zen.co.uk/Circuits/Misc/dec_bcd.htm

3/5

7/15/2015

DecimaltoBCDConvetor

thecutandthiswillcausemalfunction.Ifyoudon'thavethepropertrack
cuttingtool,thena6to8mmdrillbitwilldo.Justusethedrillbitasahand
toolthereisnoneedforadrillingmachine.
BoardLayout:

Forclarity,allthecomponentsareshownlyingflatontheboard.However,
thoseconnectedbetweencloseoradjacenttracksaremountedstanding
upright.UsingasocketreducesthechancesofdamagingtheICandmakesit
easiertoreplaceifnecessary.Thelinksarebarecopperwireonthecomponent
sideoftheboard.TwoofthemneedtobefittedbeforetheICsocket.Youcan
makethelinksfromtelephonecable:thesinglestrandedvarietyusedindoors
towiretelephonesockets.Stretchingthecoreslightlywillstraightenitand
alsoallowtheinsulationtoslipoff.
http://www.zen22142.zen.co.uk/Circuits/Misc/dec_bcd.htm

4/5

7/15/2015

CircuitExchange
International

DecimaltoBCDConvetor

ReturntoMiscellaneous
Circuits

http://www.zen22142.zen.co.uk/Circuits/Misc/dec_bcd.htm

http://www.zen22142.zen.co.uk

5/5