Week 3-2: Make a more complex toy

The Sorting Box: Welcome to Hogwarts!

Team member: Yuan Chen, Hyelim Lim

Harry Potter is a series of fantasy novels written by British author J. K. Rowling. The books have found immense popularity, critical acclaim and commercial success worldwide. They have been made into films later. The books have attracted a wide adult audience as well as younger readers and are often considered cornerstones of modern young adult literature. One of the most impressive highlights in the book (and the films for sure!) is the scene that students are assigned their houses by a talkative sorting hat.

Base on this scene, the team came up with the idea: We should make a “sorting box”.

With an LCD display screen. several buttons, an Arduino board, and some coding, we make the sorting box work!

How the sorting box work:
When the LCD screen turns on, the screen greets the player: “Welcome to Hogwarts!“
The player presses the button, the screen will show the name of the house based on the representative color of each house:

Red Button - “Gryffindor”
Blue Button - “Ravenclaw”
Yellow Button - “Hufflepuff”
Green Button - “Slytherin”

The name of the chosen house will only remain on the screen for 3 seconds.
Then, it will go back to the greeting page. The player can press another button.

The Possible Improvement from this stage:
If we get the chance to improve the project, we will make a real sorting hat. We will mount the screen onto a hat. By putting the hat on the player’s head, a switch will be triggered. The hat will show a random house’s name out of the 4 houses, and the backlight of the screen will light up in the representative color of that house.

The Scheme Image

 

The Code

 
LCD_Choose_code_final_Page_2.jpg
GOPR0014.JPG
Screen Shot 2019-09-24 at 00.15.42.png