# Cold Coffee Alarm Device Using Arduino Uno

409

3

1

## Introduction: Cold Coffee Alarm Device Using Arduino Uno

I created an alarm device that will determine the temperature of your coffee (or tea), show you the status if it’s still HOT, WARM, or COLD with LEDs (red, yellow, and blue respectively), trigger a warning alarm if it is getting cold and will buzz continuously when it eventually gets cold.

For some reason I can't embed some of the Instagram videos showing the working prototype. You can find them embedded on this post.

### 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: What You Need

1. An Arduino UNO
2. Three (3) LEDs -- red, yellow, blue
3. Three (3) 220 ohm resistors
4. A piezo (buzzer)
5. TMP36 (temperature sensor)
6. Several wires
7. A makeshift pressure plate (I will show how to design for one later)

## Step 3: The Pressure Plate

Here's the tricky part. Think about the things you have at home that you can use to build a plate that is stable. The plate acts as a simple switch: when there is weight placed on the plate, it will close the circuit. If no object is placed on the plate, it should keep the circuit open.

E.g. Ballpens w/ springs inside that are quite tangible. Put them on 4 corners between 2 coasters and attach wires at the center that should touch each other when the springs are tight. Add other materials as needed to ensure its stability.

If you have a 3D printer handy, the better. You can design a plate for this purpose.

## Step 4: The Code

You can download the Arduino sketch below. For the explanation of each block of code, you can reference back to my post here. Feel free to change the base temperature as I based mine from my current room temperature. Take note that the TMP36 measures the ambient temperature or the air temperature. If your area is too cold it might affect the results. Feel free to adjust your prototype as to circumvent any possible roadblocks to get the correct results.

## Step 5: Test Your Prototype

Just brew your hot coffee and place it on the device plate!

Feel free to let me know if you find points of improvement for this device and if you come up with a better design. Cheers!

Participated in the
First Time Authors Contest 2016

Participated in the
Arduino Contest 2016

Participated in the
Make Noise Challenge

164 12K
96 12K
98 9.6K

## Discussions

I really need one of these! I've got a cat tongue and always burn myself. XD