Does the current MBNG firmware allow connecting encoders in the DIN_MATRIX? In the documentation, I see how to configure individual buttons from the matrix as separate, independent buttons, but I don’t see anything about encoders. For instance, something like:
Well, correct me if I’m wong but you can always treat DIO_MATRIX as 2xDIN and 2xDOUT, matrix is just for convenience use in a single connector and on a single module. The schems seem to confirm this. Just make sure you do the DIN/DOUT SR counting properly
Yes, encoders are not supported for the DIN_MATRIX since they require a high scan frequency. The software is not prepared for this.
Well, correct me if I’m wong but you can always treat DIO_MATRIX as 2xDIN and 2xDOUT, matrix is just for convenience use in a single connector and on a single module. The schems seem to confirm this. Just make sure you do the DIN/DOUT SR counting properly
you mean the MBHP_DIO_MATRIX module, and this is correct.
But Sauraen means the DIN_MATRIX component in the MBNG firmware.
So if I am planning a build (MBFM V2.0) that requires a lot of encoders (~40), you would recommend that I get 10 74HC165s and hook them up directly, not in a matrix? Personally I would just modify the firmware, but since I want this to be compatible for everyone, that’s probably not a good idea.
It would take somewhat longer to select multiple rows and shift in data from each than to shift in data from one much longer DIN chain, but would it be that different? And wouldn’t it be easier on the hardware side to work with a matrix of encoders than a dedicated shift register for every four encoders?