• Sensorstream IMU+GPS 1
  • Sensorstream IMU+GPS 2
  • Sensorstream IMU+GPS 3
  • Sensorstream IMU+GPS 4

Sensorstream IMU+GPS

This is an Android App for 2.3.3 Android OS and above.It deals with Hard
- and Software Sensors which are integrated in Nowadays Smartphones.
The User can select the Sensors and observe the current values of


- Accelerometer
- Gyroscope
- Magnetometer
- GPS Position
- .... and other Sensors

A Stream containing the Sensor-Values in CSV
- Format by WLAN To a Client and/or a Stream To a SD-Card can be started and stopped. The Sensor-Update frequency can be adjusted.

There are some GPS-Algorithms running in the Background which transform the GPS data in different coordinate frames.

The Stream via WLAN uses the User Datagram Protocol (UDP) Interface.

The Project Page of this app can be found here:http://sourceforge.net/projects/smartphone-imu/Here you will be able to download the Source Code.

In order to receive the data you can use something like the Java File "QuoteClient"in the Files-Section of the Source Forge Project Page. Or use Python and compile:------------------------------------------------------------import socket, traceback

host = ''port = 5555

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)s.bind((host, port))

while 1: try: message, address = s.recvfrom(8192) print (message) except (KeyboardInterrupt, SystemExit): raise except: traceback.print_exc()------------------------------------------------------------

Enjoy Navigation!

Category : Tools

Related searches

Reviews (29)

Mat. I. Mar 19, 2021     

I wonder if you could help me understand the parameters that I record. I plan to record the accelerometer, gyroscope, magnetic field, GPS position, orientation and linear acceleration. Can you please tell me which data has which index in excel export (indices 1, 3, 4, 5, 6, 7, 8, 81, 82)? Which index denotes acceleration in the x, y, and z axes? Can you also tell me please how the time parameter is shown because I do not know how to get the exact date, hour, minute and second of the measurement? Thank you in advance!

Kev. Nov 11, 2019     

UDP Stream option doesnt work. Ive double checked the target ip address and the port that the opentrack software is listening to. Both devices were also on the same network but the app was unable to stream the data.

Eli. S. Aug 18, 2019     

Great App! I can data to my SD card for the Kalman filter that I'm implementing as part of a university course. A few questions: Is there any documentation? What is the first column. I'm assuming some kind of timestamp, but is does it have some kind of standard? What number corresponds to what sensor and what units does it use? So far I've guessed the following: 1 - GPS (lat [degrees] ,lon [degrees], height [m]) 3 - accelerometer (x,y,z) [m/sec^2] 4 - gyro (x,y,z) [units unkown] 5 - magnetometer (x,y,z) [uT?] 6 - ? (?,?,?) Appears with GPS 7 - ? (?,?,?) GPS speed maybe? 8 - ? ? Also appears with GPS Are these correct? Any documentation? A few suggestions/ feature requests: When streaming to SD card, organise data in columns per sensor. Label each sensor with name and units.

Ket. S. R. Jul 20, 2019     

Great app for experiment. Dear developer, may I know the sampling rate for each "sensor update frequency" (slow, medium, fast and fastest).

Utk. T. Aug 6, 2020     

UDP option is not working please either post a tutorial pf how to do it or fix the bug and make it work.

Joe. F. Nov 2, 2019     

Seems to work fine but abaolutely no idea how to interpret the data, cant find documentation online as well...

The. 1. P. S. Aug 11, 2019     

"Warning: Not connected to a WiFi network" does not enable. Note: i am using shared wifi from this phone

And. M. M. Aug 21, 2019     

Hi, i'm trying to retrieve the GPS data on the generated .csv file but among many numbers I can't find it, could any of you help me? thanks

Joh. H. Mar 2, 2020     

UDP stream works perfectly. Tested on Android 4.4 and Android 9

Nag. j. K. May 15, 2021     

After running the python script where on laptop do we see the result. I couldn't understand

bal. m. m. May 1, 2020     

Works like a charm. Best for small raspberry Pi projects

Jer. L. Jul 19, 2021     

I wish it was updated, but it still works.

Zam. N. Nov 23, 2020     

It's simply great. Thank you for the App

And. S. Dec 11, 2020     

Great app, thank you so much!

Joe. S. Jul 8, 2013     

To newbies like me wondering how to get the PC client working: Step 1) Google "Python", and download the installer for Windows. Step 2: The code in this description gives tab errors, search for Sensor Node app and download the androidSensor123.py python code file, save it your harddrive. If you installed Python correctly, you should be able to just 'double click' the .py file and run it. Then enter your PC's LAN ip address into the Android app, tap the "switch stream" button on, and move the android around to generate accelerometer data. It should work!

Gre. C. Nov 30, 2016     

Does what it says and does it well. The only issue I've had is the app not running in the background.

Sud. M. Sep 7, 2014     

Checked the app for udp streaming to my laptop . I have used androidSensor123.py python script to receive data. It is working fine with WiFi. But if I establish the connection through my phone's WiFi hotspot then udp streaming not starting . With another similar app 'wireless imu' this is not a problem.

har. k. Aug 21, 2018     

Please change little bit log file format. Add year,month,date, hour, minute,sec,milisec in each row of output csv. Optionally if anyone want to see, you can put live graph of sensor output. Everything else is superb. I test your app among all other app in playstore. It's superb.

Jos. C. Oct 6, 2016     

This a is absolutely amazing. The speed streaming is really good, and the app is showing a lot of different information. And I have to add, that I'm really glad to see that you're sharing code in your website. Thanks for the app.

Oli. C. Sep 13, 2013     

Would be advantageous to also be able to stream via bluetooth for areas without Wifi. Also, save the previous target IP Address to memory or as default. N.B. for linux users, simply find IP address (type: ifconfig | grep 'inet addr:'), use that as target address, then either use androidSensor123.py python script from other review (type: python androidSensor123.py) or netcat utility (type: nc -ul ) and start streaming.

San. P. Mar 4, 2017     

Its a great app. However, can we have a feature to add a constant string in the devices to identify them..?

Mri. S. May 10, 2017     

would be nice if there was an option to be able to uncheck the first three sensors on the list.

Jef. S. Oct 14, 2015     

Great app. Author was very helpful.

Arr. S. Jul 22, 2014     

Glad to have the additional sensors.

Kei. F. Jul 18, 2018     

I had need to record vehicle acceleration data, and this app provides that and more!

Jon. C. Jul 8, 2018     

It doesn't stream the data on my Android (7.1). On the screen works fine. It's not my server or routing, I've checked it.

nad. h. Jul 10, 2017     

Thanks it helps me a lot. :)

Omk. K. Dec 6, 2016     

Does the phone act like server in the process of streaming data?

Cur. Oct 27, 2017     

This is what I needed...love it..😍