Color Changing Coaster Has A Built-in Drink Detector

[Robert] put together his own illuminated coasters that know when they hold a drink. They look fantastic, thanks to professionally produced PCBs and a layered, laser-cut acrylic case. They’re much like the pagers given to restaurant-goes who are waiting for tables, but this version is much fancier (and doesn’t include the vibrating/paging feature).

The RGB-LED board is a previous project which was developed using eight surface mount RGB LED modules around a circular board. It uses an ATmega168 paired with an MBI5168 constant-current LED sink driver. The coaster enclosure gave him room for a few more items, like the pair of AA batteries which work in conjunction with a boost converter to power the device. It also houses an IR reflectance sensor which is used to detect the presence of a drink on the coaster. This is important since an on-occupied coaster looks like it would be blindingly bright if there wasn’t a glass to diffuse the intensity of the LEDs.

He mentions that incandescent light bulbs mess with the IR reflectance sensor. But there must be some way to account for ambient conditions with the code, right?

14 thoughts on “Color Changing Coaster Has A Built-in Drink Detector

  1. i too think this needs frosted(heavily sanded) plastic

    and the cup’s LEDs could be seperate from out-facing LEDs or ect

    combine this with the “video loading” pattern and … volia! drunk confusion.

    … “so umm, so i have to finish this drink for the cupholder to finish loading? WTF?!?!
    im DRINKING BANDWIDTH?!?!?!?!!?”


    or no, put a WEIGHT SENSOR and display LIQUID REMAINING!!! red is getting low! oh no!


  2. I wanted to do something like this for a beer pong table but with a capacitance sensor. Changing the color value as beer was poured into the cup for a nice even fill for each cup. Instead i just put a light under the cups with frosted lexan because i hadnt completed any circuit projects at that time.

    Using a capacitance sensor here would be cool every time you pick up your drink for a sip you would have a different color value when you put your drink back on the coaster.

    1. I built that. (My youtube video: ) The capacitive version (Mark II) was a senior design project.

      It never worked quite as well as I wanted. To make it look good, you needed space between the LEDs and the cup, but to make it work good, you needed the sensors to be as close as possible.

      Also, any water on the table top will trigger the sensor. (Duh!)

      The IR version hated ambient light, even with the modulated sensor. I suspect it was because of the diffuser.

  3. “This is important since an on-occupied coaster looks like it would be blindingly bright if there wasn’t a glass to diffuse the intensity of the LEDs.”

    Reminds me of Hackaday’s website when my eyes bleed every time I come here. It’s like 1997 or some shit over here, guys. Love the content, though. Killer site for years now otherwise.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.