Pin-sized sensor could bring chemical ID to smartphone-sized devices

Imagine pointing your smartphone at a salty snack you found at the back of your pantry and immediately knowing if its ingredients had turned rancid.