PIC24F Curiosity Development Board Quick Start Guide Americas Asia/Pacific Atlanta, GA - 678-957-9614 Austin, TX - 512-257-3370 Boston, MA - 774-760-0087 Chicago, IL - 630-285-0071 Cleveland, OH - 216-447-0464 Dallas, TX - 972-818-7423 Detroit, MI - 248-848-4000 Houston, TX - 281-894-5983 Indianapolis, IN - 317-773-8323 Los Angeles, CA - 949-462-9523 New York, NY - 631-435-6000 Phoenix - 480-792-7200 San Jose, CA - 408-735-9110 Canada - Toronto - 905-695-1980 Hong Kong - 852-2943-5100 Australia - Sydney - 61-2-9868-6733 China - Beijing - 86-10-8569-7000 China - Chengdu - 86-28-8665-5511 China - Chongqing - 86-23-8980-9588 China - Dongguan - 86-769-8702-9880 China - Guangzhou - 86-20-8755-8029 China - Hangzhou - 86-571-8792-8115 China - Hong Kong SAR - 852-2943-5100 China - Nanjing- 86-25-8473-2460 China - Qingdao - 86-532-8502-7355 China - Shanghai - 86-21-5407-5533 China - Shenyang - 86-24-2334-2829 China - Shenzhen - 86-755-8864-2200 China - Wuhan - 86-27-5980-5300 China - Xiamen - 86-592-2388138 China - Xian - 86-29-8833-7252 China - Zhuhai - 86-756-3210040 India - Bangalore - 91-80-3090-4444 India - New Delhi - 91-11-4160-8631 India - Pune - 91-20-3019-1500 Korea - Daegu - 82-53-744-4301 Korea - Seoul - 82-2-554-7200 Malaysia - Kuala Lumpur - 60-3-6201-9857 Malaysia - Penang - 60-4-227-8870 Philippines - Manila - 63-2-634-9065 Singapore - 65-6334-8870 Taiwan - Hsin Chu - 886-3-5778-366 Taiwan - Kaohsiung - 886-7-213-7828 Taiwan - Taipei - 886-2-2508-8600 Thailand - Bangkok - 66-2-694-1351 Europe Austria - Wels - 43-7242-2244-39 Denmark - Copenhagen - 45-4450-2828 France - Paris - 33-1-69-53-63-20 Germany - Dusseldorf - 49-2129-3766400 Germany - Karlsruhe- 49-721-625370 Germany - Munich - 49-89-627-144-0 Italy - Milan - 39-0331-742611 Italy - Venice - 39-049-7625286 Netherlands - Drunen - 31-416-690399 Poland - Warsaw - 48-22-3325737 Spain - Madrid - 34-91-708-08-90 Sweden - Stockholm - 46-8-5090-4654 UK - Wokingham - 44-118-921-5800 06/23/16 Overview The PIC24F Curiosity Development Board is a demonstration, development and experimentation platform based on the PIC24FJ128GA204 eXtreme Low Power (XLP) microcontroller. The board has a built-in programmer/debugger and provides all of the hardware necessary to get started developing a complete embedded application. Some key features of the board include: • PIC24FJ128GA204 general purpose, 16-bit microcontroller • PICkit™ On-Board (PKOB) circuit implements basic programming/debugging ability • MCLR Reset button + two general purpose push buttons • Red/Green/Blue (RGB) LED + two general purpose indicator LEDs • 10k potentiometer • 32.768 kHz crystal • Female headers for access to microcontroller I/O pins • Small prototyping area + Bluetooth® LE radio footprint • mikroBUS™ interface for hardware expansion Board Power-up The board is intended to be powered through the micro-B USB connector (USB1). An MCP1703 linear regulator (U6) generates the +3.3V rail used by the PIC24FJ128GA204 microcontroller. Getting Started Microchip Technology provides several example projects that can be used to get started with the PIC24F Curiosity Development Board. The source code, the MPLAB® X IDE, the XC16 C compiler and the MPLAB Code Configurator (MCC) can be obtained from: http://www.microchip.com/curiosity http://www.microchip.com/pic24fcuriosity http://www.microchip.com/mplab http://www.microchip.com/xc16 http://www.microchip.com/mcc The preprogrammed “out-of-box” demo project for the PIC24F Curiosity Development Board implements an RGB color mixing application. In the demo, the potentiometer can be used to adjust each color channel intensity, independently, while the push buttons are used to select the channel to be adjusted. Microchip Technology Inc. • 2355 West Chandler Blvd. • Chandler, AZ 85224-6199 www.microchip.com The Microchip name and logo, the Microchip logo, and MPLAB are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. PICkit is a trademark of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respective companies. © 2016, Microchip Technology Incorporated, Printed in the U.S.A. All Rights Reserved. 08/16 DS50002534A In order to use the PKOB programmer/debugger within the MPLAB X IDE (v3.40 or later recommended), select: Project Properties/Categories: Conf/Hardware Tool/Microchip Starter Kits/Starter Kits (PKOB)/“PIC24F Curiosit...” Schematics The schematics for the PIC24F Curiosity Development Board are shown in Figure 1 and Figure 2. PIC24F CURIOSITY DEVELOPMENT BOARD SCHEMATICS REV. 1.0 (PAGE 1 OF 2) 3V3 J1 V PP /MCLR V DD G ND IC S P DAT IC S P C L K NC 1 2 3 4 5 6 3V3 R1 10k 1% 3V3 PK_PGD PK_PGC C2 10 μF 25V C1 4 0.1 μF 50V 7 57 5V 56 34 35 R8 100R 1% 10 26 38 19 3V3 C4 0.1 μF 50V C5 0.1 μF 50V C6 0.1 μF 50V 3V3 RC1_PKRX RC2_PKTX 3V3 PICkit™ On-Board C7 0.1 μF 50V R45 DNP DNP R25 DNP MCL R E NV R E G PGE D1/AN0/ VREF+/R P0/PMA6/CN2/R B0 PGE C1/AN1/ VREF-/R P1/CN3/R B 1 AN2/C2INB /V MI O/R P13/CN4/R B2 AN3/C2INA/V PI O/CN5/R B3 PGE D3/AN4/C1INB /USBOE N/R P28/CN6/R B4 PGE C3/AN5/C1INA/VBUSON/R P18/CN7/R B 5 PGE C2/AN6/R P6/CN24/R B 6 PGE D2/AN7/R P7/R CV /CN25/R B7 AN8/R P8/CN26/R B8 AN9/R P9/PMA7/CN27/R B9 T MS/CVREF/AN10/PMA13/CN28/R B10 T DO/AN11/PMA12/CN29/R B11 T CK /AN12/PMA11/CT E D2/CN30/R B 12 T DI /AN13/PMA10/CT E D1/CN31/R B13 AN14/CT PL S/R P14/PMA1/CN32/R B14 AN15/R P29/R E FO/PMA0/CN12/R B15 V CAP/ V DDCORE V BUS V USB V DD V DD V DD AV DD V SS V SS V SS AV SS EP OSCI/CLKI /CN23/RC12 SOSC I /C3IND/CN1/ RC13 SOSC O/T 1CK /C3INC/R PI 37/CN0/ RC14 OSCO/CL KO/CN22/RC15 3V3 R30 DNP R23 9 25 41 20 65 U1 58 59 33 31 32 37 36 4 5 6 8 D_P D_N V BUSST/V CMPST 1/CN68/R F0 V CMPST 2/CN69/R F1 R P16/USB I D/CN71/R F3 SD A2/R P10/PMA9/CN17/R F4 SC L2/R P17/ PMA8/CN18/R F5 DMH/R P11/I NT 0/CN49/RD0 VCPCON/R P24/CN50/RD1 DPH/R P23/CN51/RD2 R P22/PMB E /CN52/RD3 R P25/PMWR /CN13/RD4 R P20/PMR D/CN14/RD5 C3INB /CN15/RD6 C3INA/CN16/RD7 R T CC/DML N/R P2/CN53/RD8 DPLN/SDA1/R P4/CN54/RD9 SCL1/R P3/PMCS2/CN55/RD10 R P12/PMCS1/CN56/R D11 D+/R G2 D-/R G3 C1IND/R P21/PMA5/CN8/R G6 C1INC/R P26/PMA4/CN9/R G7 C2IND/R P19/PMA3/CN10/R G8 R P27/PMA2/C2INC/CN11/R G9 PMD0/CN58/R E0 PMD1/CN59/R E1 PMD2/CN60/R E2 PMD3/CN61/R E3 PMD4/CN62/R E4 PMD5/CN63/R E5 SCL3/PMD6/CN64/R E6 SDA3/PMD7/CN65/R E7 16 15 14 13 12 11 17 18 21 22 23 24 27 28 29 30 3V3 R4 1k 1% R3 10k 1% VDD_SENSE VDD_SENSE VPP_SENSE PK_PGC PK_PGD R7 3.16k 1% 3V3 VPP_SENSE R29 10k 1% 3V3 R14 10k 1% PKSCK PKMISO PKMOSI PKEE_CS R15 PKMOSI RB0_PGD1 330R 1% R11 4.7k 1% R17 PKMISO 330R 1% R19 RB1_PGC1 330R 1% X1 12 MHz 3 R16 4.7k 1% 3V3 PKEE_WP PKEE_SCK 3V3 R20 100k 1% 3V3 PKEE_MISO 60 61 62 63 64 1 2 3 PIC24FJ256GB106 Target ICSP™ Signals R6 1k 0603 1% PKSCK 1 PKEE_MOSI R5 3.57k 0603 1% R9 1k 0603 1% R12 10k 1% 39 47 48 40 46 49 50 51 52 53 54 55 42 43 44 45 3V3 2 FIGURE 1: R18 100k 1% R24 1 10k 1% R22 10k 1% 3 2 1 3 R21 10k 1% Q2 MMB T 3904 2 R31 10k 1% Q1 MMB T 3906 R26 3 1 100R 1% MC LR Q3 MMB T 3904 2 5V 3V3 +t TH1 500 mA Polyfuse 1210 USB1 1 2 3 4 5 D_N D_P 0 VBUS DD+ ID GND PAD1 PAD2 PAD3 PAD4 5V R28 470R 0603 1% LED4 U5 MCP1703/3.3V 2 3 V IN VOUT GND 1 C12 1 μF 16V 0603 Power Status (Green) C13 2.2 μF 25V 3V3 3V3 C15 3V3 R32 10k 1% PKEE_CS PKEE_SCK PKEE_MOSI PKEE_WP R33 2.2k 1% 1 6 5 3 7 U6 CS SCK SI WP HOL D V CC SO VSS 8 2 0.1 μF 50V PKEE_MISO 4 25L C256 USB MI CR O-B FEMAL E PKOB USB Interface Power Supply PKOB Serial EEPROM (25LC256) Designed with Altium.com DS50002534A PIC24F CURIOSITY DEVELOPMENT BOARD SCHEMATICS REV. 1.0 (PAGE 2 OF 2) RC1_PKRX MC LR Current measurement point 18 6 U7_VDD 2 J6 1 DNP Net T ie 28 40 17 7 29 39 16 C20 10 μF 25V 3V3 J5 1 2 3 4 5 6 32.768 kHz MC LR RA0_AN RA1_RST RA2 RA3 RA4_SOSCO RA7 RA8 RA9_LED1 RA10_LED2 RB0_PGD1 RB1_PGC1 DNP C17 18 pF 50V 5% C16 18 pF 50V 5% 3V3 NT1 V PP/MCLR VDD G ND ICSPDAT ICSPCLK NC RB4_SOSCI 19 20 30 31 34 13 32 35 12 3V3 U7 MCL R AN2/CT CMP/C2INB /R P0/CN4/PGD1/R B 0 AN3/C2INA/R P1/CT E D12/CN5/PGC1/R B 1 VBAT AN4/C1INB /R P2/SD A2/T 5CK /T 4CK /CT E D13/CN6/R B 2 AN5/C1INA/R P3/SC L 2/CT E D8/CN7/R B 3 V DD SOSC I /CN1/R PI 4/R B 4 V DD PGD3/R P5/ASD A1/PMD7/CN27/R B 5 AV DD PGC3/R P6/ASC L 1/PMD6/CN24/R B 6 R P7/CT E D3/I NT 0/CN23/PMD5/R B 7 VCAP R P8/SC L 1/CT E D10/PMD4/CN22/R B 8 C1INC/C2INC/C3INC/R P9/SDA1/T1CK /CT E D4/PMD3/CN21/R B 9 VSS R P10/CT E D11/PMD2/CN16/PGD2/R B 10 VSS R E FI /R P11/CT E D9/PMD1/CN15/PGC2/R B 11 AVSS/ VSS AN8/HL V DI N/R P12/PMD0/CN14/R B 12 AN7/C1INC/R E FO/R P13/CT PL S/PMR D/PMWR /CN13/R B 13 CVREF/AN6/C3INB /R P14/PMWR /PMNE B /R T CC/CT E D5/CN12/R B 14 AN9/C3INA/R P15/T 3CK /T 2CK /CT E D6/PMA14/CN11/PMCS/PMCS1/R B 15 AN10/R P16/PMB E 1/CN8/R C0 AN11/R P17/PMCS2/CN9/R C1 AN12/R P18/PMACK 1/CN10/R C2 R P19/PMB E 0/CN28/R C3 R P20/PMA4/CN25/R C4 R P21/PMA3/CN26/R C5 R P22/PMA1/PMAL H/CN18/R C6 R P23/PMA0/PMAL L /CN17/R C7 R P24/PMA5/CN20/R C8 R P25/CT E D7/PMA6/CN19/R C9 CVREF+/VREF+/AN0/C3INC/CT E D1/ CN2/R A0 CVREF-/ VREF-/AN1/C3IND/CT E D2/CN3/R A1 OSC I /CL K I /C1IND/PMCS1/CN30/R A2 OSC O/CL K O/C2IND/CN29/R A3 SOSC O/SC L K I /CN0/R A4 T CK /PMA7/CN33/R A7 T DO/PMA8/CN34/R A8 T DI /PMA9/CN35/R A9 T MS/PMA2/PMALU/CN36/R A10 PIC24FJ128GA204 21 22 23 24 33 41 42 43 44 1 8 9 10 11 14 15 25 26 27 36 37 38 2 3 4 5 RB0_PGD1 RB1_PGC1 RB2_SDA RB3_SCL RB4_SOSCI RB5_RX RB6_TX RB7_INT RB8_MISO RB9_MOSI RB10_PWM RB11_BLE RB12_BLE RB13_BLE RB14_BLE RB15_BLE RC0_POT RC1_PKRX RC2_PKTX RC3_CS RC4_SCK RC5_RGB_RED RC6_RGB_GREEN RC7_RGB_BLUE RC8_S2 RC9_S1 RA0_AN RB0_PGD1 RB2_SDA Pin 40 B LUE Pin 16 3V3 3V3 DNP R35 4.7k 1% C24 1 μF 16V 0603 C26 C25 1 μF 16V 0603 0.1 μF 50V 0603 C27 0.1 μF 50V 0603 Pin 39 C18 10 μF 25V 14 10 DNP R36 330R 0603 1% C21 R38 10k 1% 470R 0603 1% 1 R37 10k P090S 20% R41 470R 0603 1% DNP DNP VBAT P2_0 UART _RX UART _TX RST P0_0 P0_2 P1_2 P1_3 P1_6 P1_7 P2_7 P3_6 GND GND 16 7 8 DNP RB15_BLE RB12_BLE 11 12 3 4 6 5 15 9 R34 10k 1% RB13_BLE RB11_BLE RB14_BLE BT_R F B M71BL E S1FC 2 1 4 2 3 mikroBUS™ Interface S2 R40 10k 1% 2 13 U2 3V3 R2 10k 1% DNP 3V3 R39 C19 1 μF 50V 0603 3V3 P otentiometer Pin 28 6 5 G R E EN L E D3 L E D_R GB R E D, GRE E N, BLUE 1 2 3 R ED 4 C22 1 μF 16V 0603 C23 0.1 μF 50V 0603 Bluetooth® LE (DNP - Option) MC LR RA1_RST RB1_PGC1 RB3_SCL 3V3 Pin 17 RGB LED RB10_PWM RB12_BLE RA10_LED2 RB14_BLE DNP U7_VDD 5V RB11_BLE RB13_BLE RA7 RB15_BLE RC6_RGB_GREEN RC8_S2 3 RA4_SOSCO RB9_MOSI RC7_RGB_BLUE RC9_S1 5V X2 RC5_RGB_RED RC3_CS RA4_SOSCO RA8 RA2 3V3 J 2 HDR -2.54 Female 2x14 32.768 kHz Crystal 3V3 2 RC2_PKTX RC0_POT RB8_MIS O RB6_TX 1 RC4_SCK RA9_LED1 RB4_SOSCI RA3 27 25 23 21 19 17 15 13 11 9 7 5 3 1 28 26 24 22 20 18 16 14 12 10 8 6 4 2 J 3 HDR -2.54 Female 2x14 RB7_INT RB5_RX 27 25 23 21 19 17 15 13 11 9 7 5 3 1 28 26 24 22 20 18 16 14 12 10 8 6 4 2 FIGURE 2: Buttons 3V3 1 4 2 3 S1 RA0_AN RA1_RST RC3_CS RC4_SCK RB8_MISO RB9_MOSI C28 1 2 3 4 5 6 7 8 J4 AN R ST CS SC K MI SO MOSI +3.3V GND PWM I NT RX TX SC L SD A +5V GND 16 15 14 13 12 11 10 9 RB10_PWM RB7_INT R46 RB6_TX RB3_SCL RB2_SDA 1k 0603 5V 1% RB5_RX C29 0.1 μF 50V 0603 0.1 μF 50V 0603 Pin 29 3V3 (Local VDD/VSS bypass/decoupling.) R42 220R 0603 1% R13 R43 470R 0603 1% RC5_RGB_RED RC6_RGB_GREEN RC7_RGB_BLUE R48 MMBT3904 Q5 3 1 4.7k 0603 1% R44 470R 0603 1% 2 R51 4.7k 0603 1% 1 MC LR General Purpose LEDs RA9_LED1 R47 820R 0603 1% 3 Q6 2 MMB T 3904 RA10_LED2 R52 820R 0603 1% LED1 R27 1k 0603 1% Prototyping Area 4.7k 0603 1% S3 4 1 3 2 1 2 3 6 5 4 SC -70 1 2 3 6 5 4 SOT -23 MCLR Reset Button RED LED2 RED Designed with Altium.com DS50002534A