Arduino Smart Cup Mat

About: Hi,I'm from DFRobot, a dream factory for robo-holics to make a better world.

We all know that drinking more water is good for our health, but it seems that increasing our daily water intake is always easier said than done. We fill up a bottle when we get into the office, then we throw ourselves into work. Few hours later, it still sits there, barely touched, on the left side of our desk. So, I thought why not make a device to remind people to drink water frequently throughout the day. Thus, here comes the idea of smart cup mat! The smart cup mat is mainly based on DFRobot Thin Film Pressure Sensor(SEN0294).

Design Idea: stick the flex sensor on the surface where the cup and the cup mat are in contact with each other. When the sensor detects that the pressure from the cup has been applying to the sensing area for over 1.5 hours, which also means the cup has not been touched in 1.5 hours, the buzzer starts making sound and the LED lights up. If the cup is picked off the cup mat for 3 seconds and above, the smart mat will decide you are drinking water now, and then it will restart timing.

7 new flex sensors with different sensing areas launched, covering three kinds of shape: circle, square, and long strip. These flex sensors feature great flexibility and easy to use, peel off the protection cover and stick the sensor on the surface you want to detect, then it works. Here, I choose flex sensor of this kind.


1.RP-C18.3-ST Thin Film Pressure Sensor

2.Beetle - The Smallest Arduino

3.LED ×1

4.10k Resistor ×1

5.6.5*6.5mm smd buzzer ×2

6.20cm Enameled wire

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Build the Model With 3D Printer.

Step 2: Place and Solder All Parts Onto the Cup Mat.

Step 3: Cover the Naked Wires With Electrical Tape:

Step 4: Burn the Programs Into Beetle Controller;

Step 5: Here Is the Smart Cup Mat, Give It a Try If You Like It!

Be the First to Share


    • Instrument Contest

      Instrument Contest
    • Make it Glow Contest

      Make it Glow Contest
    • STEM Contest

      STEM Contest

    4 Discussions

    Alex in NZ

    4 weeks ago

    Great way of achieving your idea! The whole "three seconds" pick-up idea is great, because if you have to hold it in the air for three seconds (quite a long time actually) then it's easier to just drink it. Brilliant implementation of an idea! Thank you for sharing it :-)

    1 reply
    JaychouuAlex in NZ

    Reply 24 days ago

    Thanks for your comment, we are really appreciate it.