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.
I am releasing my source code for Tilt Board v3. It is released for personal use only. Please contact me if you would like to use any part of it commercially. The project files were written in C using the Source Boost IDE and the BoostC compiler. It was originally written for a Microchip PIC16F88 microcontroller, but should be easily modified to work with most microcontrollers. I tried to comment the code well to make it easy to understand. The download includes the C source code files and the compiled hex file. The source will allow you to make your own modifications, and the hex will allow you to program your own PIC without the trouble of setting up the compiler.
This completes the information I have to release about the Tilt Board v3. You should now be able to make your own and modify the code to suit your needs. If you need any help, make any improvements to my code, or just like what I am doing please e-mail me and let me know. Have fun!
The link above gives you the schematics and PCB board layout for the Tilt Board v3. They were created using the program Eagle CAD 5.4.0 which is available to download from here. Eagle CAD is an excellent (and low priced) program that has a free version available. The zip file contained in the link above this post contains two files. The .sch is the schematic and the .brd is the board layout. For an excellent tutorial on how to use Eagle CAD software check out this tutorial by Spark Fun. If you don’t want to mess with learning Eagle CAD but you still want your own board you can order as many as you want from Batch PCB. They are who I ordered my prototypes from and are a really cool company.
Please feel free to use these files for any personal use. I am making them available to help others learn more about electronics. They may not be used for commercial purposes.