I need to sense a flow of 20mA or more. I don't need to know how much, just that it's at roughly 20mA, at supply voltages of 11 to 15VDC (automotive).
I envisioned using an opto-coupler and a fixed voltage regulator, but instead of connecting the regulator's ground to GND, I was going to have that go to the terminal where the load is to be sensed. That way, if no load is connected then the voltage regulator will do nothing, but as soon as a load is connected (effectively providing ground to the regulator), the regulator output will drive the LED in the coupler.

My questions are about the voltage and current flow in the above, based on different loads, different supply voltages etc. Also, with no load connected, how do I calculate the voltage at the regulators ground terminal with respect to GND ? And finally, if the load resistance is 600 Ohms, then (at 12V system voltage), the current flowing through the regulator cannot be more than 20mA, correct? So if the supply to the regulator is "choked" to 20mA, it will hardly output 20mA on the regulated side, correct?
I envisioned using an opto-coupler and a fixed voltage regulator, but instead of connecting the regulator's ground to GND, I was going to have that go to the terminal where the load is to be sensed. That way, if no load is connected then the voltage regulator will do nothing, but as soon as a load is connected (effectively providing ground to the regulator), the regulator output will drive the LED in the coupler.

My questions are about the voltage and current flow in the above, based on different loads, different supply voltages etc. Also, with no load connected, how do I calculate the voltage at the regulators ground terminal with respect to GND ? And finally, if the load resistance is 600 Ohms, then (at 12V system voltage), the current flowing through the regulator cannot be more than 20mA, correct? So if the supply to the regulator is "choked" to 20mA, it will hardly output 20mA on the regulated side, correct?
