# Frozen-Inspired Animated Pendant with Temperature Sensing

## Overview

https://youtu.be/GKeuztBrlWk

Discover your inner Snow Queen with this temperature sensing pendant. Invoke the elements of snow, air, and fire using your breath or body heat (or your Ice Queen Superpowers). The pendant will display a snowflake, a spinning leaf, or a lovely purple flame animation depending on the warmth of the air.&nbsp;

Inspired by the elemental spirits in Disney's Frozen II movie, this pendant will be sure to inspire and excite any Queen Elsa fans, and add an element of magic to your cosplay or halloween costume.

This project uses Adafruit's TFT Gizmo, a Circuit Playground Bluefruit, and a 3d printed case. There's no soldering or coding involved -- just a few screws to tighten, and a couple files to upload -- so it's a wonderful beginner project if you're just starting out in the world of electronic cosplay, or if you have a young helper who's getting interested in making stuff.

![](https://cdn-learn.adafruit.com/assets/assets/000/088/842/medium800/circuit_playground_projects_elsa_gizmo.jpg?1583190707)

## Parts
### Circuit Playground Bluefruit - Bluetooth® Low Energy

[Circuit Playground Bluefruit - Bluetooth® Low Energy](https://www.adafruit.com/product/4333)
 **Circuit Playground Bluefruit** is our third board in the Circuit Playground series, another step towards a perfect introduction to electronics and programming. We've taken the popular Circuit Playground Express and made it even better! Now the main chip is an nRF52840...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4333)
[Related Guides to the Product](https://learn.adafruit.com/products/4333/guides)
![shot of a Black woman's neon-green manicured hand holding up a Circuit Playground Bluefruit glowing rainbow LEDs.](https://cdn-shop.adafruit.com/640x480/4333-11.jpg)

### Circuit Playground TFT Gizmo - Bolt-on Display + Audio Amplifier

[Circuit Playground TFT Gizmo - Bolt-on Display + Audio Amplifier](https://www.adafruit.com/product/4367)
Extend and expand your Circuit Playground projects with a bolt on TFT Gizmo that lets you add a lovely color display in a sturdy and reliable fashion. This PCB looks just like a round TFT breakout but has permanently affixed M3 standoffs that act as mechanical and electrical...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4367)
[Related Guides to the Product](https://learn.adafruit.com/products/4367/guides)
![Hand pressing buttons on circuit playground, then turning over to show TFT gizmo display an image of a friendly robot or snake](https://cdn-shop.adafruit.com/product-videos/640x480/4367-05.jpg)

### Lithium Ion Polymer Battery with Short Cable - 3.7V 350mAh

[Lithium Ion Polymer Battery with Short Cable - 3.7V 350mAh](https://www.adafruit.com/product/4237)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 350mAh for a total of about 1.3 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4237)
[Related Guides to the Product](https://learn.adafruit.com/products/4237/guides)
![Lithium Ion Polymer Battery 3.7v 350mAh with JST 2-PH connector and short cable](https://cdn-shop.adafruit.com/640x480/4237-04.jpg)

### Adafruit Micro Lipo - USB LiIon/LiPoly charger

[Adafruit Micro Lipo - USB LiIon/LiPoly charger](https://www.adafruit.com/product/1304)
Oh so adorable, this is the tiniest little lipo charger, so handy you can keep it any project box! Its also easy to use. Simply plug in the gold plated contacts into any USB port and a 3.7V/4.2V lithium polymer or lithium ion rechargeable battery into the JST plug on the other end. There are...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1304)
[Related Guides to the Product](https://learn.adafruit.com/products/1304/guides)
![Top view of Adafruit Micro Lipo - USB LiIon/LiPoly charger - v1 above a 2-pin JST cable.](https://cdn-shop.adafruit.com/640x480/1304-06.jpg)

### Tools & Materials

- 3D Printer (or a 3D printing service) and your favorite color of filament
- Screwdriver
- Necklace cord
- [USB cable](https://www.adafruit.com/product/4148) for uploading code

If you want to add your own custom .gif images, that's easy to do as well.

# Frozen-Inspired Animated Pendant with Temperature Sensing

## 3d Printing

We're using the wonderful snap-fit case designed by the Ruiz Brothers for the [Circuit Playground Gizmo Ornaments guide](https://learn.adafruit.com/display-ornaments-with-circuit-playground). We'll modify the case just a little bit after printing to make it fit our project perfectly.

[gizmo_tft_case.zip](https://cdn-learn.adafruit.com/assets/assets/000/088/840/original/gizmo_tft_case.zip?1583188911)
## TFT Gizmo Ornament Parts

These parts are designed to house the TFT Gizmo and Circuit Playground Bluefruit. The parts snap fit together and secure the PCBs in place without the need of glue or screws.

- gizor-tft-cover.stl
- gizor-tft-bottom.stl
- gizor-tft-top.stl

![circuit_playground_projects_3d_printing_3d-parts-tft.jpg](https://cdn-learn.adafruit.com/assets/assets/000/088/839/medium640/circuit_playground_projects_3d_printing_3d-parts-tft.jpg?1583188611)

I found that the top and bottom pieces printed fine with no supports, but the cover needed support turned on, in order to print correctly.

After printing, the one modification we'll make is to use flush-mount cutters to remove the supports at 11:00 and 5:00 on gizor-tft-bottom. These two supports don't fit if we put screws in all 12 screw-holes (the ornament project only required 10 screws and these two spaces were left empty). Other than that, this case fits perfectly!

I used temperature-sensitive filament as well, so my necklace changes from a light blue when it's cool to white when it's warm.

# Frozen-Inspired Animated Pendant with Temperature Sensing

## Assembly

Remove the tape covering the screw holes on the back of the Gizmo TFT.

![circuit_playground_projects_00_a_removetape.jpg](https://cdn-learn.adafruit.com/assets/assets/000/088/783/medium640/circuit_playground_projects_00_a_removetape.jpg?1582921956)

Place the battery on top of the Gizmo with the connector facing towards 6:00.

![circuit_playground_projects_00_battery.jpg.jpg](https://cdn-learn.adafruit.com/assets/assets/000/088/784/medium640/circuit_playground_projects_00_battery.jpg.jpg?1582922008)

Place the Circuit Playground on top of the Gizmo, sandwiching the battery inside, with the USB port lined up with 12:00. Thread the included screws loosely in all 12 holes before tightening them all down at once.

![circuit_playground_projects_01_screws.jpg](https://cdn-learn.adafruit.com/assets/assets/000/088/785/medium640/circuit_playground_projects_01_screws.jpg?1582922052)

Plug the battery cable into the battery port and make sure the Circuit Playground powers up. If it all looks good, it's time to upload the code.

![circuit_playground_projects_02_plugbattery.jpg](https://cdn-learn.adafruit.com/assets/assets/000/088/786/medium640/circuit_playground_projects_02_plugbattery.jpg?1582922161)

# Frozen-Inspired Animated Pendant with Temperature Sensing

## Software for Gizmo

The Circuit Playground&nbsp; Bluefruit comes installed with CircuitPython already loaded. We'll update the **CURRENT.UF2** file and add our animated .gif images. Download both below, and unzip the .gif files. You should see three .gifs: **cold.gif,**  **neutral.gif,** and **hot.gif**.

[CURRENT.UF2](https://cdn-learn.adafruit.com/assets/assets/000/088/745/original/CURRENT.UF2?1582860135)
[gif_images.zip](https://cdn-learn.adafruit.com/assets/assets/000/088/746/original/gif_images.zip?1582860152)
Plug the Circuit Playground into your computer via the USB port with a known good USB data cable. Double click the "reset" button and the lights on the face of the Circuit Playground will turn green, and you'll see a drive appear on your computer called **CPLAYBTBOOT**. Drag the **CURRENT.UF2** file onto this drive.

![circuit_playground_projects_03_uploadcode.jpg](https://cdn-learn.adafruit.com/assets/assets/000/088/788/medium640/circuit_playground_projects_03_uploadcode.jpg?1582922402)

![circuit_playground_projects_07_cplabtboot.jpg](https://cdn-learn.adafruit.com/assets/assets/000/088/796/medium640/circuit_playground_projects_07_cplabtboot.jpg?1582939905)

The lights will go out and the drive name will change to **CIRCUITPY**. Drag the three .gif images ( **cold.gif, neutral.gif,** and **hot.gif** ) to the root of this drive.&nbsp;

![circuit_playground_projects_09_circuitpy.jpg](https://cdn-learn.adafruit.com/assets/assets/000/088/795/medium640/circuit_playground_projects_09_circuitpy.jpg?1582939931)

Here are the .gif images we've included. It's easy to substitute your own animated .gif images. Make them 240x240 pixels and call them hot.gif, cold.gif, and neutral.gif.

If you do make your own images, remember that they need to take up less than 2MB total space, and that a shorter .gif will make for a more responsive pendant. The Circuit Playground only checks the temperature when the .gif loops, so if you have a 7-second .gif then it may take a while to respond to your changes.

![](https://cdn-learn.adafruit.com/assets/assets/000/088/747/medium800thumb/circuit_playground_projects_cold.jpg?1582860172)

![](https://cdn-learn.adafruit.com/assets/assets/000/088/748/medium800thumb/circuit_playground_projects_neutral.jpg?1582860187)

![](https://cdn-learn.adafruit.com/assets/assets/000/088/749/medium800/circuit_playground_projects_hot.gif?1582860199)

### Troubleshooting

If it's not working, here are a few things to check:

1. Are all 12 screws in place and tight? A loose connection could keep it from working.
2. Did you orient the Gizmo correctly, with 12:00 lined up with the Circuit Playground Bluetooth's USB port?
3. Are you using a Circuit Playground Bluetooth? The Express board isn't fast enough to show the .gif images (at the time of writing) so you'll need the Bluetooth version, for now.
4. Is your battery plugged in and charged? You can run it from the battery or the USB port, so if you're not sure if it's the battery, try plugging in with USB.
5. Did you double-click the reset button before adding CURRENT.UF2?&nbsp;
6. If you added your own .gif images, try uploading and testing with ours to see if one of the images is the problem.

If you're still having trouble, head over to the [Gizmo Guide](https://learn.adafruit.com/adafruit-tft-gizmo) for more detailed troubleshooting ideas.

# Frozen-Inspired Animated Pendant with Temperature Sensing

## Software for CLUE

If you want to use the [Adafruit CLUE](https://www.adafruit.com/product/4500) for this project instead of the Gizmo, no problem! You can download software that is designed to work with the CLUE, making this project even easier to do.

The CLUE board is a tidy package that includes a development board and a screen, along with a whole host of sensors. You won't have to do much to get your .gifs displaying.

Check out the [CLUE guide here](https://learn.adafruit.com/adafruit-clue/circuitpython) for detailed descriptions of all this board can do.

The CLUE comes installed with CircuitPython already loaded. We'll update the **CURRENT.UF2** file and add our animated .gif images. Download both below, and unzip the .gif files. You should see three .gifs: **cold.gif,**  **neutral.gif,** and **hot.gif**.

[CURRENT.UF2](https://cdn-learn.adafruit.com/assets/assets/000/088/863/original/CURRENT.UF2?1583272861)
[gif_images.zip](https://cdn-learn.adafruit.com/assets/assets/000/088/864/original/gif_images.zip?1583272910)
Plug the CLUE into your computer via the USB port with a known good USB data cable. Double click the "reset" button and the lights on the face of the CLUE will turn green, and you'll see a drive appear on your computer called **CLUEBOOT**. Drag the **CURRENT.UF2** file onto this drive.

The LED will flash. Then, the&nbsp; **CLUEBOOT** &nbsp;drive will disappear and a new disk drive called&nbsp; **CIRCUITPY** &nbsp;will appear. Drag the three .gif images to the root of this drive.

That's it!

### Troubleshooting

If you're having trouble, check to be sure you're using a good USB cable that passes data. Some USB cables are charge-only, and won't allow you to load code.

If that's not it, head over to the [CLUE guide](https://learn.adafruit.com/adafruit-clue/overview) for some more troubleshooting ideas.&nbsp;

# Frozen-Inspired Animated Pendant with Temperature Sensing

## Use It

The temperature sensor is located here on the Circuit Playground Bluefruit:

![](https://cdn-learn.adafruit.com/assets/assets/000/088/841/medium800/circuit_playground_projects_cpb_sensor.jpg?1583189114)

If it senses below 20° C, the "cool.gif" image will play on the TFT. Between 20°-24° C, the "neutral.gif" image will play, and above 24° C, you'll see the "hot.gif" image.&nbsp;

It changes with body heat or with your breath (with a little patience). Or hold it near the fire or in the freezer to make it change dramatically!&nbsp;

![](https://cdn-learn.adafruit.com/assets/assets/000/088/843/medium800/circuit_playground_projects_1304-05.jpg?1583190794)

To charge the necklace, gently pull the battery cable out of the socket and plug it into your USB charger.&nbsp;


## Featured Products

### Circuit Playground Bluefruit - Bluetooth® Low Energy

[Circuit Playground Bluefruit - Bluetooth® Low Energy](https://www.adafruit.com/product/4333)
 **Circuit Playground Bluefruit** is our third board in the Circuit Playground series, another step towards a perfect introduction to electronics and programming. We've taken the popular Circuit Playground Express and made it even better! Now the main chip is an nRF52840...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4333)
[Related Guides to the Product](https://learn.adafruit.com/products/4333/guides)
### Circuit Playground TFT Gizmo - Bolt-on Display + Audio Amplifier

[Circuit Playground TFT Gizmo - Bolt-on Display + Audio Amplifier](https://www.adafruit.com/product/4367)
Extend and expand your Circuit Playground projects with a bolt on TFT Gizmo that lets you add a lovely color display in a sturdy and reliable fashion. This PCB looks just like a round TFT breakout but has permanently affixed M3 standoffs that act as mechanical and electrical...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4367)
[Related Guides to the Product](https://learn.adafruit.com/products/4367/guides)
### Adafruit CLUE - nRF52840 Express with Bluetooth® LE

[Adafruit CLUE - nRF52840 Express with Bluetooth® LE](https://www.adafruit.com/product/4500)
Do you feel like you just don't have a CLUE? Well, we can help with that - get a CLUE here at Adafruit by picking up this sensor-packed development board. We wanted to build some projects that have a small screen and a lot of sensors. To make it compatible with existing projects, we made...

In Stock
[Buy Now](https://www.adafruit.com/product/4500)
[Related Guides to the Product](https://learn.adafruit.com/products/4500/guides)
### Lithium Ion Polymer Battery Ideal For Feathers - 3.7V 400mAh

[Lithium Ion Polymer Battery Ideal For Feathers - 3.7V 400mAh](https://www.adafruit.com/product/3898)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of **400mAh** for a total of about 1.9 Wh. If you need a larger (or smaller!)...

Out of Stock
[Buy Now](https://www.adafruit.com/product/3898)
[Related Guides to the Product](https://learn.adafruit.com/products/3898/guides)
### Lithium Ion Polymer Battery with Short Cable - 3.7V 350mAh

[Lithium Ion Polymer Battery with Short Cable - 3.7V 350mAh](https://www.adafruit.com/product/4237)
Lithium-ion polymer (also known as 'lipo' or 'lipoly') batteries are thin, light, and powerful. The output ranges from 4.2V when completely charged to 3.7V. This battery has a capacity of 350mAh for a total of about 1.3 Wh. If you need a larger (or smaller!) battery, <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/4237)
[Related Guides to the Product](https://learn.adafruit.com/products/4237/guides)
### Pink and Purple Braided USB A to Micro B Cable - 2 meter long

[Pink and Purple Braided USB A to Micro B Cable - 2 meter long](https://www.adafruit.com/product/4148)
This cable is&nbsp;super-fashionable&nbsp;with a woven pink and purple Blinka-like pattern!

First let's talk about the cover and over-molding. We got these in custom colors, and if you&nbsp;_have_&nbsp;to have visible cables, then you might as well have the nicest fabric-bound...

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/4148)
[Related Guides to the Product](https://learn.adafruit.com/products/4148/guides)
### Adafruit Micro Lipo - USB LiIon/LiPoly charger

[Adafruit Micro Lipo - USB LiIon/LiPoly charger](https://www.adafruit.com/product/1304)
Oh so adorable, this is the tiniest little lipo charger, so handy you can keep it any project box! Its also easy to use. Simply plug in the gold plated contacts into any USB port and a 3.7V/4.2V lithium polymer or lithium ion rechargeable battery into the JST plug on the other end. There are...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1304)
[Related Guides to the Product](https://learn.adafruit.com/products/1304/guides)

## Related Guides

- [Adafruit Circuit Playground Bluefruit](https://learn.adafruit.com/adafruit-circuit-playground-bluefruit.md)
- [Adafruit Circuit Playground TFT Gizmo](https://learn.adafruit.com/adafruit-tft-gizmo.md)
- [Introducing Adafruit CLUE](https://learn.adafruit.com/adafruit-clue.md)
- [TFT Gizmo Animated Eye](https://learn.adafruit.com/tft-gizmo-animated-eye.md)
- [Archimedes' Boat](https://learn.adafruit.com/archimedes-boat.md)
- [CLUE Dice Roller](https://learn.adafruit.com/clue-dice-roller.md)
- [CLUE BLE MIDI Glove](https://learn.adafruit.com/clue-midi-glove.md)
- [Clue Coffee Scale](https://learn.adafruit.com/clue-coffee-scale.md)
- [Ursula's Seashell Necklace](https://learn.adafruit.com/ursulas-seashell-necklace.md)
- [Bluefruit TFT Gizmo ANCS Notifier for iOS](https://learn.adafruit.com/ancs-gizmo.md)
- [NeoPixel Ring Clock](https://learn.adafruit.com/neopixel-ring-clock.md)
- [Circuit Playground Bluefruit Automatic Bike Brake Light](https://learn.adafruit.com/circuit-playground-bluefruit-brake-light.md)
- [PyLeap Button Controlled NeoPixels for Circuit Playground Bluefruit](https://learn.adafruit.com/pyleap-buttons-neopixels.md)
- [CircuitPython TFT Candy Hearts](https://learn.adafruit.com/circuit-python-tft-gizmo-candy-hearts.md)
- [AdaBox 014](https://learn.adafruit.com/adabox014.md)
- [CircuitPython BLE Multi-Temperature Monitoring](https://learn.adafruit.com/circuitpython-multi-temperature-ble-monitoring.md)
- [Jellyfish Umbrella with easy WLED WiFi Control](https://learn.adafruit.com/jellyfish-umbrella-with-easy-wled-wifi-control.md)
- [Circuit Playground TFT Gizmo Dreidel](https://learn.adafruit.com/circuit-playground-tft-gizmo-dreidel.md)
