Use lots of 16bit I2C GPIO expanders eg NXP PCF8575 or the MCP2017Arakis wrote:Hello,
thanks for the tip, the tip with the shift register helped a lot. I was able to create this in "logisim", to simulate this successfully.
But this works only for the output GPIO (the 64 LEDs). How can i listen for 64 input GPIOs (the 64 magnetic contacts)?
Yes but you will need to LATCH the values before shifting and latch again the next time you want read what the inputs are doing. Otherwise you WILL get weird results.Arakis wrote:Thanks for the tip! I found out, i can simple use shift registers for reading, too.
That is how that piece of software works not how electronics workI created a plan in Logisim, and all works fine. The "stupid" question i have now, is, where is the energy?!
For example, in my attached screenshot, in the above shift regsiter, the 4'th bit is set, the 4'th LED is on. But "LED input", "Write" and "Cycle" is "0", so how it is possible that the LED is on. And of course, there's only one wire, so it should not work.
Users browsing this forum: No registered users and 11 guests