Working Sorting Hat From Harry Potter

by THE UPSTAIRS INVENTOR in Circuits > Arduino

776 Views, 3 Favorites, 0 Comments

Working Sorting Hat From Harry Potter

DSC_0248.JPG
My Post.jpg
DSC_0184.JPG
DSC_0228.JPG

In our muggle world , there is no magical hat to sort us into our houses. So I have used this quarantine opportunity to make a sorting hat.

Supplies

CRAFT SUPPLIES

  • Black chart
  • Glue
  • Tape
  • Scissors and Blade
  • Popsicle stick

ELECTRIC COMPONENTS

  • Arduino Uno
  • Wires
  • Servo
  • 9V battery Adapter
  • Memory card sheild
  • Memory card
  • Aux plug
  • Push button

Making the Hat

make a cone clip art.jpg
DSC_0190.JPG
DSC_0196.JPG

Follow the instructions in the first picture to make a cone out of a black chart and then use some black tape and glue to secure the ends.

Making the Mouth

DSC_0201.JPG
DSC_0203.JPG

Draw a mouth on the chart as shown in the picture and cut it with scissors

Giving Life to the Mouth

DSC_0230.JPG
DSC_0236.JPG
DSC_0238.JPG
DSC_0249.JPG

Glue the servo adapter to the popsicle stick and chop off the ends with pliers to ensure a good and clean movement inside the hat.

Then glue the servo to the inner side of the hat as shown in the picture .

Once the glue is dried , glue the other part (top part) of the hat to the popsicle .

The end result should look like pic 4 .

The Wiring

schematics sorting hat.png

Connect your servo and push button according to the schematics above.

Preparing the SD Card

schematics sd card to arduino.png

Wire your SD card to arduino according the the schematics above.

Connect your SD card to your computer using an adapter and upload all the 3 '.WAV ' files to it.

Preparing the Speaker

DSC_0235.JPG
DSC_0245.JPG

Connect the speaker to the arduino by following the schematics .

THE CODE !!!!

Download the code from this link and then extract it to library under arduino folder.

Then you can download the code (Above) and upload it to the arduino.

Downloads

Voila!

DSC_0244.JPG
DSC_0250.JPG
DSC_0242.JPG

Now all you need to do is to give power to your arduino and place it in your head before pressing the tiny push button that activates the speaker