I want to sense a near-ground voltage in this circuit which is Vsense, but its maximum voltage would be 0.5 V so I designed an op amp amplifier with a gain of 10.
I used another op amp to split the 12 V supply into +6 V and -6 V to power the amplifying op amp.
The problem is: the amplified output of UB is measured referenced to the virtual ground (GNDREF in the circuit) and I want to send this voltage to a microcontroller to sense it. But since the MCU uses a different ground, I'm afraid there will be a problem.
I thought about simply connecting both grounds and everyone will be happy but it came to my mind that MCU's ground is the same of battery's 12v ground which is the same negative rail of the op amp so I want to know if that would be a problem.