Current Spike Detection Code
Working Code Result
Initialization
Motor Start-Up and AC Calibration
Detection and Restart