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.
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
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.
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.1INTRODUCTION
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
PIC24F LCD Curiosity Development Board Quick Start Guide
NOTES:
DS50002881A-page 10 2019 Microchip Technology Inc.
Chapter 2. Board Power-up
2.1POWERING 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
NOTES:
DS50002881A-page 12 2019 Microchip Technology Inc.
PIC24F LCD CURIOSITY
DEVELOPMENT BOARD
QUICK START GUIDE
Chapter 3. Getting Started
3.1GETTING 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.1USB 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.2Battery-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.