This is a really fun and easy project that can be done in about an hour. On the bottom of the skateboard is an accelerometer/gyro with an Arduino board that transmits the angular motion of the board via bluetooth to a little VR game I made in Unity for Android phones. So, when you turn on your Arduino and the bluetooth connects with your phone, you start moving forward. Lean left and you go left, lean right and you go right. Lift up the front wheels and your character will jump. This only works for Google Cardboard compatible Android phones....
You will need:
-A Google Cardboard style virtual reality headset.
-A skateboard.
-4 tennis balls (to keep from rolling away)
-An Arduino Leonardo (or Uno)
-Some jumper wires
-A mini breadboard
-An HC-06 bluetooth module
-An MPU-6050 accelerometer/gyro
-A 9V battery with battery box that has a on/off switch and a barrel plug (to power the Arduino -board)
-A soldering iron and maybe a hot glue gun
Details
Files
VRBoardUnity.apk
Android App
Android Package Archive -
27.51 MB -
03/04/2016 at 21:48
not able to find how to input the data from the bluetooth module to the untiy