pic-ek user manual

Upload: djdkdf

Post on 13-Jan-2016

429 views

Category:

Documents


97 download

DESCRIPTION

user manual for pic board

TRANSCRIPT

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

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

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

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

  • PIC-EK Development Board Users Manual

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

    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.

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

    20 DIP28 Socket DIP28 Socket is for 28PIN PIC microcontrollers.

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

    21 DIP14 Socket DIP14 Socket is for 14PIN PIC microcontrollers.

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

    7 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 is for 20PIN PIC microcontrollers.

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

    9 RS232 Circuit RS232 communication circuit.

    25 DIP40 Socket DIP40 Socket is for 40PIN PIC microcontrollers.

    10 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 is for 18PIN PIC microcontrollers.

    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

  • PIC-EK Development Board Users Manual

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

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

    LCD12864 connector which allow you to connect LCD1602 and LCD12864 display easily

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

    31 PORT Headers 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

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    3. How to properly place your microcontroller into the DIP 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?

    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.

  • PIC-EK Development Board Users Manual

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

    Section3.Software Installing 1. MPLAB Installing Click setup.exe to start to setup MPLAB

    Processing.

    Next

    Next

  • PIC-EK Development Board Users Manual

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

    Select Complete.

    Select the right path.

    Accept the agreement.

  • PIC-EK Development Board Users Manual

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

    Next

    Processing.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    Next.

    Next.

    Click YES.

  • PIC-EK Development Board Users Manual

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

    Select default path.

    Next.

    Processing...

  • PIC-EK Development Board Users Manual

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

    Next.

    Close.

    Dont change the default path.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    Next.

    Select default path and next.

  • PIC-EK Development Board Users Manual

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

    Next.

    Processing Finished

    Click HI-TECH RSA and start to crack.

    Click Open

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    Lab18. Stepmotor a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of stepmotor. c. Result The Stepmotor will spin in circles.

  • PIC-EK Development Board Users Manual

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

    Lab19. LCD1602 Display (Char) a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of a Char LCD. c.Result

  • PIC-EK Development Board Users Manual

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

    Lab20. LCD1602 Display (Arabic numerals) a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of a Char LCD. c.Result

  • PIC-EK Development Board Users Manual

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

    Lab21. LCD1602 Display (number++) a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of a Char LCD. c.Result:00001++

  • PIC-EK Development Board Users Manual

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

    Lab22. Timer0+V0 a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of Timer inside. c.Result:V0 ON---Timing 0.5s---V0 OFF..

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    Lab24. Timer0+LCD1602 Display a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of Timer inside. c.Result:1++ for every 1s timing.

  • PIC-EK Development Board Users Manual

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

    Lab25. Timer1+V0 a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of Timer inside. c.Result:V0 ON---Timing 0.5s---V0 OFF..

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    Lab27. Timer1+LCD1602 Display a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of Timer inside. c.Result:1++ for every 1s timing.

  • PIC-EK Development Board Users Manual

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

    Lab28. Timer2+V0 a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of Timer inside. c.Result:V0 ON---Timing 0.5s---V0 OFF..

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    Lab30. Timer2+LCD1602 Display a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of Timer inside. c.Result:1++ for every 1s timing.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    Lab36. Watch Dog+ LCD1602 Display a.Hardware Connection

    b. OBJECTIVES

    To understand the operation Watch dog inside. c. Result

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    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.

  • PIC-EK Development Board Users Manual

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

    Lab67. LCD12864(with ks0108 controller) a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of LCD12864.

  • PIC-EK Development Board Users Manual

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

    Lab68. LCD12864(with st7920 controller) a.Hardware Connection

    b. OBJECTIVES

    To understand the operation of LCD12864.

  • PIC-EK Development Board Users Manual

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

    Section5.Sch

    1 2 3 4 5 6 7 8

    A

    B

    C

    D

    87654321

    D

    C

    B

    A

    Title

    Number RevisionSize

    A3

    Date: 1-Jan-2006 Sheet of File: D:\100MHZ\100MHZ.Ddb Drawn By:

    1 1

    2 2

    3 3

    4 4

    5 5

    6 6

    7 7

    8 8

    9 9

    10 10

    11 11

    12 12

    13 13

    14 14

    15 15

    16 16

    17 17

    18 18

    19 19

    20 20

    LCD12864

    1 1

    2 2

    3 3

    4 4

    5 5

    6 6

    7 7

    8 8

    9 9

    10 10

    11 11

    12 12

    13 13

    14 14

    15 15

    16 16

    LCD1602

    5V

    5V

    VCC

    VCC

    5V

    VCC

    VCC

    VCC

    V0

    V1

    V2

    V3

    V4

    V5

    V6

    V7

    PWR

    R19 1K

    R20 1K

    R21 1K

    R22 1K

    R23 1K

    R24 1K

    R25 1K

    R3110K

    R1 1K

    Crystal Adapter

    C16 22p

    C15 22p

    C22104

    C19104

    C21 104

    C18 104

    C4

    104

    Y2

    32.768K

    RESET

    KEY1 KEY2 KEY3 KEY4

    KEY5 KEY6 KEY7 KEY8

    KEY9 KEY10 KEY11 KEY12

    KEY13 KEY14 KEY15 KEY16

    MC

    LR

    C1+ 1C1- 3C2+ 4C2- 5

    T2in 10

    T1in 11

    V+2V-6

    VCC16

    T2out7

    T1out14

    R1in13R2in8

    R1out 12R2out 9GND 15

    RS232

    162738495

    UART

    ADC_INPUTA

    P2Vin1

    GN

    D2

    +5V 378M05

    +C5

    470u

    VCC 3

    GND 1

    DQ 2

    DS18B20

    R34 4.7K

    VCC

    VCC

    VCC

    5 5

    6 6

    VCC 1

    DATA- 2

    DATA+ 3

    GND 4

    USB

    ICSP

    VCC3.3V

    VCC

    5V

    VCC

    MCLRRA0RA1RA2RA3RA4RA5RE0RE1RE2

    OSC1OSC2RC0RC1RC2RC3 RC4

    RC5RC6RC7

    RD0RD1

    RD2RD3RD4RD5RD6RD7

    RB0RB1RB2RB3RB4RB5RB6RB7

    OSC1

    OSC2

    123456

    ICSP

    RB6RB7

    MCLR

    RD0RD1RD2RD3RD4RD5RD6RD7

    RD0RD1RD2RD3RD4RD5RD6RD7

    P1

    BUTTON3

    BUTTON2

    BUTTON1

    VCC

    123

    J2

    R33

    10K

    C17104

    GND 1

    VCC 2

    1838V 3

    REMOTE

    R18 1K

    www.100MHz.comPIC-EK V2.0

    DATA 1

    NC 2

    GND 3

    VDD 4

    CLK 5

    NC 6

    PS2VCC

    VCC

    VCC

    VCC

    VCC

    VCC

    R26 10K

    R27 10K

    OSCI1

    OSCO2

    INT3

    VSS4 SDA 5SCL 6

    CLKOUT 7VDD 8

    PCF8563

    D1

    C822p

    a11

    b7

    c4

    d2

    e1

    f10

    g5

    dp3

    D1

    12

    D2

    9

    D3

    8

    D4

    6

    SEG

    A1

    B2

    C3

    G16

    G2A4

    G2B5

    GND8 Y7 7Y6 9Y5 10Y4 11Y3 12Y2 13Y1 14Y0 15

    VCC 1674LS138

    RB3RB4RB5

    RB0RB1RB2

    RB3RB4RB5

    5V

    A01

    A12

    A23

    GND4VCC8

    SDA 5SCL 6

    WP 724CXX

    VCC

    R30

    R29

    VCC

    SCLSDA

    DATACLK

    SCLSDA

    1838V

    DQ

    IN11

    IN22

    IN33

    IN44

    IN55

    IN66

    IN77

    GND8 VCC 9

    OUT7 10OUT6 11OUT5 12OUT4 13OUT3 14OUT2 15OUT1 16

    5V

    5V

    ULN2003A

    VCC1

    A2

    B3

    C4

    D5

    stepmotor

    A B C D E F G DP

    ABCDEFGDP

    138A138B138C

    138A138B138C

    R32

    330R

    12348 7 6 59

    RP1

    K1K2K3K4K5K6K7K8

    VCC

    A1

    CTR2

    C3

    B 4

    COM 5

    D 6

    SHIELD17 SHIELD2 8

    Joystick

    12348 7 6 59

    RP2

    VCC

    12345678

    CN18

    12345678

    CN19

    BUTTON1

    BUTTON2

    BUTTON3

    BUTTON4BUTTON5

    BUTTON6 BUTTON7BUTTON8

    BUTTON5BUTTON6BUTTON7BUTTON8

    OK

    12

    EX-PWR

    POWERSW

    123

    J1

    GND7-12V

    11 2 2

    33 4 4

    55 6 6

    JP1

    RC3RC4RC5

    C1 105

    USB_PWR

    EXT_PWR

    VIN3

    GN

    D1

    VOUT 2LM1117

    3.3V

    C2

    104

    +C1

    10u

    5V

    C7

    104

    +C6

    10u

    3.3V

    5V

    3.3V

    5V

    R2 R3 R4 R5 R6 R7 R8 R9

    12345678

    CN3

    12345678

    CN6

    DS1

    DS2

    DS3

    DS4

    DS1DS2DS3DS4

    E1

    D2

    CO

    M3

    C4

    DP

    5

    B6

    A7

    CO

    M8

    F9

    G10

    R10

    R11

    R12

    R13

    R14

    R15

    R16

    R17

    1 2 3 4 5 6 7 8

    CN

    5

    a b c d e f g dp

    11 2 2

    33 4 4

    55 6 6

    PGC

    PGD

    PGD PGCRA0 RA1

    12345678

    CN4

    VCC

    AD

    C

    12345678

    CN20

    IN4IN5IN6IN7

    1838V

    IN4IN5IN6IN7

    R28

    1K

    VCC

    T1

    SPEAKER

    SPEAKER

    12345678

    CN11

    CLKDATASPEAKERSCLSDA

    ADC

    ADC

    DQ

    11 2 2

    33 4 4

    55 6 6

    77 8 8

    99 10 10

    1111 12 12

    1313 14 14

    1515 16 16

    1717 18 18

    CN9

    12345678

    CN7

    12345678

    CN8

    12345678

    CN10

    RD0RD1

    RD2RD3

    RC0RC1RC2RC3RC4RC5RC6RC7

    11 2 2

    33 4 4

    55 6 6

    GND

    11 2 2

    33 4 4

    55 6 6

    3.3V

    11 2 2

    33 4 4

    55 6 6

    5V

    3.3V 5V3.3VC9104

    C10104 5V

    11 2 2

    33 4 4

    55 6 6

    77 8 8

    99 10 10

    PORTA/E

    11 2 2

    33 4 4

    55 6 6

    77 8 8

    99 10 10

    PORTC

    11 2 2

    33 4 4

    55 6 6

    77 8 8

    99 10 10

    PORTB

    11 2 2

    33 4 4

    55 6 6

    77 8 8

    99 10 10

    PORTD

    MCLR1

    RA02

    RA13

    RA24

    RA35

    RA46

    RA57

    RE08

    RE19

    RE210

    VCC11

    VSS12

    OSC113

    OSC214

    RC015

    RC116

    RC217

    RC318

    RD019

    RD120 RD2 21RD3 22RC4 23RC5 24RC6 25RC7 26RD4 27RD5 28RD6 29RD7 30VSS 31VCC 32RB0 33RB1 34RB2 35RB3 36RB4 37RB5 38RB6 39RB7 40

    DIP40

    MCLR1

    RA02

    RA13

    RA24

    RA35

    RA46

    RA57

    VSS8

    OSC1/RA79

    OSC2/RA610

    RC011

    RC112

    RC213

    RC314 RC4 15RC5 16RC6 17RC7 18VSS 19VDD 20RB0 21RB1 22RB2 23RB3 24RB4 25RB5 26RB6 27RB7 28

    DIP28

    VCC1

    OSC12

    OSC23

    MCLR4

    RC55

    RC46

    RC37

    RC68

    RC79

    RB710 RB6 11RB5 12RB4 13RC2 14RC1 15RC0 16RA2 17RA1 18RA0 19VSS 20

    DIP20

    RA21

    RA32

    RA43

    MCLR4

    VSS5

    RB06

    RB17

    RB28

    RB39 RB4 10RB5 11RB6 12RB7 13VCC 14

    OSC2 15OSC1 16

    RA0 17RA1 18

    DIP18

    VCC1

    OSC12

    OSC23

    MCLR4

    RC55

    RC46

    RC37 RC2 8RC1 9RC0 10RA2 11RA1 12RA0 13VSS 14

    DIP14

    VCC1

    OSC12

    OSC23

    MCLR4 RA2 5RA1 6RA0 7VSS 8

    DIP8

    NC1

    VCC2

    RA23

    RA14 RA0 5NC 6

    VSS 7MCLR 8

    10F2XX

    C11104

    C12104

    C13104

    C14104

    MCLR

    MCLR

    MCLR

    MCLR

    MCLR

    MCLR

    VCC

    VCC

    VCC

    VCC

    VCC

    VCC

    VCC

    OSC1OSC2

    OSC1OSC2

    OSC1OSC2

    OSC1OSC2

    OSC1OSC2

    RA0RA1RA2RA3RA4RA5

    RC0RC1RC2RC3 RC4

    RC5RC6RC7

    RB0RB1RB2RB3RB4RB5RB6RB7

    RA0RA1RA2

    RA0RA1RA2

    RA0RA1RA2RC0RC1RC2RC3

    RC4RC5

    RA0RA1RA2

    RA3RA4

    RB0RB1RB2RB3 RB4

    RB5RB6RB7

    RA0RA1RA2RC0RC1RC2RC3

    RC4RC5

    RC6RC7

    RB4RB5RB6RB7

    VCC

    RA0 RA1RA2 RA3RA4 RA5RE0 RE1RE2

    RC0 RC1RC2 RC3RC4 RC5RC6 RC7

    RB0 RB1RB2 RB3RB4 RB5RB6 RB7

    RD0 RD1RD2 RD3RD4 RD5RD6 RD7

    eeprom

    PS2

    SPEAKER

    RTC LEDs

    IO

    MCUsRS232 REMOTE

    STEPMOTOR

    RESET ADC

    1-WIRE

    4*4 KEY BOARD

    JOYSTICK&BUTTONsLCD1602&LCD12864

    USB&POWER 4-DIGIT SEGLED 1-DIGIT SEGLED

    Section6.Contact Us Official Website:www.100MHz.com Ebay Store 1: http://stores.ebay.com/weixinliang729 Ebay Store 2: Under Construction.. E-mail:[email protected] or [email protected] Skype: love100mhz