Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Possible to turn Android phone into Wii style remote?

  1. Dec 17, 2014 #1
    I can find instructions and videos everyone for how to control a remote control car with buttons on a smartphone screen. However, what I'M hoping to do is control an arduino equipped motorized car using the gyroscope and accelerometer contained within the phone. I have found the Wireless IMU app, but from what I can tell, it seems to only transmit to Matlab.

    My goal is to make a toy car for my son that he can control by moving the phone. If I could just figure out how to get the accelerometer and Z coordinates to transmit through bluetooth to the arduino.

    Hopefully someone can help me out here. For the record, I'm totally unfamiliar at Matlab at this point. I'm only at a very beginner level with arduino as well. I'm doing this project to learn more about all of the above.
  2. jcsd
  3. Dec 17, 2014 #2


    Staff: Mentor

    There's a development tool for Android called AIDE (android app store) where you can write java code on the phone. from there, you'll need to find how to read the accelerometer:


    and then find the API for communicating with Bluetooth.


    the AIDE page is here:


    The AIDE is good for quick apps. You don't need to worry about some issues like a development environment on your PC with Java JDK, the Android SDK and how to access your phone in developer mode...

    Alternatively you could look up the Processing IDE, follow some tutorials to connect it to the ADK and do your development on your PC.

    However, the most formal and best way is the Eclipse based Android environment complete with debuggers... Its the environment most professionals will use.

    Anyway, there are tutorials and books that will tell you everything you need to know to get started,
  4. Dec 17, 2014 #3
    Thanks so much! I don't know what most of that stuff is, but I look forward to learning!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook