Hello! What is the proper way to define Mux switch to PMU input?
I would use a calibrated sensor like that and define each voltage range to a state.
Depending on how you plan to use it you may need to make a function that goes;
a_MUX_1 = 1, a_MUX_1 = 4, etc
For each switch state as each switch changing state affects the voltage coming in.
I did a video on this a while back explaining the MUX switching system including voltages etc, hope that helps. Id recommend using the same resistor values as Ecumaster did that I cover in that video
Thats all great but tell me how to set up 7 states of mux to the 6 column of calibrated analog sensor table?
Right click on axis and you have more options to setup the table. Value and axis have different options when you right click.
Doing this in the PMU, I can’t just use the internal 10k pullup instead of adding an external 2k2 resistor?
Depends on how much voltage definition you want. Do the math and see how 10k will alter the usable measured voltage.


