I found an old thread on "I2C, Interrupts, and Expanders". While I learned from the thread on how to utilize the power of MCP23017 I then determined the suitability of the chip to control RFID antennae connected to a single reader module. The proof of concept showed the viability of the idea. From R. Gammon's explanation of the workings of the MCP 23017, I found this to be the ideal expander. Further research revealed the availability of the centipede shield.
I am planning to use 2 of this shield for a total of 128 GPIOs. One, to control the 64 antennae and the other to control 64 A3144 Hall-effect switches. The antenna and the switches are placed underneath each square of a chessboard.
The shield controlling the switches will be configured using interrupts in which it shall point to the location of the particular pin (square) that triggered the interrupt. The antenna controller shall then monitors the movement of the chess piece using the location pointed to by the switch controller.
My question is how do I apply the configuration as suggested by Gammon's thread to the Centipede Shield? I need to know how to configure interrupt on the centipede. Is it possible to have only one interrupt for the entire shield? It is sad the Macetech documentation does not help that much help.
I am planning to use 2 of this shield for a total of 128 GPIOs. One, to control the 64 antennae and the other to control 64 A3144 Hall-effect switches. The antenna and the switches are placed underneath each square of a chessboard.
The shield controlling the switches will be configured using interrupts in which it shall point to the location of the particular pin (square) that triggered the interrupt. The antenna controller shall then monitors the movement of the chess piece using the location pointed to by the switch controller.
My question is how do I apply the configuration as suggested by Gammon's thread to the Centipede Shield? I need to know how to configure interrupt on the centipede. Is it possible to have only one interrupt for the entire shield? It is sad the Macetech documentation does not help that much help.