Go Down

Topic: old question interrupt expansion (Read 430 times) previous topic - next topic

ironbot

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.

Graynomad

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
Rob Gray aka the GRAYnomad www.robgray.com

DuaneB

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

Read this
http://rcarduino.blogspot.com/2012/04/servo-problems-with-arduino-part-1.html
then watch this
http://rcarduino.blogspot.com/2012/04/servo-problems-part-2-demonstration.html

Rcarduino.blogspot.com

Go Up