basic pi metal detector schematic