Ac712 20A hALL effect current sensor and SSR 240v

.Hello guys.

.i am building a circuit breaker using these two a ac712 20a current sensor and low level ssr 240v.
when the current sensor sense about 10A of current flowing the Relay will trip the circuit. then a reset is needed to get it back to normal state. please help me with the code. THankyou.

The ACS712 (and especially the board it's mounted on) is basically not safe for 240AC.
Leo..

Wawa:
The ACS712 (and especially the board it's mounted on) is basically not safe for 240AC.
Leo..

I agree.

This would be a lot safer: Non-Invasive Current Sensor - 30A

This page might be interesting: How to build an arduino energy monitor | Archived Forum

Yours,
TonyWilk