Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ Forum ➜ Problems ➜ Reviving old threads on I2C, Interrupts and Expanders

Reviving old threads on I2C, Interrupts and Expanders

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Danzman   USA  (1 post)  Bio
Date Tue 27 Mar 2018 02:59 AM (UTC)

Amended on Tue 27 Mar 2018 03:04 AM (UTC) by Danzman

Message
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.
Top

Posted by Nick Gammon   Australia  (23,070 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 27 Mar 2018 03:24 AM (UTC)
Message
Template:Arduino Please post Arduino-related questions to the Arduino Forum or to StackExchange: Arduino. This saves splitting questions and answers between this forum and the Arduino ones.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,192 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.