Category Archives: pcDuinos and Linux

Posts tagged ‘pcd-lin’ contain information related to running the Ru network on the pcDuino ‘microcomputer’ and linux-based OS’s

Running Jamaseis on Linux

Unlike on Windows or Mac OS, jAmaSeis does not autodetect the serial port where a seismometer is connected on Linux. To run jAmaSeis on Linux, the jAmaseis.jar file must be started from the terminal with the correct serial port passed as a parameter. For the Arduino in the TC-1, this port will be /dev/ttyACM0 (or sometimes 1,2,3… instead of 0). The command to start jAmaSeis is:

java -Dgnu.io.rxtx.SerialPorts=/dev/ttyACM0 -jar jAmaseis.jar

It should also be noted that the Arduino drivers must be installed to read data sent by the TC-1. The easiest way to do this is by installing the Arduino IDE which will automatically install the appropriate drivers.

Since jAmaSeis is written in Java, a Java runtime environment must also be installed to run the .jar file. For example, OpenJDK.

The Ru Network on a pcDuino

A pcDuino is a ‘microcomputer’ which works the same as a normal desktop computer but is many times smaller. pcDuinos integrate well with the arduino board currently used in the TC-1 seismometer, so they make  a cost-effective alternative for computers in the Ru network.

The pcDuino microcomputer. The wires connected are power and HDMI output (right) as well as keyboard, mouse, and TC-1 (via USB hub). The length of the board is about 12cm.
The pcDuino microcomputer. The wires connected are power and HDMI output (right) as well as keyboard, mouse, and TC-1 (via USB hub). The length of the board is about 12cm.

The pcDuino runs the Linux-based operating system Lubuntu, which supports both the jAmaSeis and PyjAmaSeis software. Work is currently being done on the pcDuino and the software it runs so that we can use them in the Ru network sometime in the future.

A pcDuino running the PyjAmaSeis software.
A pcDuino running the PyjAmaSeis software.