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
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
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
Draw a mouth on the chart as shown in the picture and cut it with scissors
Giving Life to the Mouth
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
Connect your servo and push button according to the schematics above.
Preparing the SD Card
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
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!
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