# Circuit Playground Bluetooth Cauldron

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/082/121/medium800thumb/3d_printing_cauldron-fog-2.jpg?1570318059)

YouTube Video: [https://www.youtube.com/watch?v=57s-rnjlolg](https://www.youtube.com/watch?v=57s-rnjlolg)

## 3D Printed Cauldron

In this project, we’re making a Bluetooth controlled light up cauldron. This 3d printed cauldron is designed to house Adafruit Circuit Playground Bluefruit.

![3d_printing_hero-holding.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/088/medium640/3d_printing_hero-holding.jpg?1570296529)

## Bluefruit NeoPixels

You can change the color of the LEDs with an iPhone using the Bluefruit App for iOS and Android. This uses the picker color from the Bluefruit LE connect app for iOS and Android. It’s free to download, and lets you change the color and brightness.

![3d_printing_bluefruit-neopixels.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/089/medium640/3d_printing_bluefruit-neopixels.jpg?1570296882)

## Circuit Playground Bluefruit

The Circuit Playground Bluefruit features the nRF52840 and it’s easy to use with Adafruit’s CircuitPython and Arduino.

![3d_printing_cpx-bluefruit.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/091/medium640/3d_printing_cpx-bluefruit.jpg?1570297113)

## Light Up Cauldron&nbsp;

The bowl is 3d printed in PLA filament without any support material. The design features internal threads for screwing into the bottom half of the cauldron. All of the electronics are secured underneath the cauldron so it’s a nice little portable project.&nbsp;

![3d_printing_hero-cauldron-green.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/090/medium640/3d_printing_hero-cauldron-green.jpg?1570296964)

## List of ingredients

Here's a list of things needed to build this project.

- Dry Ice
- 2oz Appetizer Cups (80mm/3in diameter)
- Glow-in-the-dark Putty
- Warm Water
- Container with spout
- Tongs
- Superglue

![3d_printing_ingrediants.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/092/medium640/3d_printing_ingrediants.jpg?1570297948)

## 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)

### Fully Reversible Pink/Purple USB A to micro B Cable - 1m long

[Fully Reversible Pink/Purple USB A to micro B Cable - 1m long](https://www.adafruit.com/product/4111)
This cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also fully reversible! That's right, you will save _seconds_ a day by not having to flip the cable around.

First let's talk about the cover and over-molding. We got these...

In Stock
[Buy Now](https://www.adafruit.com/product/4111)
[Related Guides to the Product](https://learn.adafruit.com/products/4111/guides)
![Fully Reversible Pink/Purple USB A to micro B Cable](https://cdn-shop.adafruit.com/640x480/4111-02.jpg)

### Lithium Ion Polymer Battery - 3.7v 500mAh

[Lithium Ion Polymer Battery - 3.7v 500mAh](https://www.adafruit.com/product/1578)
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 500mAh for a total of about 1.9 Wh. If you need a larger (or smaller!) battery, <a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/1578)
[Related Guides to the Product](https://learn.adafruit.com/products/1578/guides)
![Angled shot of a Lithium Ion Polymer Battery 3.7V 500mAh with JST-PH connector.](https://cdn-shop.adafruit.com/640x480/1578-03.jpg)

### Filament for 3D Printers in Various Colors and Types

[Filament for 3D Printers in Various Colors and Types](https://www.adafruit.com/product/2080)
Having a 3D printer without filament is sort of like having a regular printer without paper or ink. &nbsp;And while a lot of printers come with some filament there's a good chance you've been printing up a storm and need something new. &nbsp;That's why we've started carrying a...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2080)
[Related Guides to the Product](https://learn.adafruit.com/products/2080/guides)
![Filament for 3D printers in various colors and types stacked together.](https://cdn-shop.adafruit.com/640x480/2080-07.jpg)

# Circuit Playground Bluetooth Cauldron

## 3D Printing

## 3D Parts

STL files for 3D printing are oriented to print "as-is" on FDM style machines. Original design source may be downloaded using the links below.

![3d_printing_3d-parts-2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/087/medium640/3d_printing_3d-parts-2.jpg?1570295491)

## Slicing Parts

The bowl has a 1.5mm thick shell and it can be printed without any support material.

- PLA filament 220c extruder
- 0.2 layer height
- 10% gyroid infill
- 60mm/s print speed
- 60c heated bed

![3d_printing_slice-bowl.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/096/medium640/3d_printing_slice-bowl.jpg?1570308779)

[Download from Thingiverse](https://www.thingiverse.com/thing:3899559)
[Fusion 360 Share Link](https://a360.co/35ax3s1)
## Snap Fit Mount

The Circuit Playground PCB snap fits into the case. Insert the PCB at an angle to fit under the snap. Line up the stand offs with the mounting holes and press down to snap fit.

![3d_printing_slice-cpxmount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/097/medium640/3d_printing_slice-cpxmount.jpg?1570308906)

## Top Cover

Use translucent filament for the top cover. The cover snap fits onto the bottom of the bowl and features a notch for passing a micro USB cable for power.

![3d_printing_slice-cover.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/099/medium640/3d_printing_slice-cover.jpg?1570310686)

## CAD Assembly

The components were modeled in the cad assembly. This animation shows where the electronics are mounted and how the parts fit together.

![3d_printing_cad-assembly.gif](https://cdn-learn.adafruit.com/assets/assets/000/082/098/medium640thumb/3d_printing_cad-assembly.jpg?1570310285)

## Container Size

Reference the inner dimensions of the bowl to gauge the size you'll needed for the water and dry ice. Use a water tight container like a plastic bottle or glass jar. We used a 2oz appetizer cup we found from a local party supply department store.&nbsp;

![3d_printing_cad-cross-section.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/128/medium640/3d_printing_cad-cross-section.jpg?1570330576)

## Design Source Files

The project assembly was designed in Fusion 360.&nbsp;This can be downloaded in different formats like STEP, SAT and more. Electronic components like Adafruit's board, displays, connectors and more can be downloaded from our&nbsp;[Adafruit CAD parts GitHub Repo](https://github.com/adafruit/Adafruit_CAD_Parts).

![3d_printing_3333-Circuit-Playground-Express.gif](https://cdn-learn.adafruit.com/assets/assets/000/082/119/medium640thumb/3d_printing_3333-Circuit-Playground-Express.jpg?1570316838)

## Glue Parts

You’ll need to glue some pieces to make the bottom half of the cauldron.&nbsp;You can use superglue to attach these two pieces together.&nbsp;

![3d_printing_parts-glue.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/100/medium640/3d_printing_parts-glue.jpg?1570310960)

Warning: 

## Superglue

You’ll need to glue some pieces to make the bottom half of the cauldron.&nbsp;Use superglue to attach the PCB mount to the bottom half.&nbsp;

![3d_printing_parts-glueing.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/101/medium640/3d_printing_parts-glueing.jpg?1570310998)

## Bottom Half

Use the mounting holes in the center to line up the parts. Firmly hold parts together while glue sets.

![3d_printing_parts-linedup.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/102/medium640/3d_printing_parts-linedup.jpg?1570311232)

## Design Source Files

The project assembly was designed in Fusion 360.&nbsp;This can be downloaded in different formats like STEP, SAT and more. Electronic components like Adafruit's board, displays, connectors and more can be downloaded from our&nbsp;[Adafruit CAD parts GitHub Repo](https://github.com/adafruit/Adafruit_CAD_Parts).

![3d_printing_cpx-snap-mount.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/103/medium640/3d_printing_cpx-snap-mount.jpg?1570311366)

## Install CPB board

- Orient the USB port with one of the notches.
- Line up the mounting holes with the standoffs. 
- Insert the PCB at an angle to get underneath the snaps. 
- Firmly press down to snap fit the PCB into place.&nbsp;

![3d_printing_install-cpx.gif](https://cdn-learn.adafruit.com/assets/assets/000/082/127/medium640thumb/3d_printing_install-cpx.jpg?1570330287)

## Install Top Cover

The Circuit Playground Bluefruit PCB snap fits into the mount. Tabs on the side keep the board in place without any screws.

![3d_printing_top-cover.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/104/medium640/3d_printing_top-cover.jpg?1570311493)

## USB Notch

The cover features a notch for passing a micro USB cable for power.

![3d_printing_top-cover-usb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/105/medium640/3d_printing_top-cover-usb.jpg?1570311579)

## Install Bowl

The bowl screws onto the bottom half of the cauldron and is tightly fastened with a nice and seamless finish.&nbsp;

&nbsp;

![3d_printing_install-bowl.gif](https://cdn-learn.adafruit.com/assets/assets/000/082/107/medium640thumb/3d_printing_install-bowl.jpg?1570312023)

## USB Access

The micro USB port should be accessible through the hole on the back of the bowl. If the JST connector is visible instead, remove the Circuit Playground PCB and rotate it 180 degrees.

![3d_printing_bowl-usb-hole.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/106/medium640/3d_printing_bowl-usb-hole.jpg?1570311678)

## Plug-in Power

On the back of the bowl we have access to the micro USB port for power and programming.

There’s enough space at the bottom for a battery but you can also power the board over USB.

![3d_printing_usb-plug.gif](https://cdn-learn.adafruit.com/assets/assets/000/082/108/medium640thumb/3d_printing_usb-plug.jpg?1570312188)

# Circuit Playground Bluetooth Cauldron

## Software

## Setup Circuit Playground Bluefruit with CircuitPython

We'll need to get our board setup so we can run CircuitPython code. Let's walk through these steps to get the latest version of CircuitPython onto your board.&nbsp;

![3d_printing_code.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/093/medium640/3d_printing_code.jpg?1570301554)

## Mu Python Editor

Mu is a simple Python editor that works with Adafruit CircuitPython hardware.&nbsp;It's written in Python and works on Windows, MacOS, Linux and Raspberry Pi. The serial console is built right in so you get immediate feedback from your board's serial output!

![3d_printing_mu-editor.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/094/medium640/3d_printing_mu-editor.jpg?1570301600)

[Installing and Using the Mu Editor](https://learn.adafruit.com/welcome-to-circuitpython/installing-mu-editor)
Warning: 

## **&nbsp;Quick Start**

- Download the CircuitPython UF2 for Circuit Playground Bluefruit
- Connect Circuit Playground Bluefruit to your computer over USB and press the Reset button
- Open INFO\_UF2.TXT, if the bootloader version is less than 0.6.1 then update the bootloader per [this guide page](https://learn.adafruit.com/adafruit-circuit-playground-bluefruit/update-bootloader).
- Drag-n-drop the CircuitPython **UF2** onto the&nbsp; **CPLAYBOOT** drive - the drive will vanish and a new **CIRCUITPY** drive should appear.
- Copy code and library files to the&nbsp; **CIRCUITPY** drive

Info: 

[Download Latest Circuit Python for Circuit Playground Bluefruit](https://circuitpython.org/board/circuitplayground_bluefruit/)
## Download Adafruit CircuitPython Library Bundle

In order to run the code, we'll need to download a library. The download linked below will contain all the libraries available for CircuitPython. To run the code for this project, we only need the Adafruit Circuit Playground and Adafruit Bluefruit Connect libraries. Unzip the library bundle and search for the library. Drag and drop it onto a folder named **lib** on the **CIRCUITPY** drive (create the folder if it is not already on the Circuit Playground Express).

## Required Libraries&nbsp;

- **adafruit\_ble**
- **adafruit\_bluefruit\_connect**
- **neopixel.mpy**

[Download Latest Circuit Python Library Bundle](https://circuitpython.org/libraries)
## Upload Code

Click on the download link below to grab the main code directly from GitHub. Rename the file to **code.py** &nbsp;and drop it onto the **CIRCUITPY** main (root) directory. The code will run properly when all of the files have been uploaded.

Use any text editor or favorite IDE to modify the code. We suggest using the Mu Python Editor. See below for more on Mu.

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/BLE_CPB_Color_Picker/code.py

# Circuit Playground Bluetooth Cauldron

## Foggy Slime

![](https://cdn-learn.adafruit.com/assets/assets/000/082/122/medium800thumb/3d_printing_palm-fog.jpg?1570318458)

## Glow Putty

We’ using this glow in the dark putty to create a slime that we can adorn along the rim of the cauldron.

This stuff has a thick clay like formulation so its not runny like regular slime which makes it less messy.

![3d_printing_glow-putty.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/113/medium640/3d_printing_glow-putty.jpg?1570316060)

## Add Putty

You can make it look like it’s dripping by adding little bits along the top and letting them droop over time, it almost looks like melted candle wax.

![3d_printing_bowl-putty-rim.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/115/medium640/3d_printing_bowl-putty-rim.jpg?1570316132)

Warning: 

## Dry Ice

When working with Dry Ice, you always need to be safe so handle this stuff with tongs. We got a pack of dry ice from our local grocery market.

![3d_printing_dryice.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/116/medium640/3d_printing_dryice.jpg?1570316182)

## Cups and Pouring Spouts

This appetizer cup holds about 2 ounces and fits nicely inside the bowl of our cauldron. Be sure to use hot water and container that has a pouring spout.

![3d_printing_water-dryice.jpg](https://cdn-learn.adafruit.com/assets/assets/000/082/117/medium640/3d_printing_water-dryice.jpg?1570316337)

## Dry Ice Fog

Here we’re using just a small amount of hot water. This lasts about a minute before the fog cuts out. So if you want to make the effect last longer, you’ll need to switch out with cold water. You'll want to be careful not to spill anything on your work surface.

![3d_printing_dryice-pour.gif](https://cdn-learn.adafruit.com/assets/assets/000/082/118/medium640thumb/3d_printing_dryice-pour.jpg?1570316626)

## Going Further

This could become much more sophisticated and control things like servos and motors to move things like the fog and slime. The onboard accelerometer, temp and light sensors could be used to change things like the colors of the LEDs or trigger sounds.

![3d_printing_cauldron-fog.gif](https://cdn-learn.adafruit.com/assets/assets/000/082/120/medium640thumb/3d_printing_cauldron-fog.jpg?1570317591)


## Featured Products

### Fully Reversible Pink/Purple USB A to micro B Cable - 1m long

[Fully Reversible Pink/Purple USB A to micro B Cable - 1m long](https://www.adafruit.com/product/4111)
This cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also fully reversible! That's right, you will save _seconds_ a day by not having to flip the cable around.

First let's talk about the cover and over-molding. We got these...

In Stock
[Buy Now](https://www.adafruit.com/product/4111)
[Related Guides to the Product](https://learn.adafruit.com/products/4111/guides)
### 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)
### Lithium Ion Polymer Battery - 3.7v 500mAh

[Lithium Ion Polymer Battery - 3.7v 500mAh](https://www.adafruit.com/product/1578)
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 500mAh for a total of about 1.9 Wh. If you need a larger (or smaller!) battery, <a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/1578)
[Related Guides to the Product](https://learn.adafruit.com/products/1578/guides)
### Filament for 3D Printers in Various Colors and Types

[Filament for 3D Printers in Various Colors and Types](https://www.adafruit.com/product/2080)
Having a 3D printer without filament is sort of like having a regular printer without paper or ink. &nbsp;And while a lot of printers come with some filament there's a good chance you've been printing up a storm and need something new. &nbsp;That's why we've started carrying a...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2080)
[Related Guides to the Product](https://learn.adafruit.com/products/2080/guides)
### Monoprice Inventor II 3D Printer with Touchscreen and WiFi

[Monoprice Inventor II 3D Printer with Touchscreen and WiFi](https://www.adafruit.com/product/3897)
The **Monoprice Inventor II 3D Printer Touchscreen with WiFi** is a perfect entry-level 3D printer with small footprint and reliable performance. It comes equipped with WiFi so you don't need a cable tether and a lovely 3.5" color touchscreen for settings & feedback....

No Longer Stocked
[Buy Now](https://www.adafruit.com/product/3897)
[Related Guides to the Product](https://learn.adafruit.com/products/3897/guides)

## Related Guides

- [Adafruit Circuit Playground Bluefruit](https://learn.adafruit.com/adafruit-circuit-playground-bluefruit.md)
- [Wirelessly Code your Bluetooth Device with CircuitPython](https://learn.adafruit.com/wirelessly-code-your-bluetooth-device-with-circuitpython.md)
- [How to use the Puppet Module in the Bluefruit Playground App](https://learn.adafruit.com/how-to-use-the-puppet-module-in-the-bluefruit-playground-app.md)
- [Circuit Playground Bluefruit Quick Draw Duo](https://learn.adafruit.com/circuit-playground-bluefruit-quick-draw-duo.md)
- [Easy No-Soldering Bluetooth Controlled Room Lights](https://learn.adafruit.com/easy-no-solder-bluetooth-controlled-room-lights.md)
- [Glowing Bottle Castle and Capacitive Touch Piano](https://learn.adafruit.com/glowing-bottle-castle-and-capacitive-touch-piano.md)
- [Welcome to CircuitPython!](https://learn.adafruit.com/welcome-to-circuitpython.md)
- [PyLeap NeoPixel Light Meter for Circuit Playground Bluefruit](https://learn.adafruit.com/pyleap-neopixel-light-meter.md)
- [Frozen-Inspired Animated Pendant with Temperature Sensing](https://learn.adafruit.com/frozen-gizmo-pendant-with-temperature-sensing.md)
- [LED Reactive Light-Up Hockey Puck in MakeCode](https://learn.adafruit.com/led-hockey-puck.md)
- [CircuitPython TFT Candy Hearts](https://learn.adafruit.com/circuit-python-tft-gizmo-candy-hearts.md)
- [TFT Gizmo Animated Eye](https://learn.adafruit.com/tft-gizmo-animated-eye.md)
- [Now Playing: Bluetooth Apple Media Service Display](https://learn.adafruit.com/now-playing-bluetooth-apple-media-service-display.md)
- [Getting Started with CircuitPython and Bluetooth Low Energy](https://learn.adafruit.com/circuitpython-nrf52840.md)
- [PyLeap WAV Playback for Circuit Playground Bluefruit](https://learn.adafruit.com/pyleap-wav-playback-for-cpb.md)
- [Circuit Playground Bluefruit BLE Heart Rate Pendant with CircuitPython](https://learn.adafruit.com/ble-heart-rate-display-pendant.md)
