
Wand Working with Harry Potter and Raspberry Pi
We do not know if Laptop Science was taught at Hogwarts, but when it have been, we’re positive the Raspberry Pi would play an essential position in that. Bored with casting spells on the push of a button, this project from Mo “That’s it Mo” It makes use of a Harry Potter Coding Equipment and the wand of a Raspberry Pi Zero W as a movement controller for the not too long ago launched Hogwarts Legacy recreation.
i_used_a_rpi_zero_w_and_a_kano_wand_to_cast from r/raspberry_pi
Mo’s challenge is nice. We are able to after all shuffle the buttons to solid spells, however the movement controller provides a bit extra authenticity to the motion. The wand itself is Kano’s formally licensed Harry Potter wand. If the identify Kano sounds acquainted, it is due to their earlier equipment, which mixed unique Raspberry Pi {hardware} with its personal orange keyboard and lots of pc science-based initiatives. The wand will probably be used as a device for studying to code, however Mo’s challenge makes use of it for one thing far more enjoyable.
The challenge was constructed utilizing a Python module. GammaGames, this handles scanning wands and capturing actions over a Bluetooth connection. Mo’s challenge makes use of this module to seize actions which can be then transformed into keys after which despatched to the PC operating Hogwarts Legacy. Key presses are transmitted to the PC, cleverly turning the Raspberry Pi Zero W (a Raspberry Pi Zero 2 W can be used) right into a USB HID system. That is the place Mo upgraded the challenge from a easy controller to an actual wand. The Harry Potter neighborhood has fastidiously chosen the strikes required for every spell to be solid. Mo has included these gestures as gestures, and now you may must adapt your rustles to make use of “Lumos”, “Wingardium Leviosa” or “Avada Kedavra” when you’ve been up for some time in Azkaban.
This enjoyable challenge is a tribute to Mo. It’s far more than a easy USB HID system, it’s magic for many who wish to immerse themselves on the planet of Harry Potter.
Go to Mo’s GitHub repository To seek out out how one can attend the subsequent Computing Science class at Hogwarts.
#Wand #Working #Harry #Potter #Raspberry