MIT researchers have developed a smart pill that sends a signal after being swallowed, helping doctors track medication use.