Explorer 8 Development Board User s Guide

Size: px
Start display at page:

Download "Explorer 8 Development Board User s Guide"

Transcription

1 Explorer 8 Development Board User s Guide 2015 Microchip Technology Inc. DS A

2 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. QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV == ISO/TS == Trademarks The Microchip name and logo, the Microchip logo, dspic, FlashFlex, flexpwr, JukeBlox, KEELOQ, KEELOQ logo, Kleer, LANCheck, MediaLB, MOST, MOST logo, MPLAB, OptoLyzer, PIC, PICSTART, PIC 32 logo, RightTouch, SpyNIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. The Embedded Control Solutions Company and mtouch are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, BodyCom, chipkit, chipkit logo, CodeGuard, dspicdem, dspicdem.net, ECAN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, KleerNet, KleerNet logo, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, RightTouch logo, REAL ICE, SQI, Serial Quad I/O, 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. Silicon Storage Technology is a registered trademark 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. 2015, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. ISBN: Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company s quality system processes and procedures are for its PIC MCUs and dspic DSCs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip s quality system for the design and manufacture of development systems is ISO 9001:2000 certified. DS A-page Microchip Technology Inc.

3 EXPLORER 8 DEVELOPMENT BOARD USER S GUIDE Table of Contents Preface... 5 Chapter 1. Overview 1.1 Introduction Development Kit Contents Explorer 8 Development Board On-Board Jumper Configurations Sample Devices Sample Programs Chapter 2. Getting Started 2.1 Explorer 8 with Pre-Programmed Device Board with PIM Attached Devices Programming the Microcontrollers Programming Requirements Opening the Program in MPLAB X IDE Programming the Microcontroller Connecting to Host PC for USB Communication USB-to-UART Interface USB-to-I2C Interface Powering the Board External 9V Power Supply USB Power Selecting Vdd Values Varying the Device Voltage Calculating other Vdd Values Chapter 3. Tutorial Program 3.1 Tutorial Program Operation Source Code and Data Sheets Appendix A. Hardware Details A.1 Hardware Elements A.1.1 Processor Sockets A.1.2 Display A.1.3 Power Supply A.1.4 Micro USB Port A.1.5 Switches A.1.6 Oscillator Options A.1.7 Analog Input (Potentiometer) A.1.8 ICD Connector A.1.9 PICkit Connector A.1.10 PICtail and PICtail Plus Expansion Connectors A.1.11 mikrobus Connectors Microchip Technology Inc. DS A-page 3

4 Explorer 8 Development Board User s Guide A.1.12 Pmod Connectors...35 A.1.13 Configurable In-line Connector...35 A.1.14 LCD...35 A.1.15 Sample Devices...36 A.2 Board Layout and Schematics Worldwide Sales and Service...41 DS A-page Microchip Technology Inc.

5 EXPLORER 8 DEVELOPMENT BOARD USER S 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 web site ( 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. INTRODUCTION DOCUMENT LAYOUT This chapter contains general information that will be useful to know before using the Explorer 8 Development Board. Items discussed in this chapter include: Document Layout Conventions Used in this Guide Warranty Registration Recommended Reading The Microchip Web Site Development Systems Customer Change Notification Service Customer Support Document Revision History This document describes how to use the Explorer 8 Development Board as a tool to emulate and debug firmware on a target board. The document is organized as follows: Chapter 1. Overview Chapter 2. Getting Started Chapter 3. Tutorial Program Appendix A. Hardware Details 2015 Microchip Technology Inc. DS A-page 5

6 Explorer 8 Development Board User s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENT 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 Save project before build dialog 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) {... } DS A-page Microchip Technology Inc.

7 Preface WARRANTY REGISTRATION RECOMMENDED READING Please complete the enclosed Warranty Registration Card and mail it promptly. Sending in the Warranty Registration Card entitles users to receive new product updates. Interim software releases are available at the Microchip web site. This user s guide describes how to use the Explorer 8 Development Board. The following documents are available and recommended as supplemental reference resources. Explorer 8 Development Board Layout and Schematic Quick Start Guide (DS ) This quick start guide provides a brief overview on the Explorer 8 Development Board s functionalities, features and capabilities. MPLAB ICD 3 In-Circuit Debugger User s Guide (DS51766) This document provides all the necessary information on the MPLAB ICD 3 In-Circuit Debugger s operation, installation, general setup and tutorial details. The MPLAB ICD 3 is a cost-effective, high-speed hardware debugger/programmer developed by Microchip for PIC microcontrollers and Digital Signal Controllers (DSCs). MPLAB REAL ICE In-Circuit Emulator User s Guide for MPLAB X IDE (DS ) This user s guide describes how to use the MPLAB REAL ICE In-Circuit Emulator as a development tool to emulate and debug firmware on a target board, as well as how to program devices. It provides details on the emulator s operation, features, troubleshooting, software, hardware reference and emulator accessories. PICkit 3 In-Circuit Debugger/Programmer User s Guide for MPLAB X IDE (DS52116) This user s guide describes the PICkit 3 In-Circuit Debugger/Programmer s operation, usage, troubleshooting methods and hardware specifications. The PICkit 3 can be implemented as a debugger or development programmer for Microchip PIC MCUs and DSCs that are based on In-Circuit Serial Programming (ICSP ) and Enhanced ICSP 2-wire serial interfaces Microchip Technology Inc. DS A-page 7

8 Explorer 8 Development Board User s Guide THE MICROCHIP WEB SITE Microchip provides online support via our web site at This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site 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, listings of Microchip sales offices, distributors and factory representatives. DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE Microchip s customer notification service helps keep customers current on Microchip products. Subscribers will receive 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 web site at click on Customer Change Notification and follow the registration instructions. The Development Systems product group categories are: Compilers The latest information on Microchip C compilers, assemblers, linkers and other language tools. These include the MPLAB XC Compilers that support all 8-, 16- and 32-bit PIC MCUs and dspic DSCs. Emulators The latest information on Microchip in-circuit emulators. This includes the MPLAB REAL ICE In-Circuit Emulator. In-Circuit Debuggers The latest information on the Microchip in-circuit debuggers. This includes the MPLAB ICD 3 In-Circuit Debugger and the PICkit 3 In-Circuit Debugger. MPLAB X IDE The latest information on Microchip MPLAB X IDE, the Integrated Development Environment for development systems tools which can be run on Windows, Mac OS and LINUX operating systems. Programmers The latest information on Microchip programmers. These include the device (production) programmers MPLAB REAL ICE in-circuit emulator and MPLAB ICD 3 in-circuit debugger, and the development (non-production) programmer PICkit 3. DS A-page Microchip Technology Inc.

9 Preface CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: Distributor or Representative Local Sales Office Field Application Engineer (FAE) Technical Support Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. Technical support is available through the web site at: DOCUMENT REVISION HISTORY Revision A (August, 2015) Initial release of the document Microchip Technology Inc. DS A-page 9

10 Explorer 8 Development Board User s Guide NOTES: DS A-page Microchip Technology Inc.

11 EXPLORER 8 DEVELOPMENT BOARD USER S GUIDE Chapter 1. Overview 1.1 INTRODUCTION The Explorer 8 Development Board is one of the latest development boards for evaluating and demonstrating the capabilities and features of Microchip s 8-bit PIC MCUs. This board supports 8/14/20/28/40-pin DIP and 44/64/80-pin PIM-mounted PIC MCUs. This board is fully populated with two fixed and one variable power supply, a 16x2 Character LCD module, a pair of mikrobus Click board headers to accommodate a variety of plug-in modules, a pair of Digilent Pmod connectors, an in-line completely configurable connector, PICtail connectors and a USB-to-serial/I 2 C converter. The Explorer 8 is fully compatible with the MPLAB Code Configurator and MPLAB X v3.00 or later. 1.2 DEVELOPMENT KIT CONTENTS The Explorer 8 Development Board comes with the following: Explorer 8 Development Board (DM160228) Pre-programmed PIC16F1719 Micro USB cable If the kit is missing any of these parts, please contact the nearest Microchip sales office listed in the back of this publication. The MPLAB X Integrated Development Environment (IDE) is a free, integrated software tool set for application development and debugging. Compilers and other board-compatible software and hardware tools can be purchased. To download the MPLAB X IDE software and documentation, or get information on the other tools, visit Microchip Technology Inc. DS A-page 11

12 Explorer 8 Development Board User s Guide 1.3 EXPLORER 8 DEVELOPMENT BOARD The Explorer 8 Development Board has the following hardware features. Each feature s number corresponds to the number in Figure 1-1, showing the feature s location on the board: 1. MCP2221 USB-to-UART/I 2 C serial converter (U3) 2. 16x2 Character LCD (LCD1) 3. MCP23S17 I/O Expander for LCD Interface (U4) 4. Eight blue LEDs (D1 to D8). 5. Male header pins for attaching Plug-in-Modules (U1A) 6. Socket for attaching 40-pin PIC MCUs (J8) 7. Socket for attaching 28-pin PIC MCUs (J13) 8. Socket for attaching 8/14/20-pin PIC MCUs (J10) 9. mikrobus headers for attaching mikrobus compatible boards (J32 and J35) 10. Two push button switches for external stimulus (S1 and S2) 11. PICtail Expansion Connectors for PICtail Daughter Boards (J3, J5, J11 and J28) 12. PICtail Plus Card Edge Modular Expansion Connectors for PICtail Plus Daughter Boards (J19) 13. Test Points for 5.0V (TP1 and TP7), 3.3V (TP6) and V_VAR (TP5). V_VAR is the variable voltage and is equal to the device VDD and its associated logic pin in-line expansion connector (J33) MHz crystal for device external oscillator (Y1) 16. Digilent Pmod compatible connectors (J17 and J20) kω Potentiometer for analog inputs (R25) 18. Variable Power Indicator LED (D9) V Power Indicator (LD2) V Power Indicator (LD1) V (U5), 3.3V (U1) and Variable (U2) power supplies 22. Barrel connector for 9V DC Supply (J1) 23. RJ11 connector for ICSP programming/debugging using REAL ICE and ICD 3 (J26) pin male header for ICSP programming/debugging using PICkit 3 (J12) 25. Push button switch on MCLR for external Reset (S3) 26. Micro USB socket for USB communication and/or USB power (J18) DS A-page Microchip Technology Inc.

13 Overview FIGURE 1-1: EXPLORER 8 DEVELOPMENT BOARD ON-BOARD JUMPER CONFIGURATIONS The Explorer 8 Development Board allows the user to connect or disconnect components from PIC MCU pins or from other on-board components through associated jumpers. Table 1-1 and Figure 1-2 provide details and examples for these connections. TABLE 1-1: ON-BOARD JUMPERS DESCRIPTION AND SAMPLE CONFIGURATION Label Jumper/s Description Configuration MCU Interface to MCP2221 USB-to-I 2 C/UART Converter (1) 1 J22 Pulls up the configured I 2 C SCL pin (see J57) and SDA pin (see J58). 2 J57 Connects the microcontroller I 2 C SCL pin to the MCP2221 SCL pin (see Label 3). E.g. RC3 is configured as the microcontroller I 2 C SCL pin. RB6 SDA SCL RC3 J58 Connects the microcontroller I 2 C SDA pin to the MCP2221 SDA pin (see Label 3). E.g. RC4 is configured as the microcontroller I 2 C SDA pin. 3 J23 Connects the microcontroller I 2 C SCL and SDA pins to the MCP2221 SCL and SDA pins, respectively. RB4 RC4 SCL SDA 2015 Microchip Technology Inc. DS A-page 13

14 Explorer 8 Development Board User s Guide TABLE 1-1: ON-BOARD JUMPERS DESCRIPTION AND SAMPLE CONFIGURATION (CONTINUED) Label Jumper/s Description Configuration 4 J53, J55 Connects the microcontroller UART RX pin to the MCP2221 TX pin. E.g. RC7 is configured as the microcontroller RX pin. J54, J56 Connects the microcontroller UART TX pin to the MCP2221 RX pin. E.g. RC6 is configured as the microcontroller TX pin. J53 RC5 J55 RB5 RC7 J54 J56 RC4 RB7 RC6 MCU Interface to MCP23S17 I/O Expander (1) 5 J60 Connects RB5 to the MCP23S17 I/O Expander RESET pin. LCD_RESET J59 Connects RA2 to the MCP23S17 I/O Expander Chip Select (CS) pin. MCU Interface to the LEDs (1) 6 J7 Connects LEDs D1 to D4 cathodes to ground to provide a continuous LED current path. J59 LED_D_EN J21 Connects LEDs D5 to D8 cathodes to ground to provide a continuous LED current path. LED_B_EN MCU Interface to J32 mikrobus (1) 7 J45 Connects the microcontroller SDO pin to the J32 mikrobus MOSI (SPI Master Output Slave Input) pin. E.g. RC5 is configured as the microcontroller SDO pin. RD4 RC5 J46 J47 Connects the microcontroller SDI pin to the J32 mikrobus MISO (SPI Master Input Slave Output) pin E.g. RC4 is configured as the microcontroller SDI pin. Connects the microcontroller SCK pin to the J32 mikrobus SCK (SPI Clock) pin. E.g. RC3 is configured as the microcontroller SCK pin. RD5 RC4 RD6 RC3 8 J27, J43 Connects the microcontroller RX pin to the J32 mikrobus UART RX pin. E.g. RC7 is configured as the microcontroller RX pin. J34, J44 Connects the microcontroller TX pin to the J32 mikrobus UART TX pin. E.g. RC6 is configured as the microcontroller TX pin. J43 J27 RG2 RB5 RC7 J44 RG1 J34 RB7 RC6 DS A-page Microchip Technology Inc.

15 Overview TABLE 1-1: ON-BOARD JUMPERS DESCRIPTION AND SAMPLE CONFIGURATION (CONTINUED) Label Jumper/s Description Configuration MCU Interface to J35 mikrobus (1) 9 J48 Connects the microcontroller SDO pin to the J35 mikrobus MOSI (SPI Master Output Slave Input) pin. E.g. RC5 is configured as the microcontroller SDO pin. J49 J50 Connects the microcontroller SDI pin to the J35 mikrobus MISO (SPI Master Input Slave Output) pin. E.g. RC4 is configured as the microcontroller SDI pin. Connects the microcontroller SCK pin to the J35 mikrobus SCK (SPI Clock) pin. E.g. RC3 is configured as the microcontroller SCK pin. 10 J41 Connects the microcontroller RX pin to the J35 mikrobus UART RX pin. E.g. RC7 is configured as the microcontroller RX pin. J42 Connects the microcontroller TX pin to the J35 mikrobus UART TX pin. E.g. RC6 is configured as the microcontroller TX pin. Other Connections and Interfaces (1) 11 J4, J31 Connections depend whether RA5 and RA4 are configured as an I/O port or as a VCAP pin. E.g. RA5 is configured as an I/O port while RA4 as a VCAP pin. 12 J37 Selects whether RA6 or the RA5 pin be connected to the external 8 MHz crystal (Y1). E.g. The 8 MHz crystal is connected to the MCU OSC2/RA5 pin. 13 J36 Selects whether RA7 or the RA4 pin be connected to the external 8 MHz crystal (Y1). E.g. The 8 MHz crystal is connected to the MCU OSC1/RA7 pin. 14 J15, J16 Option to power the Digilent Pmod with 3.3V or 5V. E.g. J17 Pmod is supplied with 5V while J20 Pmod is supplied with 3.3V 15 J14, J30 Selects either 3.3V, 5.0V or a variable voltage for the board s supply E.g. The board is supplied with 5V. RC7 RC5 RB4 RC4 RB6 RC3 RC5 RC7 RC4 RC6 RA5 VCAP J4 J31 RA4 VCAP RA5 RA6 RA7 RA4 J15 J16 +5V +5V +3.3V J V J30 V_VAR +5V 2015 Microchip Technology Inc. DS A-page 15

16 Explorer 8 Development Board User s Guide TABLE 1-1: ON-BOARD JUMPERS DESCRIPTION AND SAMPLE CONFIGURATION (CONTINUED) Label Jumper/s Description Configuration 16 J2 Selects whether to supply 5V power to the board via USB or the output of the 5V regulator. E.g. The board is USB-powered. 17 J51, J52 Connects the PGD and PGC pins of the PICkit 3, ICD 3 or REAL ICE to the PIC MCU ICSPDAT and ICSPCLK, respectively for ICSP programming 18 J61 Connects the LCD VDD pin to +5V supply. 19 J24 To supply a regulated 3.3V output. Note 1: USB +5V BRD +5V J52 J51 RB6 RB7 Sample configurations only. Jumpers should always be disconnected for unused interfaces and devices. RA1 LCD_PWR J24 RA0 FIGURE 1-2: EXPLORER 8 DEVELOPMENT BOARD JUMPER LOCATIONS DS A-page Microchip Technology Inc.

17 Overview 1.5 SAMPLE DEVICES The Explorer 8 Development Board comes with a 40-pin PIC16F SAMPLE PROGRAMS The Explorer 8 Development Board demonstration program can be downloaded from the Microchip web site ( This Demo Code can be used with the included sample device and with a REAL ICE (In-Circuit Emulator), MPLAB ICD 3 (programmer/debugger) or with a PICkit 3 (programmer/debugger).the Demo code was developed using the MPLAB Code Configurator (MCC). For more information on MCC, visit For a complete list of available sample programs, schematics and additional collateral for the Explorer 8 Development Board, visit Microchip Technology Inc. DS A-page 17

18 Explorer 8 Development Board User s Guide NOTES: DS A-page Microchip Technology Inc.

19 EXPLORER 8 DEVELOPMENT BOARD USER S GUIDE Chapter 2. Getting Started The Explorer 8 Demo Board is very flexible and may be used in a variety of ways. This section provides the different configurations of the board, and the required tools and equipment for each of them. 2.1 EXPLORER 8 WITH PRE-PROGRAMMED DEVICE Several features of the Explorer 8 Demo Board can be demonstrated immediately by following the steps listed below: 1. Place the pre-programmed PIC16F1719 on the 40-pin socket of the Explorer 8 Development Board. 2. Ensure that the jumpers are on their proper configuration as shown in Table 2-1. See Section 1.4 On-Board Jumper Configurations for jumper description and location. Note: The table contains only a list of jumpers that are required to be setup for proper demonstration of the Explorer 8 Development Board using the pre-programmed device. Jumpers not listed in the table will have no effect on the demo program. TABLE 2-1: JUMPER SETUP USING THE PRE-PROGRAMMED DEVICE Jumper/s Description Configuration J2 Power the board via USB USB +5V BRD +5V J4 Use RA5 as an I/O pin RA5 VCAP J7 Use LEDs D4 through D1 LED_D_EN J14 J21 J36 Use +5.0V Supply Use LEDs D8 through D5 Connect the 8 MHz Crystal to the device OSC1 pin to function as primary oscillator +3.3V +5V LED_B_EN RA7 RA Microchip Technology Inc. DS A-page 19

20 Explorer 8 Development Board User s Guide TABLE 2-1: J37 JUMPER SETUP USING THE PRE-PROGRAMMED DEVICE Jumper/s Description Configuration Connect the 8 MHz Crystal to the device OSC2 pin to function as primary oscillator RA5 RA6 J51 For ICSP programming, connect the device to the PGD pin of PICkit 3, ICD 3 or REAL ICE RB7 J52 For ICSP programming, connect the device to the PGC pin of PICkit 3, ICD 3 or REAL ICE RA0 RB6 J54 For USB-to-UART communication RA1 RC4 J59 To send data to the LCD J59 RC6 J60 J61 To reset the MCP23S17 I/O Expander Power the LCD module LCD_RESET LCD_PWR 3. Apply power to the Explorer 8 Development Board using the Micro USB cable that comes with the kit. See Section 2.6 Selecting Vdd Values. The device can now be demonstrated using the tutorial program. See Section 3.1 Tutorial Program Operation. DS A-page Microchip Technology Inc.

21 Getting Started 2.2 BOARD WITH PIM ATTACHED DEVICES The Explorer 8 Development Board can also be used to demonstrate PIM-mounted 8-bit PIC microcontrollers. A Plug-in-Module (PIM) enables the attachment of 44/64/80-pin devices to the board. To attach a PIM, simply seat the PIM in the 84-pin, elevated male connectors as shown in Figure 2-1. FIGURE 2-1: 84-PIN HEADER FOR PLUG-IN-MODULE (PIM) Make sure that the device mounted on the PIM is supplied with the appropriate voltage. See Section 2.6 Selecting Vdd Values and Section Calculating other Vdd Values for supplies other than 5V and 3.3V. Some PIMs also enable the board s 5V output to be automatically reset to 3.3V. For a list of microcontroller-compatible PIMs, go to PROGRAMMING THE MICROCONTROLLERS The Explorer 8 Development Board supports the ability to program a microcontroller through multiple options. This section discusses: Programming Requirements Opening the Program in MPLAB X IDE Programming the Microcontroller Using ICD 3, REAL ICE and PICkit Programming Requirements To reprogram a sample device, the following are required: Program source code The sample code is pre-loaded on the device, but user source code can be substituted. If this is done, the sample program can be restored by downloading the MPLAB X project file available at the Microchip web site. An assembler or compiler The source code must be assembled or compiled into a hex file before it can be programmed into the device. A programmer Once the code is in the hex file format, this device programs the microcontroller s Flash memory. If the code protection bit(s) have not been programmed, the on-chip program memory can be read out for verification purposes Microchip Technology Inc. DS A-page 21

22 Explorer 8 Development Board User s Guide In meeting these requirements, the following items are to be taken into consideration: Code development and debugging The free MPLAB X IDE software development tool includes a debugger and several other software tools as well as a unified graphical user interface (GUI) for working with other Microchip and third-party software and hardware tools. Assembler The free MPLAB X IDE tool includes the MPASM assembler. Compiler Microchip s MPLAB XC8 Compiler is fully integrated for the MPLAB X IDE environment. Programmer Microchip s MPLAB In-Circuit Debugger (ICD) 3, PICkit 3 In-Circuit Debugger/Programmer, or MPLAB REAL ICE In-Circuit Emulator can be used to program the device and all are fully integrated for the MPLAB X IDE environment. The MPLAB Code Configurator (MCC) is Microchip s new tool for developing drivers and initializers featuring a very easy to use GUI. It is a free tool that integrates into MPLAB X, providing a very powerful development platform. For more information on MCC go to ( The MPLAB X IDE and the XC8 Compiler can be downloaded from the Microchip web site. For a list of tools compatible with PIC microcontrollers, see the Microchip Development Tools web site at Opening the Program in MPLAB X IDE The MPLAB X Integrated Development Environment (IDE) is a software program that runs on Windows, MAC OS and Linux to develop code for PIC microcontrollers and Digital Signal Controllers (DSC). This section describes how to open the Explorer_8_Demo_MCC.X project in MPLAB X IDE. 1. Download the Explorer_8_Demo_MCC project from Microchip s Explorer 8 web page ( 2. Launch the MPLAB X IDE application and select File>Open Project> Explorer_8_Demo_MCC.X >Open Project from the downloaded section. The project file will appear on the Projects area. If it is not the main project, set as main project. 3. Right click. Explorer_8_Demo_MCC.X >Set as main project. 4. If not already downloaded, download and install the MCC tool from the Plugins repository. This is done by the following: Select Tools from the MPLAB X menu, then Plugins. Select the Available Plugins tab and select the MPLAB Code Configurator Go through the install process. 5. Once installed, go to the Tools menu in MPLAB X, select Embedded then MPLAB Code Configurator. 6. With MCC open, all the modules currently in the project used for the demo application can be seen. 7. The device is now ready to be built and programmed. The next section will describe how to load the program into the microcontroller. DS A-page Microchip Technology Inc.

23 Getting Started Programming the Microcontroller Program the device using an ICD 3, REAL ICE or PICkit Connect the ICD 3 or REAL ICE as shown in Figure 2-2. For PICkit 3, see Figure Setup the jumpers. In addition to the jumper settings listed in Section 2.1 Explorer 8 with Pre-Programmed Device, J51 and J52 should also be configured. See Figure Power-up the Explorer 8 Development Board (see Section 2.5 Powering the Board ). 4. Open the project on MPLAB X IDE (see Section Opening the Program in MPLAB X IDE ). 5. Right click Explorer_8_Demo_MCC.X >Properties. A pop-up window will appear as shown in Figure 2-4. FIGURE 2-2: ICD 3 CONNECTION AND JUMPER CONFIGURATION RB6 J52 J51 RB7 RA1 RA0 FIGURE 2-3: PICkit 3 CONNECTION AND JUMPER CONFIGURATION RB6 J52 J51 RB7 RA1 RA Microchip Technology Inc. DS A-page 23

24 Explorer 8 Development Board User s Guide FIGURE 2-4: PROJECT PROPERTIES WINDOW IN MPLAB X IDE 6. Select the XC8 compiler under the Compiler Tool chain, if not already selected. 7. Under Hardware Tool, click ICD 3, REAL ICE or PICkit 3, depending upon the connected programmer. 8. Click Apply, and then OK. 9. To load the program to the PIC16F1719 device, click the Make and Program Device icon. 2.4 CONNECTING TO HOST PC FOR USB COMMUNICATION The Explorer 8 Development Board allows the device to communicate with a PC via two interfaces: USB-to-UART and USB-to-I 2 C. An on-board USB 2.0 to I 2 C/UART Protocol Converter (MCP2221) is provided for this purpose. The MCP2221 supports Windows (XP and later versions), Linux and Mac OS (all versions) operating systems. Drivers can be downloaded from the Microchip web site at After installing the MCP2221 driver, the board can now be connected to the host PC through a USB cable provided in the Explorer 8 Development Board kit. DS A-page Microchip Technology Inc.

25 Getting Started USB-to-UART Interface The MCP2221 supports baud rates between 300 and It utilizes a set of commands to read and set the UART parameters during operation. It only supports eight Data bits, no Parity, and one Stop bit. The terminal program (e.g., Teraterm, Realterm, etc.) must be configured with the same settings. If the MCU is configured to communicate with the host PC via UART interface, jumpers J53, J54, J55 and J56 must be setup properly. The tutorial program in the PIC16F1719 implements the UART for MCU-to-PC communication. Figure 2-5 shows how to setup the jumpers for the tutorial program. The MCU is configured for Transmit mode so only J54 is utilized and the other jumpers are left disconnected. FIGURE 2-5: SETUP FOR UART TRANSMIT MODE J54 RC4 RC6 The operating system searches for a driver once the Explorer 8 Development Board is connected to the PC using the USB-to-UART interface. After a suitable driver is found, the system creates an entry in the registry. The entry stores relevant information about the USB-to-UART adapter, its driver and the associated COM port USB-to-I 2 C Interface For the USB-to-I 2 C interface, the MCP2221 functions as an I 2 C Master to the PIC MCU and uses USB HID (Human Interface Device) protocol for communication with a host PC. A typical command exchange starts with a 64-byte packet that is written by the host PC. Afterward, the PC reads the response USB-to-I 2 C from the device as a 64-byte packet. To use the Explorer 8 Development Board for I 2 C interface, jumpers J22, J23, J57 and J58 must be configured properly. See Labels 1, 2 and 3 of Table 1-1 for sample jumper configurations Microchip Technology Inc. DS A-page 25

26 Explorer 8 Development Board User s Guide 2.5 POWERING THE BOARD The Explorer 8 Development Board can be powered-up in two ways: External 9V DC supply and USB power External 9V Power Supply To power-up the board using an external 9V power supply: Plug the 9V power supply to a wall outlet. Connect the 9V power supply to the board through the barrel connector placed on the lower left corner of the board. Place J2 in the position shown in Figure 2-6. FIGURE 2-6: USING THE 9V EXTERNAL SUPPLY USB +5V J2 BRD +5V One of the on-board regulators will reduce this voltage to 5V which can be measured through Test Points TP1 and TP7. For 3.3V, the 5V output will be further reduced through a 3.3V regulator. Make sure to attach J24 before measuring the 3.3V output at TP6. The board also supports other voltage values through an adjustable voltage regulator. The variable voltage can be measured through TP5. For more details on varying the voltage values, see Section Section 2.6 Selecting Vdd Values USB Power 9V DC The Explorer 8 Development Board can also be powered through USB. The board will draw +5V power from a host device such as a PC by connecting a USB cable between the on-board micro USB socket and the PC s USB port. The micro USB cable is included in the Explorer 8 Development Kit. Figure 2-7 shows how to connect the USB cable to the micro USB socket and J2 setting for USB-powered configuration. FIGURE 2-7: USB-POWERED BOARD CONFIGURATION To PC USB Port USB +5V J2 BRD +5V DS A-page Microchip Technology Inc.

27 Getting Started 2.6 SELECTING VDD VALUES The Explorer 8 Development Board is capable of supplying 5V, 3.3V and variable supply voltages between 1.2 and 5V through dedicated on-board regulators. The variable supply voltage, called V_VAR (also equal to VDD), is used to power the device and the on-board components Varying the Device Voltage Figure 2-8 shows the jumper configuration for the three voltage settings. FIGURE 2-8: JUMPER CONFIGURATION FOR DIFFERENT DEVICE VOLTAGES +3.3V V_VAR = 5V (Fixed) +3.3V V_VAR = 3.3V (Fixed) V_VAR = ADJ + VREF (Variable) +3.3V ADJ+V ADJ+V ADJ+V +5V J14 J30 +5V J14 J30 +5V J14 J Calculating other VDD Values For voltages other than 5V and 3.3V, jumpers J14 and J30 must be configured for variable supply as shown in Figure 2-8. Other VDD values can be produced by the LM317 adjustable voltage regulator by populating the PIM board s R101 and R102 with different value resistors. This section discusses how to calculate alternate values for these resistors. For detailed information, see the LM317 data sheet. Note: R101 and R102 are named R1 and R2, respectively, in other PIM boards. These must not be confused with the R1 and R2 values discussed in this section. EQUATION 2-1: LM317 REGULATOR VOLTAGE OUTPUT IADJ is minimized by the LM317 and can be neglected or assumed to be zero. VREF is the reference voltage developed by the LM317 between the output and adjustment terminal, and is typically equal to 1.25V. Therefore, the equation can be rewritten as shown in Equation 2-2. EQUATION 2-2: Where: R2 = R20 R102 = R2 V = V OUT REF R1 + I R2 ADJ CALCULATING THE LM317 OUTPUT VOLTAGE R20 R R20 + R102 R1 R19 R19 R101 = R101 = R19 + R101 R2 V OUT = 1.25V R Microchip Technology Inc. DS A-page 27

28 Explorer 8 Development Board User s Guide The Explorer 8 Development Board s R20 and R19 resistors have their default values of 1 kω and 330Ω, respectively. Without R102 and R101 being inserted in parallel on the PIM board, VOUT = 1.25V(1 + 1 kω/330ω) = 5.04V. To calculate a desired VOUT: 1. Solve for R2, given R1 = R19 = 330Ω. 2. Now knowing R2 and R20, solve for R Determine the nearest available resistor value for R102 and recalculate the resulting V_VAR to make sure it does not exceed the maximum VDD for the part being used. For devices that are not mounted on a PIM but need a supply voltage other than 5V or 3.3V, external resistors may be connected to the ADJ pin of J29. A resistor connected between ADJ and ground is equivalent to R102 and a resistor connected between ADJ and V_VAR is equivalent to R101. Calculate the resistor values using the equations previously discussed in this section. DS A-page Microchip Technology Inc.

29 EXPLORER 8 DEVELOPMENT BOARD USER S GUIDE Chapter 3. Tutorial Program The tutorial program is pre-programmed into the PIC16F1719 that comes with the Explorer 8 demo board. This program, which can be downloaded from the Microchip web site ( is built using the MPLAB X IDE and the MPLAB XC8 Complier. It also utilizes the macros, drivers and initializers generated by the MPLAB Code Configurator (MCC). MCC is a plug-in for MPLAB X IDE that generates seamless, easy to understand drivers and initializers that are inserted into your project. For more information on MCC, visit TUTORIAL PROGRAM OPERATION The tutorial program consists of three components: Voltmeter, LED Toggle and LED dimming. The flowchart in Figure 3-1 illustrates the button navigation through the entire program. The different components are displayed on the LCD and the LEDs. The data sent to the LCD is simultaneously transmitted by the EUSART module of the device to the USB-to-UART/I 2 C converter and can, therefore, be viewed on the host PC monitor through a serial terminal program (see Section 2.4 Connecting to Host PC for USB Communication ). Make sure that the terminal program is configured to 9600 Baud, 8-bit Data, No Parity and 1 Stop Bit. For the board supply and jumper configurations, see Section 2.1 Explorer 8 with Pre-Programmed Device. FIGURE 3-1: TUTORIAL PROGRAM FLOWCHART Power Up Microchip Explorer 8 Demo Voltmeter S1=Now S2=Next Volts = x.xxv S1=Exit Toggle LEDs S1=Now S2=Next LEDs Toggle S1=Exit LED Dimming S1=Now S2=Next Turn POT R25 S1=Exit 2015 Microchip Technology Inc. DS A-page 29

30 Explorer 8 Development Board User s Guide To select menu options, use the S1 and S2 buttons on the board (see Figure 3-2). FIGURE 3-2: BUTTON SWITCHES FOR MENU SELECTION When the board is powered up, a Microchip Explorer 8 Demo text is displayed on the LCD and sent to the serial terminal as well. After a few seconds, the program proceeds to the first component. 1. Voltmeter This mode uses the Analog-to-Digital Converter (ADC) module to measure the voltage across the R25 potentiometer and display a value between 0.00V and 5.00V on the LCD. (In general, the displayed value is between 0.00V to V_VAR). FIGURE 3-3: VOLTMETER DISPLAY AND COMPONENT The voltage reading is updated continuously until the mode is exited by pressing S1. FIGURE 3-4: VOLTAGE DISPLAY 2. LEDs Toggle This mode toggles LEDs D1 and D2 alternately with D3 and D4 between fully On and fully Off states every 100 milliseconds. FIGURE 3-5: LED TOGGLE DISPLAY DS A-page Microchip Technology Inc.

31 Tutorial Program 3. LED Dimming Both the Complementary Output Generator (COG) and Analog-to-Digital Converter (ADC) modules are implemented in this mode. The COG produces a pulse-width modulated output whose duty cycle is determined by the measured ADC value across the R25 potentiometer. The COG output controls the brightness of the D6, D7 and D8 LEDs. FIGURE 3-6: LED DIMMING DISPLAY Turning the potentiometer clockwise increases the brightness of the LEDs while rotating it counterclockwise dims the LEDs. FIGURE 3-7: LED DIMMING Exiting this mode by pressing S1 brings the program back to Voltmeter. 3.2 SOURCE CODE AND DATA SHEETS The tutorial program is available on the Microchip web site: ( The source codes and hex files are contained in the Explorer_8_Demo_MCC.X project file. For information on reprogramming the device with new or modified code, see Section 2.3 Programming the Microcontrollers Microchip Technology Inc. DS A-page 31

32 Explorer 8 Development Board User s Guide NOTES: DS A-page Microchip Technology Inc.

33 EXPLORER 8 DEVELOPMENT BOARD USER S GUIDE Appendix A. Hardware Details A.1 HARDWARE ELEMENTS A.1.1 Processor Sockets The Explorer 8 Development Board contains four processor sockets: 20-pin Socket for 8/14/20-pin DIP microcontrollers 28-pin Socket for 28-pin DIP microcontrollers 40-pin Socket for 40-pin DIP microcontrollers 84-pin PIM Socket for 44/64/80-pin PIM-mounted microcontrollers Only one device may be used at a time. Remove unnecessary devices before demonstrating your program. For a complete list of 8-bit PIC microcontrollers and available PIMs, go to the Microchip web site at A.1.2 Display Eight blue LEDs (D8:D1) are connected to the <RB3:RB0> and <RD3:RD0> pins of each processor type, respectively. These pins are set high to light the LEDs. LEDs D8:D5 may be disconnected by removing jumper J21 while LEDs D4:D1 may be disconnected by removing J7. D5 lights up once J21 is attached because RB0 is also connected to switch SW1 and this pin is always pulled up to V_VAR. A.1.3 Power Supply The Explorer 8 Development Board does not come with a power supply but it comes with a micro USB cable for powering the board via USB. Using USB power, however, limits the supply to only 100 ma. Using the 9V external supply, both 3.3V and 5.0 supplies are capable of up to 1A. Microchip s 9V, 1.3A power supply (Part Number AC002014) can be used if external supply is needed. When using an external supply, the board is limited to a maximum of 5A, imposed on the breadboard contacts. The board is populated with two fixed (U5 and U1) and one variable (U2) voltage regulators to provide 5.0V, 3.3V and any voltage between 1.2V and 5V. Note: For power supply selection, see Section 2.5 Powering the Board and Section 2.6 Selecting Vdd Values Microchip Technology Inc. DS A-page 33

34 Explorer 8 Development Board User s Guide A.1.4 Micro USB Port A micro USB port is provided not just for powering the board but also for communications between the device and a host PC via USB. The micro USB cable included in the Explorer 8 Development Board Kit can be used to connect the board s micro USB port to the host PC s USB port. The on-board MCP2221 is a USB-to-UART/I 2 C serial converter that enables USB connectivity for devices with UART or I 2 C interfaces. Note: A.1.5 Switches Three switches are provided on the board: S1 Active-low switch connected to RB0 S2 Active-low switch connected to RA5 S3 MCLR to hard reset the processor When pressed, the switches are grounded. When idle, they are pulled high (V_VAR). A.1.6 Oscillator Options An 8 MHz crystal (Y1) serves as the controller s primary oscillator. It can also be used as TMR0 s clock source for some devices depending upon the configured J36 and J37 settings. A.1.7 Analog Input (Potentiometer) A 10 kω potentiometer (R25) is connected through a series resistor to RA0/AN0. The potentiometer can be adjusted from V_VAR to GND to provide an analog input to one of the device ADC channels. A.1.8 ICD Connector The MPLAB ICD 3 can be connected to the modular connector (J26) for programming and in-circuit debugging. Jumpers J51 and J52 define the connection of the in-circuit debugger to the device pins. The MPLAB REAL ICE can also be connected to this interface. Note: A.1.9 PICkit Connector A PICkit 3 In-Circuit Debugger/Programmer can be connected to the 6-pin interface provided by J12. Jumpers J51 and J52 define the connection of the PICkit3 to the microcontroller pins. Note: For details on this connection, see Section 2.4 Connecting to Host PC for USB Communication. For details, see Section Section Programming the Microcontroller. For details, see Section 2.4 Connecting to Host PC for USB Communication. DS A-page Microchip Technology Inc.

35 Hardware Details A.1.10 PICtail and PICtail Plus Expansion Connectors The PICtail interface enables the Explorer 8 Development Board to be connected directly to available PICtail daughter board cards. The following female headers are available to support different PIC microcontroller connections to PICtail daughter cards and for user access to MCU pins: 2x14 Socket (J3) to support 8/14/18/20/28-pin devices 2x6 Socket (J11) to support up to 44-pin devices 2x10 Socket (J5) to support up to 68-pin devices 2x8 Socket (J28) to support up to 80-pin devices The PICtail Plus connectors (J19) are the card-edge modular connector found on the right part of the board. It is based on a 120-pin connection divided into three sections of 30 pins, 30 pins and 56 pins. Each 30-pin section provides connections to all of the serial communication peripherals, as well as many I/O ports, external interrupts and ADC channels. This provides enough signals to develop many different expansion interfaces for different PICtail daughter cards. For available PICtail daughter cards, visit the Microchip web site at A.1.11 mikrobus Connectors Two MikroElektronika Click boards may be loaded into the sockets J32 or J35. Various communication ports and interfaces are controlled by Jumpers J41 through J50. Power and ground for the Click boards is supplied through the existing connections to the sockets. Note: Sample jumper configurations are provided in Table 1-1. A.1.12 Pmod Connectors Two Digilent Pmod interfaces are available on the bottom middle of the Explorer 8 Development Board. Both sockets are the 12-pin version of the Digilent Pmod and provide eight I/O signal pins, two power pins and two ground pins. The signals are arranged so that they provide two of the 6-pin interfaces stacked. Note: Sample jumper configurations are provided in Table 1-1. A.1.13 Configurable In-line Connector A 20-pin single in-line socket (J33) is provided for connection with expansion boards. The socket is connected in parallel to the first line of a 2x20 female header (J25) making it a configurable in-line connector. The second line of J25 has each of its pin socket connected to the 3.3V supply while another 2x20 female header (J39) makes each of its pin socket available with 5V. A.1.14 LCD An LCD with two lines, 16 characters each, is connected to the SPI I/O expander, MCP23S17. The two control lines and eight data lines are connected to the I/O expander. The I/O expander has an SPI interface that connects it to the microcontroller. The LCD is disabled or enabled through jumper J Microchip Technology Inc. DS A-page 35

36 Explorer 8 Development Board User s Guide A.1.15 Sample Devices A sample part programmed with a simple program is included in the Explorer 8 Development Board Kit. The device s I/O features and port connections are listed in Table A-1. TABLE A-1: SAMPLE DEVICE I/O FEATURES AND CONNECTIONS Device LEDs USB S1 S2 S3 LCD POT R25 ICD/ PICkit Y1 PIC16F1719 RB3:RB0 RD3:RD0 RC6 RB0 RA5 MCLR RC3 RC5 RA2 RB5 RA0 RB7 RB6 RA7 RA6 DS A-page Microchip Technology Inc.

37 Hardware Details A.2 BOARD LAYOUT AND SCHEMATICS FIGURE A-1: EXPLORER 8 DEVELOPMENT BOARD 2015 Microchip Technology Inc. DS A-page 37

38 Explorer 8 Development Board User s Guide FIGURE A-2: EXPLORER 8 DEVELOPMENT SCHEMATIC - 1 DS A-page Microchip Technology Inc.

39 Hardware Details FIGURE A-3: EXPLORER 8 DEVELOPMENT SCHEMATIC Microchip Technology Inc. DS A-page 39

40 Explorer 8 Development Board User s Guide FIGURE A-4: EXPLORER 8 DEVELOPMENT SCHEMATIC - 3 DS A-page Microchip Technology Inc.

41 Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ Tel: Fax: Technical Support: support Web Address: Atlanta Duluth, GA Tel: Fax: Austin, TX Tel: Boston Westborough, MA Tel: Fax: Chicago Itasca, IL Tel: Fax: Cleveland Independence, OH Tel: Fax: Dallas Addison, TX Tel: Fax: Detroit Novi, MI Tel: Houston, TX Tel: Indianapolis Noblesville, IN Tel: Fax: Los Angeles Mission Viejo, CA Tel: Fax: New York, NY Tel: San Jose, CA Tel: Canada - Toronto Tel: Fax: Asia Pacific Office Suites , 37th Floor Tower 6, The Gateway Harbour City, Kowloon Hong Kong Tel: Fax: Australia - Sydney Tel: Fax: China - Beijing Tel: Fax: China - Chengdu Tel: Fax: China - Chongqing Tel: Fax: China - Dongguan Tel: China - Hangzhou Tel: Fax: China - Hong Kong SAR Tel: Fax: China - Nanjing Tel: Fax: China - Qingdao Tel: Fax: China - Shanghai Tel: Fax: China - Shenyang Tel: Fax: China - Shenzhen Tel: Fax: China - Wuhan Tel: Fax: China - Xian Tel: Fax: China - Xiamen Tel: Fax: China - Zhuhai Tel: Fax: India - Bangalore Tel: Fax: India - New Delhi Tel: Fax: India - Pune Tel: Japan - Osaka Tel: Fax: Japan - Tokyo Tel: Fax: Korea - Daegu Tel: Fax: Korea - Seoul Tel: Fax: or Malaysia - Kuala Lumpur Tel: Fax: Malaysia - Penang Tel: Fax: Philippines - Manila Tel: Fax: Singapore Tel: Fax: Taiwan - Hsin Chu Tel: Fax: Taiwan - Kaohsiung Tel: Taiwan - Taipei Tel: Fax: Thailand - Bangkok Tel: Fax: Austria - Wels Tel: Fax: Denmark - Copenhagen Tel: Fax: France - Paris Tel: Fax: Germany - Dusseldorf Tel: Germany - Karlsruhe Tel: Germany - Munich Tel: Fax: Italy - Milan Tel: Fax: Italy - Venice Tel: Netherlands - Drunen Tel: Fax: Poland - Warsaw Tel: Spain - Madrid Tel: Fax: Sweden - Stockholm Tel: UK - Wokingham Tel: Fax: /14/ Microchip Technology Inc. DS A-page 41

Installing and Licensing MPLAB XC C Compilers

Installing and Licensing MPLAB XC C Compilers Installing and Licensing MPLAB XC C Compilers DS50002059G Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular

More information

28-PIN DEMO BOARD USER S GUIDE

28-PIN DEMO BOARD USER S GUIDE 28-PIN DEMO BOARD USER S GUIDE 2006-2015 Microchip Technology Inc. DS40001301B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

AN1857. RGBW Color Mixing DALI Control Gear. COLOR MIXING USING RED, GREEN, BLUE AND WHITE LEDs INTRODUCTION HARDWARE

AN1857. RGBW Color Mixing DALI Control Gear. COLOR MIXING USING RED, GREEN, BLUE AND WHITE LEDs INTRODUCTION HARDWARE RGBW Color Mixing DALI Control Gear AN1857 Author: INTRODUCTION Mihai Cuciuc Microchip Technology Inc. This application note provides an example of obtaining custom colors by combining the spectra of the

More information

Recommended Usage of Microchip 23X256/23X640 SPI Serial SRAM Devices RECOMMENDED CONNECTIONS FOR 23X256,23X640 SERIES DEVICES VCC 23X256/ HOLD.

Recommended Usage of Microchip 23X256/23X640 SPI Serial SRAM Devices RECOMMENDED CONNECTIONS FOR 23X256,23X640 SERIES DEVICES VCC 23X256/ HOLD. Recommended Usage of Microchip 23X256/23X640 SPI Serial SRAM Devices Author: INTRODUCTION Martin Bowman Microchip Technology Inc. This document details recommended usage of the Microchip 23X256 and 23X640

More information

TB3016. Using the PIC MCU CTMU for Temperature Measurement IMPLEMENTATION BASIC PRINCIPLE MEASUREMENT CIRCUIT

TB3016. Using the PIC MCU CTMU for Temperature Measurement IMPLEMENTATION BASIC PRINCIPLE MEASUREMENT CIRCUIT Using the PIC MCU CTMU for Temperature Measurement Author: Padmaraja Yedamale Microchip Technology Inc. The Charge Time Measurement Unit (CTMU), introduced on the latest generation of PIC24F and PIC18F

More information

Universal Programming Module 2

Universal Programming Module 2 Universal Programming Module OVERVIEW The Universal Programming Module (UPM) is a handy, low-cost board that supports the programming of Microchip devices using MPLAB in-circuit emulators and debuggers.

More information

AN1286. Water-Resistant Capacitive Sensing INTRODUCTION THEORY OF OPERATION. Sensing Steps. Sensing Steps Description DESIGN

AN1286. Water-Resistant Capacitive Sensing INTRODUCTION THEORY OF OPERATION. Sensing Steps. Sensing Steps Description DESIGN Water-Resistant Capacitive Sensing AN1286 Author: INTRODUCTION Thomas Perme Steven Lin Microchip Technology Inc. This application note describes a new hardware sensing method which is resilient to water

More information

AN1303. Software Real-Time Clock and Calendar Using PIC16F1827 DATA INTERFACE INTRODUCTION IMPLEMENTATION INTERNAL REGISTER MAP

AN1303. Software Real-Time Clock and Calendar Using PIC16F1827 DATA INTERFACE INTRODUCTION IMPLEMENTATION INTERNAL REGISTER MAP Software Real-Time Clock and Calendar Using PIC16F1827 Author: INTRODUCTION Cristian Toma Microchip Technology Inc. This application note describes the implementation of software Real-Time Clock and Calendar

More information

Processor Extension Pak (PEP) and Debug Header Specification

Processor Extension Pak (PEP) and Debug Header Specification Processor Extension Pak (PEP) and Debug Header Specification 2006-2015 Microchip Technology Inc. DS50001292W Note the following details of the code protection feature on Microchip devices: Microchip products

More information

AN1142. USB Mass Storage Class on an Embedded Host INTRODUCTION. USB Mass Storage Class. Overview

AN1142. USB Mass Storage Class on an Embedded Host INTRODUCTION. USB Mass Storage Class. Overview USB Mass Storage Class on an Embedded Host Author: INTRODUCTION With the introduction of Microchip's microcontrollers with the USB OTG peripheral, microcontroller applications can easily support USB Embedded

More information

MPLAB Code Configurator User s Guide

MPLAB Code Configurator User s Guide MPLAB Code Configurator User s Guide 2013-2014 Microchip Technology Inc. DS40001725B MPLAB CODE CONFIGURATOR USER S GUIDE Note the following details of the code protection feature on Microchip devices:

More information

AN1861. Bluetooth Smart Communication Using Microchip RN4020 Module and 16-bit PIC Microcontroller BLUETOOTH SMART COMMUNICATION INTRODUCTION

AN1861. Bluetooth Smart Communication Using Microchip RN4020 Module and 16-bit PIC Microcontroller BLUETOOTH SMART COMMUNICATION INTRODUCTION Bluetooth Smart Communication Using Microchip RN4020 Module and 16-bit PIC Microcontroller Author: Venkatesh Bengeri and Pradeep Shamanna INTRODUCTION Most of the embedded applications require real-time

More information

PIC32 Microcontroller Families

PIC32 Microcontroller Families 32-bit Microcontrollers Winter 2009 PIC32 Microcontroller Families With USB, CAN and Ethernet www.microchip.com/pic32 Building on the heritage of Microchip Technology s world-leading 8- and 16-bit PIC

More information

AN1470. Manchester Decoder Using the CLC and NCO ABSTRACT INTRODUCTION MANCHESTER ENCODED DATA (AS PER G.E. THOMAS)

AN1470. Manchester Decoder Using the CLC and NCO ABSTRACT INTRODUCTION MANCHESTER ENCODED DATA (AS PER G.E. THOMAS) Manchester Decoder Using the CLC and NCO Authors: ABSTRACT A Manchester decoder can be built using Microchip s award winning CLC (Configurable Logic Cell) blocks and NCO (Numerically Controlled Oscillator)

More information

TC1047/TC1047A. Precision Temperature-to-Voltage Converter. General Description. Applications. Block Diagram. Features.

TC1047/TC1047A. Precision Temperature-to-Voltage Converter. General Description. Applications. Block Diagram. Features. Precision Temperature-to-Voltage Converter Features Supply Voltage Range: - TC147: 2.7V to 4.4V - TC147A: 2.V to.v Wide Temperature Measurement Range: - -4 o C to +12 o C High Temperature Converter Accuracy:

More information

PICkit 3 Programmer/Debugger User s Guide

PICkit 3 Programmer/Debugger User s Guide PICkit 3 Programmer/Debugger User s Guide 2009 Microchip Technology Inc. DS51795A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

Uninstalling Incorrect USB Device Drivers

Uninstalling Incorrect USB Device Drivers DEVELOPMENT SYSTEMS Uninstalling Incorrect USB Device Drivers RECOMMENDED UNINSTALL METHODS When using the Microchip development tools listed below, trouble may be experienced as a result of incorrect

More information

MPLAB ICD 3 In-Circuit Debugger User s Guide For MPLAB X IDE

MPLAB ICD 3 In-Circuit Debugger User s Guide For MPLAB X IDE MPLAB ICD 3 In-Circuit Debugger User s Guide For MPLAB X IDE DS52081A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

MPLAB ICD 3 In-Circuit Debugger User s Guide

MPLAB ICD 3 In-Circuit Debugger User s Guide MPLAB ICD 3 In-Circuit Debugger User s Guide For MPLAB X IDE DS50002081B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

MPLAB REAL ICE In-Circuit Emulator User s Guide For MPLAB X IDE

MPLAB REAL ICE In-Circuit Emulator User s Guide For MPLAB X IDE MPLAB REAL ICE In-Circuit Emulator User s Guide For MPLAB X IDE 2013-2015 Microchip Technology Inc. DS50002085D Note the following details of the code protection feature on Microchip devices: Microchip

More information

AN1199. 1-Wire Communication with PIC Microcontroller INTRODUCTION. OVERVIEW OF THE 1-Wire BUS. 1-Wire Protocol. Prerequisites

AN1199. 1-Wire Communication with PIC Microcontroller INTRODUCTION. OVERVIEW OF THE 1-Wire BUS. 1-Wire Protocol. Prerequisites 1-Wire Communication with PIC Microcontroller Author: INTRODUCTION This application note introduces the user to the 1-Wire communication protocol and describes how a 1-Wire device can be interfaced to

More information

AN1325. mtouch Metal Over Cap Technology THEORY OF OPERATION INTRODUCTION CROSS SECTION OF METAL OVER CAPACITIVE (UNPRESSED)

AN1325. mtouch Metal Over Cap Technology THEORY OF OPERATION INTRODUCTION CROSS SECTION OF METAL OVER CAPACITIVE (UNPRESSED) mtouch Metal Over Cap Technology AN1325 Authors: INTRODUCTION Keith Curtis Dieter Peter Microchip Technology Inc. As a user interface, capacitive touch has several advantages: it is low power, low cost,

More information

WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD

WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD WORKSHOP-IN-A-BOX 2: LOW POWER SOLUTIONS DEMONSTRATION BOARD 2004 Microchip Technology Inc. DS51512A Note the following details of the code protection feature on Microchip devices: Microchip products meet

More information

MCP73X23 Lithium Iron Phosphate (LiFePO 4 ) Battery Charger Evaluation Board User s Guide

MCP73X23 Lithium Iron Phosphate (LiFePO 4 ) Battery Charger Evaluation Board User s Guide MCP73X23 Lithium Iron Phosphate (LiFePO 4 ) Battery Charger Evaluation Board User s Guide 2009 Microchip Technology Inc. DS51850A Note the following details of the code protection feature on Microchip

More information

AN1156. Battery Fuel Measurement Using Delta-Sigma ADC Devices INTRODUCTION REVIEW OF BATTERY CHARGING AND DISCHARGING CHARACTERISTICS

AN1156. Battery Fuel Measurement Using Delta-Sigma ADC Devices INTRODUCTION REVIEW OF BATTERY CHARGING AND DISCHARGING CHARACTERISTICS Battery Fuel Measurement Using Delta-Sigma ADC Devices Author: INTRODUCTION Youbok Lee, Ph.D. Microchip Technology Inc. The battery fuel status indicator is a common feature of the battery-supported handheld

More information

AN687. Precision Temperature-Sensing With RTD Circuits RTD OVERVIEW INTRODUCTION EQUATION 1:

AN687. Precision Temperature-Sensing With RTD Circuits RTD OVERVIEW INTRODUCTION EQUATION 1: Precision Temperature-Sensing With RTD Circuits Author: INTRODUCTION Bonnie C. Baker Microchip Technology Inc. The most widely measured phenomena in the process control environment is temperature. Common

More information

How To Use Microchip.Com

How To Use Microchip.Com PICkit 2 Programmer/Debugger User s Guide 2008 Microchip Technology Inc. DS51553E Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

MCP2200 USB to RS-232 Demo Board User s Guide

MCP2200 USB to RS-232 Demo Board User s Guide MCP2200 USB to RS-232 Demo Board User s Guide DS51901A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular

More information

MX PIC24F Educational Module User Manual

MX PIC24F Educational Module User Manual MX PIC24F Educational Module User Manual Revision History Date Description Initial release. Table of Contents 1. Introduction... 3 1.1. Package Contents... 3 1.2. Key Hardware Features... 4 2. Hardware

More information

AN1492. Microchip Capacitive Proximity Design Guide INTRODUCTION CAPACITIVE SENSING BASICS SENSING

AN1492. Microchip Capacitive Proximity Design Guide INTRODUCTION CAPACITIVE SENSING BASICS SENSING Microchip Capacitive Proximity Design Guide Author: INTRODUCTION Xiang Gao Microchip Technology Inc. Proximity detection provides a new way for users to interact with electronic devices without having

More information

PICkit 2 Microcontroller Programmer USER S GUIDE

PICkit 2 Microcontroller Programmer USER S GUIDE PICkit 2 Microcontroller Programmer USER S GUIDE 2007 Microchip Technology Inc. DS51553D Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

Integrated Development Environment

Integrated Development Environment Development Tools Integrated Development Environment Transforming Ideas Into Realities The typical product development life cycle is comprised of smaller cycles each representing an iterative process toward

More information

Resistive Temperature Detector (RTD) Reference Design

Resistive Temperature Detector (RTD) Reference Design Resistive Temperature Detector (RTD) Reference Design DS51891A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their

More information

PICkit 3 In-Circuit Debugger/Programmer User s Guide

PICkit 3 In-Circuit Debugger/Programmer User s Guide PICkit 3 In-Circuit Debugger/Programmer User s Guide For MPLAB X IDE DS52116A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

RN-131-PICTAIL & RN-171-PICTAIL Web-Server Demo Application

RN-131-PICTAIL & RN-171-PICTAIL Web-Server Demo Application RN-131-PICTAIL & RN-171-PICTAIL Web-Server Demo Application 2012 Roving Networks. All rights reserved. RN-131/171-PICTAIL-UM Version 1.0 1/8/2013 OVERVIEW The RN-131 and RN-171 WiFly radio modules are

More information

Integrated Development Environment

Integrated Development Environment Development Tools Integrated Development Environment Transforming Ideas Into Realities The typical product development life cycle is comprised of smaller cycles each representing an iterative process toward

More information

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Fondamenti su strumenti di sviluppo per microcontrollori PIC Fondamenti su strumenti di sviluppo per microcontrollori PIC MPSIM ICE 2000 ICD 2 REAL ICE PICSTART Ad uso interno del corso Elettronica e Telecomunicazioni 1 2 MPLAB SIM /1 MPLAB SIM is a discrete-event

More information

AN1543. Using MRF24W with PIC32 Internal Program Flash Memory For EZ_CONFIG_STORE ALTERNATIVE LOW-COST SOLUTIONS OVERVIEW SCOPE

AN1543. Using MRF24W with PIC32 Internal Program Flash Memory For EZ_CONFIG_STORE ALTERNATIVE LOW-COST SOLUTIONS OVERVIEW SCOPE Using MRF24W with PIC32 Internal Program Flash Memory For EZ_CONFIG_STORE Author: OVERVIEW This application note describes the EZ_CONFIG_STORE feature used in the Wi-Fi G Demo Board and TCPIP-WiFi EZConfig

More information

AN1275. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder KEY FEATURES OVERVIEW. Microchip Technology Inc.

AN1275. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder KEY FEATURES OVERVIEW. Microchip Technology Inc. KEELOQ with Advanced Encryption Standard (AES) Receiver/Decoder Author: OVERVIEW Enrique Aleman Microchip Technology Inc. This application note describes a KEELOQ with AES code hopping decoder implemented

More information

BE635 User Manual. Rev. V1.0. 2013-2014 Bolymin, Inc. All Rights Reserved.

BE635 User Manual. Rev. V1.0. 2013-2014 Bolymin, Inc. All Rights Reserved. BE635 User Manual Rev. V1.0 2013-2014 Bolymin, Inc. All Rights Reserved. Copyright Copyright 2013-2014 BOLYMIN, INC. All rights reserved. No part of the materials may be reproduced, copied or translated

More information

MCP2515 CAN Bus Monitor Demo Board User s Guide

MCP2515 CAN Bus Monitor Demo Board User s Guide MCP2515 CAN Bus Monitor Demo Board User s Guide 2008 Microchip Technology Inc. DS51757A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or APPLICATION NOTE Atmel AVR32848: Android Accessory Demo 32-bit Atmel Microcontrollers Features Control an accessory from an Android device Send data to and from an Android device to an accessory Supported

More information

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards 2012 Roving Networks. All rights reserved. Version 1.0 9/7/2012 USER MANUAL OVERVIEW The RN-131 and RN-171 WiFly radio modules are complete, standalone

More information

MCP14A0151/2. 1.5A MOSFET Driver with Low Threshold Input And Enable. Features. General Description. Applications. Package Types

MCP14A0151/2. 1.5A MOSFET Driver with Low Threshold Input And Enable. Features. General Description. Applications. Package Types 1.5A MOSFET Driver with Low Threshold Input And Enable Features High Peak Output Current: 1.5A (typical) Wide Input Supply Voltage Operating Range: - 4.5V to 18V Low Shoot-Through/Cross-Conduction Current

More information

PICkit 3 Programmer/Debugger User s Guide

PICkit 3 Programmer/Debugger User s Guide PICkit 3 Programmer/Debugger User s Guide DS51795B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained in their particular

More information

LIN Serial Analyzer User s Guide Rev2.0

LIN Serial Analyzer User s Guide Rev2.0 LIN Serial Analyzer User s Guide Rev2.0 2008 Microchip Technology Inc. DS51675B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

MPLAB XC8 GETTING STARTED GUIDE. MPLAB XC8 Getting Started Guide

MPLAB XC8 GETTING STARTED GUIDE. MPLAB XC8 Getting Started Guide MPLAB XC8 GETTING STARTED GUIDE MPLAB XC8 Getting Started Guide This document provides a starting point for programmers who are just starting out with the MPLAB XC8 C Compiler, particularly those who are

More information

USER GUIDE EDBG. Description

USER GUIDE EDBG. Description USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel

More information

Features, Value and Benefits of Digital Control for Power Supplies

Features, Value and Benefits of Digital Control for Power Supplies Author: INTRODUCTION Sagar Khare Microchip Technology Inc. Control of Switch Mode Power Supplies (SMPSs) has traditionally been a purely analog domain. The advent of low-cost, high-performance Digital

More information

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc. SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance

More information

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) (

How To Program A Microcontroller Board (Eb064) With A Psp Microcontroller (B064-74) With An Ios 2.5V (Power) And A Ppt (Power Control) (Power Supply) ( dspic / PIC24 Multiprogrammer datasheet EB064-00 00-1 Contents 1. About this document... 2 2. General information... 3 3. Board layout... 4 4. Testing this product... 5 5. Circuit description... 6 Appendix

More information

TC7660. Charge Pump DC-to-DC Voltage Converter. Package Types. Features. General Description. Applications. Functional Block Diagram TC7660

TC7660. Charge Pump DC-to-DC Voltage Converter. Package Types. Features. General Description. Applications. Functional Block Diagram TC7660 Charge Pump DC-to-DC Voltage Converter Features Wide Input Voltage Range:.V to V Efficient Voltage Conversion (99.9%, typ) Excellent Power Efficiency (9%, typ) Low Power Consumption: µa (typ) @ V IN =

More information

Timers: Timer0 Tutorial (Part 1)

Timers: Timer0 Tutorial (Part 1) Timers: Timer0 Tutorial (Part 1) 2007 Microchip Technology Inc. DS51682A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification contained

More information

PICkit TM 2 Microcontroller Programmer USER S GUIDE

PICkit TM 2 Microcontroller Programmer USER S GUIDE PICkit TM 2 Microcontroller Programmer USER S GUIDE 2006 Microchip Technology Inc. DS51553B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

Processor Extension Pak and Header Specification

Processor Extension Pak and Header Specification Processor Extension Pak and Header Specification NOTICE TO CUSTOMERS All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet

More information

EasyPIC4 User s Manual

EasyPIC4 User s Manual SOFTWARE AND HARDWARE SOLUTIONS FOR THE EMBEDDED WORLD MikroElektronika - Books - Compilers User s Manual PIC MICROCHIP DEVELOPMENT BOARD 3in1 mikro IN-CIRCUIT DEBUGGER USB 2.0 IN-CIRCUIT PROGRAMMER With

More information

1.5A Dual MOSFET Driver with Low Threshold Input And Enable MCP14A0155 8 7 OUT A OUT A OUT A IN A GND IN B

1.5A Dual MOSFET Driver with Low Threshold Input And Enable MCP14A0155 8 7 OUT A OUT A OUT A IN A GND IN B 1.5A Dual MOSFET Driver with Low Threshold Input And Enable Features High Peak Output Current: 1.5A (typical) Wide Input Supply Voltage Operating Range: - 4.5V to 18V Low Shoot-Through/Cross-Conduction

More information

PIC18F26K20/46K20 Rev. B2/B3/B5/B6 Silicon Errata and Data Sheet Clarification

PIC18F26K20/46K20 Rev. B2/B3/B5/B6 Silicon Errata and Data Sheet Clarification PIC18F26K20/46K20 Rev. B2/B3/B5/B6 Silicon Errata and Data Sheet Clarification The PIC18F26K20/46K20 family devices that you have received conform functionally to the current Device Data Sheet (DS41303G),

More information

ZENA Wireless Network Analyzer User s Guide

ZENA Wireless Network Analyzer User s Guide ZENA Wireless Network Analyzer User s Guide 2008 Microchip Technology Inc. DS51606C Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

M68EVB908QL4 Development Board for Motorola MC68HC908QL4 M68EVB908QL4 Development Board for Motorola MC68HC908QL4! Axiom Manufacturing 2813 Industrial Lane Garland, TX 75041 Email: Sales@axman.com Web: http://www.axman.com! CONTENTS CAUTIONARY NOTES...3 TERMINOLOGY...3

More information

AN1332. Current Sensing Circuit Concepts and Fundamentals CURRENT SENSING RESISTOR INTRODUCTION. Description. Microchip Technology Inc.

AN1332. Current Sensing Circuit Concepts and Fundamentals CURRENT SENSING RESISTOR INTRODUCTION. Description. Microchip Technology Inc. Current Sensing Circuit Concepts and Fundamentals Author: INTRODUCTION Yang Zhen Microchip Technology Inc. Current sensing is a fundamental requirement in a wide range of electronic applications. Typical

More information

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD Quick Start Guide MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD Quick Start Guide Get to Know the MRB-KW01x Module UART Selector ANT 1 RFIO (TX/RX) USB 2.0 Serial

More information

PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description

PICNet 1. PICNet 1 PIC18 Network & SD/MMC Development Board. Features. Applications. Description Features PICNet 1 PIC18 Network & SD/MMC Development Board IC Sockets for 28 or 40-pin Microchip PIC18F Microcontrollers IC Socket for 8-pin serial EEPROM Multiple MCU Oscillator sources Full 10BaseT IEEE

More information

AN1265. KEELOQ with AES Microcontroller-Based Code Hopping Encoder INTRODUCTION DUAL ENCODER OPERATION BACKGROUND FUNCTIONAL INPUTS AND

AN1265. KEELOQ with AES Microcontroller-Based Code Hopping Encoder INTRODUCTION DUAL ENCODER OPERATION BACKGROUND FUNCTIONAL INPUTS AND KEELOQ with AES Microcontroller-Based Code Hopping Encoder Authors: INTRODUCTION This application note describes the design of a microcontroller-based KEELOQ Hopping Encoder using the AES encryption algorithm.

More information

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL w w w. c d v g r o u p. c o m CA-ETHR-A: TCP/IP Module Installation Manual Page Table of Contents Introduction...5 Hardware Components... 6 Technical Specifications...

More information

Selecting the MCU Memory Technology That s Right for You

Selecting the MCU Memory Technology That s Right for You ROM Microcontrollers Selecting the MCU Memory Technology That s Right for You Seamless Migration From To ROM www.microchip.com Many Applications Require Flexible Solutions Selecting only one microcontroller

More information

Lab Experiment 1: The LPC 2148 Education Board

Lab Experiment 1: The LPC 2148 Education Board Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,

More information

MPLAB Starter Kit for dspic Digital Signal Controllers User s Guide

MPLAB Starter Kit for dspic Digital Signal Controllers User s Guide MPLAB Starter Kit for dspic Digital Signal Controllers User s Guide 2010 Microchip Technology Inc. DS51700B Note the following details of the code protection feature on Microchip devices: Microchip products

More information

dspic Digital Signal Controllers

dspic Digital Signal Controllers dspic Digital Signal Controllers Spring 2011 dspic Digital Signal Controllers Digital Signal Controller Solutions Building on the legacy of Microchip s world-leading 8-bit PIC microcontrollers, 16-bit

More information

MCP2515 CAN Bus Monitor Demo Board User s Guide

MCP2515 CAN Bus Monitor Demo Board User s Guide MCP255 CAN Bus Monitor Demo Board User s Guide 2008-204 Microchip Technology Inc. DS5000757B Note the following details of the code protection feature on Microchip devices: Microchip products meet the

More information

An Introduction to MPLAB Integrated Development Environment

An Introduction to MPLAB Integrated Development Environment An Introduction to MPLAB Integrated Development Environment 2004 Microchip Technology Incorporated An introduction to MPLAB Integrated Development Environment Slide 1 This seminar is an introduction to

More information

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram

PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools

More information

AN1465. Digitally Addressable Lighting Interface (DALI) Communication TERMINOLOGY PHYSICAL LAYER DALI FREE-FORM LAYOUT. Topology FIGURE 1:

AN1465. Digitally Addressable Lighting Interface (DALI) Communication TERMINOLOGY PHYSICAL LAYER DALI FREE-FORM LAYOUT. Topology FIGURE 1: Digitally Addressable Lighting Interface (DALI) Communication Author: Shaima Husain Microchip Technology Inc. The Digitally Addressable Lighting Interface (DALI) has emerged as a standard in Europe to

More information

MGC3130 Hillstar Development Kit User s Guide

MGC3130 Hillstar Development Kit User s Guide MGC3130 Hillstar Development Kit User s Guide 2013 Microchip Technology Inc. DS40001721A Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM-.01. www.rovingnetworks.com 1 RN-WIFLYCR-UM-.01 RN-ISP-UM In-System Programmer 2012 Roving Networks. All rights reserved. Version 1.1 1/19/2012 USER MANUAL www.rovingnetworks.com 1 OVERVIEW You use Roving Networks In-System-Programmer

More information

Analog-to-Digital Converters

Analog-to-Digital Converters Analog-to-Digital Converters In this presentation we will look at the Analog-to-Digital Converter Peripherals with Microchip s midrange PICmicro Microcontrollers series. 1 Analog-to-Digital Converters

More information

USB / Data-Acquisition Module NOW LEAD-FREE

USB / Data-Acquisition Module NOW LEAD-FREE USB / Data-Acquisition Module NOW LEAD-FREE DLP-TEMP-G Features: Digital I/Os, Analog Inputs (0- Volts) or any combination USB. and.0 Compatible Interface th Generation Silicon from FTDI Supports Up To

More information

Tutorial for MPLAB Starter Kit for PIC18F

Tutorial for MPLAB Starter Kit for PIC18F Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is

More information

AN1353. Op Amp Rectifiers, Peak Detectors and Clamps INTRODUCTION BASIC RECTIFIERS. Choosing the Components. Positive Half-Wave Rectifier.

AN1353. Op Amp Rectifiers, Peak Detectors and Clamps INTRODUCTION BASIC RECTIFIERS. Choosing the Components. Positive Half-Wave Rectifier. Op Amp Rectifiers, Peak Detectors and Clamps Author: Dragos Ducu, Microchip Technology Inc. INTRODUCTION This application note covers a wide range of applications, such as halfwave rectifiers, fullwave

More information

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB

DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB DsPIC HOW-TO GUIDE Creating & Debugging a Project in MPLAB Contents at a Glance 1. Introduction of MPLAB... 4 2. Development Tools... 5 3. Getting Started... 6 3.1. Create a Project... 8 3.2. Start MPLAB...

More information

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player

How To Use A Watt Saver On A Microcontroller (Watt Saver) On A Cell Phone Or Mp3 Player Watt Saver for a Cell Phone AC Adapter Reference Design Document Number: DRM130 Rev 1, 10/2013 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction 1.1 Overview...5

More information

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc.

AN905. Brushed DC Motor Fundamentals INTRODUCTION PRINCIPLES OF OPERATION. Stator. Rotor SIMPLE TWO-POLE BRUSHED DC MOTOR. Microchip Technology Inc. Brushed DC Motor Fundamentals AN905 Author: Reston Condit Microchip Technology Inc. INTRODUCTION Brushed DC motors are widely used in applications ranging from toys to push-button adjustable car seats.

More information

ZENA Wireless Network Analyzer User s Guide

ZENA Wireless Network Analyzer User s Guide ZENA Wireless Network Analyzer User s Guide 2007 Microchip Technology Inc. DS51606B Note the following details of the code protection feature on Microchip devices: Microchip products meet the specification

More information

AN4128 Application note

AN4128 Application note Application note Demonstration board for Bluetooth module class 1 SBT2632C1A.AT2 Introduction This document describes the STEVAL-SPBT4ATV3 demonstration board (dongle) for the Bluetooth class 1 SPBT2632C1A.AT2

More information

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM TWR-MECH Mechatronics Board TOWER SYSTEM Get to Know the Tower Mechatronics Board Primary Connector / Switch MCF52259 Connectors for Up to Eight Servos SW4 (Reset) USB OTG 5V Supply Touch Panel Socket

More information

2K SPI Bus Serial EEPROMs with EUI-48 or EUI-64 Node Identity

2K SPI Bus Serial EEPROMs with EUI-48 or EUI-64 Node Identity 2K SPI Bus Serial EEPROMs with EUI-48 or EUI-64 Node Identity Device Selection Table Part Number VCC Range Page Size Temp. Ranges Packages Node Address 25AA02E48 1.8-5.5V 16 Bytes I SN, OT EUI-48 25AA02E64

More information

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,

More information

TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0

TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0 TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0 Freescale TWR-KV31F120M Sample Code Guide for IAR KL25_LAB Contents 1 Purpose... 3 2 Getting to know the

More information

AN1066. Microchip MiWi Wireless Networking Protocol Stack INTRODUCTION CONSIDERATIONS TERMINOLOGY FEATURES

AN1066. Microchip MiWi Wireless Networking Protocol Stack INTRODUCTION CONSIDERATIONS TERMINOLOGY FEATURES Microchip MiWi Wireless Networking Protocol Stack Author: INTRODUCTION Implementing applications with wireless networking is now common. From consumer devices to industrial applications, there is a growing

More information

AN1212. Using USB Keyboard with an Embedded Host INTRODUCTION. USB Keyboard Overview. USB Keyboard with an Embedded Host USB KEYBOARD OUTPUT REPORT

AN1212. Using USB Keyboard with an Embedded Host INTRODUCTION. USB Keyboard Overview. USB Keyboard with an Embedded Host USB KEYBOARD OUTPUT REPORT Using USB Keyboard with an Embedded Host Author: INTRODUCTION Amardeep Gupta Microchip Technology Inc. Microcontroller applications can easily support USB embedded host functionality with the introduction

More information

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1922: Xplain Board Controller Firmware Features USB interface - Mass-storage to on-board DataFlash memory Atmel AVR XMEGA TM reset control 1 Introduction The Xplain board controller, an AT90USB1287,

More information

User Manual. AS-Interface Programmer

User Manual. AS-Interface Programmer AS-Interface Programmer Notice: RESTRICTIONS THE ZMD AS-INTERFACE PROGRAMMER HARDWARE AND ZMD AS-INTERFACE PROGRAMMER SOFTWARE IS DESIGNED FOR IC EVALUATION, LABORATORY SETUP AND MODULE DEVELOPMENT ONLY.

More information

BLE113 DEVELOPMENT KIT

BLE113 DEVELOPMENT KIT BLE113 DEVELOPMENT KIT QUICK START Thursday, 14 March 2013 Version 1.5 Copyright 2000-2013 Bluegiga Technologies Bluegiga Technologies reserves the right to alter the hardware, software, and/or specifications

More information

FlowKit in-circuit debug system

FlowKit in-circuit debug system FlowKit in-circuit debug system www.matrixmultimedia.com HP299 Contents About this document 3 Board layout 3 General information 4 Detailed operation 4 Circuit diagram 7 2 Copyright About this document

More information

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual Copyright 2007 SofTec Microsystems DC01197 We want your feedback! SofTec Microsystems is always on

More information

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A

Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A Application Note Implementing SPI Master and Slave Functionality Using the Z8 Encore! F083A AN026701-0308 Abstract This application note demonstrates a method of implementing the Serial Peripheral Interface

More information

AN-812 APPLICATION NOTE

AN-812 APPLICATION NOTE AN- APPLICATION NOTE One Technology Way P.O. Box 90 Norwood, MA 00-90, U.S.A. Tel: 7.9.700 Fax: 7.. www.analog.com Microcontroller-Based Serial Port Interface (SPI ) Boot Circuit by Alfredo Barriga INTRODUCTION

More information

How To Develop A Toolstick

How To Develop A Toolstick TOOLSTICK BASE ADAPTER USER S GUIDE 1. Handling Recommendations To enable development, the ToolStick Base Adapter and daughter cards are distributed without any protective plastics. To prevent damage to

More information

18060 IVN Interfacing with Vehicle Networks: Best Practices

18060 IVN Interfacing with Vehicle Networks: Best Practices 18060 IVN Interfacing with Vehicle Networks: Best Practices 2014 Microchip Technology Incorporated. All Rights Reserved. Interfacing with Vehicle Networks: Best Practices Slide 1 Agenda Introduction to

More information

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information

MFRD52x. Mifare Contactless Smart Card Reader Reference Design. Document information Rev. 2.1 17. April 2007 Preliminary Data Sheet Document information Info Keywords Content MFRC522, MFRC523, MFRC52x, MFRD522, MFRD523, Mifare Contactless Smart Card Reader Reference Design, Mifare Reader

More information