[Home] [Downloads] [Search] [Help/forum]

Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  Forum
. -> [Folder]  Problems
. . -> [Subject]  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] Refresh page

Posted by Danzman   USA  (1 post)  [Biography] bio
Date Tue 27 Mar 2018 02:59 AM (UTC)

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

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.
[Go to top] top

Posted by Nick Gammon   Australia  (23,001 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Tue 27 Mar 2018 03:24 AM (UTC)
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
[Go to top] 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.


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

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]