Researchers create caffeine-sensing device
The new device measures the caffeine concentration of a drink in five minutes.
The new device measures the caffeine concentration of a drink in five minutes.

Daniel Vargas Ramos loved drinking coffee, energy drinks and tea, but he sometimes had trouble sleeping and wondered how much caffeine he was taking. That was when Haozheng Ma, a graduate student studying biomedical engineering, approached Vargas Ramos with an idea for a caffeine sensor.
The caffeine sensor that resulted was called DECAF. It looked like a stir bar and could measure the caffeine concentration of any beverage it was dipped into. After stirring the drink with the sensor, the fluid was drawn up to an electrochemical sensor that measured its caffeine concentration.
Ma and Vargas Ramos, a graduate student studying biomedical engineering, became co-lead authors of the paper published in the journal Small, which described the caffeine sensor they created.
Maral Mousavi, another coauthor on the paper, saw two types of users of this device: those who drink coffee and are conscious about their health and those who want to determine how much caffeine is in a drink for more technical reasons.
According to the United States Food and Drug Administration, consuming 400mg of caffeine every day is a healthy amount. Mousavi, an assistant professor of biomedical engineering, said the device would help those drinking too much caffeine.
Mousavi also gave the example of testing how coffee varies across different brewing conditions as a use case for the second group.
“They’re these very professional baristas that are really looking into the science of coffee, that would love to know how brewing affects their oxidation of caffeine in the drink,” Mousavi said.
There are existing methods of quantifying caffeine content, but they are time-consuming or use bulky equipment that needs to be calibrated. The device is made up of more than just the final sensor. It also includes components meant to make it robust against varying factors, like acidity or temperature.
The sensor was tested in various different conditions varying in acidity, temperature and other interfering compounds. The researchers tested how well the sensor worked in different liquid environments, like carbonated drinks or lattes, by adding a known amount of caffeine and using the device to measure the concentrations before and after the change. The sensor seemed to work better than other tests used to find the amount of a substance.
“We’ve actually tested against interfering compounds such as these fake sugars,” Mousavi said. “We tested milk components, which some of them were actually reported to interfere with the prior assays. So far, honestly, we haven’t noticed anything. It works great in beverages, but we would have to do a lot more testing.”
USC has filed a provisional patent for the device. Mousavi said she sees commercialization as a way to reach more people with this product, as the materials used to make the sensor are relatively inexpensive. Even though there are additional costs beyond materials in a commercial context, she said the product can be accessible.
“We want you to be able to just go to the website and order these and just make informed decisions about your health,” Mousavi said.
Vargas Ramos said DECAF’s fluidics component, which controls liquid flow to the electrochemical sensor, could be improved. He said the electrochemical sensor takes around a minute to determine caffeine concentration, but the fluidics component of the device takes five minutes.
Another way Vargas Ramos said the device can be improved is to develop an app that directly gives someone the information they need about their drink, since the device currently measures caffeine concentration in millimolars.
“The idea would be that the app would have all those mathematical equations already in the algorithm,” Vargas Ramos said. “So, you just need to put the volume, and it’s already calculating the millimolars, so it will do that by itself, showing you the milligram number.”
Michael Chen, a graduate student studying computer science with a game development focus, said he would use a device like DECAF. Chen estimated that he drinks 16 to 30 ounces of coffee every day. He remembered one night he couldn’t sleep until 2 a.m. due to drinking coffee at night.
“I’m not sure how much caffeine I take per day,” Chen said. “That’s why I want to use this kind of machine, since I don’t know the number.”
We are the only independent newspaper here at USC, run at every level by students. That means we aren’t tied down by any other interests but those of readers like you: the students, faculty, staff and South Central residents that together make up the USC community.
Independence is a double-edged sword: We have a unique lens into the University’s actions and policies, and can hold powerful figures accountable when others cannot. But that also means our budget is severely limited. We’re already spread thin as we compensate the writers, photographers, artists, designers and editors whose incredible work you see in our paper; as we work to revamp and expand our digital presence, we now have additional staff making podcasts, videos, webpages, our first ever magazine and social media content, who are at risk of being unable to receive the support they deserve.
We are therefore indebted to readers like you, who, by supporting us, help keep our paper independent, free and widely accessible.
Please consider supporting us. Even $1 goes a long way in supporting our work; if you are able, you can also support us with monthly, or even annual, donations. Thank you.
This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.
Accept settingsDo Not AcceptWe may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.
Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.
These cookies are strictly necessary to provide you with services available through our website and to use some of its features.
Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.
We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.
We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.
These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.
If you do not want that we track your visit to our site you can disable tracking in your browser here:
We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.
Google Webfont Settings:
Google Map Settings:
Google reCaptcha Settings:
Vimeo and Youtube video embeds:
The following cookies are also needed - You can choose if you want to allow them:
