Author Options:

Arduino Uno AC current switch? Answered

I am very excited about discovering your Arduino Class! I have some experience with them and am working on a new project, I want to build a Current Switch (to drive a relay board) with an Uno. I have found the info for connecting a CT coil and calculating the burden resistor but I run short in finding a sketch to start with. I am looking for it to have hysteresis so the output goes high (activating a relay) at 4amps, and low (relay off) at 5amps. Can you point me in the right direction please?