Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
2019 Microchip Technology Inc. DS50002881A
PIC24F LCD CuriosityDevelopment Board
Quick Start Guide
DS50002881A-page 2 2019 Microchip Technology Inc.
Information contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your specifications.MICROCHIP MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer’s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use. No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property rights unless otherwise stated.
Note the following details of the code protection feature on Microchip devices:
• Microchip products meet the specification contained in their particular Microchip Data Sheet.
• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of ourproducts. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
TrademarksThe Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime, BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox, KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST, MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer, QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon, TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control, HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus, ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider, Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom, CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of Microchip Technology Inc. in other countries.GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies.
© 2019, Microchip Technology Incorporated, All Rights Reserved.
ISBN: 978-1-5224-4667-5For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.
PIC24F LCD CURIOSITYDEVELOPMENT BOARD
QUICK START GUIDE
Table of Contents
Preface ........................................................................................................................... 5
Chapter 1. Overview....................................................................................................... 91.1 Introduction ..................................................................................................... 9
Chapter 2. Board Power-up......................................................................................... 112.1 Powering Up the Board ................................................................................ 11
Chapter 3. Getting Started........................................................................................... 133.1 Getting Started with the PIC24F LCD Curiosity Development Board ........... 13
3.1.1 USB Powered Mode .................................................................................. 133.1.2 Battery-Powered Mode .............................................................................. 13
Appendix A. Schematics ............................................................................................. 15A.1 PIC24F LCD Curiosity Development Board Schematics ............................. 15
Appendix B. LCD Operation........................................................................................ 21
Worldwide Sales and Service .................................................................................... 24
2019 Microchip Technology Inc. DS50002881A-page 3
PIC24F LCD Curiosity Development Board Quick Start Guide
NOTES:
DS50002881A-page 4 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITYDEVELOPMENT BOARD
QUICK START GUIDE
Preface
INTRODUCTION
This chapter contains general information that will be useful to know before using the PIC24F LCD Curiosity Development Board. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Website
• Product Change Notification Service
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This user’s guide provides an overview of the PIC24F LCD Curiosity Development Board. The document is organized as follows:
• Chapter 1. “Overview” – This chapter introduces the PIC24F LCD Curiosity Development Board and provides a brief overview of its various features.
• Chapter 2. “Board Power-up” – This chapter describes how to power up the board and the main circuit elements of the board.
• Chapter 3. “Getting Started” – This chapter describes the modes of operation for the PIC24F LCD Curiosity Development Board.
• Appendix A. “Schematics” – This appendix provides schematic diagrams for the PIC24F LCD Curiosity Development Board.
• Appendix B. “LCD Operation” – This appendix describes the pin and LCD segment assignments.
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our website (www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level of the document.
For the most up-to-date information on development tools, see the MPLAB® IDE online help. Select the Help menu, and then Topics to open a list of available online help files.
2019 Microchip Technology Inc. DS50002881A-page 5
PIC24F LCD Curiosity Development Board Quick Start Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:Italic characters Referenced books MPLAB® IDE User’s Guide
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog
A menu selection select Enable Programmer
Quotes A field name in a window or dialog
“Save project before build”
Underlined, italic text with right angle bracket
A menu path File>Save
Bold characters A dialog button Click OK
A tab Click the Power tab
N‘Rnnnn A number in verilog format, where N is the total number of digits, R is the radix and n is a digit.
4‘b0010, 2‘hF1
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Filenames autoexec.bat
File paths c:\mcc18\h
Keywords _asm, _endasm, static
Command-line options -Opa+, -Opa-
Bit values 0, 1
Constants 0xFF, ‘A’
Italic Courier New A variable argument file.o, where file can be any valid filename
Square brackets [ ] Optional arguments mcc18 [options] file [options]
Curly brackets and pipe character: { | }
Choice of mutually exclusive arguments; an OR selection
errorlevel {0|1}
Ellipses... Replaces repeated text var_name [, var_name...]
Represents code supplied by user
void main (void){ ...}
DS50002881A-page 6 2019 Microchip Technology Inc.
Preface
RECOMMENDED READING
This quick start guide describes how to use the PIC24F LCD Curiosity Development Board. The device-specific data sheet contains current information on programming the specific microcontroller devices. The following Microchip document is recommended as a supplemental reference resource:
PIC24FJ128GL306 Family Data Sheet (DS30010198)
Refer to this document for detailed information on the PIC24FJ128GL306 16-bit general purpose family of MCUs with integrated segmented LCD controller. Reference information found in this data sheet includes:
• Device memory maps
• Device pinout and packaging details
• Device electrical specifications
• List of peripherals included on the devices
and are available for download from the Microchip website (www.microchip.com).
THE MICROCHIP WEBSITE
Microchip provides online support via our website at www.microchip.com. This website is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the website contains the following information:
• Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events; and listings of Microchip sales offices, distributors and factory representatives
PRODUCT CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.
To register, access the Microchip website at www.microchip.com, click on Product Change Notification and follow the registration instructions.
2019 Microchip Technology Inc. DS50002881A-page 7
PIC24F LCD Curiosity Development Board Quick Start Guide
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Corporate Application Engineer (CAE)
• Embedded Solutions Engineer (ESE)
• Field Application Engineer (FAE)
Customers should contact their distributor, representative or Embedded Solutions Engineer (ESE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document.
Technical support is available through the website at:
http://www.microchip.com/support.
DOCUMENT REVISION HISTORY
Revision A (June 2019)
This is the initial release of this document.
DS50002881A-page 8 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITYDEVELOPMENT BOARD
QUICK START GUIDE
Chapter 1. Overview
1.1 INTRODUCTION
The PIC24F LCD Curiosity Development Board (DM240017) is a demonstration, development and experimentation platform based on the PIC24FJ128GL306 low-power, low-cost microcontroller featuring integrated segmented LCD controller. The board has a built-in programmer/debugger and provides all the hardware necessary to get started developing a complete embedded application. Some key features of the board include:
• PIC24FJ128GL306 16-bit microcontroller with 128-Kbyte Flash, 8-Kbyte RAM and up to 256 segments
• PICkit™ On-Board (PKOB) circuit implements basic programming/debugging ability
• On-board 5-character LCD panel with backlight (8 commons, 56 segments)
• MCLR Reset button plus two general purpose push buttons
• Red/Green/Blue (RGB) LED plus two general purpose indicator LEDs
• Digital temperature sensor (TC77)
• 10k potentiometer
• 32.768 kHz Secondary Oscillator (SOSC) for RTCC
• Female headers for access to microcontroller I/O pins
• Coin cell battery socket and reverse battery protection for optional battery operation
• USB-UART serial communication bridge (MCP2221A) to interface with USB host/PC
• Two mikroBUS™ interfaces for hardware expansion:
- Supports a wide variety of add-on click boards™ from MikroElektronica(www.mikroe.com)
Note: The USB-UART connector does not power the board.
2019 Microchip Technology Inc. DS50002881A-page 9
PIC24F LCD Curiosity Development Board Quick Start Guide
NOTES:
DS50002881A-page 10 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITYDEVELOPMENT BOARD
QUICK START GUIDE
Chapter 2. Board Power-up
2.1 POWERING UP THE BOARD
The board is intended to be powered through the Micro-B USB connector (USB1) in the upper left of the board. The USB-UART USB connector does not power the board. A MIC5528 linear regulator (U5) generates the +3.3V rail used by the PIC24FJ128GL306 microcontroller. The board can be powered by a CR2032 coin cell inserted into the B1 battery housing. Default jumper J9 setup is 2 and 3; this configuration can be left for power switching between the USB and the battery operation modes.
To measure the power consumption of the board, a meter can be placed between pins 2 and 3 of jumper J9 (that goes to the battery housing). To measure the current of the CPU, cut the trace on the bottom of the board under jumper J1 and place a meter between the two pins.
Note: The USB-UART USB connector does not power the board.
2019 Microchip Technology Inc. DS50002881A-page 11
PIC24F LCD Curiosity Development Board Quick Start Guide
NOTES:
DS50002881A-page 12 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITYDEVELOPMENT BOARD
QUICK START GUIDE
Chapter 3. Getting Started
3.1 GETTING STARTED WITH THE PIC24F LCD CURIOSITY DEVELOPMENT BOARD
The preprogrammed “out-of-box” demo project for the PIC24F LCD Curiosity Development Board has two main modes of operation: USB powered and battery-powered.
3.1.1 USB Powered Mode
In USB Powered mode, via the upper left micro-USB port, there are several different Display modes. Pressing the S2 button will cycle between each of the Display modes during USB operation. The Display modes are listed below.
1. Toggles between the text, “PIC24” and “LCD”. Toggling is done automatically by the LCD module using the Alternate Display mode of the module.
2. Displays the 12-bit value of the potentiometer.
3. Displays the build time of the project. Note that this is the build time of the build_time.c file. A clean/build will update the time.
4. Displays the current temperature measured by the TC77 on the board. LCD Alternate Display mode toggles between Celsius and Fahrenheit.
The potentiometer will change the intensity of the RGB LED channel that is currently active. Switch S1 will change which channel is currently active.
A COM port can be opened to view the data through the USB/UART bridge. All the above data are displayed on the screen (time, temperature, potentiometer, etc.). The serial port needs to be set to 19200 baud, 8-bit, no parity, one stop, no flow control.
3.1.2 Battery-Powered Mode
If the USB power is disconnected, the board can run from a battery backup and will go into Battery-Powered mode. In order to run in Battery-Powered mode, a CR2032 needs to be inserted in the B1 battery housing and jumper J9 needs to short between pins 2 and 3. Minimal external components are necessary to enable Battery mode, while one built-in software function will enable Sleep mode.
In Battery-Powered mode, the moon icon is displayed to indicate that it is in Battery-Powered mode. The battery status icon indicates the current battery status.
The time will be displayed on the screen. The “:” blinks using the LCD module’s blink feature, while the core is still in Sleep mode. The CPU does not need to wake-up to update the screen for the “:”.
The CPU wakes up once a minute in this mode to update the time on the screen. LED1 will blink while the CPU is awake. The CPU will also wake-up when the USB power is detected.
All other functionality from the USB mode is disabled.
Note: The backlight only operates while in USB mode.
Note: The backlight only operates while in USB mode.
2019 Microchip Technology Inc. DS50002881A-page 13
PIC24F LCD Curiosity Development Board Quick Start Guide
NOTES:
DS50002881A-page 14 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITYDEVELOPMENT BOARD
QUICK START GUIDE
Appendix A. Schematics
A.1 PIC24F LCD CURIOSITY DEVELOPMENT BOARD SCHEMATICS
The schematics for the PIC24F LCD Curiosity Development Board are shown in Figure A-1 (Microcontroller), Figure A-2 (I/O Access), Figure A-3 (Programmer/Debugger) and Figure A-4 (PKOB Buffers).
2019 Microchip Technology Inc. DS50002881A-page 15
PIC
24F L
CD
Cu
riosity D
evelop
men
t Bo
ard Q
uick S
tart Gu
ide
DS
50
00
28
81
A-p
ag
e 1
6
20
19
Micro
chip
Te
chn
olo
gy In
c.
Designed with
Altium.com
820R06031%
R9
820R06031%
R10
1 4
2 3S2
1 4
2 3S1
3V3
RED
LED1
RED
LED2
2 1
43
GR
EENRED
BLU
E
5 6
LED3
LED_RGB
14
23S4
General Purpose LEDsRGB LED
ttons
Potentiometer
32.768 kHz Oscillator
21
3
10k
20%
R17
)n
MCLRResetButton
0.1 μF25V0603
C2
RA0_POT
32.768 kHz
X4RC13_SOSCIRC14_SOSCO
RC12_LED1
RC15_LED2
330RR5
15 pF50V06035%
C2115 pF50V06035%
C22
FIGURE A-1: MICROCONTROLLER SCHEMATIC
10k1%
R3
10k1%
R1
12DNPJ1
Net TieNT1
RB1_PGC1RB0_PGD1
VPP/MCLR
VDDGND
ICSPCLKNC
ICSPDAT
123456
HDR-2.54 Male 1X6 STAGGERED
DNP
J2
Currentmeasurement
point
(Local VDD/VSS Bypass/Decoupling for U1)
MCLR
Bu
MCLR
MCLR
RG6_RSTB
3V3
I2C Pull-ups (DNPNote: Not populated, typically installed omikroBUS daughter boards instead.
DNPR21DNPR22
mikroBUS™ Interface A
3V3
1k
R14
mikroBUS™ Interface B
3V3
1kR19
RG7_VLCAP1
RG9_RGB_RED
RE5_LCDBIAS2
RB5_PWMB
RB3_SEG4
RB8_COM7
RB15_ANB
RF3_TXB
RD9_RXARD10_TXA
RB2_VSENSE
RB6_LCDBIAS3
100R 06031%R20
0.1 μF25V 0603
C4
0.1 μF25V 0603
C13
0.1 μF25V 0603
C3
0.1 μF25V0603
C12
1k0603
1%
R4
1k0603
1%
R2
RD8_INTB
330RR12330RR13
330RR11
Programming/Debug (also connects toPKOB4 circuit output)
0.1 μF25V0603
C70.1 μF25V0603
C80.1 μF25V0603
C90.1 μF25V0603
C11
5V
5V
RB13_SEG19
RB7_RGB_BLUE
RB9_COM6
RB11_TC77CSRB12_SEG18
RB14_ANA
RF6_INTA
RG3_PWMARG2_SEG28
RC12_LED1
RC15_LED2
RD11_CSB
RD0_S2RD1_S1RD2_MISORD3_MOSIRD4_SCK
RB10_COM5
10 μF25V0805
C10
16V1 μF
0603
C5
10 μF25V
0805
C15
RG8_VLCAP2 RE6_LCDBIAS1RE7_LCDBIAS0
RB4_RGB_GREEN
RB1_PGC1RB0_PGD1
RF4_SDARF5_SCL
RF4_SDARF5_SCL
RF5_SCL
RF5_SCLRF4_SDA
RF4_SDA
RF2_RXB
RC14_SOSCORC13_SOSCI
RD1_S1
RD0_S2
RD5_RSTARD6_SEG25RD7_SEG26
RA0_POT
RF0_SEG27RF1_COM4
RE0_COM3RE1_COM2RE2_COM1RE3_COM0RE4_CSA
RD2_MISO
RD2_MISO
RD3_MOSI
RD3_MOSI
RD4_SCK
RD4_SCKRD11_CSB
RE4_CSA
RD8_INTB
RF6_INTA
RD10_TXARD9_RXA
RB5_PWMB
RG3_PWMARB14_ANA
RB15_ANB
RD5_RSTA
RF2_RXBRF3_TXB
RG6_RSTB
RB7_RGB_BLUE
RB4_RGB_GREEN
RG9_RGB_RED
AN1RST2CS3SCK4MISO5MOSI6+3.3V7GND8
PWM 16INT 15RX 14TX 13
SCL 12SDA 11+5V 10
GND 9
J3
AN1RST2CS3SCK4MISO5MOSI6+3.3V7GND8
PWM 16INT 15RX 14TX 13
SCL 12SDA 11+5V 10
GND 9
J8
100R0603
1%
R7
U1VDD
VCAP
PIC24FJ128GL306-I/PT
LCDBIAS2/RE5 1LCDBIAS1/RE6 2LCDBIAS0/RE7 3
SEG0/C1IND/RP21/RG64VLCAP1/C1INC/C2INC/C3INC/RP26/RG75VLCAP2/C2IND/RP19/RG86
MCLR7
SEG1/C2INC/RP27/RG98
VSS9
VDD10 PGC3/SEG2/AN5/C1INA/RP18/ASCL1/OCM1A/RB5 11PGD3/SEG3/AN4/C1INB/RP28/ASDA1/OCM1B/RB4 12SEG4/AN3/C2INA/RB3 13SEG5/AN2/C2INB/RP13/RB2 14PGC1/SEG6/CVREF-/AN1/AN1-/RP1/RB1 15PGD1/SEG7/VREF+/CVREF+/AN0/RP0/RB0 16
PGC2/LCDBIAS3/AN6/RP6/RB6 17PGD2/AN7/RP7/T1CK/RB7 18
AVDD19
AVSS20
COM7/SEG31/AN8/RP8/RB8 21COM6/SEG30/AN9/RP9/RB9 22
TMS/COM5/SEG29/CVREF/AN10/RP15/RB10 23TDO/AN11/RB11 24VSS
25
VDD26
TCK/SEG18/AN12/RB12 27TDI/SEG19/AN13/RB13 28
SEG8/AN14/RP14/OCM1C/RB14 29SEG9/AN15/RP29/OCM1D/RB15 30
SEG10/RP10/SDA2/RF431SEG11/RP17/SCL2/RF532SEG12/RP16/RF333 SEG40/RP30/RF234
RP5/INT0/RF635
SEG47/RP31/SDA1/OCM1F/RG336 SEG28/SCL1/RG237
VDD38
OSCI/CLKI/RC12 39
OSCO/CLKO/RC15 40
VSS41
SEG13/RP2/RD8 42SEG14/RP4/RD9 43
SEG15/C3IND/RP3/RD10 44SEG16/C3INC/RP12/RD11 45
SEG17/RP11/RD0 46
SOSCI/RC13 47SOSCO/SCLKI/RPI37/PWRLCLK/RC14 48
SEG20/RP24/RD1 49SEG21/RP23/RD2 50SEG22/RP22/RD3 51SEG23/RP25/RD4 52SEG24/RP20/RD5 53
SEG25/C3INB/RD6 54SEG26/C3INA/RD7 55
VCAP56
AN16/RA057
SEG27/RF058COM4/SEG48/OCM1E/RF159
COM3/RE0 60COM2/RE1 61COM1/RE2 62COM0/RE3 63
SEG63/HLVDIN/RE4 64
U1
U1U5VDD
U1U5VDD
U1U5VDD
U1VDD
U1U5VDD
Sch
ematics
2
01
9 M
icroch
ip T
ech
no
log
y Inc.
DS
50
00
28
81
A-p
ag
e 1
7
FIG
Designed with
Altium.com
1 23 4
5 67 8
9 1011 12
13 1415 16
17 1819 20
222123 24
25 2627 28
29 3031 32
33 3435 36
HDR-2.54 Female 2x18
J11
n Access Headers
5V
RG2_
SEG2
8
RF0_
SEG2
7
RD6_
SEG2
5
RD7_
SEG2
6
RB3_
SEG4
RB8_
COM7
RB13
_SEG
19
RB9_
COM6
RB12
_SEG
18
D Connections
RE5_LCDBIAS2
RB5_PWMBRB3_SEG4
RB8_COM7
RB2_VSENSERB6_LCDBIAS3
RB7_RGB_BLUERB9_COM6
8 RB10_COM5
RE6_LCDBIAS1 RE7_LCDBIAS0
RB4_RGB_GREENRB1_PGC1
RB0_PGD1
I
RE0_COM3 RE1_COM2RE2_COM1 RE3_COM0
RE4_CSA
RG6_RSTB RG7_VLCAP1
RG9_RGB_RED
8
RG8_VLCAP2
RF0_SEG27 RF1_COM4
MCLR
RA0_POT3V3
3V3 5V
D7 LCD88
K 17
A 16
LCD99
LCD1010
LCD1111
LCD1212
LCD1313
LCD1414
LCD1515
5V
22R06031%
R50
URE A-2: I/O ACCESS SCHEMATIC
3V3I/O PiUSB-UART Interface
ID 4
VBUS1
GND 5
D- 2D+ 3
0
USB Micro-B TH/SMT
J16
U9D_PU9D_N
U9D_PU9D_N
VDD1GP0 2GP1 3RST 4UART RX 5UART TX 6GP2 7GP38
SDA9SCL10VUSB
11D-12D+13VSS
14
MCP2221AU9
1k
0603
1%R75
460.8 Kbaud max
0.1 μF25V
C33
1 23 4
5 67 8
9 1011 12
13 1415 16
17 1819 20
222123 24
25 2627 28
29 3031 32
33 3435 36
HDR-2.54 Female 2x18
J12
3V3
Power Status (Green)LED5
5V
Power Supply
470R06031%
R182.2 μF10V0603
C232.2 μF10V0603
C39
VOUT1
VOUT2
GND 3EN4 NC5 VIN6
MIC5528 3V3
U12
SI/O4SCK3
VSS2
CS 1VDD5
TC77
U5
RF2_RXBRF3_TXB
RD4_SCK RB11_TC77CSRD2_MISORD3_MOSI
1k0603
1%R16
0.1 μF25V0603
C1
TC77 Temperature Sensor
TP LOOP Black
DNPTP1
12
3
J9
_J9
Bumpon Hemisphere Black
PAD1 PAD2 PAD3 PAD4
3V3
U1U5VDD
10k1%
R6
3V3
0.1 μF25V
C31
3V3
10k06031%
R48
36k0603
1%R47
13
2MMBT3904Q1
13
2MMBT3904Q2
16V1 μF0603
C30
3V3
4.7k0603
R49
RF1_
COM4
RE0_
COM3
RE1_
COM2
RE2_
COM1
RE3_
COM0
RB10
_COM
5
LC
RB15_ANB
RD9_RXA RD10_TXARD8_INTB
RB13_SEG19
RB11_TC77CSRB12_SEG1RB14_ANA
RC12_LED1RC15_LED2
RD11_CSB RD0_S2
RD1_S1RD2_MISORD3_MOSIRD4_SCK
RC14_SOSCO RC13_SOSC
RD5_RSTARD6_SEG25RD7_SEG26
RF3_TXBRF6_INTA
RG3_PWMA RG2_SEG2
RF4_SDARF5_SCLRF2_RXB
U1VDD
VCAP
1
23
BAT54C
D1
Reverse protection
1 μF50V0603
C46
RG7_VLCAP1
RG8_VLCAP2
1 μF50V0603
C471 μF50V0603
C49
1 μF50V0603
C501 μF50V0603
C51
RE7_LCDBIAS0 RE6_LCDBIAS1
RE5_LCDBIAS2 RB6_LCDBIAS3
MBR0530T1GD2
36k0603
1%R8
20k06031%
R15
RB2_VSENSE
CR203212
HOLDER 1xCR2032
B1
LCD11
LCD22
LCD33
LCD44
LCD55
LCD66
LC7
VLM7333-01LCD1
LCD Capacitors
U1U5VDD
PIC
24F L
CD
Cu
riosity D
evelop
men
t Bo
ard Q
uick S
tart Gu
ide
DS
50
00
28
81
A-p
ag
e 1
8
20
19
Micro
chip
Te
chn
olo
gy In
c.
3V3
DSC6011JI1A-012.0000
0.1 μF25V 0603
C28
STB1
GND2 OUT 3VDD
4
12.00 MHz
X3
0_SPCK0_MOSI0_MISO
MOSISCK
MISO
SCK_IN
CLK_ENDATA_EN
ICSP™
ICSP
ATA_EN
PI1_SPCK
LK_EN
T_TXT_RX VCP
VDDCORE
DDCORE Bypass Caps
XIN
3V3
31.6k04021%
R43
TVDD_GOOD
47k04021%
R44
74LVC1G3157
B21GND2B13 A 4VCC
5S 6U3
ICSP_FORCE_SPI_SS
SPI1_NPCS0
CTS0_SPI1_SS
ISP_SPI_SS
3V3
0.1 μF25V0603
C190.1 μF25V0603
C200.1 μF25V0603
C240.1 μF25V0603
C25
0.1 μF25V0603
C41
FIGURE A-3: PROGRAMMER/DEBUGGER SCHEMATIC
D_PD_N +t
500 mA Polyfuse
1210
TH1
ID 4
VBUS1
GND 5
D- 2D+ 3
0USB
MIC
RO-B
FEMA
LE J20
PICkit™ On-Board 4
PKOB USB Interface
ATSAME70N21B-ANT
PA0/PWMC0_PWMH0/TIOA0/A17/BA172PA1/PWMC0_PWML0/TIOB0/A1870PA2/PWMC0_PWMH1/DATRG66PA3/TWD0/LONCOL1/PCK264PA4/TWCK0/TCLK0/UTXD155PA5/WMC1_PWML3/ISI_D4/URXD152PA7/XIN3224PA8/XOUT3225PA9/URXD0/ISI_D3/PWMC0_PWMFI054PA10/UTXD0/PWMC0_PWMEXTRG0/RD46PA11/QCS/PWMC0_PWMH0/PWMC1_PWML044PA12/QIO1/PWMC0_PWMH1/PWMC1_PWMH048PA13/QIO0/PWMC0_PWMH2/PWMC1_PWML127PA14/QSCK/PWMC0_PWMH334PA15/D14/TIOA1/PWMC0_PWML333PA16/D15/TIOB1/PWMC0_PWML230PA17/QIO2/PCK1/PWMC0_PWMH316PA18/PWMC1_PWMEXTRG1/PCK2/A1415PA19/PWMC0_PWML0/A1514PA20/PWMC0_PWML1/A16/BA013PA21/RXD1/PCK1/PWMC1_PWMFI021PA22/RK/PWMC0_PWMEXTRG1/NCS226PA23/SCK1/PWMC0_PWMH0/A1931PA24/RTS1/PWMC0_PWMH1/A2038PA25/CTS1/PWMC0_PWMH2/A2340PA26/DCD1/TIOA2/MCDA242PA27/DTR1/TIOB2/MCDA350PA28/DSR1/TCLK1/MCCDA79PA30/PWMC0_PWML2/PWMC1_PWMEXTRG082PA31/SPI0_NPCS1/PCK2/MCDA183
PB0/PWMC0_PWMH0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 3GND 7GND 8GND 10GND 29GND 67
U4BVDDCORE
3V3
3V3
VDDCORE
FB1
VDDCORE
3V3
FB2
4.7 μF060316V
C34
3V3VDDIO Bypass Caps V
24LC256
A01
SDA 5A23A12
WP 7
Vss 4
SCL 6
VCC8
U23V3
UTIL_SCLUTIL_SDA
DNP
12
J4 3V3
ERASE
4.7 μF060316V
C38
3V3
16V1 μF0603
C27
XIN
D_PD_N
3V33V3
SWD
3V3
3V3
(TDI_PGD)
(TAUX)
(TDO_SWO)(NMCLR)
(VDD_VIOREF)
(TMS_SWDIO)
DNP
12345678
J5
(TCK_PGC_SWDCLK)
100k04021%
R26100k04021%
R27100k04021%
R28
PKOB4_SWDIO
PKOB4_SWCLK
PKOB4_nRSTPKOB4_TDO
PKOB4_nRST
UTIL_SDAUTIL_SCL
ERASE
10k0402
1%
R313V3
10k04021%
R293V3
31.6k0402
1%R45
47k04021%
R46
VBUS_DETECT
VBUS_DETECT
CLK_ENDATA_EN
PKOB4_SWCLKPKOB4_SWDIOPKOB4_TDO
5V
0.1 μF25V0603
C140.1 μF25V0603
C160.1 μF25V0603
C170.1 μF25V0603
C18
0.1 μF25V0603
C370.1 μF25V0603
C360.1 μF25V0603
C35
0.1 μF25V0603
C32
0.1 μF25V0603
C40
PKOB Revision 1 Reserved for PKOB4
Sch
ematics
2
01
9 M
icroch
ip T
ech
no
log
y Inc.
DS
50
00
28
81
A-p
ag
e 1
9
FIG
22R06031%
R41
22R06031%
R40
4.7k04021%
R38
CLR
RB1_PGC1
RB0_PGD1
MCLR
Target ICSP™ Signals
F
1U5VDD
To Application PGD
To Application PGC
To Application VPP/MCLR
URE A-4: PICkit™ ON-BOARD (PKOB) BUFFERS SCHEMATIC
74LVC1T45GW
DIR5
A3 B 4
GND2
VCCA1 VCCB
6U6
3V3
330R0402 1%R34
330R0402 1%R35
74LVC1T45GW
DIR5
A3 B 4
GND2
VCCA1 VCCB
6U7
3V3
330R0402 1%R36
CLK_EN
DATA_EN
330R0402 1%R37
MOSI
SCKMISO
SCK_IN
CLK_ENDATA_EN
ICSP
ICSP
ICSP_SPI0_SPCK
ICSP_SPI0_MOSIICSP_SPI0_MISO
ISP_SPI1_SPCK
ICSP_SPI0_MOSI
ICSP_SPI0_MISO
ICSP_SPI0_SPCK (ICSP_SCK)
(SCK_IN)
(ICSP_SDO)
(ICSP_SDI)
ISP_SPI1_SPCK
4.7k04021%
R39
VPP/M
DATA_ENCLK_EN
3.3k04021%
R32
3.3k04021%
R33
VPP_ON
74LVC1T45GW
DIR5
A3 B 4
GND2
VCCA1 VCCB
6U8
1k06031%
R42
3V3
10k04021%
R30
PICkit™ On-Board 4 (buffers)
CLK_EN
DATA_EN
0.1 μF25V
0603
C45
0.1 μF25V0603
C26
0.1 μF25V0603
C29
0.1 μ25V0603
C42
0.1 μF25V
0603
C44
0.1 μF25V
0603
C43
U1U5VDD
U1U5VDD
U
10k04021%
R51
PIC24F LCD Curiosity Development Board Quick Start Guide
NOTES:
DS50002881A-page 20 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITYDEVELOPMENT BOARD
QUICK START GUIDE
Appendix B. LCD Operation
Backlight operation is dependent on the USB-5V supply; the LCD backlight is disabled during Battery-Operated mode.
Pin assignment and LCD segment assignment are shown in Figure B-1.
FIGURE B-1: MECHANICAL DRAWING AND SEGMENT ASSIGNMENT (DIMENSIONS IN mm)
2019 Microchip Technology Inc. DS50002881A-page 21
PIC24F LCD Curiosity Development Board Quick Start Guide
LCD panel pin and segment assignment is shown in Table B-1.
TABLE B-1: LCD PANEL PIN AND SEGMENT ASSIGNMENT
PIN COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8
1 COM1 — — — — — — —
2 — COM2 — — — — — —
3 — — COM3 — — — — —
4 — — — COM4 — — — —
5 — — — — COM5 — — —
6 — — — — — COM6 — —
7 — — — — — — COM7 —
8 — — — — — — — COM8
9 1A 1F 1E 1D 2A 2F 2E 2D
10 1B 1G 1C DP1 2B 2G 2C DP2
11 4A 4F 4E DP3 3A 3F 3E COL1
12 4B 4G 4C 4D 3B 3G 3C 3D
13 X4 X1 DP5 5H 5G 5P 5F DP4
14 X5 5A 5K 5L 5I 5O 5N 5E
15 X3 X6 5B 5M 5C 5J 5D DP6
DS50002881A-page 22 2019 Microchip Technology Inc.
LCD Operation
NOTES:
2019 Microchip Technology Inc. DS50002881A-page 23
DS50002881A-page 24 2019 Microchip Technology Inc.
AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://www.microchip.com/supportWeb Address: www.microchip.com
AtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455
Austin, TXTel: 512-257-3370
BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088
ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075
DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924
DetroitNovi, MI Tel: 248-848-4000
Houston, TX Tel: 281-894-5983
IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453Tel: 317-536-2380
Los AngelesMission Viejo, CA Tel: 949-462-9523Fax: 949-462-9608Tel: 951-273-7800
Raleigh, NC Tel: 919-844-7510
New York, NY Tel: 631-435-6000
San Jose, CA Tel: 408-735-9110Tel: 408-436-4270
Canada - TorontoTel: 905-695-1980 Fax: 905-695-2078
ASIA/PACIFICAustralia - SydneyTel: 61-2-9868-6733
China - BeijingTel: 86-10-8569-7000
China - ChengduTel: 86-28-8665-5511
China - ChongqingTel: 86-23-8980-9588
China - DongguanTel: 86-769-8702-9880
China - GuangzhouTel: 86-20-8755-8029
China - HangzhouTel: 86-571-8792-8115
China - Hong Kong SARTel: 852-2943-5100
China - NanjingTel: 86-25-8473-2460
China - QingdaoTel: 86-532-8502-7355
China - ShanghaiTel: 86-21-3326-8000
China - ShenyangTel: 86-24-2334-2829
China - ShenzhenTel: 86-755-8864-2200
China - SuzhouTel: 86-186-6233-1526
China - WuhanTel: 86-27-5980-5300
China - XianTel: 86-29-8833-7252
China - XiamenTel: 86-592-2388138
China - ZhuhaiTel: 86-756-3210040
ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444
India - New DelhiTel: 91-11-4160-8631
India - PuneTel: 91-20-4121-0141
Japan - OsakaTel: 81-6-6152-7160
Japan - TokyoTel: 81-3-6880- 3770
Korea - DaeguTel: 82-53-744-4301
Korea - SeoulTel: 82-2-554-7200
Malaysia - Kuala LumpurTel: 60-3-7651-7906
Malaysia - PenangTel: 60-4-227-8870
Philippines - ManilaTel: 63-2-634-9065
SingaporeTel: 65-6334-8870
Taiwan - Hsin ChuTel: 886-3-577-8366
Taiwan - KaohsiungTel: 886-7-213-7830
Taiwan - TaipeiTel: 886-2-2508-8600
Thailand - BangkokTel: 66-2-694-1351
Vietnam - Ho Chi MinhTel: 84-28-5448-2100
EUROPEAustria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393
Denmark - CopenhagenTel: 45-4450-2828 Fax: 45-4485-2829
Finland - EspooTel: 358-9-4520-820
France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany - GarchingTel: 49-8931-9700
Germany - HaanTel: 49-2129-3766400
Germany - HeilbronnTel: 49-7131-72400
Germany - KarlsruheTel: 49-721-625370
Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44
Germany - RosenheimTel: 49-8031-354-560
Israel - Ra’anana Tel: 972-9-744-7705
Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781
Italy - PadovaTel: 39-049-7625286
Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340
Norway - TrondheimTel: 47-7288-4388
Poland - WarsawTel: 48-22-3325737
Romania - BucharestTel: 40-21-407-87-50
Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91
Sweden - GothenbergTel: 46-31-704-60-40
Sweden - StockholmTel: 46-8-5090-4654
UK - WokinghamTel: 44-118-921-5800Fax: 44-118-921-5820
Worldwide Sales and Service
05/14/19