28-PIN LIN DEMO BOARD
USERS GUIDE
© 2009 Microchip Technology Inc. DSxxxxx-page 4
Chapter 1. 28-Pin LIN Demo Board Overview
1.1 INTRODUCTION
The 28-Pin LIN Demo Board is a small and simple demonstration PCB for Microchip’s
28-pin Dual Inline Package (DIP) PIC
®
Microcontroller Units (MCU). It is populated with
a PIC16F886 MCU, a MCP2021 LIN Transceiver with voltage regulator, four LEDs, 2
push buttons and a potentiometer. The demo board has several test points to access
the I/O pins of the MCU and a generous prototyping area. The MCU can be
programmed with the PICkit™ 2 Microcontroller Programmer or the MPLAB
®
ICD 2
using the RJ-11 to 6-pin inline adapter (AC164110).
1.2 HIGHLIGHTS
This chapter discusses:
28-Pin LIN Demo Board Supported Devices
The 28-Pin LIN Demo Board Overview
Running the Default Demonstration
1.3 28-PIN LIN DEMO BOARD SUPPORTED DEVICES
The 28-Pin LIN Demo Board can be used with virtually any 28-pin Dual Inline Package
(DIP) PIC MCU. The assembled 28-Pin LIN Demo Board is populated with a
PIC16F886-I/P microcontroller.
Additional 28-Pin LIN Demo Boards can be ordered from Microchip Technology and
distributors. Part number, DM164120-3, comes with one assembled and two blank
28-Pin LIN Demo Boards. The blank demo board can be used for evaluating or proto-
typing circuits using any of the 28-pin devices listed below.
PIC16CR63 PIC16F913 PIC18F2510
PIC16CR76 PIC16F916 PIC18F2520
PIC16C63A PIC18F2515
PIC16C745 PIC18F2523
PIC16C773 PIC18F2220 PIC18F2525
PIC18F2221 PIC18F2550
PIC16F737 PIC18F2320 PIC18F2580
PIC16F767 PIC18F2321 PIC18F2585
PIC16F870 PIC18F2331 PIC18F2610
PIC16F872 PIC18F2410 PIC18F2620
PIC16F873A PIC18F2420 PIC18F2680
PIC16F876A PIC18F2423 PIC18F2682
PIC16F882 PIC18F2431 PIC18F2685
PIC16F883 PIC18F2450 PIC18F24J10
PIC16F886 PIC18F2455 PIC18F25J10
PIC18F2480
28-Pin LIN Demo Board Overview
© 2009 Microchip Technology Inc. DSxxxxx-page 5
1.4 28-PIN LIN DEMO BOARD OVERVIEW
The 28-Pin LIN Demo Board is populated with a PIC16F886 MCU (U1), a MCP2021
LIN Transceiver with Voltage Regulator (U2), four LEDs (DS1-DS4), Two push buttons
(SW1 and SW2), 32 KHz crystal (X2) and potentiometer (RP1). The board layout is
shown in Figure 1-1. The demo board has several test points to access the I/O pins of
the MCU and a generous prototyping area. The MCU can be programmed with the
PICkit™ 2 Microcontroller Programmer from header P1.
FIGURE 1-1: 28-PIN LIN DEMO BOARD
1.5 RUNNING THE DEFAULT DEMONSTRATION
The assembled 28-Pin LIN Demo Board comes preprogrammed with a demonstration
program. To use this program, power the demo board (9.0-18.0 V
DC) using a LIN
Network Analyzer and/or a bench power supply connected to header P3 or P4. To use
the PICkit™ 2 Microcontroller Programmer, connect it to a PC USB port using the USB
cable. The demo board will blink the LEDs in the Reset pattern. The Reset pattern
consists of three different LED blink patterns. First, the LEDs will “ping pong” (LED1, 2,
3 and 4, then LED 4, 3, 2 and 1). Second, the LEDs will blink on and off in unison. Third,
the LEDs will perform the ADC display where values 0x0A, 0x0D and 0x0C display in
sequence followed by the Most Significant 4 bits of the ADC result measuring channel
1, which is the on-board potentiometer. After this sequence, the EAUSART is initialized
for LIN communcation.
Sending an ID of 0x2F will request a four-byte data response as follows:
Data byte 1 = ADC result
Push Button
Potentiometer
PICkit™ 2 or 3
LEDs DS1-DS4
RP1
Programming Header
SW1
Generous
LIN Analyzer
Connectors
Aux Power
Connector
Crystal
Mounting Pads
32 KHz Crystal
Prototyping
Area
Push Button
SW2
GND
LIN
+9-18V
28-Pin LIN Demo Board User’s Guide
DSxxxxx-page 6 © 2009 Microchip Technology Inc.
Data byte 2 = (bit 5 = SW1, bit 4 = SW2, bit 3:0 LEDS
Data byte 3 = 0 (not used)
Data byte 4 = 0 (not used)

DM164130-3

Mfr. #:
Manufacturer:
Microchip Technology
Description:
Development Boards & Kits - PIC / DSPIC PICkit 28-Pin LIN Demo Board
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet