MICROCHIP DM240017 User guide

PIC24F LCD Curiosity
Development Board
Quick Start Guide
2019 Microchip Technology Inc. DS50002881A
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 our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated.
Trademarks
The 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.
For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality.
ISBN: 978-1-5224-4667-5
DS50002881A-page 2 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITY
DEVELOPMENT BOARD
QUICK START GUIDE

Table of Contents

Preface ........................................................................................................................... 5
Chapter 1. Overview....................................................................................................... 9
1.1 Introduction ..................................................................................................... 9
Chapter 2. Board Power-up......................................................................................... 11
2.1 Powering Up the Board ................................................................................ 11
Chapter 3. Getting Started........................................................................................... 13
3.1 Getting Started with the PIC24F LCD Curiosity Development Board ........... 13
3.1.1 USB Powered Mode .................................................................................. 13
3.1.2 Battery-Powered Mode .............................................................................. 13
Appendix A. Schematics ............................................................................................. 15
A.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 CURIOSITY
DEVELOPMENT BOARD
QUICK START GUIDE

Preface

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 Select the Help menu, and then Topics to open a list of available online help files.
®
IDE online help.

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.
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
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
N‘Rnnnn A number in verilog format,
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can be
Square brackets [ ] Optional arguments mcc18 [options] file
Curly brackets and pipe character: { | }
Ellipses... Replaces repeated text var_name [,
A menu path File>Save
A tab Click the Power tab
where N is the total number of digits, R is the radix and n is a digit.
Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’
Choice of mutually exclusive arguments; an OR selection
Represents code supplied by user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options]
errorlevel {0|1}
var_name...]
void main (void) { ... }
DS50002881A-page 6 2019 Microchip Technology Inc.

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
Preface

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.

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
• 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
PIC24F LCD CURIOSITY
DEVELOPMENT BOARD
QUICK START GUIDE

Chapter 1. Overview

Reset button plus two general purpose push buttons
Note: The USB-UART connector does not power the board.
• Two mikroBUS™ interfaces for hardware expansion:
- Supports a wide variety of add-on click boards™ from MikroElektronica
(www.mikroe.com)
2019 Microchip Technology Inc. DS50002881A-page 9
PIC24F LCD Curiosity Development Board Quick Start Guide
NOTES:
DS50002881A-page 10 2019 Microchip Technology Inc.

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.
PIC24F LCD CURIOSITY
DEVELOPMENT BOARD
QUICK START GUIDE
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 CURIOSITY
DEVELOPMENT 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.
Note: The backlight only operates while in USB mode.
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.
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 CURIOSITY
DEVELOPMENT 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
DS50002881A-page 16 2019 Microchip Technology Inc.
Designed with
Altium.com
820R 0603 1%
R9
820R 0603 1%
R10
1 4
2 3
S2
1 4
2 3
S1
10k 1%
R3
10k 1%
R1
3V3
12
DNP
J1
Net Tie
NT1
RED
LED1
RED
LED2
2
1
43
GREEN
RED
BLUE
5
6
LED3
LED_RGB
RB1_PGC1
RB0_PGD1
14
23
S4
VPP/MCLR
V
DD
GND
ICSPCLK
NC
ICSPDAT
1 2 3 4 5 6
HDR-2.54 Male 1 X6 STAGGERED
DNP
J2
Current
measurement
point
(Local VDD/VSS Bypass/Decoupling for U1)
MCLR
General Purpose LEDs
RGB LED
Buttons
Potentiometer
32.768 kHz Oscillator
2
1
3
10k
20%
R17
MCLR
MCLR
RG6_RSTB
3V3
I2C Pull-ups (DNP)
Note: Notpopulated, typically installed on mikroBUSdaughter boards instead.
DNP
R21
DNP
R22
mikroBUS Interface A
3V3
1k
R14
mikroBUS™ Interface B
3V3
1k
R19
MCLR Reset Button
RG7_VLCAP1
RG9_RGB_RED
RE5_LCDBIAS2
RB5_PWMB
RB3_SEG4
RB8_COM7
RB15_ANB
RF3_TXB
RD9_RXA RD10_TXA
RB2_VSENSE
RB6_LCDBIAS3
100R 06031%
R20
0.1 μF 25V 0603
C4
0.1 μF 25V 0603
C13
0.1 μF 25V 0603
C2
0.1 μF 25V 0603
C3
0.1 μF 25V 0603
C12
1k 0603
1%
R4
1k 0603
1%
R2
RD8_INTB
330R
R12
330R
R13
330R
R11
Programming/Debug (alsoconnects to
PKOB4 circuit output)
0.1
μF
25V 0603
C7
0.1
μF
25V 0603
C8
0.1
μF
25V 0603
C9
0.1 μF 25V 0603
C11
5V
5V
RB13_SEG19
RA0_POT
RB7_RGB_BLUE
RB9_COM6
RB11_TC77CS RB12_SEG18
RB14_ANA
RF6_INTA
RG3_PWMA
RG2_SEG28
RC12_LED1
RC15_LED2
RD11_CSB
RD0_S2 RD1_S1 RD2_MISO RD3_MOSI RD4_SCK
RB10_COM5
10 μF 25V 0805
C10
16V
1 μF
0603
C5
10 μF
25V
0805
C15
RG8_VLCAP2 RE6_LCDBIAS1
RE7_LCDBIAS0
RB4_RGB_GREEN
RB1_PGC1
RB0_PGD1
RF4_SDA RF5_SCL
RF4_SDA
RF5_SCL
RF5_SCL
RF5_SCL RF4_SDA
RF4_SDA
RF2_RXB
32.768 kHz
X4
RC13_SOSCIRC14_SOSCO
RC14_SOSCO
RC13_SOSCI
RD1_S1
RD0_S2
RD5_RSTA RD6_SEG25 RD7_SEG26
RA0_POT
RF0_SEG27 RF1_COM4
RE0_COM3 RE1_COM2 RE2_COM1 RE3_COM0 RE4_CSA
RD2_MISO
RD2_MISO
RD3_MOSI
RD3_MOSI
RD4_SCK
RD4_SCK
RD11_CSB
RE4_CSA
RD8_INTB
RF6_INTA
RD10_TXA
RD9_RXA
RB5_PWMB
RG3_PWMARB14_ANA
RB15_ANB
RD5_RSTA
RF2_RXB
RF3_TXB
RG6_RSTB
RC12_LED1
RC15_LED2
RB7_RGB_BLUE
RB4_RGB_GREEN
RG9_RGB_RED
330R
R5
AN
1
RST
2
CS
3
SCK
4
MISO
5
MOSI
6
+3.3V
7
GND
8
PWM
16
INT
15
RX
14
TX
13
SCL
12
SDA
11
+5V
10
GND
9
J3
AN
1
RST
2
CS
3
SCK
4
MISO
5
MOSI
6
+3.3V
7
GND
8
PWM
16
INT
15
RX
14
TX
13
SCL
12
SDA
11
+5V
10
GND
9
J8
100R 0603
1%
R7
U1VDD
VCAP
15 pF 50V 0603 5%
C21
15 pF 50V 0603 5%
C22
PIC24FJ128GL306-I/PT
LCDBIAS2/RE5
1
LCDBIAS1/RE6
2
LCDBIAS0/RE7
3
SEG0/C1IND/RP21 /RG6
4
V
LCAP1
/C1INC/C2INC/C3INC/RP26/RG 7
5
V
LCAP2
/C2IND/RP19/RG8
6
MCLR
7
SEG1/C2INC/RP27/RG9
8
VSS
9
VDD
10
PGC3/SEG2/AN5/C1 INA/RP18/ASCL1/OCM 1A/RB5
11
PGD3/SEG3/AN4/C1 INB/RP28/ASDA1/OCM 1B/RB4
12
SEG4/AN3/C2INA/RB3
13
SEG5/AN2/C2INB/RP13 /RB2
14
PGC1/SEG6/CVREF -/AN1/AN1-/RP1 /RB1
15
PGD1/SEG7/VREF+/CV REF+/AN0/RP0/RB0
16
PGC2/LCDBIAS3/AN6 /RP6/RB6
17
PGD2/AN7/RP7/T1 CK/RB7
18
AVDD
19
AVSS
20
COM7/SEG31/AN 8/RP8/RB8
21
COM6/SEG30/AN 9/RP9/RB9
22
TMS/COM5/SEG2 9/CVREF/AN10/RP15/RB1 0
23
TDO/AN11/RB11
24
VSS
25
VDD
26
TCK/SEG18/AN1 2/RB12
27
TDI/SEG19/AN1 3/RB13
28
SEG8/AN14/RP14 /OCM1C/RB14
29
SEG9/AN15/RP29/OCM1D/RB15
30
SEG10/RP10/SDA2/RF4
31
SEG11/RP17/SCL2 /RF5
32
SEG12/RP16/RF3
33
SEG40/RP30/RF2
34
RP5/INT0/RF6
35
SEG47/RP31/SDA1/OCM1F/RG3
36
SEG28/SCL1 /RG2
37
VDD
38
OSCI/CLKI/RC12
39
OSCO/CLKO/RC15
40
VSS
41
SEG13/RP2/RD8
42
SEG14/RP4/RD9
43
SEG15/C3IND/RP3 /RD10
44
SEG16/C3INC/RP12/RD1 1
45
SEG17/RP11 /RD0
46
SOSCI/RC13
47
SOSCO/SCLKI/RPI37/PW RLCLK/RC14
48
SEG20/RP24 /RD1
49
SEG21/RP23 /RD2
50
SEG22/RP22 /RD3
51
SEG23/RP25 /RD4
52
SEG24/RP20 /RD5
53
SEG25/C3INB/RD6
54
SEG26/C3INA/RD7
55
VCAP
56
AN16/RA0
57
SEG27/RF0
58
COM4/SEG48/O CM1E/RF1
59
COM3/RE0
60
COM2/RE1
61
COM1/RE2
62
COM0/RE3
63
SEG63/HLVDIN/RE4
64
U1
U1U5VDD
U1U5VDD
U1U5VDD
U1VDD
U1U5VDD

FIGURE A-1: MICROCONTROLLER SCHEMATIC

PIC24F LCD Curiosity Development Board Quick Start Guide
2019 Microchip Technology Inc. DS50002881A-page 17
Designed with
Altium.com
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 22
2123
24
25
26
27
28
29
30
31
32
33
34
35
36
HDR-2.54Female 2x18
J11
3V3
I/O Pin Access Headers
USB-UART Interface
ID
4
VBUS
1
GND
5
D-
2
D+
3
0
USB Micro-B TH/SMT
J16
U9D_P
U9D_N
U9D_P
U9D_N
VDD
1
GP0
2
GP1
3
RST
4
UART RX
5
UART TX
6
GP2
7
GP3
8
SDA
9
SCL
10
VUSB
11
D-
12
D+
13
VSS
14
MCP2221A
U9
1k
0603
1%
R75
460.8 Kbaud max
0.1 μF 25V
C33
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 22
2123
24
25
26
27
28
29
30
31
32
33
34
35
36
HDR-2.54Female 2x18
J12
3V3
Power Status (Green)
LED5
5V
Power Supply
470R 0603 1%
R18
2.2 μF 10V 0603
C23
2.2 μF 10V 0603
C39
VOUT
1
VOUT
2
GND
3
EN
4
NC
5
VIN
6
MIC55283V3
U12
5V
SI/O
4
SCK
3
VSS
2
CS
1
VDD
5
TC77
U5
RF2_RXB RF3_TXB
RD4_SCK RB11_TC77CS
RD2_MISORD3_MOSI
1k 0603
1%
R16
0.1 μF 25V 0603
C1
TC77 Temperature Sensor
TP LOOP Black
DNP
TP1
123
J9
_J9
BumponHemisphere Black
PAD1 PAD2 PAD3 PAD4
3V3
U1U5VDD
10k 1%
R6
3V3
0.1 μF 25V
C31
3V3
10k 0603 1%
R48
36k 0603
1%
R47
1
3
2
MMBT3904
Q1
1
3
2
MMBT3904
Q2
16V 1 μF 0603
C30
3V3
4.7k 0603
R49
RG2_SEG28
RF0_SEG27
RF1_COM4
RE0_COM3
RE1_COM2
RE2_COM1
RE3_COM0
RD6_SEG25
RD7_SEG26
RB3_SEG4
RB8_COM7
RB13_SEG19
RB9_COM6
RB12_SEG18
RB10_COM5
LCD Connections
RE5_LCDBIAS2
RB5_PWMB
RB3_SEG4
RB8_COM7
RB15_ANB
RD9_RXA RD10_TXA
RB2_VSENSE
RB6_LCDBIAS3
RD8_INTB
RB13_SEG19
RB7_RGB_BLUE
RB9_COM6
RB11_TC77CS
RB12_SEG1 8 RB14_ANA
RC12_LED1
RC15_LED2
RD11_CSB RD0_S2
RD1_S1RD2_MISO RD3_MOSIRD4_SCK
RB10_COM5
RE6_LCDBIAS1 RE7_LCDBIAS0
RB4_RGB_GREEN
RB1_PGC1
RB0_PGD1
RC14_SOSCO RC13_SOSCI
RD5_RSTARD6_SEG25 RD7_SEG26
RE0_COM3 RE1_COM2
RE2_COM1 RE3_COM0
RE4_CSA
RG6_RSTB RG7_ VLCAP1
RG9_RGB_RED
RF3_TXB RF6_INTA
RG3_PWMA RG2_SEG28
RG8_VLCAP2
RF4_SDA RF5_SCL RF2_RXB
RF0_SEG27 RF1_COM4
MCLR
RA0_POT
U1VDD
VCAP
3V3
3V3
5V
1
2
3
BAT54C
D1
Reverse protection
1 μF 50V 0603
C46
RG7_VLCAP1
RG8_VLCAP2
1 μF 50V 0603
C47
1 μF 50V 0603
C49
1 μF 50V 0603
C50
1 μF 50V 0603
C51
RE7_LCDBIAS0 RE6_LCDBIAS1
RE5_LCDBIAS2 RB6_LCDBIAS3
MBR0530T1G
D2
36k 0603
1%
R8
20k 0603 1%
R15
RB2_VSENSE
CR2032
12
HOLDER 1xCR2032
B1
LCD11LCD22LCD33LCD44LCD55LCD66LCD77LCD8
8
K
17
A
16
LCD99LCD1010LCD1111LCD1212LCD1313LCD1414LCD15
15
VLM7333-01LCD1
5V
LCD Capacitors
U1U5VDD
22R 0603 1%
R50

FIGURE A-2: I/O ACCESS SCHEMATIC

Schematics
DS50002881A-page 18 2019 Microchip Technology Inc.
D_P
D_N
+t
500 mA Polyfuse
1210
TH1
ID
4
VBUS
1
GND
5
D-
2
D+
3
0
USB MICRO-B FEMALE
J20
PICkit™ On-Board 4
PKOB USB Interface
3V3
DSC6011JI1A-012.0000
0.1 μF 25V
0603
C28
STB
1
GND2OUT
3
VDD
4
12.00 MHz
X3
ATSAME70N21B-ANT
PA0/PWMC0_PWMH0/TIOA0/A17/BA1
72
PA1/PWMC0_PWML0/TIOB0/A18
70
PA2/PWMC0_PWMH1/DATRG
66
PA3/TWD0/LONCOL1/PCK2
64
PA4/TWCK0/TCLK0/UTXD1
55
PA5/WMC1_PWML3/ISI_D4/URXD1
52
PA7/XIN32
24
PA8/XOUT32
25
PA9/URXD0/ISI_D3/PWMC0_PWMFI0
54
PA10/UTXD0/PWMC0_PWMEXTRG0/RD
46
PA11/QCS/PWMC0_PWMH0/PWMC1_PWML0
44
PA12/QIO1/PWMC0_PWMH1/PWMC1_PWMH0
48
PA13/QIO0/PWMC0_PWMH2/PWMC1_PWML1
27
PA14/QSCK/PWMC0_PWMH3
34
PA15/D14/TIOA1/PWMC0_PWML3
33
PA16/D15/TIOB1/PWMC0_PWML2
30
PA17/QIO2/PCK1/PWMC0_PWMH3
16
PA18/PWMC1_PWMEXTRG1/PCK2/A14
15
PA19/PWMC0_PWML0/A15
14
PA20/PWMC0_PWML1/A16/BA0
13
PA21/RXD1/PCK1/PWMC1_PWMFI0
21
PA22/RK/PWMC0_PWMEXTRG1/NCS2
26
PA23/SCK1/PWMC0_PWMH0/A19
31
PA24/RTS1/PWMC0_PWMH1/A20
38
PA25/CTS1/PWMC0_PWMH2/A23
40
PA26/DCD1/TIOA2/MCDA2
42
PA27/DTR1/TIOB2/MCDA3
50
PA28/DSR1/TCLK1/MCCDA
79
PA30/PWMC0_PWML2/PWMC1_PWMEXTRG0
82
PA31/SPI0_NPCS1/PCK2/MCDA1
83
PB0/PWMC0_PWMH0/RXD0
12
PB1/PWMC0_PWMH1/GTSUCOMP/TXD0
11
PB2/CANTX0/CTS0
17
PB3/CANRX0/PCK2/RTS0
20
PB4/TDI/TWD1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O
81
VDDCORE
18
VDDCORE
22
VDDCORE
39
VDDCORE
76
VDDPLL
86
VDDUTMII
93
VDDUTMIC
96
VDDPLLUSB
90
GND
3
GND
7
GND
8
GND
10
GND
29
GND
67
U4B
VDDCORE
3V3
3V3
VDDCORE
FB1
VDDCORE
3V3
FB2
4.7 μF 0603 16V
C34
3V3 VDDCORE
VDDIO Bypass Caps VDDCORE Bypass Caps
XIN
24LC256
A0
1
SDA
5
A2
3
A1
2
WP
7
Vss
4
SCL
6
VCC
8
U2
3V3
UTIL_SCL
UTIL_SDA
DNP
1 2
J4
3V3
ERASE
4.7 μF 0603 16V
C38
3V3
16V 1 μF 0603
C27
XIN
D_P D_N
3V33V3
SWD
3V3
3V3
(TDI_PGD)
(TAUX)
(TDO_SWO)
(NMCLR)
(VDD_VIOREF)
(TMS_SWDIO)
DNP
1 2 3 4 5 6 7 8
J5
(TCK_PGC_SWDCLK)
100k 0402 1%
R26
100k 0402 1%
R27
100k 0402 1%
R28
PKOB4_SWDIO
PKOB4_SWCLK
PKOB4_nRST
PKOB4_TDO
PKOB4_nRST
UTIL_SDA UTIL_SCL
3V3
31.6k 0402 1%
R43
TVDD_GOOD
47k 0402 1%
R44
ERASE
10k 0402
1%
R31
3V3
10k 0402 1%
R29
3V3
31.6k 0402
1%
R45
47k 0402 1%
R46
VBUS_DETECT
VBUS_DETECT
CLK_EN
DATA_EN
74LVC1G3157
B2
1
GND
2
B13A
4
VCC
5
S
6
U3
ICSP_FORCE_SPI_SS
SPI1_NPCS0
CTS0_SPI1_SS
ISP_SPI_SS
3V3
PKOB4_SWCLK
PKOB4_SWDIO
PKOB4_TDO
5V
0.1 μF 25V 0603
C14
0.1 μF 25V 0603
C16
0.1 μF 25V 0603
C17
0.1 μF 25V 0603
C18
0.1 μF 25V 0603
C19
0.1 μF 25V 0603
C20
0.1 μF 25V 0603
C24
0.1 μF 25V 0603
C25
0.1 μF 25V 0603
C41
0.1 μF 25V 0603
C37
0.1 μF 25V 0603
C36
0.1 μF 25V 0603
C35
0.1 μF 25V 0603
C32
0.1 μF 25V 0603
C40
PKOB Revision 1 Reserved for PKOB4

FIGURE A-3: PROGRAMMER/DEBUGGER SCHEMATIC

PIC24F LCD Curiosity Development Board Quick Start Guide
2019 Microchip Technology Inc. DS50002881A-page 19
74LVC1T45GW
DIR
5
A
3
B
4
GND
2
VCCA1VCCB
6
U6
3V3
330R
0402 1%
R34
330R
0402 1%
R35
74LVC1T45GW
DIR
5
A
3
B
4
GND
2
VCCA1VCCB
6
U7
3V3
330R
0402 1%
R36
CLK_EN
DATA_EN
330R
0402 1%
R37
22R 0603 1%
R41
22R 0603 1%
R40
MOSI
SCK
MISO
SCK_IN
CLK_EN
DATA_EN
ICSP
ICSP
ICSP_SPI0_SPCK
ICSP_SPI0_MOSI ICSP_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.7k 0402 1%
R38
4.7k
0402
1%
R39
VPP/MCLR
DATA_EN
CLK_EN
3.3k 0402 1%
R32
3.3k 0402 1%
R33
VPP_ON
74LVC1T45GW
DIR
5
A
3
B
4
GND
2
VCCA1VCCB
6
U8
1k 0603 1%
R42
3V3
RB1_PGC1
RB0_PGD1
MCLR
10k 0402 1%
R30
Target ICSP Signals
PICkit™ On-Board 4 (buffers)
CLK_EN
DATA_EN
0.1 μF 25V
0603
C45
0.1 μF 25V 0603
C26
0.1 μF 25V 0603
C29
0.1 μF 25V 0603
C42
0.1 μF 25V
0603
C44
0.1 μF 25V
0603
C43
U1U5VDD
U1U5VDD
U1U5VDD
10k 0402 1%
R51
To Application VPP/MCLR

FIGURE A-4: PICkit™ ON-BOARD (PKOB) BUFFERS SCHEMATIC

To Application PGD
To Application PGC
Schematics
PIC24F LCD Curiosity Development Board Quick Start Guide
NOTES:
DS50002881A-page 20 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITY
DEVELOPMENT 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 Tab le B -1 .

TABLE B-1: LCD PANEL PIN AND SEGMENT ASSIGNMENT

PIN COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8
1COM1— — — — — — —
2—COM2——————
3——COM3—————
4 ———COM4— — ——
5 ————COM5— ——
6 —————COM6——
7 ————— —COM7—
8 ————— — —COM8
91A1F1E1D2A2F2E2D
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.
NOTES:
LCD Operation
2019 Microchip Technology Inc. DS50002881A-page 23

Worldwide Sales and Service

AMERICAS
Corporate Office
2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support:
http://www.microchip.com/ support
Web Address:
www.microchip.com
Atlanta
Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455
Austin, TX
Tel: 512-257-3370
Boston
Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088
Chicago
Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075
Dallas
Addison, TX Tel: 972-818-7423 Fax: 972-818-2924
Detroit
Novi, MI Tel: 248-848-4000
Houston, TX
Tel: 281-894-5983
Indianapolis
Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Tel: 317-536-2380
Los Angeles
Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 Tel: 951-273-7800
Raleigh, NC
Tel: 919-844-7510
New York, NY
Tel: 631-435-6000
San Jose, CA
Tel: 408-735-9110 Tel: 408-436-4270
Canada - Toronto
Tel: 905-695-1980 Fax: 905-695-2078
ASIA/PACIFIC
Australia - Sydney
Tel: 61-2-9868-6733
China - Beijing
Tel: 86-10-8569-7000
China - Chengdu
Tel: 86-28-8665-5511
China - Chongqing
Tel: 86-23-8980-9588
China - Dongguan
Tel: 86-769-8702-9880
China - Guangzhou
Tel: 86-20-8755-8029
China - Hangzhou
Tel: 86-571-8792-8115
China - Hong Kong SAR
Tel: 852-2943-5100
China - Nanjing
Tel: 86-25-8473-2460
China - Qingdao
Tel: 86-532-8502-7355
China - Shanghai
Tel: 86-21-3326-8000
China - Shenyang
Tel: 86-24-2334-2829
China - Shenzhen
Tel: 86-755-8864-2200
China - Suzhou
Tel: 86-186-6233-1526
China - Wuhan
Tel: 86-27-5980-5300
China - Xian
Tel: 86-29-8833-7252
China - Xiamen
Tel: 86-592-2388138
China - Zhuhai
Tel: 86-756-3210040
ASIA/PACIFIC
India - Bangalore
Tel: 91-80-3090-4444
India - New Delhi
Tel: 91-11-4160-8631
India - Pune
Tel: 91-20-4121-0141
Japan - Osaka
Tel: 81-6-6152-7160
Japan - Tokyo
Tel: 81-3-6880- 3770
Korea - Daegu
Tel: 82-53-744-4301
Korea - Seoul
Tel: 82-2-554-7200
Malaysia - Kuala Lumpur
Tel: 60-3-7651-7906
Malaysia - Penang
Tel: 60-4-227-8870
Philippines - Manila
Tel: 63-2-634-9065
Singapore
Tel: 65-6334-8870
Taiwan - Hsin Chu
Tel: 886-3-577-8366
Taiwan - Kaohsiung
Tel: 886-7-213-7830
Taiwan - Taipei
Tel: 886-2-2508-8600
Thailand - Bangkok
Tel: 66-2-694-1351
Vietnam - Ho Chi Minh
Tel: 84-28-5448-2100
EUROPE
Austria - Wels
Tel: 43-7242-2244-39 Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828 Fax: 45-4485-2829
Finland - Espoo
Tel: 358-9-4520-820
France - Paris
Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany - Garching
Tel: 49-8931-9700
Germany - Haan
Tel: 49-2129-3766400
Germany - Heilbronn
Tel: 49-7131-72400
Germany - Karlsruhe
Tel: 49-721-625370
Germany - Munich
Tel: 49-89-627-144-0 Fax: 49-89-627-144-44
Germany - Rosenheim
Tel: 49-8031-354-560
Israel - Ra’anana
Tel: 972-9-744-7705
Italy - Milan
Tel: 39-0331-742611 Fax: 39-0331-466781
Italy - Padova
Tel: 39-049-7625286
Netherlands - Drunen
Tel: 31-416-690399 Fax: 31-416-690340
Norway - Trondheim
Tel: 47-7288-4388
Poland - Warsaw
Tel: 48-22-3325737
Romania - Bucharest
Tel: 40-21-407-87-50
Spain - Madrid
Tel: 34-91-708-08-90 Fax: 34-91-708-08-91
Sweden - Gothenberg
Tel: 46-31-704-60-40
Sweden - Stockholm
Tel: 46-8-5090-4654
UK - Wokingham
Tel: 44-118-921-5800 Fax: 44-118-921-5820
DS50002881A-page 24 2019 Microchip Technology Inc.
05/14/19
Loading...