Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

need some ideas about pin change interrupt in pic16f877a

Status
Not open for further replies.

preethin

Newbie level 5
Joined
May 21, 2013
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,344
what is the use of port change interrupt in pic16f877a
can anyone pls...
 

Apparently he's referring to PORT B interrupt-on-change feature, provided for PIC16F877 pins B4..B7.

Applications are quite obvious and can be found allover the internet. You can e.g. consider a quadrature encoder interface.
 

U can post ur application & circuit diagram so that code is develop accordingly
 

RB4 to RB7 of Port B support Interrupt on change. Suppose, if there is any change in any of these 4 port pins would cause the microcontroller to enter in ISR.
One of the Applications of these port pin interrupts is push button. You can connect 4 push buttons each for one pin. Then, you can perform a particular task for particular pin press.
This Port pin interrupt would let you get rid of polling these four pins. Any how, as 16f877a supports only one Interrupt vector address, you are supposed to check which pin is pressed in ISR.
 

if u need extra pins u can go with port-expander which are also provide change on interrupt to ext. interrupt pin.

- - - Updated - - -

if u need extra pins u can go with port-expander which are also provide change on interrupt to ext. interrupt pin.
of uc

- - - Updated - - -

if u need extra pins u can go with port-expander which are also provide change on interrupt to ext. interrupt pin.
of uc
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top