Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

PIC18F4520 Page 1 of 2

PIC18F4520 INTRODUCTION

PIC18F4520 INTRODUCTION
HOME

TUTORIAL 1
Nowadays,there are a lots of PIC in the market.You can even order it from Texas
TUTORIAL 2 Instrument,Microchip,Farnell and so on.Each of the PIC has their own advantages and disadvantages.Here,i'm
choosing PIC18F4520.Why?
TUTORIAL 3
The reason i choose PIC18F4520 is:
TUTORIAL 4
 no need to switch bank
TUTORIAL 5  more useful instructions for programming
 more functions such as more types of interrupt
 can multiply the oscillator frequency such as 10MHzx4

The PIC18F4520 Pins Diagram

PORTA
PORTA is a 8-bit wide, bidirectional port.Pins RA6 and RA7 are multiplexed with the main oscillator pins.

PORTB
PORTB is also a 8-bit wide, bidirectional port.Four of the PORTB pins (RB7:RB4) have an interrupton-change
feature.Only pins configured as inputs can cause this interrupt to occur.

PORTC
There are two pins of PORTC use as PWM(PULSE WIDTH MODULATION) mode.Besides,there are also two
pins use for MSSP(MASTER SYNCHRONOUS SERIAL PORT).

PORTD
PORTD is only available on 40/44-pin devices.Three of the PORTD pins are multiplexed with outputs P1B, P1C
and P1D of the enhanced CCP module.

PORTE
For 40/44-pin devices, PORTE is a 4-bit wide port.Three pins (RE0/RD/AN5, RE1/WR/AN6 and RE2/CS/AN7)
are individually configurable as inputs or outputs

VDD and VSS

http://www.18f4520.com/PICINTRO.html 8/31/2009
PIC18F4520 Page 2 of 2

These are the power supply pins.VDD is the positive supply and VSS is the negative supply,or 0V.The maximum
supply voltage into PIC is 5V.

NOW,LET'S BEGIN OUR TUTORIAL!!!!!!                                 Next


COPYRIGHT@2009
UNIVERSITY MALAYA

http://www.18f4520.com/PICINTRO.html 8/31/2009

You might also like