digital systems with lab engin 241 -...
TRANSCRIPT
![Page 1: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/1.jpg)
DigitalSystemswithLabENGIN241
Lab1- Presentation
Dr.Honggang ZhangEngineeringDepartment
UniversityofMassachusettsBoston
![Page 2: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/2.jpg)
Today’sLab• UseLogisim tobuildandsimulateasimplelogiccircuit.
– TheschematicisonPage20ofslideL02.pptx.pdf.– PutyourLogisim simulationscreencapturesintoyourLab1report.– Youneedtoshowinyourreporttheoutputresultsofatleast4input
combinationsfromyoursimulation.Youcandoascreencapturetogetanimageofeachsimulationandputitintoyourlabreport.
– WritedowntheTruthtableofthecircuitandcompareitwithyoursimulationresults.
• Buildasimplecircuitonbreadboard,usingsomelogicgatesinourlabkit.– Testa7400NANDgatetoobservetheoutputvalueforall4inputlogiclevels.
UseLEDtoshowalogicoutput.– Beforeyouleave,showyourcircuitworktotheinstructorandLabAssistants.– Takeapictureofyourcircuitonbreadboardandrecordyourobservation,and
putthemintoyourlabreport.
2
![Page 3: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/3.jpg)
Today’sLab(cont’d)
• WriteLab1report.– Asktheinstructorforanyformatquestions.– Doasmuchworkaspossible,asyouwillneedtosubmitPre-Lab
reportnextThursday.
3
![Page 4: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/4.jpg)
Breadboard
4
![Page 5: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/5.jpg)
PowerandBreadboardWiring• Thechipsareplacedabovethechanneloneithersideofthebreadboard,suchthateachpinofyourchipwillhaveseveralavailablewirereceptorsforeasysolder-freewiringofyourcircuits;
5
![Page 6: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/6.jpg)
7400Chip
6
![Page 7: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/7.jpg)
7
ICPackagingIC’sandotherelectronicdevicesareavailableinavarietyofpackages.ThetablebelowwastakenfromaJameco Electronicscatalog.MostoftheIC’sthatwillbeusedinlabwillbeDIP(DualIn-linePackages).
![Page 8: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/8.jpg)
8
DIPSwitches• DIPswitchesaregroupsofsimpleslideswitchesinDIPpackages.• DIPswitchesarecommonlyusedoncircuitboardstoselectoptions.Youmayhaveseenthemusedinprinters,modems,remoteforgaragedooropeners,etc.
• DIPswitchesarecommonlyavailablewith2-12switches(poles).• DIPswitchesusuallyhaveOFForONmarkednexttooneswitchposition,where
• ON=closedswitch• OFF=openswitch
12-poleDIPSwitch(Reference:www.allelectronics.com)
4-poleDIPSwitch(Reference:www.jameco.com)
![Page 9: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/9.jpg)
9
DIPSwitches
4-poleDIPSwitch:Appearance(Reference:www.jameco.com)
SlideswitchtoONpositiontoclose.
1 2 3 4
4-poleDIPSwitch:Schematic
![Page 10: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/10.jpg)
10
UsingDIPSwitchestoprovideHIGHandLOWinputsSinceaDIPswitchsimplymakesorbreaksaconnection,aresistorneedstobeusedtoinordertouseittoprovideeitheraHIGHorLOWinputtoalogicgate.
OFForopen(HIGH)
ONorclosed(LOW)
2.2k
+5V
switchoutput
DIPswitch
![Page 11: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/11.jpg)
11
Usinga4-poleDIPswitchtoprovide4circuitinputs
F=AB+CD
2.2k
+5V
2.2k
+5V
2.2k
+5V
2.2k
+5V
F
AB
CD
DIPSwitch
OFF=OpenSwitch=HIGHinputON=ClosedSwitch=LOWinput
![Page 12: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/12.jpg)
12
DiodeAdiodeisasemiconductordevicethatactssomewhatlikeavoltagecontrolledswitch.Thesymbolforadiodeisshownbelow.Thepositiveterminalofthediodeiscalledtheanodeandthenegativeterminalisthecathode.
anode cathode
V+ _
DiodeSymbol
anode cathode
V+ _
DiodeAppearancePicturesofdiodes(Reference:www.allelectronics.com)
![Page 13: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/13.jpg)
13
LED(Lightemittingdiode)LED’sarediodesthatemitlightwhentheyareforwardbiased (apositivevoltageplacedacrosstheLEDfromanodetocathodeasshownbelow).TheamountoflightproducedisproportionaltothecurrentthroughtheLED
anode cathode
V+ _
Forward-biasedLED
anode(long)
cathode(short)
LED:Physicalappearance
Luminous
I(mA)12 20
destructionintensity
TypicalLEDcharacteristics
PicturesofLEDs(Reference:www.allelectronics.com)
![Page 14: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/14.jpg)
14
LED(Lightemittingdiode)Theresistance ofanLEDissufficientlylowsuchthatifafewvoltsisplaceddirectlyacrossanLED,itwillbedestroyed.Therefore,acurrent-limitingresistor shouldalwaysbeusedwithanLED.Theresistormustbechosentoyieldacurrentsuchthatanappropriatebrightnessisobtained.
220W
outputisHIGH
LEDandcurrent-limitingresistorusedtoindicateoutputlogiclevel
LEDlightswhen
Commonvaluesforcurrent-limitingresistors:200W,220W,270W,330W
![Page 15: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/15.jpg)
Resistorcolorcoding
15
Pleaseidentifyallresistorsinourlabkit.
Eachone’simage,anditsresistance,andputtheinformationinyourLab1report!
![Page 16: Digital Systems with Lab ENGIN 241 - umb.edueng.umb.edu/~hzhang/e241/Lab/Lab_1/L1-Slides.pptx.pdf · Digital Systems with Lab ENGIN 241 ... • Use Logisimto build and simulate a](https://reader034.vdocuments.us/reader034/viewer/2022051203/5ab3bdf17f8b9ac66c8e9721/html5/thumbnails/16.jpg)
16
ResistorColorCodeTheresistanceofcarbonresistorsisindicatedbycoloredbandsontheresistor.Thefirstthreebands(A,B,C)indicatethevalueoftheresistanceandthelastband(D)indicatesthetolerance.
ABCDR=ABx10C
A=FirstDigitB=SecondDigitC=NumberofZerosD=ToleranceCode
ValuesforBandsA,B,andC
ValuesforBandDGold– 5%toleranceSilver– 10%toleranceNone– 20%tolerance
Riscalculateusing:
Examples:Yellow,Violet,Brown,Silver:R=47x101 =470W,10%toleranceBrown,Black,Orange,Gold:R=10x103=10kW,5%tolerance
or