Introduction: 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
Step 1: 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.
Step 2: Making the Mouth
Draw a mouth on the chart as shown in the picture and cut it with scissors
Step 3: 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 .
Step 4: The Wiring
Connect your servo and push button according to the schematics above.
Step 5: 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.
Step 6: Preparing the Speaker
Connect the speaker to the arduino by following the schematics .
Step 7: 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.
Attachments
Step 8: 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