Introduction: Drink Temperature Sensor

I have created a device using Arduino Uno and Autodesk Fusion 360 that tells you the temperature of your drink, and if it is too hot or cold to consume to your liking.

I have used a potentiometer that changes the desired temperature, an RGB LED that turns red if too hot, blue if too cold and green if just right, an ultrasonic sensor that knows when a cup as been put on the base, a DS18B20 temperature sensor that checks the temperature of the liquid every 1 second and an LCD display. When there is no cup present, the LCD displays the message "Desired temp:" and below that, "Put cup on base". The display on the LCD changes when a cup is put on the base to "Desired temperature: " and "Current temperature: ." The final component required is an Arduino Uno board.

Step 1: Arduino Sketch Code

The following photos show the code required for the contraption to work.

Step 2: Circuit

The following photo shows the circuit required for the contraption.

Step 3: Fusion 360 - Part 1 (Cup and Sensor Base)

The first photo shown is the design required for the main stand for the cup. The two square shaped parts to the side are connected via hinge to the top of the main part, using the pins to the left to hold them in place. The temperature sensor goes on top of these two square parts so it can fold over into the cup.

The two holes on the base of the stand are for the ultrasonic sensor, and the small hole at the front is for the RGB LED.

In the second photo, an underside view is shown. The area for the ultrasonic sensor and RGB LED are visible. The small cutaway is for the leads to run out the back.

View design for this component:

Step 4: Fusion 360 - Part 2 (LCD Display)

The first photo shows the component required for the LCD and potentiometer. The large rectangle hole is for the LCD screen and the smaller round one is for the potentiometer.

The second photo shows small indentations in the backside of the display, this is to stop the potentiometer rotating and allows the LCD to be pushed further into the display.

View design for this component:

Step 5:

Assemble the final product.