Seismographs in Schools
Working on setting up a seismometer at Linux Pauling Middle School.
The hardware is an AS-1
I worked on this a bit in October 2012. Then put it aside.
Picked it up again today Jan 31 2013
Alan Jones did the software. I contacted him via email and got some information.
"As far as the code to receive the data from the AS-1, it is very simple: 2400 baud, 8-bits, 1 stop bit ASCII
Each data point is an ASCII number between 0 and 4096. (I subtract 2048 to get +/- data.)
The data comes in as, e.g.
2567<cr><lf> 2984<cr><lf> ...
So, all you have to do is read those ASCII digits and convert to binary and subtract 2048.
I figure out the sample rate on-the-fly by seeing how many samples come in in a minute. I adjust after each hour of data.
You have to do the above because the black box is not crystal controlled (I am told) so the data rate varies from box to box.
Is that enough to get you started?"