It is a remarkable fact that the inertial mass of all bodies is, within experimental accuracy, proportional to the gravitational mass.
The method to measure body's inertial mass is proposed by measuring period of vibration with the integrated hall switch sensor, when spring oscillator is in situation of simple harmonic vibration.