it seems pretty straightforward to me;
are these outputs strong enough to open/close small relays without an additional power source?
This chip turns 4 arduino outputs into 16 outputs on the chip, by combining different high/low inputs on the chip (4X4 combo's=16), right?
Is bottom battery is connected to GND?
Also one of the MUXes needs to connect to GND, not another AN input.______Rob!
Only problem is relay power comes from the batteries so not good if the batteries are left off charge for any length of time.