One of the features of the Wizarding World of Harry Potter at Universal Studios theme park is “Interactive Wands” where you are able to move a special “Interactive Wand” to control various objects around the park. This feature is a lot of fun, and is where the original idea for this project came from. My son requested a Harry Potter themed birthday party for his most recent birthday, which is the event that caused me to actually create this project.
The interactive wand feature at the Wizarding World of Harry Potter seems to work by having IR lights that shine towards you, having that light reflect off your wand tip, and using an IR camera to to track the reflected light / the movement of the wand. This movement data is then processed by something behind the scenes and if that movement data corresponds to the defined spell the action is performed.
My version of this system consists of three parts: The Wand, The IR Light / Camera, and the processing software. I’ll write a post for each part. This one will cover the wand.
For my 3 year old son’s birthday last year he received a “Stomp Rocket Ultra” kit.Â The kit was awesome, and we had a great time.Â Eventually we wore the rockets out, so I decided to design a model we could use to 3D print more.Â It was a big hit, and we have since printed countless rockets.
In the above video you can see what I call my “Uno Attack Hack”. My hacked Uno Attack consists of an Uno Attack game that has been modified to allow me to secretly change the outcome of the game to my advantage. Â The hacked Uno Attack has four different operating modes that are set over a Bluetooth connection using an Android based program. Â The orientation of the Android phone determines which mode the hacked Uno Attack is in. Â The four modes are:
1. Normal – In normal operating mode it operates like a non-hacked Uno Attack. Â When the button is pressed there is a 1 in 3 random chance of cards getting shot out. Â The number of cards being shot out varies randomly between approximately 1 and 6. Â The hacked Uno Attack is in this mode when the phone is laying on a flat surface, screen up.
2. Don’t Attack – In this mode the hacked Uno Attack will never shoot out any cards. Â This is the mode that I will typically have it in on my turn, so I don’t get any more cards added to my hand. Â The hacked Uno Attack is in this mode when the phone is on its left side.
3. Timed Attack – In this mode the hacked Uno Attack is preloaded with an amount of time ( in milliseconds) that cards should shoot out for on the next button press. Â The amount of time is loaded into the hacked Uno Attack by standing the phone on end, then laying it flat again. Â The amount of time the phone was standing straight up will be the amount of time loaded into the hacked Uno Attack.
4. Attack Now! – In the mode, the hacked Uno Attack will start shooting cards without its button ever being pressed. Â This would be used near the end of a game, when you are ready to give away your secret, but want to really confuse the other players first. Â The hacked Uno Attack is in this mode when the phone is standing oriented upside down. Â Normal operating mode is returned once the phone is put flat again.
TheÂ originalÂ circuit board of the Uno Attack was completely replaced with a new custom made one using a PIC 16F88 and a RN-42 Bluetooth Module. Â If there is enough interest in this, I will post more information on the construction of this including source, schematics, etc.
v2.0 – 9/13/2010 -New: Updated User Interface! -Bug Fix: Several Force Close fixes -New: Touch Timer+ created, same as Touch Timer with no ads or analytics.
v1.6 – 9/1/2010 -Bug Fix: Fixed Force Close issue involving WakeLock. -New: Text Color Option for the countdown text. -New: Added Google Analytics to send back anonymous usage data to assist with future development.
v1.5 – 8/27/2010 -Bug Fix: Alarm Finished dialog no longer dissapears on orientation change. -Bug Fix: Alarm in Silent Mode now works properly on all versions of Android.
v1.4 â€“ 5/16/2010 -New: Icon updated to comply with Android 2.1 standards.
v1.3 â€“ 3/21/2010 -Bug Fix: Notification volume issues fixed. -Bug Fix: Now starts properly from the quick launcher.
I recently switched from an iPhone to the HTC Dream (T-Mobile G1) Android phone.Â I am a huge fan of the Android operating system and I started writing applications for it.Â My first application is “Touch Timer”. I developed this application after not being happy with any of the timer applications on the market.
Touch Timer is a countdown timer application with an intuitive touch interface.Â You input your time by scrolling up and down on the appropriate number or by pressing the plus and minus buttons.Â The alarm will go off even if the phone is asleep.Â You can set the alarm to honor or override the silent/vibrate mode depending on user preference.Â Alert sound is user selectable.
You can download Touch Timer for free from the Android market.
My second Android application is Risk Odds Calculator. Â This application will calculate the odds of an attacker winning any single attack in the game of Risk and its variants. Â The die selector for Attacker and Defender cycles through 3 types: none (black shadow), six-sided die, and an 8-sided die. Â There is also a list of modifiers that allow you to do more advanced calculations for some of the more complicated Risk games, such as Risk 2210 or Risk Godstorm.
If there are any modifiers that I missed that you would like to see added, let me know and I will try to add them in.
You can download Risk Odds Calculator for free from the Android Market.