You are on page 1of 91

PIC-EK 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
www.100MHz.com.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 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,

Owner and General Manager


of www.100MHz.com
Feel free to visit our website: www.100mhz.com for more data and development tools 1
PIC-EK Development Board Users Manual
CONTENTS
Section1. Introduction ......................................................................................................................................... 4
What is PIC-EK? ......................................................................................................................................... 4
Whats on board............................................................................................................................................... 4
Supported Devices ........................................................................................................................................... 6
Programmer/Debugger Requirement ............................................................................................................ 7
Section2. Hardware Connection ....................................................................................................................... 8
1. How to Power the board?........................................................................................................................ 8
2. Programming with a PIC Programmer/Debugger ............................................................................... 8
3. How to properly place your microcontroller into the DIP socket?...................................................... 9
4. Create a USB hid device using 18F4550/18F2550 ................................................................................. 9
5. How to properly place your LCD12864 and LCD1602 into the LCD socket? ................................... 9
Section3.Software Installing ............................................................................................................................ 10
1. MPLAB Installing ................................................................................................................................ 10
2. PICC Compiling Installing(Only for 18F microcontrollers) ...................................................... 13
3. PICC8 Installing(Only for PIC10/12/16 microcontrollers) ......................................................... 19
Section4.Module Connection .......................................................................................................................... 23
Lab1.Speaker1 ............................................................................................................................................. 23
Lab2.Speaker2 ............................................................................................................................................. 24
Lab3.Drive one LED V0.............................................................................................................................. 25
Lab4.Drive one LED V0(flashing)............................................................................................................ 26
Lab5.Drive 8 LEDs(from V0 to V7).......................................................................................................... 27
Lab6.1-digit Segled Display ..................................................................................................................... 28
Lab7.1-digit Segled Display ..................................................................................................................... 29
Lab8.4-digit Segled Display (ones place) ............................................................................................. 30
Lab9.4-digit Segled Display (tens place) .............................................................................................. 31
Lab10.4-digit Segled Display (hundreds place) .................................................................................. 32
Lab11.4-digit Segled Display (thousands place) ................................................................................ 33
Lab12.4-digit Segled Display (0123)....................................................................................................... 34
Lab13.4-digit Segled Display (0000-9999) ............................................................................................ 35
Lab14.Jostick&Buttons+1-digit Segled ................................................................................................ 36
Lab15.Jostick&Buttons+Speaker ........................................................................................................... 37
Lab16.Keyboard+1-digit segled .............................................................................................................. 38
Lab17. 4*4Keyboard+Speaker ................................................................................................................. 39
Lab18. Stepmotor........................................................................................................................................ 40
Lab19. LCD1602 Display (Char) .............................................................................................................. 41
Lab20. LCD1602 Display (Arabic numerals) ........................................................................................ 42
Lab21. LCD1602 Display (number++) .................................................................................................... 43
Lab22. Timer0+V0 ....................................................................................................................................... 44
Lab23. Timer0+1-digit segled Display ................................................................................................... 45
Lab24. Timer0+LCD1602 Display............................................................................................................ 46
Lab25. Timer1+V0 ....................................................................................................................................... 47
Lab26. Timer1+1-digit segled Display ................................................................................................... 48
Lab27. Timer1+LCD1602 Display............................................................................................................ 49
Lab28. Timer2+V0 ....................................................................................................................................... 50
Feel free to visit our website: www.100mhz.com for more data and development tools 2
PIC-EK Development Board Users Manual
Lab29. Timer2+1-digit segled Display ................................................................................................... 51
Lab30. Timer2+LCD1602 Display............................................................................................................ 52
Lab31. Interrupt(RB0)+BUTTON1+LEDs ............................................................................................... 53
Lab32. Interrupt(RB0)+BUTTON1+1-digit segled Display ................................................................ 54
Lab33. Interrupt(RB0)+BUTTON1+4-digit segled Display ................................................................ 55
Lab34. Interrupt(RB0)+BUTTON1+LCD1602 ........................................................................................ 56
Lab35. PS2 KEYBOARD+ LCD1602 Display ........................................................................................ 57
Lab36. Watch Dog+ LCD1602 Display ................................................................................................... 58
Lab37. Internal Eeprom+ LCD1602 Display ......................................................................................... 59
Lab38. PWM(CCP1)+ V2 ............................................................................................................................ 60
Lab39. PWM(CCP2)+ V1 ............................................................................................................................ 61
Lab40. CCP2+Remote+ LCD1602 Display ............................................................................................ 62
Lab41. Remote+ SPEAKER ...................................................................................................................... 63
Lab42. RB0+Remote+LCD1602 Display................................................................................................ 64
Lab43. AN0(8BIT)+LCD1602 Display...................................................................................................... 65
Lab44. AN1(8BIT)+LCD1602 Display...................................................................................................... 66
Lab45. AN2(8BIT)+LCD1602 Display...................................................................................................... 67
Lab46. AN3(8BIT)+LCD1602 Display...................................................................................................... 68
Lab47. AN4(8BIT)+LCD1602 Display...................................................................................................... 69
Lab48. AN5(8BIT)+LCD1602 Display...................................................................................................... 70
Lab49. AN6(8BIT)+LCD1602 Display...................................................................................................... 71
Lab50. AN7(8BIT)+LCD1602 Display...................................................................................................... 72
Lab51. AN0(10BIT)+LCD1602 Display ................................................................................................... 73
Lab52. AN1(10BIT)+LCD1602 Display ................................................................................................... 74
Lab53. AN2(10BIT)+LCD1602 Display ................................................................................................... 75
Lab54. AN3(10BIT)+LCD1602 Display ................................................................................................... 76
Lab55. AN4(10BIT)+LCD1602 Display ................................................................................................... 77
Lab56. AN5(10BIT)+LCD1602 Display ................................................................................................... 78
Lab57. AN6(10BIT)+LCD1602 Display ................................................................................................... 79
Lab58. AN7(10BIT)+LCD1602 Display ................................................................................................... 80
Lab59. Voltage Measuring (Using 8-BIT AN0) +LCD1602 Display .................................................. 81
Lab60. Voltage Measuring (Using 10-BIT AN0) +LCD1602 ............................................................... 82
Lab61. AN0-CCP1+V2 ................................................................................................................................ 83
Lab62. AN0-CCP2+V1 ................................................................................................................................ 84
Lab63. DS18B20+LCD1602 Display........................................................................................................ 85
Lab64. 24CXX+LCD1602 Display ............................................................................................................ 86
Lab65. RTC PCF8563+LCD1602 Display............................................................................................... 87
Lab66. RS232+LCD1602............................................................................................................................ 88
Lab67. LCD12864(with ks0108 controller)............................................................................................ 89
Lab68. LCD12864(with st7920 controller)............................................................................................. 90
Section5.Sch ........................................................................................................................................................ 91
Section6.Contact Us .......................................................................................................................................... 91

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

Area Description Area Description


1 Dual Power Supply/USB Port 17 SP2 Port
Board is equipped with power supply unit Board is equipped with SP2 Connecter.you can
capable of supporting both 3.3V and 5V use it to build a KEY board of PC input.
microcontrollers. Board can be powered over
USB cable, or external adapter connectors.An
USB Port is supported(for 18F2550,18F4550
etc.)
2 4*4 Key Board 18 Power Output Connecter
4*4 Key Board can be connected to each Board is equipped with Power Output
Input/Output group enable you to have digital Connecter for GND,3.3V and 5V output.
inputs on each port pin. Buttons are of high

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.

. PIC-EK also supports programmer/debugger by microchip,they are:ICD2,PICKIT2,PICKIT3.

.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.

(2) With laboratory power supply


Set J1 jumper to external power position like .
To power the board using screw terminals, place jumper J1 in EXT_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 adapter cable as shown as the left figure, and turn the
power switch ON.

2. Programming with a PIC Programmer/Debugger


An PIC programmer/debugger is necessary for PIC-EK to upload HEX file to the on-board PIC microcontroller.
PIC-EK is equipped with 6pin standard ICSP connector compatibile with ICD2,PICKIT2,PICKIT3 and ICD3
by Microchip company.In the meantime,it also supports many third-party programmers,like K128,K149,QL2006
etc.

After you have finished the ICSP connecting,you have to set the appropriate jumpers closed to the
ICSP connector.

for DIP18,DIP28,DIP40 microcontrollers. for 10F2XX,DIP8,DIP14,DIP20 microcontrollers.

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.

4. Create a USB hid device using 18F4550/18F2550


USB is the acronym for Universal Serial Bus. This is a very popular industry standard that defines cables,
connectors and protocols used for communication and power supply between computers and other devices.
PIC-EK contains USB connector which enables microcontrollers that support USB(like 18f4550,18f2550 etc.)
communication to establish a connection with the target host (eg. PC, Laptop, etc).
What should you do when you are trying to create USB communication.
(1)Set the J1 to USB_PWR position.
(2)All jumpers should be connected on JP1.
5. How to properly place your LCD12864 and LCD1602 into the LCD 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.

Select the right path.

Accept the agreement.

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.

Finish to restart the PC.

2. PICC Compiling Installing(Only for 18F microcontrollers)


Click the picc18 v8.35PL3 Setupto start to instal the compiler.

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.

Dont change the default path.

Feel free to visit our website: www.100mhz.com for more data and development tools 16
PIC-EK Development Board Users Manual
Finished.

Go to the software folder and copy picc18.exe.

Paste it in c:HTSOFT\PIC18\binand cover the old file.

Go to the software folder and click Picc18 v8.35 to run.

Feel free to visit our website: www.100mhz.com for more data and development tools 17
PIC-EK Development Board Users Manual
Click NEXT.

Fill in the information just like the followings.

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.

Do some settings and next.

Feel free to visit our website: www.100mhz.com for more data and development tools 19
PIC-EK Development Board Users Manual
Next.

Select default path and 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 HI-TECH RSA and start to crack.

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

Cracking is finished,then you need to close the window.

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

To understand the operation of an IO.

To interface and drive a Buzzer/Speaker.


c. Result
RC2=1,T1 is open,and the Speaker will be activated.

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

To understand the operation of an IO.

To interface and drive a Buzzer/Speaker.


c. Result
RC2=1, the Speaker is activated.-----Delay-----RC2=0, the Speaker is closed

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

To understand the operation of an IO.

To interface and drive a LED.


c. Result
RD0=1, V0 is ON.

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

To understand the operation of an IO.

To interface and drive a LED.


c. Result
RD0=1, V0 is ON----RD0=0, V0 is OFF

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

To understand the operation of an IO.

To interface and drive LEDs.


c. Result
V0-V7 Runs

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


c. Result

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


c. Result

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


c. Result

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


c. Result

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


c. Result

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


c. Result

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


c.Result

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


b. Result:Display 0000-9999

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

To understand the operation of an IO.

To interface and drive a dynamic-state SEGLED.


c.Result
The Key value will be displayed when Button1-Button3 or Joystick is pressed.

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

To understand the operation of an IO.


c.Result
The Speaker will be activated when Button1-Button3 or Joystick is pressed.

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

To understand the operation of an IO.


c.Result
The Key value will be displayed when KEY1-KEY16 is pressed.

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

To understand the operation of an IO.


c.Result
The Speaker will be activated when KEY1-KEY16 is pressed.

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

To understand the operation of stepmotor.


c. Result
The Stepmotor will spin in circles.

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

To understand the operation of a Char LCD.


c.Result

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

To understand the operation of a Char LCD.


c.Result

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

To understand the operation of a Char LCD.


c.Result:00001++

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

To understand the operation of Timer inside.


c.Result:V0 ON---Timing 0.5s---V0 OFF..

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

To understand the operation of Timer inside.


c.Result:1++ for every 1s timing.

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

To understand the operation of Timer inside.


c.Result:1++ for every 1s timing.

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

To understand the operation of Timer inside.


c.Result:V0 ON---Timing 0.5s---V0 OFF..

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

To understand the operation of Timer inside.


c.Result:1++ for every 1s timing.

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

To understand the operation of Timer inside.


c.Result:1++ for every 1s timing.

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

To understand the operation of Timer inside.


c.Result:V0 ON---Timing 0.5s---V0 OFF..

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

To understand the operation of Timer inside.


c.Result:1++ for every 1s timing.

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

To understand the operation of Timer inside.


c.Result:1++ for every 1s timing.

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

To understand the operation of RB0 Interrupt.


c.Result:Press BUTTON1(RB0),LEDs will return to the initial state.

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

To understand the operation of RB0 Interrupt.


c. Result:Press BUTTON 1(RB0),1-digit segled will return to the initial state.

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

To understand the operation of RB0 Interrupt.


c. Result:Press BUTTON (RB0),4-digit segled will return to the initial state.

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

To understand the operation of RB0 Interrupt.


c. Result:Press BUTTON 1(RB0),LCD1602 Displaying will return to the initial state.

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

To understand the operation of PS2 Key board using a Microcontroller.


c. Result:Press a keys on the PC keyboard,the key value will be displayed on LCD1602.

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

To understand the operation Watch dog inside.


c. Result

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

To understand the operation of Internal eeprom.


c. Result:Press the reset KEY, the internal eeprom will record the number of resets times.

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

To understand the operation of PWM.


c. Result:The V2 will be activated and act from Dim to Bright.

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

To understand the operation of PWM.


c. Result:The V1 will be activated and act from Dim to Bright.

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

To understand the operation of CCP and infrared Remote.


c. Result:Press the key on the Remoter,the key value will be displayed on the LCD1602.

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

To understand the operation of infrared Remote.


c.Result:Press the any key on the Remoter,the speaker will be be activated.

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

To understand the operation of CCP and infrared Remote.


c. Result:Press the key on the Remoter,the key value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD0 sampling value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD1 sampling value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD2 sampling value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD3 sampling value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD4 sampling value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD5 sampling value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD6 sampling value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD7 sampling value will be displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD0 sampling value will be displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD1 sampling value will be displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD2 sampling value will be displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD3 sampling value will be displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD4 sampling value will be displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD5 sampling value will be displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD6 sampling value will be displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD7 sampling value will be displayed on the LCD1602.

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

To understand the operation of 8-bit ADC.


c. Result: The 8-bit AD0 sampling value will be converted to voltage and displayed on the LCD1602.

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

To understand the operation of 10-bit ADC.


c. Result: The 10-bit AD0 sampling value will be converted to voltage and displayed on the LCD1602.

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

To understand the operation of adjusting V2s brightness by using AN0.


c. Result: Adjust the AN0 input(Potentiometer ADC_INPUT),the V2s brightness will changing.

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

To understand the operation of adjusting V1s brightness by using AN0.


c. Result: Adjust the AN0 input(Potentiometer ADC_INPUT),the V1s brightness will changing.

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

To understand the operation of 1-wire device DS18B20.


c. Result: The current environments temperature value will be displayed on the LCD1602.

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

To understand the operation of external eeprom 24Cxx.


c. Result:Press the reset KEY, the external eeprom will record the number of times.

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

To understand the operation of PCF8563 using IIC.


c. Result:The RTC will will be displayed on the LCD1602.

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

To understand the operation of RS232.


c. Result:Send a data X from PC,the MCU will receive it and return X+1 to PC.All data will be displayed
on the LCD1602.

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

To understand the operation of LCD12864.

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

To understand the operation of LCD12864.

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

4 RB5 8 RD1 3 6 12 DS1


4 8 VCC G1 Y3

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

2 5 C21 104 1838V R31


C2- 2

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

VSS RD6 7 RC1 RC6


RC0 OSC1 13 28 RD5 RC2 13 16 RC5 PORTB
1 OSC1 RD5 6 RC2 RC5 RA2 1 18 RA1
RC1 OSC2 14 27 RD4 RC3 14 15 RC4 RA2 RA1 RB0 1 2 RB1
2 OSC2 RD4 5 RC3 RC4 RA3 2 17 RA0 1 2
VCC RC2 RC0 15 26 RC7 RD3 RA3 RA0 RB2 3 4 RB3
KEY9 KEY10 KEY11 KEY12 3 RC0 RC7 4 RA4 3 16 OSC1 3 4
RC3 RC1 16 25 RC6 RD2 RA4 OSC1 RB4 5 6 RB5
4 RC1 RC6 3 MCLR 4 15 OSC2 5 6
RC4 RC2 17 24 RC5 RD1 MCLR OSC2 RB6 7 8 RB7
5 RC2 RC5 2 5 14 VCC 7 8
RC5 RC3 18 23 RC4 RD0 DIP8 VSS VCC 9 10
6 RC3 RC4 1 RB0 6 13 RB7 9 10
B RC6 RD0 19 22 RD3 RB0 RB7 B
KEY13 KEY14 KEY15 KEY16 7 RD0 RD3 RB1 7 12 RB6
RC7 RD1 20 21 RD2 CN8 VCC 1 8 RB1 RB6 PORTD
8 RD1 RD2 VCC VSS RB2 8 11 RB5
K8 OSC1 2 7 RA0 RB2 RB5 RD0 1 2 RD1
8 CN10 OSC1 RA0 RB3 9 10 RB4 1 2
K7 OSC2 3 6 RA1 RB3 RB4 RD2 3 4 RD3
7 OSC2 RA1 3 4
K6 C16 22p OSC1 GND 3.3V 5V MCLR 4 5 RA2 RD4 5 6 RD5
6 MCLR RA2 DIP14 5 6
K5 1 2 1 2 1 2 RD6 7 8 RD7
5 1 2 1 2 1 2 7 8
K4 Crystal Adapter 3 4 3 4 3 4 VCC 1 14 9 10
4 3 4 3 4 3 4 VCC VSS 9 10
K3 5 6 5 6 5 6 10F2XX OSC1 2 13 RA0
3 5 6 5 6 5 6 OSC1 RA0
K2 OSC2 3 12 RA1 VCC
2 3.3V 5V OSC2 RA1
K1 1 8 MCLR MCLR 4 11 RA2 C11 C12
1 OSC2 C9 C10 NC MCLR MCLR RA2
3.3V 5V VCC 2 7 RC5 5 10 RC0 104 104
C15 22p 104 104 VCC VSS RC5 RC0
CN18 RA2 3 6 RC4 6 9 RC1
RA2 NC RC4 RC1 C13 C14
RA1 4 5 RA0 RC3 7 8 RC2
4*4 KEY BOARD RA1 RA0 RC3 RC2
IO 104 104

eeprom VCC R18 1K V0


SPEAKER

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

DATA D1 VCC CLK R23


2 CLK 1 8 1K V5
NC 1 8 Title
ICSP 3 Y2 OSCI VDD
PS2 GND 2 7 CN11 CN4
4 OSCO CLKOUT
VDD VCC 3 6 SCL R24
5 INT SCL 1K V6
CLK 32.768K C8 4 5 SDA Size Number Revision
6 VSS SDA
NC 22p
A3
PCF8563 R25
ICSP PS2 VCC
R27 10K
RTC LEDs 1K V7 Date:
File:
1-Jan-2006
D:\100MHZ\100MHZ.Ddb
Sheet of
Drawn By:
1 2 3 4 5 6 7 8

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

You might also like