I would like to find a way to sense (or detect) current through an opto-coupler.
This opto is used to power an electromagnetic brake, but depending on the type of brake the current through it can range from 400mA to 1500mA.I want an opto-isolated digital signal to verify current is within a specified range in an electromagnetic brake circuit. The electromagnetic brake current can range from 400 mA to 1500 mA.
How do I detect this current safely and provide an isolated signal to the microcontroller? It could also be a current present/not present detection system. The reason behind this is somehow detecting that the brake is powered (current is flowing) or not.