Adding different voltage battery to same circuit
You should have no problem interconnecting all the grounds. As a matter of fact since you want a common "off" signal from the uC connecting the grounds would be required anyway.