Exploitation of the magnetic nanoparticles in developing magnetic microdevices