Publié par Laisser un commentaire

Raspberry Pi Powered Harry Potter Project Works Like Magic

I’m sure a few of our readers have wondered what it’s like to make something happen with the wave of a wand. Now they can know exactly what it’s like with this Raspberry Pi-powered Harry Potter infrared wand project created by a maker known as Coleminer31. His original plan was to develop a treasure box for his sister who works as a first-grade teacher. By waving the wand, the treasure box would open for the students, just like magic.
The operation relies on a Harry Potter universal remote control wand created by The Noble Collection. This wand can interact with the Raspberry Pi, making it an ideal tool to pull this project off.
Coleminer31 is using a Raspberry Pi 3 B+ but a Raspberry Pi 4 should work just as well. In order to receive input from the Harry Potter wand, the Raspberry Pi needs an infrared receiver. For this project, Coleminer31 chose to use a Flirc brand USB infrared receiver.
The Pi is programmed to check the infrared receiver for input. The detection is bound to a keystroke to help trigger scripts. If the Pi determines the wand is waving, the keystroke is registered and your custom function is triggered. You can read more about how the keystroke mechanism works on Github.
This is a really simple project that can be expanded into something much more complicated. When you think of the components you can control and integrate from LEDs to servo motors, the possibilities are seemingly limitless. If you have a magical project in mind, check out the complete instructions on Instructables.
Get instant access to breaking news, in-depth reviews and helpful tips.
Thank you for signing up to Tom’s Hardware. You will receive a verification email shortly.
There was a problem. Please refresh the page and try again.
Tom’s Hardware is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site.
Future US, Inc. 11 West 42nd Street, 15th Floor,
New York,
NY 10036.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *