
A smartphone’s compass can read more than direction. NIST researchers have used its magnetic sensor to detect chemical changes in a hydrogel, reporting their laboratory demonstration on 1 April 2024. The system adds a liquid well, a mount and a strip containing magnetic particles to the phone. When the responsive gel changes shape, the particles move relative to the sensor, changing the measured magnetic field.
The underlying paper, published on 30 March, demonstrates glucose sensing at single-digit micromolar concentrations. A micromolar concentration means micromoles per litre, rather than an absolute amount of glucose. The team also examined pH sensing. These are prototype measurements; suggested applications involving saliva, proteins or DNA are future possibilities. The work does not establish a clinically validated glucose test.
An earlier coil-based hydrogel sensor

A March 2014 study by Song and colleagues had already connected a chemically responsive gel to magnetic measurement. Its sensor embedded superparamagnetic iron oxide nanoparticles in a hydrogel network positioned on a planar coil. The coil interrogated changes in magnetic permeability associated with the gel’s swelling state. That arrangement used the magnetic properties of the particle-containing material as the link between a chemical response and an electrical readout.
What that experiment demonstrated
The researchers used a pH-sensitive poly(methacrylic acid-co-acrylamide) hydrogel. Their reported responses were repeatable and reversible, and distinguished changes of 0.1 pH unit. That figure belongs to the earlier coil experiment; it is not a performance specification for NIST’s phone attachment. The study’s abstract also anticipated adapting the approach to other chemical and physical inputs:
- Glucose, other ions and antigens were proposed chemical targets.
- Temperature was another possible stimulus.
- Implantable wireless monitoring was a prospective application.
The reported pH experiment tested this swelling-based readout, rather than an implanted glucose sensor. Those possibilities describe the intended reach of the earlier platform, rather than additional demonstrations in the 2024 smartphone study.
Changing geometry for an NMR signal
A separate 2015 study by Zabow, Dodd and Koretsky explored magnetic assemblies whose shape changes could be read using nuclear magnetic resonance, or NMR. Its starting point was the difficulty of using fluorescent or plasmonic probes where optical access is poor. The researchers described a radiofrequency alternative readable with standard NMR techniques. A stimulus reversibly reconfigured the magnetic nanoassemblies, producing a spectral signature that depended on their geometry.
The reported demonstrations included pH sensing, mapping ionic strength, tracking cell metabolism and distinguishing multiple sensors. Each used the relationship between assembly configuration and its NMR signal. The authors also discussed potential environmental and physiological applications. Those prospects were broader than the particular demonstrations, and the study did not use a smartphone compass as its reader.
The authors reported that these sensors could be made from biocompatible materials and detected at low femtomolar probe concentrations. That concentration describes the probes, not a glucose detection threshold. They also described potentially large NMR spectral shifts compared with conventional magnetic resonance spectroscopy. These capabilities belong to the NMR platform and do not establish equivalent sensitivity for the later phone-based experiment.
For the phone prototype, faster response, longer storage life and scalable manufacture remain development tasks. The additional sensing material and mechanical attachment are essential parts of the experiment.






