loading

Virtual Worlds: This month, HackerBox Hackers are exploring Virtual Reality technology. This Instructable contains information for working with HackerBoxes #0009. If you would like to receive a box like this right to your mailbox each month, just subscribe at HackerBoxes.com and join the revolution!

Topics and Learning Objectives for this HackerBox:

  • Understand and Define Virtual Reality (VR)
  • Work with VR Headsets
  • Experience VR Software
  • Explore Bluetooth Communications
  • Interface and Program ATmega32U4 Microcontrollers
  • Interface an Inertial Measurement Unit (IMU)
  • Implement an Inertial Mouse Control Device using an IMU
  • Configure the Inertial Mouse into a VR Glove
  • Work with the HC-05 Bluetooth Module

HackerBoxes is the monthly subscription box service for DIY electronics and computer technology. We are hobbyists, makers, and experimenters.

Hack the Planet!

Step 1: HackerBoxes #0009: Box Contents

  • HackerBox #0009 Collectible Reference Card
  • VR Smartphone Headset
  • Bluetooth Gamepad Controller
  • USB Bluetooth Adapter CSR 4.0
  • Arduino Pro Micro with ATmega32U4
  • HC-05 Bluetooth Module
  • MPU-92/65 Inertial Motion Sensor Module
  • Green Prototype PCB (4x6 cm)
  • Pair of Waterproof Gloves
  • Two Micro Buttons
  • Two Pairs of Velcro Tabs (16x45 mm)
  • DuPont Jumpers 20cm F-F
  • HackerBoxes Decal
  • Exclusive DARKNET Decal

Some other things that will be helpful:

  • Soldering Tools
  • Smartphone
  • Computer with Arduino IDE
  • Glue gun or epoxy

Most importantly, you will need a sense of adventure, DIY spirit, and hacker curiosity. Some of these VR technologies are still fairly cutting edge and will work differently depending upon what type of computer or smartphone you are using. This type of hobby electronics isn't always easy, but when you persist and enjoy the adventure, a great deal of satisfaction may be derived from overcoming the frustration and making things work!

Step 2: Welcome to Virtual Reality

Virtual reality (VR), also known as immersive multimedia or computer-simulated reality, is a computer technology that replicates an environment, real or imagined, and simulates a user's physical presence and environment to allow for user interaction.

Virtual realities may be displayed on either computer monitor or through a virtual reality headset (also called head-mounted display). Some simulations include additional sensory information and focus on real sound through speakers or headphones targeted towards the user. Advanced haptic systems may include tactile information, generally known as force feedback.

VR may include remote communication environments which provide virtual presence of users with the concepts of telepresence and telexistence either through the use of standard input devices such as a keyboard and mouse, or through multimodal devices such as a wired glove or omnidirectional treadmills.

An immersive virtual environment can be similar to the real world in order to create a lifelike experience (for example, in simulations for pilot or combat training), or it may differ significantly from reality, such as in VR games. (from Virtual Reality)

Here is a nice overview entitled, "Explained: How does VR actually work?"
VR was the all the rage at CES 2016. For example, the author of this TIME article reports, "I Finally Tried Virtual Reality and It Brought Me to Tears."

For further (much further) details, check out this MOOC and accompanying free text book from Computer Science Professor Steven M. LaValle at UIUC.

Step 3: VR Headgear for Smartphones

Google Cardboard introduced the world to easily-accessible, low-cost virtual reality by leveraging smartphone technology for processing and display. A simple mobile application is launched on the smartphone and then the smartphone is simply placed into the viewer (also known as the headset).

The smartphone display is split into left and right stereoscopic components. When viewed through the lenses of the headset, the two images are fused into one image with depth for three-dimensional effect.

While Google Cardboard was named for the original fold-out cardboard viewers supplied by Google and others, applicable headsets are no longer limited to those made of cardboard. The nicer plastic variety, such as those seen here, work the same way, but are much more durable and comfortable to use.

Install the Google Cardboard mobile application on your smartphone and give it a try. If your smartphone is running Android, some applications may be controlled by the Bluetooth Gamepad Controller.

The original cardboard versions of the smartphone headsets had magnetic switches. Sadly, the nicer ones do not. In some instances, the Bluetooth Gamepad can be used for triggering inputs. There are some interesting hacks to be found for adding the button functionality such as this one using a simple magnet.

Google's VR offerings will not be ending with Cardboard. Google Daydream was announced at I/O 2016. Here is the Keynote. There was a very nice presentation at Google I/O 2016 on Designing with Daydream if you are interested in some of the nuanced considerations for designing VR apps and media.

Step 4: Virtual Reality Software

Once you have played with the Google Cardboard App a bit, try some others...

YouTube (Android and iOS)

Check out "The best 360 degree and VR videos on YouTube"

FULLDIVE (Android)

Within VR (formerly Vrse) (Android and iOS)

Roller-Coaster (Android and iOS)

Mindroid (Android)

Of course you can find many, many more by searching for "VR" under Apps in the Apple iOS App Store of the Google Play Store for Android.

This project is quite creative and shows some interesting examples of head tracking (using Free Track), display mirroring (using Splashtop), and game controller support (using Keysticks).

Step 5: Bluetooth Wireless Technology

Bluetooth is a wireless technology standard for exchanging data over short distances. It uses short-wavelength UHF radio waves in the ISM band around 2.4 GHz. This presentation on Bluetooth Basics has a lot of history and details on Bluetooth technology.

The Miniature Bluetooth Gamepad can be used as an input device on computers and certain tablets and smartphones. (Newer non-rooted iOS devices do not support this type of interface).

The HC-05 Bluetooth Module can be easily interfaced to a microcontroller platform (such as an Arduino board) as presented later in this Instrucable.

The USB Bluetooth Adapter is based on a CSR 4.0 USB interface that may be used on your PC if it did not come with Bluetooth. Note that the CSR chipset is not supported by certain OSX versions, but Mac laptops generally provide builtin Bluetooth support.

Step 6: Arduino Pro Micro 5V/16MHz

The Arduino Pro Micro is based on the ATmega32U4 microcontroller which has a builtin USB interface. This means that there is no FTDI, PL2303, CH340, or any other chip acting as an intermediary between your computer and the Arduino microcontroller.

We suggest first working with the Pro Micro without soldering the pins into place. You can perform the basic configuration and testing without using the header pins. Also, delaying soldering on the module gives one less variable to debug should you run into any complications.

If you do not have the Arduino IDE installed on your computer, start by getting it form arduino.cc. WARNING: Be sure to select the 5V version under tools > processor prior to programming the Pro Micro. Having this set for 3.3V will work once and then the device will appear to not ever connect to your PC until you follow the "Reset to Bootloader" instructions in the guide discussed below, which can be a little tricky.

Sparkfun has a great Pro Micro Hookup Guide. The Hookup Guide has a detailed overview of the Pro Micro board and then a section for "Installing: Windows" and a section for "Installing: Mac & Linux." Follow the directions in the appropriate version of those installation instructions in order to get your Arduino IDE configured to support the Pro Micro.

We usually start working with an Arduino board by loading and/or modifying the standard Blink sketch. However, the Pro Micro does not include the usual LED on pin 13. Luckily, we can control the RX/TX LEDs and Sparkfun has provided a neat little sketch to demonstrate how. This is in the section of the Hookup Guide entitled, "Example 1: Blinkies!" Verify that you can compile and download this Blinkies! example before moving on.

Step 7: Inertial Measurement Unit (IMU) Module

The Inertial Measurement Unit (IMU) is based on a MPU-9250. The MPU-9250 is a second generation 9-axis MotionTracking device comprising a 3-Axis Gyroscope, 3-Axis Accelerometer, and a 3-Axis Magnetometer.

The schematic shown here demonstrates how to wire up the Arduino Pro Micro and the MPU-9250 to create an Inertial Mouse. One mouse button is also added.

This project (with video) includes an Arduino library for the MPU-9250 and also has some example code to start with for our inertial mouse:

  1. copy the code as shown
  2. remove (comment out) all reference to the right button
  3. change the left button pin to pin 4 (or whichever pin you used)
  4. change pinMode for leftbutton from OUTPUT to INPUT_PULLUP
  5. reverse the active level for leftstate

As wired here (as opposed to in the example code), the button signal is active low since it is pulled up when released and grounded when the button is pressed.

if (leftstate == LOW) { //grounded when pressed
Serial.print(" Left Click! ");
Mouse.press(MOUSE_LEFT);
}
if (leftstate == HIGH) { //pulled up when not pressed
Mouse.release(MOUSE_LEFT);
}

Step 8: Virtual Reality Glove

Once you test out the Inertial Mouse, you can mount it to the Prototyping PCB (optional) or to a piece of cardboard (optional) and then use the provided velcro tabs to adhere it to the back of a glove. The "mouse button" can be affixed to a fingertip using hot glue (or epoxy) so that it can be pressed using the thumb while operating the Inertial Mouse.

Step 9: HC-05 Bluetooth Module

The Bluetooth Module (HC-05) can easily be used in place of the serial monitor interface. For example, get any sketch running on the Arduino that uses serial communications. Do not wire up the HC-05 Bluetooth module yet. From the start, set the data rate to 9600bps. That is the default for the HC-05 so this just makes it easier to transition later.

Get the program running on the Arduino and working with the serial monitor on your computer (make sure to set the computer serial rate to 9600 as well or it will not work). Now you can disconnect the computer (or just turn the IDE and serial monitor off if you still need it for power) and wire up the HC-05. Now Bluetooth is taking the place of the serial monitor. Sync your mobile device's Bluetooth radio to the HC-05 and run an app like BlueTerm on the mobile device. This will let you type to the serial port from the mobile device just as you did from the Arduino serial monitor, but this time, you are wireless.

As an advanced option, if you want to be able to leave pins 0 and 1 connected to the PC (via the USB interface), you can modify whatever sketch you are working with to use the SoftwareSerial and wire the HC-05 rx and tx lines onto two other pins.

Check out this Virtual Reality Skateboard example using a Bluetooth interface.

Step 10: Hack the Planet

We hope you are enjoying your time working with Virtual Worlds. If you enjoyed this Instrucable and would like to have a box like this delivered right to your mailbox each month, please join us by SUBSCRIBING HERE.

Please share your success in the comments below and/or on the HackerBoxes Facebook page. Certainly let us know if you have any questions or need some help with anything. Thank you for being part of the HackerBoxes adventure. Please keep your suggestions and feedback coming. HackerBoxes are YOUR boxes. Let's make something great!

<p>My quick attempt with the Google Cardboard app and my Nexus 5 leads me to believe that the Bluetooth joy pad doesn't work to &quot;select&quot; in the app. Though I have seen a few websites that says similar devices can be made to work. I did grab a magnet and waved it around my phone to manage selection. For those that don't know the actual Google Cardboard devices had a &quot;switch&quot; that was made with a magnetic trapped in the layers of cardboard. The phones magnetometer will pick up the movement.</p><p>If anyone has a better way to use the Google Cardboard app and these goggles, please let me know. In addition we should list apps that can successfully be used. I did fire up Shadowrun VR using the goggles and joy pad. </p>
<p>Did anyone get the bluetooth gamepad to work with an android phone and the cardboard app?</p>
<p>There are a few different &quot;hacks&quot; for the trigger. This one is fairly elegant if it works for you: https://youtu.be/rQuuE31g4Hs</p>
<p>I just made my first HackerBox and I had a great time. I'm looking forward to the next one.</p>
<p>is this something that would only work with a smartphone? I'd be more interested in a standalone vr kit</p>
<p>I dont like the fact that the tutorials dont address the 3.3v verses 5v dilemma, Apparently you can program in 5v mode, and the output pins operate at 5 volts when using the instructions. (I checked with a voltmeter) Both the MPU-9250 and HC-05 are rated for 3.3 volt logic levels. I understand the Arduino's inputs will tolerate this variance but I think it is bad practice to infer that all devices will interoperate between 3.3v and 5v levels. </p>
<p>I actually walked around the house plugging this thing into various computers just to see if it worked. It did.</p>
<p>Hello,</p><p>This is my first box, and I am struggling with the Bluetooth section, I have used two different Windows computers and can't communicate over serial with the device. I can pair with the HC-05, but the serial port associated with it is always &quot;busy&quot; it also looks like the device disconnects instantaneously. What information do you need to point me in theright direction?</p>
<p>If you're trying to use the arduino serial monitor that may not work for the bluetooth connection. Try downloading tera term or putty to interact with the bluetooth serial port. Also make sure your arduino code is using Serial1 and not just Serial for all the Serial1.begin, Serial1.read, and Serial1.write commands.<br><br>Serial through the built in usb connection, Serial1 for an addon module using the Tx/Rx pins.</p>
<p>Thank You, I have tried Putty to the same result. I even tried controlling just the bluetooth adapter using the Blinkies sketch from http://sfe.io/t121 and saw the same kind of port busy message. I have wired up the adapter both with and without a voltage divider on the bluetooth RX pin. I have even tried powering the bluetooth adapter off of a separate 5 V supply, I always seem to get the same response. (I even purchased a new adapter from amazon thinking I had fried the RX pin with 5V.) It's like windows doesn't know what to do with the device and stops communicating. I wondered if it was windows 10, but my windows 7 machine is the same, except I don't get ports that are clearly attached to the bluetooth adapter. Again, Thanks for the quick reply.</p>
<p>When I was struggling with basic bluetooth communication I went with a very simple echo program so I could see the back and forth data flow. I'd recommend loading up the below code to your arduino, then connect via putty to the outgoing com port showing up in the bluetooth port details:</p><p>void setup()<br>{<br> Serial1.begin(9600);<br> Serial1.println(&quot;Type Something and press enter&quot;);<br>}<br><br>void loop()<br>{<br> while(Serial1.available()==0)<br> {}<br><br> Serial1.println(&quot;&quot;);<br> Serial1.println(&quot;You wrote:&quot;);<br> while(Serial1.available()&gt;0)<br> {<br> Serial1.write(Serial1.read());<br> }<br> Serial1.println(&quot;&quot;);<br>}</p>
<p>Ok sorry for your difficulties , this is probably a silly question but have ensured that your arduino IDE serial monitor is not running ? I think you are going to have have to chase your problem down through the device manager . The fact that it pairs is a good thing and means the hardware is talking just fine, so none of the voltages or hardware crap is interfering. That leaves things in the protocol realm or device enumerator / blue tooth enumerator and type , I am using the bluetooth term from the windows app store ( freebie ) , putty is good but this app specifically looks for the bluetooth device ports. Good luck post your progress</p>
<p>Here's the completion of my inertial mouse from this month's box. I did get bluetooth communication working between the arduino and mu computer but I abandoned getting the glove to work via bluetooth and I explain why in the video. A couple things I may adjust in the future.</p><div><div> - Change the delay so the mouse is a little more responsive.<div> - Add an additional button to set where level is, so I can have my hand resting more naturally without the mouse moving.<div>Overall I had a lot of fun and frustration but I learned a lot during this project. Can't wait for the next box.<div> https://youtu.be/ccvkqy0u0N8</div></div></div></div></div>
<p>Take a look at the BLE libraries , you will find some wonderful things like BLEmouse .move commands and so forth. </p>
<p>Did you get it to work with those libraries? <br>I took a cursory look, I don't think this gets around the fundamental problem....that windows doesn't see this device as a human interface device(HID). The BLE seems to just change how it communicates, it doesn't maintain an open communication channel just sends data when there's data to send.<br>If you've had success with this I'd be very interested, but I don't think I'll pursue that with the info I've read about it so far.</p>
<p>If you load the BLE library using the Arduino IDE , then go select Examples from the file menu , near the bottom of the list will be BLEPeripheral , when you mouse over it a drop down list will show with HID mouse over it and you will find an example called HID_joystick_mouse This example code will run if you change the board specific references ...... If you are not comfortable writing the code flag me and I'll code up an example for you when I get a little time Cheers !</p>
<p>There is another way to get it to work remotely without having to buy a $25+ HID Bluetooth module and without a listener program on the computer. <br><br>This solution would require 2 arduino devices and 2 Bluetooth modules. The idea would have one arduino, the motion tracker, and a Bluetooth module in slave mode on the glove powered by a battery. The arduino would feed the motion tracker and button info to the bluetooth and that's it. Then connect the other Bluetooth module in master mode to another arduino plugged into the computer. We know that the Pro Micro is recognized as a human interface device by windows, so this should work fine. This module will read the input from the Bluetooth, parse the data and send mouse commands to the computer. This would turn the arduino into a Bluetooth receiver for your machine emulating a HID so you wouldn't need the little Bluetooth receiver for you computer.<br><br>Extra components beyond what was in the hackerbox:<br>- Bluetooth module - either another HC05(master or slave) or an HC06(slave only)<br>- Arduino, probably something like the pro mini or micro<br>- batteries.<br><br>For the extra arduino you could use the pro-mini that came in box 0008 for the glove since it only needs to communicate via Bluetooth. If I were to buy another arduino specifically for this I would purchase the 3.3V arduino pro mini since that would require less weight for the batteries to supply that voltage. That voltage works fine for all the components on the glove. Note the Box 0008 came with the 5V version of that board, so you'll want a 6V or 9V battery for that one.</p>
<p>The zipper came off my glove the first time I zipped. Love the monthly boxes.</p>
I connected the HC-05 to the Arduino. But what code do I need to make it actually recognize it? Also, is anyone else having the issue that it disconnects the Bluetooth after a few seconds?
<p>Hey all you PC challenged (i.e. Mac OS X) people out there. Has anyone had any luck getting the HC-05 to communicate with their Mac Computer? I'm using El Capitan. So far I can connect via Bluetooth and the HC-05 tty port shows up in the terminal, but I've had no luck with moving data back and forth. I also suspect that the iPhone is a lost cause. Any detailed advice would be appreciated.</p>
<p>The data piece may be as mentioned below replace all serial in the sketch with serial1 then recompile you should start seeing data </p>
<p>Indeed. Replacing Serial1 for Serial doest the trick! SoftwareSerial does not seem to work with the Arduino Pro Micro.</p>
<p>Okay here's an update the sketch won't start sending data over bluetooth till you do a find and replace Serial with Serial1 . I set up a terminal to watch the bluetooth data flow and had nothing till I recompiled with the Serial1, Still if you power this circuit separately from the computer the mouse will not work but you will still see the data flowing across the serial link. I downloaded a free bluetooth terminal programmer from the app store ( WIN 10 ) to troubleshoot with. I used the default microsoft bluetooth mgr. to Pair the HC05 and then the app found and connected fine. I though I had this beat when I saw the position data flowing and the mouse cursor moving as I moved the board ..... but then I noticed if I unplugged and ran off a straight power only USB connector the mouse would no longer work , the data for the serial did still flow. This must have something to do with the way the Mouse.h lib defines the port .... Someone didn't do a very good job of really checking this code out. Oh well let you know when I figure it out. </p>
<p>So I'm finding out not that iOS doesn't support the HC-05 bt profile. Am I mistaken?</p>
<p>Yep that's what I see , I can pair up fine to my Razer Tablet windows 10 but my iPhone won't even discover it. </p>
<p>Has anyone else had trouble getting the glove mouse to click? It might be the button, but I'm not sure. Has anyone had this problem to?</p>
<p>Yeah having same issue , haven't done much to look into it yet though </p>
<p>Mine ended up being wiring all good now </p>
<p>I'm going to try to change the wiring from pin 4 to ground to pin 4 to pin 5. I'll set pin 5 as an output and pin 4 as an input. I'll do it tom most likely.</p>
<p>a little primitive but it works whoo hoo!!!!!!!!</p><p>thanks all for you help&gt;</p>
<p>cam someone please help me to find an answer to my problem, on the mouse project I built it I went to the project reference downloaded the code and edited it as stated in reference but every time I went to compile I get an error that states 'Mouse&quot; not found. Does your Sketch include the line #include &lt;mouse.h&gt;&quot;? which I see it does I don't have a lot of programing experience so I am lost I tried for two days to find an answer on the internet with no luck. thanks</p><p>// Watch video here: https://www.youtube.com/watch?v=o09-9n5WrxE</p><p>//Connection pins provided in the diagram at the beginning of video</p><p>// library provided and code based on: https://github.com/Seeed-Studio/IMU_10DOF<br>#include &quot;Wire.h&quot;<br>#include &quot;I2Cdev.h&quot;<br>#include &quot;MPU9250.h&quot;<br>#include &lt;Mouse.h&gt;<br>// specific I2C addresses may be passed as a parameter here<br>// AD0 low = 0x68 (default for InvenSense evaluation board)<br>// AD0 high = 0x69<br>MPU9250 accelgyro;<br>I2Cdev I2C_M;</p><p>int16_t ax, ay, az;<br>int16_t gx, gy, gz;<br>int16_t mx, my, mz;<br>float Axyz[3];<br>int leftbutton = 4;</p><p>void setup()<br>{<br> // join I2C bus (I2Cdev library doesn't do this automatically)<br> Wire.begin();<br> Serial.begin(9600);<br> Serial.println(&quot;Initializing I2C devices...&quot;);<br> accelgyro.initialize();<br> Serial.println(&quot;Testing device connections...&quot;);<br> Serial.println(accelgyro.testConnection() ? &quot;MPU9250 connection successful&quot; : &quot;MPU9250 connection failed&quot;);<br> delay(1000);<br> pinMode(leftbutton, INPUT_PULLUP);<br> Mouse.begin();<br>}</p><p>void loop()<br>{<br> getAccel_Data();</p><p> float pitchrad = atan(Axyz[0] / sqrt(Axyz[1] * Axyz[1] + Axyz[2] * Axyz[2])); // radians<br> float rollrad = atan(Axyz[1] / sqrt(Axyz[0] * Axyz[0] + Axyz[2] * Axyz[2])); // radians</p><p> float rolldeg = 180 * (atan(Axyz[1] / sqrt(Axyz[0] * Axyz[0] + Axyz[2] * Axyz[2]))) / PI; // degrees<br> float pitchdeg = 180 * (atan(Axyz[0] / sqrt(Axyz[1] * Axyz[1] + Axyz[2] * Axyz[2]))) / PI; // degrees<br> <br> float Min = -15;//-30, -45, -15<br> float Max = 15;// 30, 45, 15<br> int mapX = map(pitchdeg, Min, Max, -6, 6);<br> int mapY = map(rolldeg, Min, Max, -6, 6);<br> Mouse.move(-mapX, mapY, 0);<br> Serial.print(pitchdeg);<br> Serial.print(&quot;,&quot;);<br> Serial.print(rolldeg);<br> Serial.print(&quot; - &quot;);<br> int leftstate = digitalRead(leftbutton);<br> //Serial.print(leftstate); Serial.print(rightstate);<br> if (leftstate == Low) {<br> Serial.print(&quot; Left Click! &quot;);<br> Mouse.press(MOUSE_LEFT);<br> }<br> if (leftstate == High) {<br> Mouse.release(MOUSE_LEFT);<br> }</p><p> Serial.println();<br>}</p><p>void getAccel_Data(void)<br>{<br> accelgyro.getMotion9(&amp;ax, &amp;ay, &amp;az, &amp;gx, &amp;gy, &amp;gz, &amp;mx, &amp;my, &amp;mz);<br> Axyz[0] = ((double) ax / 256) - 1.6;<br> Axyz[1] = ((double) ay / 256) - 2.1;<br> Axyz[2] = (double) az / 256;<br>}</p>
<p>Did you unpack the zip file into your arduino libraries folder ? Using the IDE to add it to the same ? When you go to that folder mouse.h should show up there .... probably you did but worth checking the location Also ccarrella I did copy exactly your code from your message and compiled it the only error was the states for the mouse button , they should be in all CAPS as in HIGH and LOW , other than that it compiled and ran on my board. Good Luck</p>
<p>thank you so much I will correct the high low text and try unzipping that file much appreciated</p>
<p>ok update I have the code compileing now but here is the problem when it goes to uypload it to the board I hear it disconnect and re connect it starts on port 5 then when it reconnects it goes to port 6 and then errors out telling me there is no board on port 6 any ideas would help out greatly thanks</p>
<p>Try setting the the board type in the IDE to Leonardo disconnect the usb first , change the board type and reconnect , then compile and upload. </p>
<p>yup I got it working thanks I would like to thank everyone for your help I am a little rusty at this stuff </p>
<p>Okey dokey , I definitely Bric'd da micro ... Sparkfun was good but confusing in places to follow. I finally just gave up and dug out my adafruit usbtiny. Soldered the header pins on the micro and stuck it in a breadboard , used the jumpers to pick up ISP connections to the USBtiny and selected programmer in the Arduino IDE and ran Bootloader , it burned fine My micro is restored If you are going to much with these Pro Micro's I'd suggest buying the USBtiny programmer which normally I use to load AVR programs. </p>
<p>This month's documentation on how to use the box contents was pretty inadequate, I have to say. </p>
<p>So are there iOS apps that work with this bluetooth remote? I can't believe that you'd ship a solution that only works with Android.</p>
<p>It may only work for android though. It works fine on my galaxy s5.</p>
<p>Solution Found: </p><p>Start it up and pair, then turn the controller off.</p><p>Hold X and start to turn it on again, when turned on this way, it defaults to MOUSE mode, the analog stick moves the cursor, the start button is a click (or double click) which WORKS with the cardboard apps.</p>
<p>I've got the inertial mouse working on a bread board.</p><p>Check out the video of the first steps: https://youtu.be/pgPNzDW-e7g</p><p>I've been trying to get the bluetooth working with this breadboard, but I'm a little afraid I damaged the module, the bluetooth runs on 3.3V and the Tx line from the arduino is 5V. Didn'tread that until later. It pairs with my computer just fine but I don't see anything coming from the serial monitor. I recently tried setting up a voltage divider on the Tx line to drop it down around 3.3V but that didn't seem to have any effect. Next I'm going to take it all apart and just try talking to the bluetooth without the motion controller or any mouse functions. Stay tuned for that video.</p>
<p>I like this hack. </p><p>https://www.youtube.com/watch?v=-wynneanrj0</p><p>He just drills a hole so he can touch the screen. Easy! </p>
<p>I have gotten my bluetooth controller to pair up fine with my iPhone 6s, but all the key functions in both &quot;game&quot; or &quot;key&quot; modes don't actually seem to work in the Google Cardboard app, or any of the games I have downloaded. </p>
<p>I just opened mine up. I got the select button working with a magnet on the camera side of my iphone 6s. I really hope I can get a remote option like the gloves working as a selector, the magnet just seems too low tech or imprecise for me.</p><p>I was much more impressed than I thought I would be just from the demo on the cardboard app. I'm very happy with this box it made me a little bit giddy when I opened it.</p><p>I uploaded a video of my unboxing, check it out: https://youtu.be/8G48sDBKUic</p><p>I plan on doing another video for the glove project once I've got that done....success or failure.</p>
<p>Mine came today. OMG! I didn't even know I wanted one of these!! Can't wait to start. </p>

About This Instructable

11,555views

28favorites

License:

More by HackerBoxes:HackerBoxes 0018: Circuit Circus HackerBoxes 0017: Power Maker HackerBoxes 0016: Cellular Metal 
Add instructable to: