PIC16F887_experimentE

Page 1

NX-887 Experiment documentation 1

PIC16F887 microcontroller Experiment Experiment 1 Input/Output port Experiment 1.1 : Drive LED with PORTC This experiment demonstrates using PORTC of PIC16F887 as output to drives the blinking LED. The experimental C code that developed by HI-TECH C compiler and MPLAB IDE is shown in Listing L1-1.

Experimental circuit : +5V

11 Vcc

32 Vcc

+5V R1 10k

R2 510

LED8-LED1

PIC16F887 1

RC7 26

MCLR

SW1 RESET

RC6 25 RC5

24

RC4 23 RC3 12 31

RC2 17

GND

RC1 16

GND

RC0

OSC1

15

OSC2

13 C1 22pF

18

14 XTAL1 20MHz

C2 22pF

RN1 390*8


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
PIC16F887_experimentE by Innovative Experiment Co.,Ltd. - Issuu