I was having fun with my new Bean and its accelerometer. I didn't have all the hardware I needed for the project I really wanted to build, so I made this cute little project first. It is an easy out-of-box project with minimal hardware needed.
The GameThe classic picnic game involves two rows of contestants. Partners toss an egg from one side to the other. At the end of each round any partners with broken eggs are eliminated the lines are moved further apart. The last pair remaining wins.
Building the eggI used an empty prescription pill bottle, but any small container that you can secure the Bean in will do. The packaging foam was just the right size for the pill bottle, but you may need to use hot glue to secure in a different type of container. If using a plastic Easter egg, be sure to add a window (i.e. drill a hole) to see the Bean's LED. The bean can be programmed wirelessly while it is secured in the egg, so you are finished with the construction.
The Bean is programmed over Bluetooth Low Energy (BLE). You can use an appropriate iPhone or Android phone (with BLE) or PC or iOS computer with BLE. The Bean is Arduino compatible. Whichever platform you choose, you can get the appropriate programming software from Punch Through.
Playing the gameOnce the electronic egg "breaks", you will need to reset it it. You can do this most easily by just reloading the program. Alternatively you can remove and reset the battery, but you don't even need to open the egg to reprogram it.
Comments