Possible to turn Android phone into Wii style remote?

  • #1

Main Question or Discussion Point

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.
 

Answers and Replies

  • #2
11,489
5,023
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:

http://developer.android.com/guide/topics/sensors/sensors_overview.html

and then find the API for communicating with Bluetooth.

http://developer.android.com/guide/topics/connectivity/bluetooth.html

the AIDE page is here:

http://www.android-ide.com/

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,
 
  • #3
Thanks so much! I don't know what most of that stuff is, but I look forward to learning!
 

Related Threads on Possible to turn Android phone into Wii style remote?

Replies
4
Views
2K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
1
Views
3K
Replies
6
Views
17K
  • Last Post
Replies
5
Views
1K
  • Last Post
Replies
1
Views
3K
Replies
15
Views
15K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
5
Views
4K
  • Last Post
Replies
2
Views
1K
Top