HMC5883

Hi,

Can we use HMC5883 sensor for detect the metals. For example can we understand that whether there is a metal near by 40 cm or not ?

Regards

Yes, if the metal is magnetized, or significantly disturbs the Earth's magnetic field.
Do some experiments!