PICGraph Demoboard www.lpelettronica.it Doc. Rev.0 (10/01/11) Features • • • • • • • • PIC16F876A – 20MHz Demoboard. Support for Graphic Display 128x64 (LGM12864B). On-Board PIC programmer. Serial RS232 communication and programming. Keyboard Keys for user input. Expansion Connector. A/D Converter. Digital Input/Ouput lines. Description PICGraph is a PIC16F876A-20MHz demoboard with direct support for graphic LCD display 128x64 (model LGM12864B) that enables users to develop their own graphical applications in a short time. Text, images and geometrical curves can be displayed, creating nice menus, alert screenshots, measurement instruments user interface, etc. PICGraph is also equipped with other general purpose peripherals: 3 keys for user input (for example for moving in graphic menus), expansion connector with A/D line for analog signal sampling (for example to make any measurement instrument) and digital Input/Output lines, RS232 port for serial communication and programming. In-Circuit programming of PIC16F876A microcontroller makes possible programming and testing of the firmware without removing the microcontroller from its place, reducing development time. It is also available a special ICSP connector with all the In-Circuit programming signals that can be used to program PIC16F876A microcontrollers on other boards, so PICGraph can be used also as a general purpose programmer. PICGraph Demoboard www.lpelettronica.it Layout and Dimensions Figure 1 – Board layout and dimensions (Top View) Jumper Configuration JUMPER Status Open Shorted Description RS232 port is used for In-Circuit Serial Programming (ICSP). This mode is typically used to program a bootloader on a new microcontroller. RS232 port is used for serial communication with microcontroller. Table 1 – Jumper configuration 1 PICGraph Demoboard www.lpelettronica.it Expansion Connector Pin Name RA4 RA5 RC0 RC1 RC2 RC3 5V GND Pin Functions Digital I/O line. Digital I/O line – A/D line. Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Positive 5V supply for external circuits. Ground terminal for external circuits. Table 2 – Expansion Connector description Display Connector Pin Name RB7 RB6 RB5 RB4 RC4 RB2 RB1 RB0 RC5 RA0 RA1 5V GND RA2 RA3 Pin Functions Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Digital I/O line. Positive 5V supply for external circuits. Ground terminal for external circuits. Digital I/O line. Digital I/O line. Table 3 – Display Connector description 2 PICGraph Demoboard www.lpelettronica.it ICSP Connector Pin Name 5V GND PGD PGC LVP Pin Functions Positive 5V supply for external circuits. Ground terminal for external circuits. Programming Data signal for external circuits. Programming Clock signal for external circuits. Programming Low-Voltage-Programming signal for external circuits. Table 4 – ICSP Connector description Schematic Figure 2 – Board schematic 3