I have 256 analog sensors that have VDD (5V), GND, OUT ( analog output that goes to A0 of my arduino uno).
i was hopping to controll them by turning them on or off individualy and take readings in A0 that they all connect. To do so i was thinking of connecting their suplly to a matrix and control the matrix with 2 16:1 multiplexers. and now my question is :
A CD74HM4067M multiplexer has a common pin. i will provide the 5v by conecting it to a digital pin on my arduino and setting it to HIGH. When i change my multiplexer to go to 2nd channel of the 16 the rest of the channels will stay at their previus condition or will the go Low?
If this is the case how do i operate tha GND MUX ? should i use transistors to triger with my Multiplexer in order to connect the right gnd collumn to GND ?
if so , should i do the same with the 5v rows as well ?