Professional Documents
Culture Documents
Please share your thoughts and feelings regarding our operation so that we www.100MHz.com 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,
Feel free to visit our website: www.100mhz.com for more data and development tools 3
PIC-EK Development Board Users Manual
Section1. Introduction
What is PIC-EK?
PIC-EK is a MCU development system for the PIC starters. It supports over 250 PIC microcontrollers,which
comes with over 400 sample programs based on 16F877A, 16F74, 16F77,16F914, 16F887,18F4550, 18F452,
18F4520 etc.It is loved by beginners and hobbyists, as well as professionals, and used in education and
development. Board comes with 16F877A/16F74/16F77/16F914/16F887/18F4550/18F452/18F4520 device.
Whats on board
Feel free to visit our website: www.100mhz.com for more data and development tools 4
PIC-EK Development Board Users Manual
quality and have an exceptional and stable
response.
3 4-digit 7-seg display 19 10f2xx Socket
Driving 7-segment displays is fun! PIC-EK 10f2xx Socket is for 10f2xx series PIC
provides 4-digit display for your applications. microcontrollers like 10f200,10f202 etc.
4 SMD LEDs 20 DIP28 Socket
Board contains total of 8 LEDs for PORT pins. DIP28 Socket is for 28PIN PIC
microcontrollers.
5 ICSP connector 21 DIP14 Socket
You need to use an external programmer with DIP14 Socket is for 14PIN PIC
PIC-EK, we have provided the standard ICSP microcontrollers.
compatible connector.
6 1-digit 7-seg display 22 DIP8 Socket
PIC-EK provides 4-digit common cathode DIP8 Socket is for 8PIN PIC microcontrollers.
display for your applications.
7 Push buttons 23 DIP20 Socket
3 Push buttons is used for testing the digital DIP20 Socket is for 20PIN PIC
inputs on each port pin. Buttons are of high microcontrollers.
quality and have an exceptional and stable
response.
8 Joystick 24 Crystal oscillator Socket
Joystick can be used for handling the on-screen Crystal oscillator Socket that provides external
menus or as a generic input device. clock is connected to microcontroller osc pins
and easy way to change different Crystal
oscillator the user need.
9 RS232 Circuit 25 DIP40 Socket
RS232 communication circuit. DIP40 Socket is for 40PIN PIC
microcontrollers.
10 ADC potentiometers 26 DIP18 Socket
You can simulate analog inputs using this DIP18 Socket is for 18PIN PIC
provided analog potentiometer which can be microcontrollers.
connected to each of the 8 supported
microcontroller analog input pins.
11 DS1820 Temp Sensor 27 ULN2003A driving
Board supports Dallas DS18B20 One-Wire ULN2003A provided on board is for driving
digital temperature sensor. stepmotor.
12 Remote 28 Reset Button
1838B infrared device provided on the board High quality reset button with surrounding reset
for your remote control. circuitry ensures stable reset operation.
13 RS-232 Connector 29 LCD Contrast Potentiometers
You can implement UART communication The 2 potentiometers allows you to adjust the
through RS-232 connector provided on the contrast level of the pixels on your LCD1602
board. character display and LCD12864 display.
14 I2C EEPROM 30 LCD1602 and LCD12864 Socket
You can store xxxx bytes of configuration data Board are equipped with LCD1602 and
Feel free to visit our website: www.100mhz.com for more data and development tools 5
PIC-EK Development Board Users Manual
or other data into on-board 24CXX Serial LCD12864 connector which allow you to
EEPROM with I2C interface. connect LCD1602 and LCD12864 display
easily
15 RTC Module 31 PORT Headers
It features the PCF8563 real-time clock (RTC). They are available in each Input/Output group,
which is convenient for easier access to any
PORT pin.
16 Buzzer/Speaker
With piezo buzzer you can debug your
applications, or have audio signalization
feature.
Supported Devices
PIC-EK currently supports over 250 Microchip microcontrollers, and the following shows the frequently-used:
PIC10FXX
PIC10F200 PIC10F202 PIC10F204 PIC10F206 PIC10F220 PIC10F222
PIC12XX
PIC12C508 PIC12C508A PIC12C509 PIC12C509A PIC12C671 PIC12C672 PIC12CE518
PIC12CE519 PIC12CE673 PIC12CE674 PIC12F508 PIC12F509 PIC12F629 PIC12F635
PIC12F675 PIC12F683 PIC12F615 PIC12HV615
PIC16XX
PIC16C505 PIC16C554 PIC16C558 PIC16C61 PIC16C62 PIC16C62A PIC16C62B
PIC16C62A PIC16C62B PIC16C63 PIC16C63A PIC16C64 PIC16C64A PIC16C65
PIC16C65A PIC16C65B PIC16C66 PIC16C66A PIC16C67 PIC16C620 PIC16C620A
PIC16C621 PIC16C621A PIC16C622 PIC16C622A PIC16C71 PIC16C72 PIC16C72A
PIC16C73 PIC16C73A PIC16C73B PIC16C74 PIC16C74A PIC16C74B PIC16C76
PIC16C77 PIC16C710 PIC16C711 PIC16C712 PIC16C716 PIC16C745 PIC16C765
PIC16C773 PIC16C774 PIC16C83 PIC16C84 PIC16F505 PIC16F506 PIC16F54
PIC16F627 PIC16F616 PIC16HV616 PIC16LF627A PIC16F627A PIC16F628 PIC16F887
PIC16F628A PIC16LF628A PIC16F630 PIC16F636 PIC16F639 PIC16F648A PIC16F676
PIC16F683 PIC16F684 PIC16F685 PIC16F687 PIC16F688 PIC16F689 PIC16F690
PIC16F716 PIC16F72 PIC16F73 PIC16F74 PIC16F76 PIC16F77 PIC16F737
PIC16F747 PIC16F767 PIC16F777 PIC16F785 PIC16F83 PIC16F84 PIC16F84A
PIC16F87 PIC16F88 PIC16F818 PIC16F819 PIC16F870 PIC16F871 PIC16F872
PIC16F873 PIC16F873A PIC16F874 PIC16F874A PIC16F876 PIC16F876A PIC16F877
PIC16F877A PIC16F913 PIC16F914 PIC16F916 PIC16F917 PIC16F882 PIC16F883
PIC16F884 PIC16F886
PIC18FXX
PIC18F242 PIC18F248 PIC18F252 PIC18F258 PIC18F442 PIC18F448 PIC18F452
PIC18F458 PIC18F1220 PIC18F1320 PIC18F2220 PIC18F2221 PIC18F2320 PIC18F2321
PIC18F2331 PIC18F2410 PIC18F2420 PIC18F2431 PIC18F2450 PIC18F2455 PIC18F2480
PIC18F2510 PIC18F2515 PIC18F2520 PIC18F2525 PIC18F2550 PIC18F2580 PIC18F2585
PIC18F2610 PIC18F2620 PIC18F2680 PIC18F4220 PIC18F4221 PIC18F4320 PIC18F4321
PIC18F4331 PIC18F4410 PIC18F4420 PIC18F4431 PIC18F4450 PIC18F4455 PIC18F4480
Feel free to visit our website: www.100mhz.com for more data and development tools 6
PIC-EK Development Board Users Manual
PIC18F4510 PIC18F4515 PIC18F4520 PIC18F4525 PIC18F4550 PIC18F4580 PIC18F4585
PIC18F4610 PIC18F4620 PIC18F4680
Programmer/Debugger Requirement
.There is no programmer or debugger installed on PIC-EK,so you need to buy one for this board.We
provide many of them in our web: www.100mhz.com and our ebay store: http://stores.ebay.com/weixinliang729 .
And they are very cheap.
.Many third PIC tool are also supported well,like mikroICD,QL2006,K128,K149 etc.
Feel free to visit our website: www.100mhz.com for more data and development tools 7
PIC-EK Development Board Users Manual
Section2. Hardware Connection
1. How to Power the board?
(1) With USB cable
Set J1 jumper to USB position like .
To power the board with USB cable, place jumper J1 in USB_PWR position, and place
jumper J2 in 5V or 3.3V position, depending on which microcontroller you are using.
You can then plug in the USB cable as shown as the left figure, and turn the power
switch ON.
After you have finished the ICSP connecting,you have to set the appropriate jumpers closed to the
ICSP connector.
Feel free to visit our website: www.100mhz.com for more data and development tools 8
PIC-EK Development Board Users Manual
3. How to properly place your microcontroller into the DIP socket?
Place both ends of microcontroller with both fingers,evenly Properly placed microcontroller
on the socket so the pins are distribute the force and press the will have equally leveled pins.
aligned correctly chip into the socket.
Before you plug the microcontroller into the appropriate socket, make sure that the power supply is turned off. 3
images above show how to correctly plug a microcontroller. First make sure that a half circular cut in the
microcontroller DIP packaging maches the cut in the DIP socket. Place one end of the microcontroller into the
socket. Then put the microcontroller slowly down until all the pins match the socket. Check again if everything is
placed correctly and press the microcontroller until it is completely plugged into the socket.
Feel free to visit our website: www.100mhz.com for more data and development tools 9
PIC-EK Development Board Users Manual
Section3.Software Installing
1. MPLAB Installing
Click setup.exe to start to setup MPLAB
Processing.
Next
Next
Feel free to visit our website: www.100mhz.com for more data and development tools 10
PIC-EK Development Board Users Manual
Select Complete.
Feel free to visit our website: www.100mhz.com for more data and development tools 11
PIC-EK Development Board Users Manual
Next
Processing.
Feel free to visit our website: www.100mhz.com for more data and development tools 12
PIC-EK Development Board Users Manual
SelectNO.
Processing.
Feel free to visit our website: www.100mhz.com for more data and development tools 13
PIC-EK Development Board Users Manual
Next.
Next.
Click YES.
Feel free to visit our website: www.100mhz.com for more data and development tools 14
PIC-EK Development Board Users Manual
Select default path.
Next.
Processing...
Feel free to visit our website: www.100mhz.com for more data and development tools 15
PIC-EK Development Board Users Manual
Next.
Close.
Feel free to visit our website: www.100mhz.com for more data and development tools 16
PIC-EK Development Board Users Manual
Finished.
Feel free to visit our website: www.100mhz.com for more data and development tools 17
PIC-EK Development Board Users Manual
Click NEXT.
At this time,all software is finish installing,you can build a C program project via using them.
Feel free to visit our website: www.100mhz.com for more data and development tools 18
PIC-EK Development Board Users Manual
3. PICC8 Installing(Only for PIC10/12/16 microcontrollers)
Click HCPIC-pro-9.80.exe to start to setup PICC8
Next.
Feel free to visit our website: www.100mhz.com for more data and development tools 19
PIC-EK Development Board Users Manual
Next.
Feel free to visit our website: www.100mhz.com for more data and development tools 20
PIC-EK Development Board Users Manual
Next.
Processing Finished
Click Open
Feel free to visit our website: www.100mhz.com for more data and development tools 21
PIC-EK Development Board Users Manual
Open the TXT file Click Activate
OK,all finished,you can try to build a C pic project using the above software.
Feel free to visit our website: www.100mhz.com for more data and development tools 22
PIC-EK Development Board Users Manual
Section4.Module Connection
Lab1.Speaker1
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 23
PIC-EK Development Board Users Manual
Lab2.Speaker2
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 24
PIC-EK Development Board Users Manual
Lab3.Drive one LED V0
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 25
PIC-EK Development Board Users Manual
Lab4.Drive one LED V0(flashing)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 26
PIC-EK Development Board Users Manual
Lab5.Drive 8 LEDs(from V0 to V7)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 27
PIC-EK Development Board Users Manual
Lab6.1-digit Segled Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 28
PIC-EK Development Board Users Manual
Lab7.1-digit Segled Display
a.Hardware Connection
b. OBJECTIVES
d.Code table
Feel free to visit our website: www.100mhz.com for more data and development tools 29
PIC-EK Development Board Users Manual
Lab8.4-digit Segled Display (ones place)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 30
PIC-EK Development Board Users Manual
Lab9.4-digit Segled Display (tens place)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 31
PIC-EK Development Board Users Manual
Lab10.4-digit Segled Display (hundreds place)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 32
PIC-EK Development Board Users Manual
Lab11.4-digit Segled Display (thousands place)
a. Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 33
PIC-EK Development Board Users Manual
Lab12.4-digit Segled Display (0123)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 34
PIC-EK Development Board Users Manual
Lab13.4-digit Segled Display (0000-9999)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 35
PIC-EK Development Board Users Manual
Lab14.Jostick&Buttons+1-digit Segled
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 36
PIC-EK Development Board Users Manual
Lab15.Jostick&Buttons+Speaker
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 37
PIC-EK Development Board Users Manual
Lab16.Keyboard+1-digit segled
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 38
PIC-EK Development Board Users Manual
Lab17. 4*4Keyboard+Speaker
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 39
PIC-EK Development Board Users Manual
Lab18. Stepmotor
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 40
PIC-EK Development Board Users Manual
Lab19. LCD1602 Display (Char)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 41
PIC-EK Development Board Users Manual
Lab20. LCD1602 Display (Arabic numerals)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 42
PIC-EK Development Board Users Manual
Lab21. LCD1602 Display (number++)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 43
PIC-EK Development Board Users Manual
Lab22. Timer0+V0
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 44
PIC-EK Development Board Users Manual
Lab23. Timer0+1-digit segled Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 45
PIC-EK Development Board Users Manual
Lab24. Timer0+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 46
PIC-EK Development Board Users Manual
Lab25. Timer1+V0
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 47
PIC-EK Development Board Users Manual
Lab26. Timer1+1-digit segled Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 48
PIC-EK Development Board Users Manual
Lab27. Timer1+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 49
PIC-EK Development Board Users Manual
Lab28. Timer2+V0
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 50
PIC-EK Development Board Users Manual
Lab29. Timer2+1-digit segled Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 51
PIC-EK Development Board Users Manual
Lab30. Timer2+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 52
PIC-EK Development Board Users Manual
Lab31. Interrupt(RB0)+BUTTON1+LEDs
a. Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 53
PIC-EK Development Board Users Manual
Lab32. Interrupt(RB0)+BUTTON1+1-digit segled Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 54
PIC-EK Development Board Users Manual
Lab33. Interrupt(RB0)+BUTTON1+4-digit segled Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 55
PIC-EK Development Board Users Manual
Lab34. Interrupt(RB0)+BUTTON1+LCD1602
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 56
PIC-EK Development Board Users Manual
Lab35. PS2 KEYBOARD+ LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 57
PIC-EK Development Board Users Manual
Lab36. Watch Dog+ LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 58
PIC-EK Development Board Users Manual
Lab37. Internal Eeprom+ LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 59
PIC-EK Development Board Users Manual
Lab38. PWM(CCP1)+ V2
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 60
PIC-EK Development Board Users Manual
Lab39. PWM(CCP2)+ V1
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 61
PIC-EK Development Board Users Manual
Lab40. CCP2+Remote+ LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 62
PIC-EK Development Board Users Manual
Lab41. Remote+ SPEAKER
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 63
PIC-EK Development Board Users Manual
Lab42. RB0+Remote+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 64
PIC-EK Development Board Users Manual
Lab43. AN0(8BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 65
PIC-EK Development Board Users Manual
Lab44. AN1(8BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 66
PIC-EK Development Board Users Manual
Lab45. AN2(8BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 67
PIC-EK Development Board Users Manual
Lab46. AN3(8BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 68
PIC-EK Development Board Users Manual
Lab47. AN4(8BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 69
PIC-EK Development Board Users Manual
Lab48. AN5(8BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 70
PIC-EK Development Board Users Manual
Lab49. AN6(8BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 71
PIC-EK Development Board Users Manual
Lab50. AN7(8BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 72
PIC-EK Development Board Users Manual
Lab51. AN0(10BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 73
PIC-EK Development Board Users Manual
Lab52. AN1(10BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 74
PIC-EK Development Board Users Manual
Lab53. AN2(10BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 75
PIC-EK Development Board Users Manual
Lab54. AN3(10BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 76
PIC-EK Development Board Users Manual
Lab55. AN4(10BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 77
PIC-EK Development Board Users Manual
Lab56. AN5(10BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 78
PIC-EK Development Board Users Manual
Lab57. AN6(10BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 79
PIC-EK Development Board Users Manual
Lab58. AN7(10BIT)+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 80
PIC-EK Development Board Users Manual
Lab59. Voltage Measuring (Using 8-BIT AN0) +LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 81
PIC-EK Development Board Users Manual
Lab60. Voltage Measuring (Using 10-BIT AN0) +LCD1602
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 82
PIC-EK Development Board Users Manual
Lab61. AN0-CCP1+V2
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 83
PIC-EK Development Board Users Manual
Lab62. AN0-CCP2+V1
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 84
PIC-EK Development Board Users Manual
Lab63. DS18B20+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 85
PIC-EK Development Board Users Manual
Lab64. 24CXX+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 86
PIC-EK Development Board Users Manual
Lab65. RTC PCF8563+LCD1602 Display
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 87
PIC-EK Development Board Users Manual
Lab66. RS232+LCD1602
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 88
PIC-EK Development Board Users Manual
Lab67. LCD12864(with ks0108 controller)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 89
PIC-EK Development Board Users Manual
Lab68. LCD12864(with st7920 controller)
a.Hardware Connection
b. OBJECTIVES
Feel free to visit our website: www.100mhz.com for more data and development tools 90
PIC-EK Development Board Users Manual
Section5.Sch
1 2 3 4 5 6 7 8
LCD12864
1
1 USB&POWER 4-DIGIT SEGLED 1-DIGIT SEGLED
2 5
12 DS4
DS3
DS2
DS1
2 5V 5 C1 105 1
3 1 2 RC3 74LS138 VCC
3 VCC 1 2
2 3 4 RC4 138A 1 16
P2
LCD1602 4 RB0 DATA- 3 4 5V LM1117 A VCC
4
6
1 5 RB1 3 5 6 RC5 138B 2 15 DS4
1 5 DATA+ 5 6 POWERSW 3 2 3.3V B Y0
4 VIN VOUT 138C 3 14 DS3
USB
2 6 RB2 GND USB_PWR C Y1
2 5V 6 6 JP1 13 DS2
3 7 RD0 6
D1
D2
D3
D4
3 7 5V Y2
GND
P1
COM
COM
5 RB4 9 RD2 5V J1 2 1 4 11
5 9 VCC G2A Y4
DP
SEG
6 RB3 10 RD3 5 10
G
1 2 J2
B
C
E
F
6 10 EX-P WR G2B Y5
7 RD0 11 RD4 78M05 3 9
D 7 11 Y6 D
1
8 RD1 12 RD5 GND 2 EXT_PWR 8 7
8 12 1 3 3.3V 3.3V GND Y7
7
6
4
2
1
9
5
3
8
7-12V 1 Vin +5V
10
9 RD2 13 RD6
dp
9 13
g
VCC
f
10 RD3 14 RD7
10 14
GND
R10
R11
R12
R13
R14
R15
R16
R17
11 RD4 15 RB3 DP
11 15 8 8
12 RD5 16 RB4
3
11
10
12 16 G
13 RD6 17 RB5 7 7
13 17 F
14 RD7 18 VCC 5V 3.3V 6 6
14 18 E
2
15 19 5 5
15 5V 19 5V R32 D
16 20 R2 R3 R4 R5 R6 R7 R8 R9 4 4
C 138C
dp
16 20 PWR C5 + C4 C1 + C2 C6 + C7 3 3
g
a
e
f
330R B 138B
2 2
R1 470u 104 10u 104 10u 104 A 138A
1K 1 1
CN5
VCC
DP
1
2
3
4
5
6
7
8
A
G
B
F
CN3 CN6
LCD1602&LCD12864
stepmotor
JOYSTICK&BUTTONs C22
1
2
IN1
IN2
OUT1
OUT2
16
15
DS18B20
3
VCC
VCC 104 3 14 1 VCC
RS232 IN3 OUT3 5V VCC
IN4 4 13 2
RP2 UART 16 15 IN4 OUT4 A 2 DQ
Joystick VCC GND IN5 5 12 3 DQ VCC
8 9 IN5 OUT5 B
5 R2in R2out 8 IN6 6 11 4 RESET R34 4.7K
13 12 IN6 OUT6 C 1
9 R1in R1out 7 IN7 7 10 5 GND
BUTTON6 1 4 BUTTON7 IN7 IN7 OUT7 D
A B 4 6 C17
BUTTON8
BUTTON5
2
3
CTR
C
COM
D
5
6 BUTTON4
8
3
7
14
T2out T2in
10
11
IN6
IN5
5 8
GND VCC
9
5V 104 1-WIRE
T1out T1in 4
7 8 IN4 STEPMOTOR
MCLR
SHIELD1 SHIELD2 7 3 ULN2003A
9
8
7
6
5
4
3
2
1
ADC
C VCC 4 C
6 C2+ 1 R33 10K
1 6 3 3 1838V
CN19 V- C1- 1838V VCC
2 1 C18 104 CN20 1 10K
BUTTON8 V+ C1+ GND VCC
8 2
BUTTON3 BUTTON7 VCC
7 VCC
BUTTON3 BUTTON6 ADC_INP UTA
BUTTON2
BUTTON5
6
5 RS232 C19
104 REMOTE REMOTE VCC RESET ADC
BUTTON2 4 DIP20
BUTTON1
3
2
MCUs DIP40 DIP28
RA0 1
PORTA/E
2 RA1
BUTTON1 CN9 MCLR 1 40 RB7 MCLR 1 28 RB7 VCC 1 20 1 2
1 MCLR RB7 8 MCLR RB7 VCC VSS RA2 3 4 RA3
ADC 1 2 RA0 2 39 RB6 RA0 2 27 RB6 OSC1 2 19 RA0 3 4
1 2 RA0 RB6 7 RA0 RB6 OSC1 RA0 RA4 5 6 RA5
3 4 RA1 3 38 RB5 RA1 3 26 RB5 OSC2 3 18 RA1 5 6
3 4 RA1 RB5 6 RA1 RB5 OSC2 RA1 RE0 7 8 RE1
5 6 RA2 4 37 RB4 RA2 4 25 RB4 MCLR 4 17 RA2 7 8
5 6 RA2 RB4 5 RA2 RB4 MCLR RA2 RE2 9 10
7 8 RA3 5 36 RB3 RA3 5 24 RB3 RC5 5 16 RC0 9 10
RP1 7 8 RA3 RB3 4 RA3 RB3 RC5 RC0
DQ 9 10 RA4 6 35 RB2 RA4 6 23 RB2 RC4 6 15 RC1
9 10 RA4 RB2 3 RA4 RB2 RC4 RC1 PORTC
11 12 RA5 7 34 RB1 RA5 7 22 RB1 RC3 7 14 RC2
KEY1 KEY2 KEY3 KEY4 OK 11 12 RA5 RB1 2 RA5 RB1 RC3 RC2 RC0 1 2 RC1
13 14 RE0 8 33 RB0 8 21 RB0 RC6 8 13 RB4 1 2
13 14 RE0 RB0 1 VSS RB0 RC6 RB4 RC2 3 4 RC3
15 16 RE1 9 32 OSC1 9 20 VCC RC7 9 12 RB5 3 4
15 16 RE1 VCC VCC OSC1/RA7 VDD RC7 RB5 RC4 5 6 RC5
ADC 17 18 RE2 10 31 CN7 OSC2 10 19 RB7 10 11 RB6 5 6
17 18 RE2 VSS OSC2/RA6 VSS RB7 RB6 RC6 7 8 RC7
11 30 RD7 RC0 11 18 RC7 7 8
KEY5 KEY6 KEY7 KEY8 VCC VCC RD7 8 RC0 RC7 DIP18 9 10
12 29 RD6 RC1 12 17 RC6 9 10
9
8
7
6
5
4
3
2
1
PIC-EK V2.0
24CXX
R30
R29
RB7 1 2 RB6 1 7
1 2 A0 WP R19
PGD 3 4 PGC 2 VCC 1K V1
3 4 A1
RA0 5 6 RA1 3
5 6 A2
T1 R20
8 6 SCL R28 1K V2
VCC VCC SCL SPEAKER
VCC 4 5 SDA 8 1
GND SDA 1K 7
6
2
3
R21 1K V3
www.100MHz.com
PGD
PGC
SDA
MCLR 5 4
A R26 10K SCL R22 A
VCC SPEAKER SPEAKER
DATA
4
3
5
6
1K V4
1 DATA 2 7
6
5
4
3
2
1
Section6.Contact Us
Official Website:www.100MHz.com
Ebay Store 1: http://stores.ebay.com/weixinliang729
Ebay Store 2: Under Construction..
E-mail:love100mhz@hotmail.com or wxl07297662156@163.com
Skype: love100mhz
Feel free to visit our website: www.100mhz.com for more data and development tools 91