DEMO-IICopyright ofQianlongshengElectronicsTechnology(Shenzhen)Co.,Ltd.
Page1 of33
Chapter1:MCD-DEMO-II DevelopmentBoardSystemIntroduction
1.1Product Overview------------------------------------------------------------------------------------------------------------------------2
1.2BoardResourceIntroduction---------------------------------------------------------------------------------------------------------2
1.3Product Schematics---------------------------------------------------------------------------------------------------------------------4
Chapter2:MPLAB IDEIntegrated DevelopmentEnvironment
2.1MPLAB Installation ----------------------------------------------------------------------------------------------------------------------5
2.2MPLAB SimpleApplication -----------------------------------------------------------------------------------------------------------5
2.2.1CreateaSimpleProject-------------------------------------------------------------------------------------------------------------5
2.2.2ProgramDebugging------------------------------------------------------------------------------------------------------------------7
Chapter3:Use ofOn-lineDebuggerMCD2
3.1Get toKnowMCD2---------------------------------------------------------------------------------------------------------------------9
3.2MCD2Connection----------------------------------------------------------------------------------------------------------------------10
3.3MCD2FAQ --------------------------------------------------------------------------------------------------------------------------------12
Chapter4:DEMO-II System FunctionalModulesDetails
4.1All I/O ExternalOutput Module-------------------------------------------------------------------------------------------------------13
4.2ChipSocketandClock Selection----------------------------------------------------------------------------------------------------14
4.3PowerModule-----------------------------------------------------------------------------------------------------------------------------15
4.44*4MatrixKeyboardModule-----------------------------------------------------------------------------------------------------------16
4.5Simulation Interfaceand Reset Button---------------------------------------------------------------------------------------------17
4.6RS232Module----------------------------------------------------------------------------------------------------------------------------18
4.7DS18B20Module------------------------------------------------------------------------------------------------------------------------19
4.8SPICommunicationModule----------------------------------------------------------------------------------------------------------20
4.9IICCommunicationModule -----------------------------------------------------------------------------------------------------------21
4.10LCD12864and1602LCDModule ------------------------------------------------------------------------------------------------22
4.11A/DConverterModule-----------------------------------------------------------------------------------------------------------------23
4.12RemoteControlReceiver&DecoderModule----------------------------------------------------------------------------------24
4.13Six-digitalDisplayModule------------------------------------------------------------------------------------------------------------25
4.148play-in-turnLight Module-----------------------------------------------------------------------------------------------------------26
4.15StepperMotorModule-----------------------------------------------------------------------------------------------------------------27
4.16BeeperModule--------------------------------------------------------------------------------------------------------------------------28
4.17Independent Keyand ExternalInterruptModule------------------------------------------------------------------------------29
Chapter5:PracticeofDEMO-II DevelopmentBoard---------------------------------------------------------------------------30
Appendix1:Packing Listand Contact----------------------------------------------------------------------------------------------33