Introduction: Android Phone IMU Visualizer
First i want to introduce myself. I am electrical engineering student from turkey and also a blogger. I share my project from my blog (Click For My Blog)and until now i will share a few of them from instructables.
At this project, visualization of android device with IMU sensors will be explained.The orientation of an android device will be shown at PC. Android camera and PC communicate with each other with a WI- FI connection. I wrote 2 program for this project. First one is android app Second one is visualizer program for PC. At android app IMU angles of the Android phone are sent to PC by using UDP network protocol. After you install the app write your PC's IP to this program. Also you can change the using port.
PC program is written in Processing 2. Program firstly take the IMU angles from android phone over wifi connection. Then update the 3 dimensional shape on the screen by this data. To use my processing code Processing UDP library must be downloaded.
Step 1: Things to Do
Consequently, needs for this project:
1. Android device
2. Wifi Connection (both phone and pc must be in same network)
3. Open Android IMU App (it can be downloaded from below)
4. Processing 2 for PC
5. Processing UDP Library (You can install in Processing itself(by using add library from menu))
6. The code at below for Processing
Note: Do not forget to write your PC's IP to the Open Android IMU App.
Step 2: Final
Finally, it is a video of presentation of my project. I hope you enjoy this.