microcontroller based metal detector pdf