electronic circuits diagram of a metal detector