Heat Sensing Light Mug

by jciz in Cooking > Coffee

261 Views, 0 Favorites, 0 Comments

Heat Sensing Light Mug

IMG_0389.jpeg

Metal cup with lights attached that react to the temperature of the liquid inside! Watch the videos attached to see it function!

Supplies

  • Metal cup or can
  • Neopixel LED light strip
  • Circuit Playground bluefruit CPB
  • Battery pack for CPB
  • cardboard
  • pvc pipe (optional)
  • hot glue gun or super glue
  • masking / duct tape
  • sandpaper
  • hand saw or bandsaw

Preparing and Cutting Materials

IMG_0376.jpeg
IMG_0380.jpeg
IMG_0387.jpeg
IMG_0390.jpeg

For this project, the cup should be a metal can or cylinder, as it helps to transfer the heat better to the circuit board thermistor. I used a soup can for mine, but you can use anything you have lying around. Just clean it out and take the label off. I also used some PVC pipe to conceal the electronics underneath the cup, as well as some cardboard and paper to make it look cooler.

There are no definite measurements for this, it depends however you want the cup top look like.

Circuitry and Assembly

IMG_0388.jpeg
IMG_0378.jpeg
IMG_0386.jpeg
IMG_0379.jpeg
IMG_0381.jpeg

The circuit playground bluefruit makes it easy to attach any accessories that are required for builds. The Neopixel strip should be red clip on VOUT, White clip on A6 and black clip on any ground. once this is done and the battery pack is plugged in, it can be attached.

I attached the CPB to the bottom of the can using masking tape, and glued the PVC on top of the CPB. This created a tube to insert the battery pack. Once this was dried, I Made a ring of cardboard covered with paper around the pvc pipe to make a shell.

Finishing and Code

IMG_0389.jpeg

Run the code in the intro, and watch the lights change color as you put in either hot or cold liquids!

Make sure the cup stands steady before putting in water so it doesn't spill.