Inspiration
As a Harry Potter fan who finished the whole series (books & movies), I always wonder which house I will be allocated to.
Here, I am making my own sorting hat for a dream come true xD
What it does
Sorting hat allocates user to a Harry Potter house when a user wears the hat
How we built it
Sorting algorithm using Python
Hardware development using Arduino and C++
Challenges we ran into
This is my very first hardware project, and I have no idea how it works.
My initial plan is to allocate users to a Harry Potter house by the humidity/ temperature readings from the sensor (which will be placed inside the hat).
After finishing the initial sorting algorithm using the random library, I got stuck in finding ways to connect the Arduino hardware to Python, and spent a lot of time trying things out. Some tutorials directed me to use pyserial, while the others recommended pyfirmata. I followed the tutorials but no luck.
Later, I noticed I may not be able to link Arduino to Python script using repl.it (which gave me the motivation to buy a proper laptop).
Accomplishments that we're proud of
I got the hardware sensor and sorting algorithm to work (although separately XP
What we learned
I learnt a lot about hardware development in general, and potential methods for connecting Arduino to Python (which will be very useful in future).
What's next for Sorting hat
Connecting the hardware sensors to python script. Then, try to make a hat with fabric, connect it to a chatbot and add motors so it will look real :D


Log in or sign up for Devpost to join the conversation.