Researchers at MIT and Brigham and Women’s Hospital have built a flexible sensor that can be rolled up and swallowed. Upon ingestion, the sensor adheres to the stomach wall or intestinal lining, where it can measure the rhythmic contractions of the digestive tract.