Harry Potter Spell

I actually have made a little progress, but I’m headed in a bit different direction. I’m trying to build a system that would use Bluetooth LE, but work locally and without a PC. I’ve been focused on a sensor and camera system that is NOT a wiimote and sensor bar. I have figured some of the hardware out. I’m using a Pixy camera modified to track IR light and using 940nm IR LEDs to reflect back off the tip of the wand. The camera and IR system is then connected to an Arduino. I have been able to program the Arduino to detect the wand and turn on and off an LED. Good news is the system could possibly be adapted to send out a BTLE signature using a Bluetooth shield for Arduino.

My biggest challenge now is working out the programming for the Arduino to detect the individual spell patterns. I’ve been looking over Tim’s code and he said he may be able help me with the math. My biggest challenge is time.

I’d love to help as much as I can, but my resources would be limited.

Thanks Steameister! I’ll actually be in Orlando in September, hoping to try a wand prototype then. So jealous that you get to have butterbeer all of the time.

My thoughts on the whole situation:
The wands work by reflecting IR light. A camera picks up the light being reflected, tracks it, and then checks to see if it performs the right sequence. All of that is based off of this image from the patent: https://patentimages.storage.googleapis.com/US20140240102A1/US20140240102A1-20140828-D00003.png

Could you potentially make your own ‘electronic’ wand by hooking up an IR led in series with a battery and a current limiting resistor? It will technically emit light which will be picked up by the cameras. This is my current game plan for my upcoming trip.

That Butterbeer is pretty awesome stuff :slight_smile: we tried an online recipe and made some at home and got really close to matching the flavor!
I’m going to be working on a totally differnt approach to the wand later this year. I’ll be sure ro share my progess and more info once I get into it.
Be sure to use the interactive wand in Diagon Alley too, there are 25 interactive spots over there and several “hidden” spots you have to find on a map (they’re invisible).

Think of the quidditch possibilities! The European tournament is on now…

Just spent 2 days in universal and found all you have to do is point your wand at the visible senor, no hand movements required. Hope this helps. Steameister, any chance you could snap a picture of the HP senor with a camera that picks up ir?

Hi all,
It looks like several people are trying to get the Wizarding Wands project to work this Christmas, but they can’t seem to get the software I made to run. Unfortunately, I think there may be some kind of incompatibility with Windows 10, and if so, I have no way to test it nor to fix it - I don’t even have a Windows computer anymore!

Can someone with Windows 10 give it a try? Even better, if there’s a C# programmer out there with Windows 10, everyone would be so grateful if you could fix whatever is breaking on the project!

Holiday cheers,

Hey Tim,
Are you on Linux or OS X? I still have some interest in seeing if your code can somehow be made to work in OS X on a Mac. Any interest? Maybe as a Swift project. I don’t know.

OS X - Macbook. I’ve seen some libraries for the Wiimote, so it’s possible. I just was more familiar with .NET than with Objective C when I did this, so that ended up being the unfortunate tool of choice. I actually just decided today that I’m going to try to get this working for Android. If you’d like to go tag team with Swift, I might be up for it.

I know this is old, but I just got back from Universal Studios with an interactive Harry Potter Wand and I am trying to get it to work at home with a Wiimote. I know @timothy_high got it working, but I cannot. Here is what I have tried –

  1. Downloaded some software called Touchmote that pairs with a Wiimote for Windows 10.
  2. Set up and paired it with my PC. It works perfectly when I used the Wiimote with the Sensor bar
  3. When I turn the Wiimote and Sensor bar toward the wand and try to wave it around, it doesn’t register anything. I’ve tried every angle and distance I can think of.

From what I been reading, the wand just reflects the IR light back to the Wiimote so I feel like this should work. Can anyone help me see what I’m missing here?

Edit: I also downloaded the WiiWandz project from Github and built it successfully on Windows 10 and got it to run, but I still have the same issue. Wiimote and sensor work great, but nothing happens with the wand :frowning:

Edit 2: Nevermind! It works now with WindWandz on Windows 10. I just need to be about a foot or so away from the Wiimote. Woot.

1 Like

I’m not really sure on the Windows side of things as I’m a Mac guy. I’ve done it on the Mac using a couple different techniques, but it’s been a long time. I used Darwiin Remote, https://sourceforge.net/projects/darwiin-remote/ and set up a serial connection to an old OS X technology called Quartz Composer.

More recently I’ve been playing with setting up a system using an Arduino and some 940nm LEDs and a blob tracking camera called the Pixy which I modded with an IR kit from IR-Lock as I described above. As far as I got though was writing a program that just detects the reflected light from the wand tip and triggers an LED on and off. I still have yet to do any true tracking and the reliability of the IR LED detection is not great.

I realize this thread has been dormant for a few months now. My family and I just got back from Universal a couple of days ago. We had acquired HP interactive wands and loved them. I would love to build a wand and found this thread.

The patent that @Steameister posted mentions the Microsoft Kinect system, which operates at 827nm, according to this link: https://social.msdn.microsoft.com/Forums/en-US/48fd741b-b858-46c5-8668-96efbaff9573/kinect-ir?forum=kinectsdk.

Has anyone tried using the Kinect system to view the wands? I wonder if that would make them easier to see, over the 940nm Wii system.

Thank you all for the useful information presented here!

Chuck M.

I just got back from Universal Orlando. I brought some IR filters with me. The sensors and backscatter light are clearly visible with the 850nm filter.

1 Like

Thanks for this info. That would seem to line up with the system working with the Wii set up. Still it seems like a 940nm system may work as well if not better? I never got very far with my testing though. Maybe someone with more IR experience could explain.

I believe 940nm is Wii. 827nm is XBOX Kinect.

What I’d really like to understand is if one wavelength would perform better than the other or does it really not matter?

I am probably very late to this party, but I was wondering if someone is still working on this? I would love to get this to work again but am currently stuck with the problem of the Wii-Wand-Reccognition software @timothy_high developed several years ago does not work with newer Windows versions, not even in compatibility mode. I purchased a Lenovo laptop with W10 just for that reason but cannot get it to work properly. Additionally, because I use MAC, I would love to find a way to have this all run on a mac instead.

I’ve become busy with a number of other things, but I still have a goal of trying to get some sort of solution working that doesn’t require a desktop computer or a Wii set up. I’d really like to see something that can use the Arduino bit or a Raspberry Pi or something like that. I’ve played around with a few things and got basic solution working with a Raspberry Pi unit. The main thing is time. I just don’t have a lot of extra cycles to play with this stuff. Still I’d be possibly open to doing some collaboration with a group if that’s something we can set up.

@maccast I really do like the idea of detaching it from any computer and I am definitely happy to help. Because I do not have enough coding experience to help with that I am afraid, I am happy to test, brainstorm etc. Hopefully we can get some other interested ppl engaged and get this up and running again, one way or another.

I am still looking into a way of “fixing” that Windows IR movement recognition program just in case. I have a party coming up later this year and I would really like to add this as big surprise for a very dear friend of mine :smile:

I’m really a Mac and Linux guy so I’m afraid I won’t be much help with the Windows code that was really @timothy_high’s area.