A thin ribbon of flexible electronics can monitor health, infrastructure