Acs712 current sensor interfacing with Arduino how to measure alternating current and direct current using hall effect current sensor