Electromagnetism and Helmholtz Coil
What is the relationship between current and magnetic field magnitude in three dimensions?
Try this
Using the Magnetometer tool, place the smartphone inside of a Helmholtz coil attached to a power source. Measure the magnetic field strength as a function of current in the coil.