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

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

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

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

17
Dual Power Supply/USB Port
Board is equipped with power supply unit
capable of supporting both 3.3V and 5V
microcontrollers. Board can be powered over
USB cable, or external adapter connectors.An
USB Port is supported(for 18F2550,18F4550
etc.)

SP2 Port
Board is equipped with SP2 Connecter.you can
use it to build a KEY board of PC input.

4*4 Key Board


4*4 Key Board can be connected to each
Input/Output group enable you to have digital
inputs on each port pin. Buttons are of high

18

Power Output Connecter


Board is equipped with Power Output
Connecter for GND,3.3V and 5V output.

Feel free to visit our website: www.100mhz.com for more data and development tools

PIC-EK Development Board Users Manual


quality and have an exceptional and stable
response.
3

4-digit 7-seg display


Driving 7-segment displays is fun! PIC-EK
provides 4-digit display for your applications.

19

10f2xx Socket
10f2xx Socket is for 10f2xx series PIC
microcontrollers like 10f200,10f202 etc.

SMD LEDs
Board contains total of 8 LEDs for PORT pins.

20

DIP28 Socket
DIP28
Socket
microcontrollers.

is

for

28PIN

PIC

DIP14 Socket
DIP14
Socket
microcontrollers.

is

for

14PIN

PIC

21
ICSP connector
You need to use an external programmer with
PIC-EK, we have provided the standard ICSP
compatible connector.

1-digit 7-seg display


PIC-EK provides 4-digit common cathode
display for your applications.

22

DIP8 Socket
DIP8 Socket is for 8PIN PIC microcontrollers.

Push buttons
3 Push buttons is used for testing the digital
inputs on each port pin. Buttons are of high
quality and have an exceptional and stable
response.

23

DIP20 Socket
DIP20
Socket
microcontrollers.

Joystick
Joystick can be used for handling the on-screen
menus or as a generic input device.

24

Crystal oscillator Socket


Crystal oscillator Socket that provides external
clock is connected to microcontroller osc pins
and easy way to change different Crystal
oscillator the user need.

RS232 Circuit
RS232 communication circuit.

25

DIP40 Socket
DIP40
Socket
microcontrollers.

is

for

40PIN

PIC

ADC potentiometers
You can simulate analog inputs using this
provided analog potentiometer which can be
connected to each of the 8 supported
microcontroller analog input pins.

26

DIP18 Socket
DIP18
Socket
microcontrollers.

is

for

18PIN

PIC

11

DS1820 Temp Sensor


Board supports Dallas DS18B20 One-Wire
digital temperature sensor.

27

ULN2003A driving
ULN2003A provided on board is for driving
stepmotor.

12

Remote
1838B infrared device provided on the board
for your remote control.

28

Reset Button
High quality reset button with surrounding reset
circuitry ensures stable reset operation.

13

RS-232 Connector
You can implement UART communication
through RS-232 connector provided on the
board.

29

LCD Contrast Potentiometers


The 2 potentiometers allows you to adjust the
contrast level of the pixels on your LCD1602
character display and LCD12864 display.

14

I2C EEPROM
You can store xxxx bytes of configuration data

30

LCD1602 and LCD12864 Socket


Board are equipped with LCD1602 and

10

is

Feel free to visit our website: www.100mhz.com for more data and development tools

for

20PIN

PIC

PIC-EK Development Board Users Manual


or other data into on-board 24CXX Serial
EEPROM with I2C interface.
15

RTC Module
It features the PCF8563 real-time clock (RTC).

16

Buzzer/Speaker
With piezo buzzer you can debug your
applications, or have audio signalization
feature.

LCD12864 connector which allow you to


connect LCD1602 and LCD12864 display
easily
31

PORT Headers
They are available in each Input/Output group,
which is convenient for easier access to any
PORT pin.

Supported Devices
PIC-EK currently supports over 250 Microchip microcontrollers, and the following shows the frequently-used:
PIC10FXX
PIC10F200

PIC10F202

PIC10F204

PIC10F206

PIC10F220

PIC10F222

PIC12C508

PIC12C508A

PIC12C509

PIC12C509A

PIC12C671

PIC12C672

PIC12CE518

PIC12CE519

PIC12CE673

PIC12CE674

PIC12F508

PIC12F509

PIC12F629

PIC12F635

PIC12F675

PIC12F683

PIC12F615

PIC12HV615

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

PIC16F884

PIC16F886

PIC12XX

PIC16XX

PIC16F883

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

PIC-EK Development Board Users Manual


PIC18F4510

PIC18F4515

PIC18F4520

PIC18F4610

PIC18F4620

PIC18F4680

PIC18F4525

PIC18F4550

PIC18F4580

PIC18F4585

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

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

PIC-EK Development Board Users Manual


3. How to properly place your microcontroller into the DIP socket?

Place both ends of microcontroller


on the socket so the pins are
aligned correctly

with
both
fingers,evenly
distribute the force and press the
chip into the socket.

Properly placed microcontroller


will have equally leveled pins.

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

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
5

4
5
6
8

5
9
4
8
3
7
2
6
1

BUTTON7
BUTTON4
9
8
7
6
5
4
3
2
1

A
B
CTR
COM
C
D
SHIELD1 SHIELD2

VCC

CN19
BUTTON8
BUTTON7
BUTTON6
BUTTON5

BUTTON3
BUTTON3
BUTTON2

8
7
6
5
4
3
2
1

BUTTON2
BUTTON1
BUTTON1

KEY2

KEY3

KEY4

KEY5

KEY6

KEY7

KEY8

KEY9

KEY10

KEY11

KEY12

6
2

GND
R2out
R1out

T2out
T1out

T2in
T1in

VV+

C2C2+
C1C1+

1
3
5
7
9
11
13
15
ADC 17

1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18

DQ

KEY13

KEY14

KEY15

RC0
RC1
RC2
RC3
RC4
RC5
RC6
RC7

1
2
3
4
5
6
7
8

KEY16
K8
K7
K6
K5
K4
K3
K2
K1

5
4
3
1

2
4
6
8
10
12
14
16
18

8
7
6
5
4
3
2
1

IN7
IN6
IN5
IN4
C21 104 1838V

GND

1838V
GND
VCC

OSC1
OSC2
RC0
RC1
RC2
RC3
RD0
RD1

RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0

40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21

RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
VCC
VSS
RD7
RD6
RD5
RD4
RC7
RC6
RC5
RC4
RD3
RD2

MCLR
RA0
RA1
RA2
RA3
RA4
RA5

1
2
3
4
5
6
7
8
OSC1
9
OSC2 10
RC0
11
RC1
12
RC2
13
RC3
14

8
7
6
5
4
3
2
1

VCC

CN7
RD7
RD6
RD5
RD4
RD3
RD2
RD1
RD0

RC7
RC6
RC5
RC4
RD3
RD2

8
7
6
5
4
3
2
1
CN8

VCC
OSC1
OSC2
MCLR

C16

22p

OSC1

Crystal Adapter

GND
1
3
5

1
3
5

22p

1
3
5
3.3V

C9
104

OSC2
C15

CN18

3.3V
2
4
6

2
4
6

1
3
5

2
4
6

5V
2
4
6

1
3
5

1
3
5

2
4
6

2
4
6

5V

C10
104

3.3V

VCC
RA2
RA1

5V

2
4
6

2
4
6

VCC

PGC
PGD

VCC

1
2
3
8
4

A0
A1
A2

6
5
4
3
2
1

PS2

ICSP

PS2
1

R27
VCC
2

10K
1
2
3
4
5
6

DATA
NC
GND
VDD
CLK
NC

VCC

SPEAKER
DATA
CLK

D1
Y2

VCC
32.768K
10K

C8
22p

1
2
3
4

OSCI
OSCO
INT
VSS

VDD
CLKOUT
SCL
SDA

8
7
6
5

VCC

SDA
SCL
SPEAKER
DATA
CLK

8
7
6
5
4
3
2
1

1
2
3
4
5
6
7
8

CN11

A
B
C
D
E
F
G
DP
COM
COM

DS1
6

DS2

D4

D3

dp

10

RESET

GND

DQ

VCC
R34 4.7K

C17
104

1-WIRE

R31
10K

VCC
VCC

REMOTE

RESET

VCC

ADC_INP UTA

DIP20

MCLR
RA0
RA1
RA2
RA3
RA4
RA5
VSS
OSC1/RA7
OSC2/RA6
RC0
RC1
RC2
RC3

VCC
OSC1
OSC2
MCLR

RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
VDD
VSS
RC7
RC6
RC5
RC4

VSS
RA0
RA1
RA2

NC
VCC
RA2
RA1

MCLR
VSS
NC
RA0

28
27
26
25
24
23
22
21
20
19
18
17
16
15

8
7
6
5

8
7
6
5

R18

1K

V0

R19

1K

RB7
RB6
RB5
RB4
RB3
RB2
RB1
RB0
VCC
RC7
RC6
RC5
RC4

RA0
RA1
RA2

V1

MCLR
RA0

VCC
1
2
OSC1
3
OSC2
MCLR 4
RC5
5
RC4
6
RC3
7
RC6
8
RC7
9
RB7
10

VSS
RA0
RA1
RA2
RC0
RC1
RC2
RB4
RB5
RB6

20
19
18
17
16
15
14
13
12
11

RA0
RA1
RA2
RC0
RC1
RC2
RB4
RB5
RB6

18
17
16
15
14
13
12
11
10

RA1
RA0
OSC1
OSC2
VCC
RB7
RB6
RB5
RB4

14
13
12
11
10
9
8

RA0
RA1
RA2
RC0
RC1
RC2

RA0
RA2
RA4
RE0
RE2

1
3
5
7
9

RC0
RC2
RC4
RC6

1
3
5
7
9

RB0
RB1
RB2
RB3

1
2
3
4
5
6
7
8
9

VCC
OSC1
OSC2
MCLR
RC5
RC4
RC3

1
2
3
4
5
6
7

RA2
RA3
RA4
MCLR
VSS
RB0
RB1
RB2
RB3

RA1
RA0
OSC1
OSC2
VCC
RB7
RB6
RB5
RB4

RB0
RB2
RB4
RB6

1
3
5
7
9

RD0
RD2
RD4
RD6

1
3
5
7
9

DIP14
VCC
OSC1
OSC2
MCLR
RC5
RC4
RC3

VSS
RA0
RA1
RA2
RC0
RC1
RC2

1 2
3 4
5 6
7 8
9 10

2 RA1
4 RA3
6 RA5
8 RE1
10

PORTC

DIP18
RA2
RA3
RA4
MCLR

ADC
PORTA/E

VCC
OSC1
OSC2
MCLR
RC5
RC4
RC3
RC6
RC7
RB7

1 2
3 4
5 6
7 8
9 10

2
4
6
8
10

RC1
RC3
RC5
RC7

PORTB
1 2
3 4
5 6
7 8
9 10

2 RB1
4 RB3
6 RB5
8 RB7
10

PORTD
1 2
3 4
5 6
7 8
9 10

2 RD1
4 RD3
6 RD5
8 RD7
10

VCC

IO

C11
104

C12
104

C13
104

C14
104

PIC-EK V2.0

1K

V2

R21

1K

V3

R22

1K

V4

R23

1K

V5

Title

1K

V6

Size

1K

V7

Date:
File:

R24

LEDs
4

DS3
D2
10K

VCC
3
2

www.100MHz.com

CN4

SCL
SDA

PCF8563

RTC

c
R33

VCC

R20

T1

R28

SPEAKER

1K

R26

VCC

SCL
SDA

6
5

SCL
SDA

MCLR

ICSP

WP

VCC
GND

1838V

SPEAKER

24CXX

RB6
PGC
RA1

R30

1
3
5

R29

RB7 1
PGD 3
RA0 5

VCC

1
2
3
4

CN6

DQ

10F2XX

4*4 KEY BOARD


eeprom

1
2
3
4

8
7
6
5
4
3
2
1

138C
138B
138A

VCC

STEPMOTOR
3
1
2

DS18B20

VCC
A
B
C
D

DIP8

CN10

8
7
6
5
4
3
2
1

1
2
3
4
5

5V

ULN2003A

CN20

C18 104

5V

VCC

8
7
6
5
4
3
2
1
CN3

DIP28

MCLR
RA0
RA1
RA2
RA3
RA4
RA5
RE0
RE1
RE2
VCC
VSS
OSC1
OSC2
RC0
RC1
RC2
RC3
RD0
RD1

11
12
13
14
15
16
17
18
19
20

R9

stepmotor

REMOTE

MCLR 1
RA0
2
RA1
3
RA2
4
RA3
5
RA4
6
RA5
7
RE0
8
RE1
9
RE2 10

VCC

VCC

10
11

IN4
IN5
IN6
IN7

16
15
14
13
12
11
10

OUT1
OUT2
OUT3
OUT4
OUT5
OUT6
OUT7

DIP40

ADC

OK

15
9
12

IN1
IN2
IN3
IN4
IN5
IN6
IN7

C19
104

CN9

9
8
7
6
5
4
3
2
1

KEY1

7
14

VCC
R2in
R1in

RS232
MCUs

RP1

A
RS232
16
8
13

UART

1
2
3
4
5
6
7

C22
104

VCC
RP2

Joystick

R8

104

10u

GND

DP

104

10u

R7

C6 + C7

C1 + C2

C4
104

R6

C5 +
470u

1K

R5

R1

R4

330R

G1
G2A
G2B

DP
G
F
E
D
C
B
A

3.3V
R3

VCC
16
15 DS4
14 DS3
13 DS2
12 DS1
11
10
9
7

VCC
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7

CN5

5V

R2

PWR

VCC

1
2
3
7

12 DS4
a
11

VCC

R32

5V

6
4
5

VCC

3.3V

VCC

LCD1602&LCD12864
JOYSTICK&BUTTONs
BUTTON6
BUTTON8
BUTTON5

D1

J2

A
B
C

7
6
4
2
1
9
10
5
3
8

3.3V

1
2
3

R10
R11
R12
R13
R14
R15
R16
R17

1
2
3

VCC

EXT_PWR

+5V

74LS138
138A
138B
138C

3.3V

Vin

VOUT

78M05
1

VIN

SEG

3
2
1

J1
EX-P WR
2
1

LM1117
3
5V

5V
GND
7-12V

5V
POWERSW

USB_PWR

RC3
RC4
RC5

2
4
6

2
4
6

GND

USB

1
3
5
JP1

5V

RB0
RB1
RB2
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
RB3
RB4
RB5

RB5
RB4
RB3
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7

4-DIGIT SEGLED 1-DIGIT SEGLED

GND

P1

5V

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

USB&POWER

a
b
c
d
e
f
g
dp

C1 105 1
3
5

1
2
3
4
5
6
7
8

5
1
2
3
4
6

5
VCC
DATADATA+
GND
6

5V
P2

LCD1602

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

ADC

2
LCD12864

MCLR

R25

Number

Revision

A3
1-Jan-2006
D:\100MHZ\100MHZ.Ddb

Sheet of
Drawn By:
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