So I need to design a stackable module design for a industrial sector project, and was thinking if I was going down this path, why not make it an open design. At a top level what I need is what commercial offerings (AB,B&R, Siemens, etc) already do in that you plug in a collection of IO modules (Inputs/Outputs/ADCs/DAC/Encoders/etc) with different purposes in a chain, and then a master microcontroller automatically detects each module and their location. I cant seem to find any of the commercial offerings that are open, and was curious if anyone has seen anything like this. If not, do you think something like this should exist? (example: SparkFun has Qwiic which is horribly deficient for several reasons, and Mikroe has MikroBus isnt chainable)
As a first thought.. On the hardware side, I was thinking of each module having a cheap, small, and fast microcontroller (RP2040?) that are preprogrammed and whose only purpose is to identify each module and then relay the other modules communications back to the master controller. Any thoughts or ideas would be appreciated.