Pages: [1]   Go Down
Author Topic: old question interrupt expansion  (Read 320 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 301
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
How best to expand Arduino external interrupts?

This must be a question of FAQ type, but I can't find many available solutions online for it. I read that one way is to use 2 Arduinos: one that has the interrupt enabled on the pin change, and the other that reads and acts when interrupted by the first one. The other way seems to be done by GIOP expander chips, which I still can't figure out how (if at all possible).

May be there are ready interrupt controllers we can use?

Please point me to the direction. Thanks.
Logged

nr Bundaberg, Australia
Online Online
Tesla Member
***
Karma: 121
Posts: 8461
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Two Arduinos is way overkill.

Pin change interrupts.
AND/OR gate.
IO expander.
Diode ORing.
Priority encoder.

How about you tell us what you need to do.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 21
Posts: 1670
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

The pinchangeint library gets you around 20 interrupts on a standard arduino uno. Its easy to use, efficient and well supported. I use it a lot and have a overview posted on my blog here -

http://rcarduino.blogspot.com/2012/03/need-more-interrupts-to-read-more.html

obviuosly its not the complete solution if you need more than 20 interrupts, but for 20 or less i dont think there is any need for you to look anywhere else.

Duane B

rcarduino.blogspot.com

Logged


Pages: [1]   Go Up
Jump to: