0% found this document useful (0 votes)
188 views17 pages

Easy Pic 40

EasyPic40 user manual

Uploaded by

yo9hnf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
188 views17 pages

Easy Pic 40

EasyPic40 user manual

Uploaded by

yo9hnf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

easyPIC 40™ Development Board Users Manual

To our valued customers


I want to express my thanks to you for being interested in our products and for having confidence in LogiFind
International CO,. Ltd..The primary aim of our company is to design and produce high quality electronic products
and to constantly improve the performance thereof in order to better suit your needs.

Please share your thoughts and feelings regarding our operation so that we can serve you better in the future. I
thank you for your continued support and patronage.
Your Dream is our Destination!

The Microchip, TI,Freescale,ST,Atmel,Silicon and CYPRESS name, logo and products names are trademarks of
Microchip, TI,Freescale,ST,Atmel,Silicon and CYPRESS Inc. in the U.S.A. and other countries.

Sincerely,

Owner and General Manager


of LogiFind International CO,. Ltd.

www.LogiFind.com 1
easyPIC 40™ Development Board Users Manual
CONTENTS
Chapter 1: Introduction .......................................................................................................................................... 3
1.1.What is easyPIC 40™? ................................................................................................................................... 3
1.1.
1.2.Appliance
1.2. .......................................................................................................................................................... 3
1.3.Power
1.3. supply .................................................................................................................................................... 3
1.4.Programmer/Debugger Requirement .............................................................................................................. 3
1.5.What’s on board .............................................................................................................................................. 3
1.5.
Chapter 2: Functional Modules Details ................................................................................................................. 4
2.1 Power supply and USB Module ................................................................................................................ 4
2.2 Small System for DIP40 PICs ................................................................................................................... 4
2.3 Six Digit 7 seg Display Module ................................................................................................................. 5
2.4 8 LEDs Module ....................................................................................................................................... 5
2.5 4*4 Matrix Keys Board .......................................................................................................................... 6
2.6 Joystick Module ......................................................................................................................................... 6
2.7 Stepper Motor and Buzzer Module driven by ULN2003A .................................................................... 7
2.8 DS18B20/Remote/ADC Modules .............................................................................................................. 8
2.9 Real Time Clock/EEPROM Module ........................................................................................................ 9
2.10 SD/MMC Card Module ..........................................................................................................................11
2.11 RS232 to TTL Converter communication Module ............................................................................. 12
2.12 LCD 2x16 characters display Module(Socket) .................................................................................... 12
2.13 GLCD 128x64 display Module(Socket) ................................................................................................ 13
2.14 ICSP Programming Port ....................................................................................................................... 14
2.15 System Reset ........................................................................................................................................... 15
Schematic ............................................................................................................................................................. 16
Contact Us ............................................................................................................................................................ 16
Disclaimer ............................................................................................................................................................... 17

www.LogiFind.com 2
easyPIC 40™ Development Board Users Manual
Chapter 1: Introduction
1.1.What is easyPIC 40™?
1.1.
The easyPIC540 is a demonstration and development platform for Microchip’s 8/165bit microcontrollers with
40PINOUTs. The board provides a platform to highlight this new family’s benchmark for lower power
consumption and high5performance operation. It includes the development board, the User’s guide and demos.
The easyPIC540 together with online debugger ICD2/KIT2/ KIT3 produced by Microchip, can bring you a
multiplier benefit.
1.2.Appliance
1.2.
The easyPIC540 represents a development system which can be used as a stand5alone device. it has many users
among students, hobbyists, enthusiasts and professionals. And it is ideal for low5cost experimenting and final
product design.
1.3.Power supply
1.3.
For connection with a power supply source the easyPIC540 uses a Jack EX5PWR. The power supply voltage level
can vary from +7510V DC.
1.4. Programmer/Debugger Requirement
An external PIC programmer or Debugger is required to download code to the DIP540 PICs on the board.It
supports many Programmers or Debuggers like PICKIT2,PICKIT3 or ICD2 etc.
1.5.What’s on board
1.5.

www.LogiFind.com 3
easyPIC 40™ Development Board Users Manual
Chapter 2: Functional Modules Details
2.1 Power supply and USB Module
POWER(7510 V)
2 ON
USB /P OW ER

POWERSW
GND
1 D1
VCC

DATA+
DATA5
GND

FUSE
VCC
OFF

5
L7 805

6
4
3
2
1
5
1 3
Vin +5 V
C7 C8
+

GND
10 4

PWR
R C4
47 0u
R C5
2

3.3V LM1 117 53 .3


2 3 R2
VOUT VIN 5V C2 10 4
1K 5V
C6 C5 C4 C3
+ +
GND

10 4 10 4
10 u 10 u

VCC
1

VCC
5V 3.3V
3
2
1
J2
POWER/USB
The easyPIC540 is powered with +(7510)VDC from “POWER” JACK connector or from USB connector. Current
consumption from power supply is typical around 100mA with shipped easyPIC540 demo code.The L7805 and
LM111753.3V chip provides 5.0V and 3.3V for the system.The USB port is for USB communication and power.
2.2 Small System for DIP40 PICs
PIC5DIP40
MC LR 1 40 R B7
C17 10 4 MC LR VP P/THV R B7 /P GD
VCC R A0 2 39 R B6
R A0 /AN0 R B6 /P GC
R A1 3 38 R B5
R A1 /AN1 R B5
R A2 4 37 R B4
C 18 10 4 R A2 /AN2/VR EF 5 R B4
VCC R A3 5 36 R B3
R A3 /AN3/VR EF + RB3 /P GM
R A4 6 35 R B2
R A4 /T0C KI R B2
C 15 R A5 7 34 R B1
R A5 /AN4/SS R B1
OSC 1 R E0 8 33 R B0
R E0/R D/AN5 R B0 /INT
R E1 9 32
R E1/WR /AN6 VDD
22 p R E2 10 31
R E2/C S/AN7 VSS VCC
11 30 R D7
VCC VDD RD7 /P SP7
12 29 R D6
VSS RD6 /P SP6
Y1 13 28 R D5
OSC1/CLKIN RD5 /P SP5
OSC 2 14 27 R D4
OSC2/CLKOUT RD4 /P SP4
R C0 15 26 R C7
R C0 /T1OSO/T1CKIR C7 /RX/DT
R C1 16 25 R C6
R C1 /T1OSI/C CP2 R C6 /TX/C K
C 16 R C2 17 24 R C5
R C2 /C C P1 R C5 /S DO
R C3 18 23 R C4
R C3 /S CK/SCL R C4 /S DI/SDA
C 27 R D0 19 22 R D3
R D0 /P SP0 RD3 /P SP3
22 p R D1 20 21 R D2
10 4 R D1 /P SP1 RD2 /P SP2
USB _EN

2 J12 J13
1 Microcontroller
The board contains DIP40 socket for 16F/18F MCUs with 40 PINs.The easyPIC40 development system comes
with the PIC16F877A microcontroller in a DIP40 package by default.It equipes a socket allow you change
different crystal very easily.The 2p Jumper USB_EN is for enabling the USB connection,but it is only available
for the microcontrollers with USB function inside,like PIC18F4550.

www.LogiFind.com 4
easyPIC 40™ Development Board Users Manual
2.3 Six Digit 7 seg Display Module
SW 9
75SEGMENT
J10
R D0 ON R 33
R D1 ON R 34
R D2 ON R 35
R D3 ON R 36
R D4 ON R 37
R D5 ON R 38
R D6 ON R 39
R D7 ON R 40

11
14

12
13
7

4
5
6
75SEGMENT
DS1 DS2 DS3 DS4

E
DP

F
G

A
C
B
R D0
VCC
VCC Q1 VCC Q2 VCC Q3 VCC Q4
90 15 90 15 90 15
R A1 R A0

DS1

DS2

DS3

DS4

DS5

DS6
1

10

8
DS1

DS2

DS3

DS4

DS5

DS6
SW 10
J11
R A0 ON R41
R A1 ON R42 VCC VCC
R A2 ON R43
R A3 ON R44
R A4 ON R45 Q6 Q5
R A5 ON R46 90 15 90 15

DS5 DS6

One seven segment digit consist of 7+1 LEDs which are arranged in a specific formation which can be used to
represent digits from 0 to 9 and even some letters. One additional LED is used for marking the decimal dot, in
case you want to write a decimal point in the desired segment. The easyPIC540 contains six of these digits put
together to form 65digit 75segment display. Driving such a display is done using multiplexing techniques. Data
lines are shared between segments, and therefore the same segment LEDs in each digit are connected in parallel.
Each digit has it’s unique digit select line, which is used to enable the digit to which the data is currently being
sent. By multiplexing data through all six segments fast enough, you create an illusion that all six segments are in
operation simultaneously. This is possible because human eye has a slower reaction time than the mention changes.
This way you can represent numbers in decimal or hexadecimal form. Eight data lines that are common for all the
digits are connected to PORTD, and digit select lines are connected to RA0– RA5 lines on the microcontroller
sockets.
To enable digit select lines for the 65digit 75segment display you have to turn on SW9 and SW10 switches. Digit
select lines are connected to PA0 – PA5 pins on the microcontroller sockets, while data lines are connected to RD0
– RD7 pins. Make sure to disconnect other peripherals from the interface lines in order not to interfere with
signal/data integrity.

2.4 8 LEDs Module


The board equipes 8 LEDs for OUTPUT test.All LEDs are connected to RD PORT.We have also provided an
additional PORT headers J4 on the near side of the SW3, so you can access any pin you want from both sides of
the board and make it easily to use this module for other development board.

In this example application,you only need to turn the “SW3” on.

www.LogiFind.com 5
easyPIC 40™ Development Board Users Manual
R 14 L8
1K
R 13 L7
SW 3
1K J4
R 12 R D7
L6 ON
R D6
ON
1K R D5
ON
R 11 R D4
L5 ON
R D3
ON
1K R D2
R 10 ON
L4 R D1
ON
R D0
1K ON
R9 L3
1K
R8 L2
1K
R7 L1
1K LEDs

2.5 4*4 Matrix Keys Board


VCC

R 22 R 23 R 24 R 25 R 26 R 27 R 28 R 29
10 K 10 K 10 K 10 K 10 K 10 K 10 K 10 K
C OL4

C OL3
C OL2

C OL1

R OW4
R OW3

R OW2
R OW1

R B3
R B2
R B1
R B0
R B7
R B6
R B5
R B4
KEY1 KEY2 KEY3 KEY4

SW6
KEY5 KEY6 KEY7 KEY8
ON
ON
ON
ON
ON
ON
ON
ON
R OW4
R OW3
R OW2
R OW1
C OL4
C OL3
C OL2
C OL1

KEY9 KEY10 KEY11 KEY12

KEY13 KEY14 KEY15 KEY16 J7

The easyPIC540 contains 4*4 matrix key board for I/O input test,which has 8 up5pull resistors to ensure the
stability of voltage level of data online.In this example application,you need to turn the “SW6”, “SW9”and
“SW10” on.The 6 digit 75segment LED will display the key value of the keyboard.Prior to using this Module in
your application,make sure to disconnect other unused peripherals, LEDs and additional pull5up or pull5down
resistors from the interface lines in order not to interfere with signal/data integrity.

2.6 Joystick Module

www.LogiFind.com 6
easyPIC 40™ Development Board Users Manual
J6 SW 5 Joystick
R IGHT R B4
ON
UP R B3
ON
LEFT R B2
ON
C TR R B1
ON
DOW N R B0
ON

Joy stick
VCC
R 21 DOW N1 4 R IGHT R 17
A B
R 20 C TR 2 5
VCC C TR C OM R 18
R 19 LEFT 3 6 UP
C D
7 8
SHIELD1 SHIELD2
VCC

The easyPIC540 contains a Joystick Convenient for I/O input (five positions).In this example application,you need
to turn the “SW5”, “SW9”and “SW10” on.The 6 digit 75segment LED will display the key value of the
Joystick.Prior to using this Module in your application,make sure to disconnect other unused peripherals, LEDs
and additional pull5up or pull5down resistors from the interface lines in order not to interfere with signal/data
integrity.

2.7 Stepper Motor and Buzzer Module driven by ULN2003A

VCC
ULN2003A

stepmotor
SW 8 VCC
J9 1
VCC
R A0 1 16 2
ON IN1 OUT1 A
R A1 2 15 3
ON IN2 OUT2 B
R A2 3 14 4
ON IN3 OUT3 C
R A3 4 13 5
ON IN4 OUT4 D
R C2 5 12
ON IN5 OUT5
6 11
IN6 OUT6
7 10
IN7 OUT7

STEPMOTOR 8
GND VCC
9
VCC
+
& BUZZER C 24
B UZZER/SPEAKER

The ULN2003A is high5voltage high5current Darlington transistor arrays. Each consists of seven npn Darlington
pairs that feature high5voltage outputs with common5cathode clamp diodes for switching inductive loads. The
collector5current rating of a single Darlington pair is 500 mA. The Darlington pairs can be paralleled for higher
current capability. Applications include relay drivers, hammer drivers, lamp drivers, display drivers (LED and gas
discharge), line drivers, and logic buffers.We use the ULN2003A to drive a Buzzer and a Stepper Motor(as
following).

BYJ 48 5V
In this example application,you only need to turn the “SW8.1”~ “SW8.4” on for Stepper Motor and “SW8.5” for
Buzzer.Prior to using this Module in your application,make sure to disconnect other unused peripherals, LEDs and
additional pull5up or pull5down resistors from the interface lines in order not to interfere with signal/data integrity.

www.LogiFind.com 7
easyPIC 40™ Development Board Users Manual
2.8 DS18B20/Remote/ADC Modules
R 15

1K

VCC
ADC _INPUTA SW 4
J5
R E1
ON

R EMOTE
3 R E2
18 38V ON
1 R C1
GND VCC ON
2
VCC C 19
10 4

DS18 B2 0 VCC
3
VCC
2
DQ VCC
R 16 4.7K
1
GND

DS18B20/REMOTE/ADC
DS18B20 Digital Temperature Sensor
DS18B20 is a digital temperature sensor that uses 15wire® interface for it’s operation. It is capable of measuring
temperatures within the range of 555 to 128°C, and provides ±0.5°C accuracy for temperatures within the range of
510 to 85°C. It requires 3V to 5.5V power supply for stable operation. It takes maximum of 750ms for the
DS18B20 to calculate temperature with 95bit resolution. 15wire® serial communication enables data to be
transferred over a single communication line, while the process itself is under the control of the master
microcontroller. The advantage of such communication is that only one microcontroller pin is used. Multiple
sensors can be connected on the same line. All slave devices by default have a unique ID code, which enables the
master device to easily identify all devices sharing the same interface.The easyPIC540 provides a separate socket
for the DS18B20. Communication line with the microcontroller is connected via SW4.3.

In order to connect DS18B20 to the microcontroller you must turn SW4.3 “ON”.Prior to using DS18B20 in your
application,make sure to disconnect other unused peripherals, LEDs and additional pull5up or pull5down resistors
from the interface lines in order not to interfere with signal/data integrity.

In this example application,you also need to enable 6 digit 75segment to display temperature value.

ADC input
Digital signals have two discrete states, which are decoded as high and low, and interpreted as logic 1 and logic
0. Analog signals, on the other hand, are continuous, and can have any value within defined range. A/D converters
are specialized circuits which can convert analog signals (voltages) into a digital representation, usually in form of
an integer number. The value of this number is linearly dependent on the input voltage value. Most
microcontrollers nowadays internally have A/D converters connected to one or more input pins. Some of the most
important parameters of A/D converters are conversion time and resolution. Conversion time determines how fast
can an analog voltage be represented in form of a digital number. This is an important parameter if you need fast
data acquisition. The other parameter is resolution. Resolution represents the number of discrete steps that
supported voltage range can be divided into. It determines the sensitivity of the A/D converter. Resolution is
represented in maximum number of bits that resulting number occupies. Most PIC® microcontrollers have 105bit
resolution, meaning that maximum value of conversion can be represented with 10 bits, which converted to
integer is 210=1024. This means that supported voltage range, for example from 055V, can be divided into 1024
discrete steps of about 4.88mV. easyPIC540 provides an interface in form of a potentiometer for simulating analog
input voltages that can be routed to any of the 10 supported analog input pins.

www.LogiFind.com 8
easyPIC 40™ Development Board Users Manual

In order to connect ADC INPUT to the microcontroller you must turn SW4.1 “ON”.Prior to using ADC in your
application,make sure to disconnect other unused peripherals, LEDs and additional pull5up or pull5down resistors
from the interface lines in order not to interfere with signal/data integrity.

In this example application,you also need to enable 6 digit 75segment to display ADC value.

1838V Remote Control


1838V is miniaturized infrared receivers for remote control and other applications requiring improved ambient
light rejection.The separate PIN diode and preamplifier IC are assembled on a single leadframe. The epoxy
package contains a special IR filter.This module has excellent performance even in disturbed ambient light
applications and provides protection against uncontrolled output pulses.

In order to connect 1838V to the microcontroller you must turn SW4.2 “ON”.Prior to using 1838V in your
application,make sure to disconnect other unused peripherals, LEDs and additional pull5up or pull5down resistors
from the interface lines in order not to interfere with signal/data integrity.
In this example application,you also need to enable 6 digit 75segment to display the KEY value of the Remote
Control.

2.9 Real Time Clock/EEPROM Module

C 20 10 4
VCC
EEPROM
1 7
A0 WP
2 VCC
A1
3 R 31
A2
8 6 10 K
VCC VCC SC L
4 5
GND SDA
24 CXX SW 7
R 30 J8
VCC ON R C3
10 K ON R C4
DS13 02 ON R B0
C 23 VCC ON R B4
22 P 1 8 ON R B5
VCC 2 VCC 1
2 7
X1 SLCK
Y2
32 .7 68K
3 6
X2 I/O
4 5
GND R ST
C 22 10 4 C 21
22 P VCC
B UZZER /SPEAKER RTC
EEPROM
EEPROM is short for Electrically Erasable Programmable Read Only Memory. It is usually a secondary storage
memory in devices containing data that is retained even if the device looses power supply. Because of the ability
to alter single bytes of data, EEPROM devices are used to store personal preference and configuration data in a
wide spectrum of consumer, automotive, telecommunication, medical, industrial, and PC applications.
EasyPIC540 supports serial EEPROM which uses I2C communication interface and has 1024 bytes of available
memory. Board contains socket for serial EEPROMs in DIP8 packaging, so you can easily exchange it with
different memory size EEPROM IC. EEPROM itself supports single byte or 165byte (page) write and read
operations. Data rate is 400 kHz for both 3.3V and 5V power supply. I2C is a multi5master serial single5ended bus

www.LogiFind.com 9
easyPIC 40™ Development Board Users Manual
that is used to attach low5speed peripherals to computer or embedded systems. I²C uses only two open5drain lines,
Serial Data Line (SDA) and Serial Clock (SCL), pulled resistors. SCL line is driven by a master, while SDA is
used as bidirectional line either by master or slave Up to 112 slave devices can be connected to the same bus. Each
slave must have a unique address.

In order to connect I2C EEPROM to the microcontroller you must turn SW7.4 and SW7.5 “ON”.Prior to using
EEPROM in your application,make sure to disconnect other unused peripherals, LEDs and additional pull5up or
pull5down resistors from the interface lines in order not to interfere with signal/data integrity.

In this example application,you also need to enable 6 digit 75segment and Joystick module.Press “Down” to write
“123456” into the eeprom,and press “Center” to read and display the 65digit 75segment LED module.

DS1302 Real Time Clock


The DS1302 Trickle Charge Timekeeping Chip contains a real time clock/calendar and 31 bytes of static RAM. It
communicates with a microprocessor via a simple serial interface. The real time clock/calendar provides seconds,
minutes, hours, day, date, month, and year information. The end of the month date is automatically adjusted for
months with less than 31 days, including corrections for leap year. The clock operates in either the 24–hour or
12–hour format with an AM/PM indicator. Interfacing the DS1302 with a microprocessor is simplified by using
synchronous serial communication. Only three wires are required to communicate with the clock/RAM: (1) RST
(Reset), (2) I/O (Data line), and (3) SCLK (Serial clock). Data can be transferred to and from the clock/RAM 1
byte at a time or in a burst of up to 31 bytes. The DS1302 is designed to operate on very low power and retain data
and clock information on less than 1 microwatt. The DS1302 is the successor to the DS1202. In addition to the
basic timekeeping functions of the DS1202, the DS1302 has the additional features of dual power pins for primary
and back–up power supplies, programmable trickle charger for VCC1, and seven additional bytes of scratchpad
memory.

DS1302 pin assignment


Number Name Function
1 VCC2 Power Supply Pins
2 X1, 32.768 kHz Crystal Pins
3 X2 32.768 kHz Crystal Pins
4 GND Ground
5 RST Reset
6 I/O Data Input/Output
7 SCLK Serial Clock
8 VCC1 Power Supply Pins
In order to connect DS1302 module to the microcontroller you must turn SW7.1, SW7.2 and SW7.3 “ON”.Prior
to using DS1302 RTC in your application,make sure to disconnect other unused peripherals, and additional
www.LogiFind.com 10
easyPIC 40™ Development Board Users Manual
pull5up or pull5down resistors from the interface lines in order not to interfere with signal/data integrity.

In this example application,you also need to enable 6 digit 75segment to display the real time.

2.10 SD/MMC Card Module


This module mainly shows the SD/MMC card Read/Write. Through the study of this section, we should
understand the relevant knowledge about SD/MMC card Read/Write.
SD/MMC card is used as storage media for a portable device,in a form that can easily be removed for access by
a PC. For example,a digital camera would use an SD/MMC card for storing image files.With an SD/MMC
reader(typically small box that connects via USB or some other serial connection).communicates with Multi
Media Card via SPI communication.

RC2
RC4
RC3
RC5
R3 10 K CS
SW 2
R4 10 K MOSI

SD/MMC CARD
R5 10 K
ON
ON
ON
ON
SC K
R6 10 K MISO

3.3V

J3
3.3V
CS

C 14
10 4
CS

3.3V
10
8
7
6
5
4
3
3
2
1
9
10
8
7
6
5
4
3
3
2
1
9

0 0
0 0

SD/MMC

In order to connect SD/MMC Card Module to the microcontroller you must turn SW2 “ON”. Prior to using The
SD/MMC Card Module in your application, make sure to disconnect other unused peripherals, and additional
pull5up or pull5down resistors from the interface lines in order not to interfere with signal/data integrity.

In this example application,you also need to enable 6 digit 75segment to display the written data in The SD/MMC
Card.

www.LogiFind.com 11
easyPIC 40™ Development Board Users Manual
2.11 RS232 to TTL Converter communication Module
C 12
VCC 10 4
R S23 2
UAR T 16 15
VCC GND
5 8 9
R 2in R 2ou t SW 1
9 13 12 J2
R 1in R 1ou t
4 R C7
ON
8 7 10 R C6
T2 out T2 in ON
3 14 11
T1 out T1 in
7
2 5 C 11 10 4
C 25
6 4 C 13 10 4
C 2+ VCC
1 6 3
V5 C 15
2 1 C 10 10 4
V+ C 1+

C 9 10 4 RS232
The SP3232 transceivers has a proprietary low5dropout transmitter output stage enabling true RS5232
performance from a 3.0V to 5.5V supply with a dual charge pump. The device requires only four small 0.1µF
external chargepump capacitors. The SP3232 is guaranteed to run at data rates of 120kbps while maintaining
RS5232 output levels. The SP3232 has 2 receivers and 2 drivers. The SP3232 is pin, package, and functionally
compatible with the industry5standard SP3232 and SP3232, respectively. The device feature a shutdown mode in
which all receivers can remain active while using only 1µA supply current.

In order to connect RS232 Module to the microcontroller you must turn SW1 “ON”. Prior to using The SD/MMC
Card Module in your application, make sure to disconnect other unused peripherals, and additional pull5up or
pull5down resistors from the interface lines in order not to interfere with signal/data integrity.

In this example application,you also need to connect a RS232 M/F cable to your computer. And,at the same time,
run the RS232 test software to monitor the data sent from the dev board.

2.12 LCD 2x16 characters display Module(Socket)


C 26
5V
5V
10 4
LC D160 2
16025VOL

1
1
2
2 5V
3
3
4 R A1
4
5 R A2
5
6 R A3
6
7 R D0
7
8 R D1
8
9 R D2
9
10 R D3
10
11 R D4
11
12 R D5
12
13 R D6
13
14 R D7
14
15
15 5V
16
16

Liquid Crystal Displays or LCDs are cheap and popular way of representing information to the end user of some

www.LogiFind.com 12
easyPIC 40™ Development Board Users Manual
electronic device. Character LCDs can be used to represent standard and custom characters in the predefined
number of fields. The easyPIC540 provides the connector and the necessary interface for supporting 2x16
character LCDs. This type of display has two rows consisted of 16 character fields. Each field is a 7x5 pixel
matrix. Board equips an universal socket allowing you to install 16x2 LCD very easily.
Connector pinout explained
15GND
255V
35Vo,LCD contrast level from potentiometer 16025VOL
45RS,Register Select Signal
55E,Display Enable
65R/W,Determines whether display is in Read or Write mode. It’s always connected to GND, leaving the display
in Write mode all the time.
7~145Data Port,Display is supported in 85bit data mode.
155LED+,Connection with 5V
165LED5,Connection with GND

IMPORTANT:
Make sure to Place the LCD in the right direction.
Make sure to turn off the power supply before placing LCD onto the board. Otherwise your display can be
permanently damaged.

2.13 GLCD 128x64 display Module(Socket)


LC D128 64
128645VOL

1
1
2
2 5V
3
3
4 R A0
16025VOL

4
5 R A1
5
6 R A2
6
7 R D0
7
8 R D1
8
9 R D2
9
10 R D3
10
11 R D4
11
12 R D5
12
13 R D6
13
14 R D7
14
15 R A3
15
16
16
17 R A4
17
18
18
19
19 5V
20
20
`

www.LogiFind.com 13
easyPIC 40™ Development Board Users Manual
Graphical Liquid Crystal Displays, or GLCDs are used to display monochromatic graphical content, such as text,
images, humanmachine interfaces and other content. The easyPIC540 provides the connector and necessary
interface for supporting GLCD with resolution of 128x64 pixels and proper PINOUTs.It is compatible with the
most popular LCD12864 in the market with KS108 or ST7920 display controller.The example we provide is only
for LCD12864 with ST7920 display controller.The easyPIC540 equips an universal socket allowing you to install
128*64 Graphical LCD very easily.
Connector pinout explained:
15GND
25VCC
35Vo,GLCD contrast level from potentiometer 128645VOL
45RS,Data (High), Instruction (Low) selection
55R/W,Determines whether display is in Read or Write mode.
65E,Display Enable line
7~14,D0–D7,Data lines
155PSB,Parallel/Serial Mode Selection
165NC
175RST
185VEE
195LEDA 5 5V
205LEDK 5 GND

IMPORTANT:
Make sure to Place the LCD in the right direction.
Make sure to turn off the power supply before placing LCD onto the board. Otherwise your display can be
permanently damaged.

2.14 ICSP Programming Port

ICSP1 ICSP2
MCLR 6
6
RB6 5
5 VCC
RB7 4
4
RB7 3
3
RB6 2
2 VCC
MCLR 1
1

The easyPIC540 has two standard ICSP interface which allow you to connect PICKIT2/PICKIT3/ICD2 directly.

www.LogiFind.com 14
easyPIC 40™ Development Board Users Manual
2.15 System Reset

C25
104
MCLR
RESET

10K
R32

VCC
The easyPIC540 reset circuit is made with 10K pull5up resistor,RESET button connected to GND and a 0.1uF
capacitor for filtering.

www.LogiFind.com 15
easyPIC 40™ Development Board Users Manual
Schematic
1 2 3 4 5 6 7 8

R C2
R C4
R C3
R C5
C 26
LC D128 64
POWER(7510 V)
2 ON SW 9
75SEGMENT
GND USB /P OW ER

POWER SW
5V R 3 10 K J10

128645VOL
1 CS R D0 R 33
5V 1 1 D1 SW 2 ON
10 4 2 VCC

DATA+
2 5V R 4 10 K R D1 R 34

DATA5
MOSI ON
3 R D2 R 35

GND

FUSE
VCC
LC D160 2 3 ON

SD/MMC CARD
4 R A0 OFF
R 5 10 K R D3 R 36
1
16025VOL

ON
ON
ON
ON
SC K ON

5
1 5 R A1 R D4 R 37
2 5 ON
2 5V 6 R A2 R 6 10 K R D5 R 38
3 6 L7 805 MISO ON
3 7 R D0 R D6 R 39

6
4
3
2
1
5
4 R A1 7 1 3
ON
4 8 R D1 Vin +5 V R D7 R 40
5 R A2 8 3.3V ON
5 9 R D2 C7 C8
D 6 R A3 9 D

11
14

12
13
6 10 R D3 +

GND

4
5
6
7 R D0 10 10 4
7 11 R D4

PWR
8 R D1 11 R C4 J3 75SEGMENT
8 12 R D5 47 0u
9 R D2 12 R C5 3.3V DS1 DS2 DS3 DS4

E
DP

F
G

A
C
B
9 13 R D6

R D0
CS
10 R D3 13
10 14 R D7

2
11 R D4 14 VCC
11 15 R A3 VCC Q1 VCC Q2 VCC Q3 VCC Q4
12 R D5 15 C 14 90 15 90 15 90 15
12 16 10 4
13 R D6 16 LM1 117 53 .3

CS
13 17 R A4 3.3V 3.3V
14 R D7 17 R2 R A1 R A0
14 18 2 3 C2 10 4

DS1

DS2

DS3

DS4

DS5

DS6
15 18 VOUT VIN 5V 1K 5V
15 5V 19 C6 C5 C4 C3
16 19 5V

10
+ +

GND

8
7
6
5
4
3
3
2
1
9
16 20
20 10 4 10 4
10 u 10 u

10

8
10
8
7
6
5
4
3
3
2
1
9
VCC

DS1
1

DS2

DS3

DS4

DS5

DS6
VCC 0 0
LCD1602 LCD12864 5V 3.3V
0 0
SW 10
J11
R A0 ON R 41
R A1 ON R 42 VCC VCC

3
2
1
R A2 R 43
POWER/USB J2 ON
SD/MMC R A3 ON R 44
R A4 ON R 45 Q6 Q5
C 12 R A5 R 46 90 15 90 15
Joystick
ON
J6 SW 5
VCC 10 4
R IGHT R B4 R S23 2
R 29 10 KR OW 1 ON DS5 DS6
UP R B3 UAR T 16 15
ON VCC GND
R 28 LEFT R B2 8 9
C 10 K R OW 2 C TR
ON R B1
5 R 2in R 2ou t SW 1 C
ON 9 13 12 J2 R 14
DOW N R B0 R 1in R 1ou t L8
R 27 10 KR OW 3 ON 4 R C7
ON
8 7 10 R C6 1K
R 26 T2 out T2 in ON
10 K R OW 4 3 14 11 R 13
Joy stick T1 out T1 in L7
VCC 7 SW 3
R 25 10 KC OL1 5 C 11 10 4 1K J4
VCC DOW N1 4 R IGHT R 17 2 C 25
R 21 A B 4 R 12 R D7
R 24 C TR 2 5 6 C 2+ C 13 10 4 L6 ON
10 KC OL2 VCC R 20 C TR C OM 6 3 VCC R D6
R 19 LEFT 3 6 UP R 18 1 V5 C 15 ON
C D 2 1 C 10 10 4 1K R D5
R 23 10 K C OL3 7 8 V+ C 1+ ON
SHIELD1 SHIELD2 R 11 R D4
VCC L5 ON
R D3
R 22 10 K C OL4 ON
1K R D2
ON
C 9 10 4 RS232 R 10 L4
ON
ON
R D1
R D0
1K
R B3
R B2
R B1
R B0
R B7
R B6
R B5
R B4

PIC 5DIP40 R9 L3
KEY1 KEY2 KEY3 KEY4 MC LR 1 40 R B7
C 17 10 4 MC LR VP P/THV R B7 /PGD
VCC R A0 2 39 R B6 1K
R A0 /AN0 R B6 /PGC
R A1 3 38 R B5 R8
R A1 /AN1 R B5 L2
R A2 4 37 R B4
SW6

C 18 10 4 R A2 /AN2/VR EF5 R B4
KEY5 KEY6 KEY7 KEY8 VCC R A3 5 36 R B3 1K
R A3 /AN3/VR EF+ R B3 /P GM
ON
ON
ON
ON
ON
ON
ON
ON

R A4 6 35 R B2 R7 L1
R A4 /T0C KI R B2
C 15 R A5 7 34 R B1
R A5 /AN4/SS R B1
OSC 1 R E0 8 33 R B0 1K LEDs
R OW4
R OW3
R OW2
R OW1
C OL4
C OL3
C OL2
C OL1

R E0/R D/AN5 R B0 /INT


KEY9 KEY10 KEY11 KEY12 R E1 9 32
R E1/WR /AN6 VDD
22 p R E2 10 31 R 15
R E2/C S/AN7 VSS VCC
11 30 R D7
VCC VDD R D7 /PSP7
12 29 R D6 1K
B VSS R D6 /PSP6 B
KEY13 KEY14 KEY15 KEY16 J7 Y1 13 28 R D5
OSC 1/CLKIN R D5 /PSP5
OSC 2 14 27 R D4 VCC
OSC 2/CLKOUT R D4 /PSP4 ADC _INPUTA
R C0 15 26 R C7 SW 4
R C0 /T1OSO/T1C KIR C7 /R X/DT J5
R C1 16 25 R C6
R C1 /T1OSI/C C P2 R C6 /TX/C K R E1
C 16 R C2 17 24 R C5 ON
R C2 /C C P1 R C5 /SDO

R EMOTE
R C3 18 23 R C4 3 R E2
R C3 /S CK/SC L R C4 /SDI/SDA 18 38V ON
R D0 19 22 R D3 1 R C1
C 27 R D0 /P SP0 R D3 /PSP3 GND VCC ON
22 p R D1 20 21 R D2 2
10 4 R D1 /P SP1 R D2 /PSP2 VCC C 19
USB _EN

10 4
2 J12 J13

4X4 KEY BOARD 1 Microcontroller DS18 B2 0 VCC


3
VCC
ICS P1
MC LR 6
ICS P2 ICSP C 20 10 4
VCC
EEPROM 2
6 1 7 DQ VCC
R B6 5 A0 WP
5 VCC 2 VCC R 16 4.7K
R B7 4 A1 1
4 3 R 31 GND
R B7 3 A2
3
R B6 2 8 6 10 K
2 VCC

R ESET C 25
1
MC LR 1 VCC
4
VCC
GND
SC L
SDA
5 DS18B20/REMOTE/ADC
10 4 24 CXX SW 7
R 30 J8
VCC ON R C3
MC LR VCC 10 K ON R C4
ULN2003A
stepmotor

SW 8

A R 32
10 K
R A0
R A1
R A2
ON
ON
ON
J9
1
2
3
IN1
IN2
IN3
OUT1
OUT2
OUT3
16
15
14
1
2
3
4
A
B
C
VCC
VCC C 23
22 P 1
DS13 02

VCC 2 VCC 1
8
VCC
ON
ON
ON
R B0
R B4
R B5 EasyPIC540 By Jeff
WWW.Log iFin d.COM A

R A3 4 13 5 2 7
ON IN4 OUT4 D X1 SLCK
R C2 5 12 Y2
ON IN5 OUT5 32 .7 68K Title
6 11 3 6
IN6 OUT6 X2 I/O
7 10
VCC IN7 OUT7
4 5
GND R ST Size Number R evisio n
STEPMOTOR 8
GND VCC
9
VCC
+
C 22 10 4 C 21 A3
22 P VCC
RESET & BUZZER C 24
B UZZER /SPEAKER RTC Date: 16 5Ju n5201 6 Sh eet of
File: J:\1 00MHZ\10 0MHZ.Dd b Drawn B y:
1 2 3 4 5 6 7 8

Contact Us

ebay Store 1: http://stores.ebay.com/logifind


ebay Store 2: http://stores.ebay.com/kitfind
ebay Store 3: http://stores.ebay.com/opendiy

LogiFind International CO,LTD


Address:Room 606,B# of Nanguo Building,NO.16,Zhuxi South Road,Nanning,Guangxi,P.R.China
Skype:love100mhz
E5MAIL:[email protected]
Website:www.LogiFind.com
Mobile:(86)15978193886

www.LogiFind.com 16
easyPIC 40™ Development Board Users Manual
Disclaimer
© 2013 LogiFind International CO,. Ltd. All rights reserved. LogiFind®, logo and combinations thereof, are
registered trademarks of LogiFind International CO,. Ltd. Other terms and product names may be trademarks of
others.
The information in this document is provided in connection with LogiFind products. No license, express or
implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale
of LogiFind products.Neither the whole nor any part of the information contained in or the product described in
this document may be adapted or reproduced in any material from except with the prior written permission of the
copyright holder.The product described in this document is subject to continuous development and improvements.
All particulars of the product and its use contained in this document are given by LogiFind in good faith. However
all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for
purpose are excluded.This document is intended only to assist the reader in the use of the product. LogiFind
International CO,. Ltd.shall not be liable for any loss or damage arising from the use of any information in this
document or any error or omission in such information or any incorrect use of the product.

www.LogiFind.com 17

You might also like