DEMO-II Copyright of Qianlongsheng Electronics Technology (Shenzhen) Co., Ltd.
Page 1 of 33
Chapter 1: MCD-DEMO-II Development Board System Introduction
1.1 Product Overview ------------------------------------------------------------------------------------------------------------------------2
1.2 Board Resource Introduction ---------------------------------------------------------------------------------------------------------2
1.3 Product Schematics ---------------------------------------------------------------------------------------------------------------------4
Chapter 2: MPLAB IDE Integrated Development Environment
2.1 MPLAB Installation ----------------------------------------------------------------------------------------------------------------------5
2.2 MPLAB Simple Application -----------------------------------------------------------------------------------------------------------5
2.2.1 Create a Simple Project -------------------------------------------------------------------------------------------------------------5
2.2.2 Program Debugging ------------------------------------------------------------------------------------------------------------------7
Chapter 3: Use of On-line Debugger MCD2
3.1 Get to Know MCD2 ---------------------------------------------------------------------------------------------------------------------9
3.2 MCD2 Connection ----------------------------------------------------------------------------------------------------------------------10
3.3 MCD2 FAQ --------------------------------------------------------------------------------------------------------------------------------12
Chapter 4: DEMO-II System Functional Modules Details
4.1 All I/O External Output Module -------------------------------------------------------------------------------------------------------13
4.2 Chip Socket and Clock Selection ----------------------------------------------------------------------------------------------------14
4.3 Power Module -----------------------------------------------------------------------------------------------------------------------------15
4.4 4*4 Matrix Keyboard Module-----------------------------------------------------------------------------------------------------------16
4.5 Simulation Interface and Reset Button ---------------------------------------------------------------------------------------------17
4.6 RS232 Module ----------------------------------------------------------------------------------------------------------------------------18
4.7 DS18B20 Module ------------------------------------------------------------------------------------------------------------------------19
4.8 SPI Communication Module ----------------------------------------------------------------------------------------------------------20
4.9 IIC Communication Module -----------------------------------------------------------------------------------------------------------21
4.10 LCD12864 and 1602 LCD Module ------------------------------------------------------------------------------------------------22
4.11 A/D Converter Module -----------------------------------------------------------------------------------------------------------------23
4.12 Remote Control Receiver & Decoder Module ----------------------------------------------------------------------------------24
4.13 Six-digital Display Module ------------------------------------------------------------------------------------------------------------25
4.14 8 play-in-turn Light Module -----------------------------------------------------------------------------------------------------------26
4.15 Stepper Motor Module -----------------------------------------------------------------------------------------------------------------27
4.16 Beeper Module --------------------------------------------------------------------------------------------------------------------------28
4.17 Independent Key and External Interrupt Module------------------------------------------------------------------------------ 29
Chapter 5: Practice of DEMO-II Development Board---------------------------------------------------------------------------30
Appendix 1: Packing List and Contact ----------------------------------------------------------------------------------------------33