FinalProjectCriticalDesignReview
Nguyen,Kevin
2
SystemDescription
Thesystemisacalculatorthatperformssimpleintegeraddition/subtractionand
displaystheresultonanLCDdisplay:
o Inputs:Theusershallprovidekeypadpresseswhicharecapturedbythe
microcontroller'sGPIOpinsconnectedtothekeypad
o Function:
o Eachkeypadinputisdecodedandidentifiedasoperator,operand,orcommand
o OperatorsandoperandsarebufferedanddisplayedontheLCDinreal-time
Operandsareconstructedfromaseriesofdigitkeypresses.
o AnequaloroperatorcommandkeypressinstructstheALUtoperformthe
arithmeticoperation.
o Outputs:TheLCDdriverconvertstheALUresultintoabinaryformattobe
shownontheLCDdisplay.GPIOfunctionsareusedtodrivethepinsconnected
totheLCDdisplay.
3
OverallSystemBlockDiagram
4
OverallSystemSchematic
5
SubsystemsOverview
Keypad
o 4x4arrayofkeyswhichareconnectedtoMCU
Decoder/Buffers
o Decodeskeypadinputsandstoresintobuffer
ALU
o Performsintegeraddition/subtraction
LCD&GPIODrivers
o ConvertsstringsintoformatthatcanbedrivenoutonGPIO
LCDDisplay
o DisplaysdataonLCDscreenandhasacontrollerwhichcanbeconfigured
intodifferentmodesofoperation