a homemade metal detector diagram