Halloween Hat Project – Anne

Description

This project is organized around the character of the Sorting Hat from the first of the Harry Potter books and movies. The intent of the project is to amuse people and invoke nostalgia for those who have read the books. The hat can be worn. The light effects are controlled by two sets of button switches hidden in the tassels. I learned a lot doing this project including soldering in tight spaces–the neopixel jewels and soldering header pins in particular. The neopixels and sound board were all new to me as well. The project was more work than I anticipated and I don’t regret the time spent on it as I learned lots of new techniques. However, the scale of the project and the time to execute it were a real challenge. For the next iteration I would focus on reducing the footprint of the Uno to a smaller board to fit inside the hat and exploring the neopixel code for more effects. Additionally, the button switches are “clicks” and that combined with low volume on the hat’s “voice” needs more work.

In progress images and sketches:

Tested and ready to assemble.

Tinkercad Circuit

Here is the Tinkercad circuit for the lights. (Note: Not seen here is the power shield fitted on top of the Uno for the LiPo battery and the Lipo battery.)

Here is the current Arduino sketch:

Here is the sketch: https://www.tinkercad.com/things/8qmh3hMCAu0-sorting-hat-final

Here is the circuit diagram for the audio fx board:

Current Parts list

(2) 1/4 round neopixel strips x15 neopixels each https://www.adafruit.com/product/2874

(4) neopixel jewels https://www.adafruit.com/product/2859

(10) push button switch https://www.adafruit.com/product/367

(10) 100 ohm resistors https://www.sparkfun.com/products/10969

(1) Arduino Uno https://www.adafruit.com/product/4806

(1) Audio FX board https://www.adafruit.com/product/2217

(2) 3W 4ohm speakers https://www.adafruit.com/product/1669

(2) LiPo batteries – 3.7v 500mAh for sound and 3.7v 1800mAh for lights https://www.adafruit.com/product/1578

(1) LiPo backpack for connecting battery to Audio FX board) https://www.adafruit.com/product/2124

(1) Arduino Uno power shield for attaching LiPo battery to Uno https://www.adafruit.com/product/2078

(3) perma proto boards https://www.adafruit.com/product/571

(5) sorting hat .wav files at https://github.com/Bachmann1234/sortinghat/find/master

Video: