Is your milk off? This 3D-printed 'smart' bottle cap will know

Is your milk off? This 3D-printed 'smart' bottle cap knows.

There's nothing worse than accidentally drinking sour milk. Well, apart from war and death and stuff. But that first problem might become a thing of the past with a 'smart cap' for bottles that can warn you before you ruin a nice cup of tea.

Engineers from the University of California Berkeley and Taiwan's National Chiao Tung University have been working on technology that allows electrical components to be embedded in 3D-printed plastics. Those components include resistors, inductors, capacitors and wireless electrical sensing systems.

They've now used that technology to create a smart milk carton cap which monitors signs of spoilage. Once fitted, you can tilt the container upside-down to quickly test for the changes in electrical signals that accompany high levels of bacteria.

Safety alerts

"This 3D-printing technology could eventually make electronic circuits cheap enough to be added to packaging to provide food safety alerts for consumers", said Liwei Lin, a senior author on the paper describing the discovery. "You could imagine a scenario where you can use your cellphone to check the freshness of food while it's still on the store shelves."

As well as spoilt milk, the lab is also working on similar technology for health applications - including implantable devices that can monitor blood pressure, muscle strain and even concentrations of particular drugs.

The details of the smart cap were published in the journal Microsystems and Nanoengineering.

A candle and some water could keep your phone charged in an emergency

Duncan Geere
Duncan Geere is TechRadar's science writer. Every day he finds the most interesting science news and explains why you should care. You can read more of his stories here, and you can find him on Twitter under the handle @duncangeere.
Latest in Tech
A Lego Pikachu tail next to a Pebble OS watch and a screenshot of Assassin's Creed Shadow
ICYMI: the week's 7 biggest tech stories from LG's excellent new OLED TV to our Assassin's Creed Shadow review
A triptych image of the Meridian Ellipse, LG C5 and Xiaomi 15.
5 amazing tech reviews of the week: LG's latest OLED TV is the best you can buy and Xiaomi's seriously powerful new phone
Beats Studio Pro Wireless Noise Cancelling Headphones in Black and Gold on yellow background with big savings text
The best Beats headphones you can buy drop to $169.99 at Best Buy's Tech Fest sale
Ray-Ban smart glasses with the Cpperni logo, an LED array, and a MacBook Air with M4 next to ecah other.
ICYMI: the week's 7 biggest tech stories from Twitter's massive outage to iRobot's impressive new Roombas
A triptych image featuring the Sennheiser HD 505, Apple iPad Air 11-inch (2025), and Apple MacBook Air 15-inch (M4).
5 unmissable tech reviews of the week: why the MacBook Air (M4) should be your next laptop and the best sounding OLED TV ever
Apple iPhone 16e
Which affordable phone wins the mid-range race: the iPhone 16e, Nothing 3a, or Samsung Galaxy A56? Our latest podcast tells all
Latest in News
Ray-Ban Meta Smart Glasses
Samsung's rumored smart specs may be launching before the end of 2025
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Quordle on a smartphone held in a hand
Quordle hints and answers for Monday, March 24 (game #1155)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Monday, March 24 (game #386)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Monday, March 24 (game #652)
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)