Introduction

This tutorial shows steps to receive signals from iSeismometer to your computer. Basically, the protocol is simple as below:

id,timestamp,x,y,z

Each line of data represents a tick in the iSeismometer. If you set 30hz for the target sampling rate, you obtain about 30 lines per second. This information is transmitted via wifi using UDP. The default port is 10552.

Requirements

This tutorial is for advanced users. We are planning to make wifi transmit easy for everyone, but for now, you might need following knowledge

  1. Wi-Fi Network
  2. Running a python program in Console

Step 1: Setup your computer (Mac)

Go to System Configuration then select Sharing icon.

Then select Internet Sharing option (do not click the check box yet). You should set the drop down to Ethernet and select AirPort in To Computer Using section.

Check the Internet Sharing option now. Now, your computer started your own network. The screenshot below shows kiichi-mac as the network name.

Note: Make sure to turn off this sharing feature once you finish transmitting signals.

Next step is to start a program to receive signals. I wrote a simple python script for this purpose. Please download it from here:

receiver (UDP Server) – Python Script

(Update: 2012/3/13)

Other developers created Windows GUI version of software for iSeismometer! Check this out and let me know how it goes. I assume you can skip next section if you use those Windows Version of Software.

Open the console (Applications > Utilities > Console) and go to the directory that you extracted the file. In this example, I assume that you downloaded the file on my desktop. In the console, move to Desktop:

cd Desktop

Start the server as below:

python receiver.py

If you wish to save the data rather than show them on the screen, dump them like this

python receiver.py > data.csv

Then try to open data.csv with Microsoft Excel or similar spreadsheet software.

Step2: Setup the iPhone / iPod Touch / iPad

Go to Settings in your device. Tap Wi-Fi menu and turn on Wi-Fi. Once Wi-Fi is started, you will see your computer name as the network name to connect. Select your network name. In this example, I choose kiichi-mac.

Make sure you connected your own network.

Step 3: Start sending signals in iSeismometer

Start iSeismometer and tap the data icon. Please turn on Transmit Signals option in Send via Wi-Fi panel.

If you start seeing data that is coming in on the console screen, it’s succeeded!

Note: You might have performance problems if you set the frequency higher than 65hz. We are trying to improve it in next version.

Summary

These are shortest steps that I can think of right now; however, if you are familiar with setting up Wi-Fi or customizing the python script, feel free to play with it. You can change the IP address and the port settings as you like. Feel free to leave comments on this page.