12V analog input readings

There are some analog opto-couplers but they are more involved using opamps for a feedback loop.

However from the initial posting describing reed switches and PIR sensors I don't see why analog is needed.