I know optocoupler does the job of isolation very well. How to isolate supply ground?
If car battery is supplying the power to the MCU, then the ground will be common always and it defeats the purpose of having optocoupler for sensing voltage.
Is there any way to isolate supply ground, should be as cheap as possible or if not possible what to do?