I am using a wide input TEN 5-2411WI dc/dc converter chip with a Vin Gnd and a Vout Gnd.
On the input side of the dc/dc Vin is a 12V battery and on the output side is a 5V micro.
I would like the micro on the Vout side of the dc/dc to read the battery voltage level on Vin, but I have stumbled across a problem that they share different grounds. I know how to turn things on and off using an opto but I do not know how to read something.
Could somebody offer me a circuit idea or isolated comparator or the best practice for reading and isolated voltage with separate grounds?
Vin Gnd ------------- TEN 5-2411WI ---------- Vout Gnd