For an application I am currently developing, I need to be able to get the status of a button (pressed or not pressed) or a switch (which can be considered a button in some way).
While I could theoretically use regular GPIO for this, this will not be a viable solution as the amount of buttons may be up to 50, which would require 2-3 additional Pi's.
Googling around I stumbled upon this bus called 1-Wire. All the examples show tenperature logging, using a DS18B20 if I'm not mistaken, but the concept seemed to fit my use case as well. I figured if something "complex" (compared to a simple button or switch) as a temperature sensor exists for this bus, then surely a simple button or switch must exist too.
Yet I didn't manage to find anything so far, any clues?
sqrt(amountbuttons)
GPIO pins, which isn't optimal for further extension