current sensor

I have been working on project; password based circuit breaker, it’s has been working to some extent but I need to make the project to control high current (overload). To be specific I want to work as miniature circuit breaker. Am now thinking of getting feedback from current sensor in cases of overload, to control the circuit. Here is an attached code

MO-NBO.ino (3.86 KB)