Seismographs in Schools: Difference between revisions
Brian Wilson (talk | contribs) m Created page with '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…' |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 2: | Line 2: | ||
The hardware is an AS-1 | The hardware is an AS-1 | ||
I worked on this a bit in October 2012. Then put it aside. | I worked on this a bit in October 2012. Then put it aside. | ||
Picked it up again today Jan 31 2013 | Picked it up again today Jan 31 2013 | ||
Alan Jones did the software. I contacted him via email and got some information. | Alan Jones did the original software. I contacted him via email and got some information. | ||
There is a Java update available but I can't give you the secret login here. http://www.iris.edu/hq/jamaseis/ | |||
Regarding the hardware goes, Dr.Jones said this: | |||
"As far as the code to receive the data from the AS-1, it is very simple: | ''"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 | ||
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.) | ''Each data point is an ASCII number between 0 and 4096. (I subtract 2048 to get +/- data.) | ||
The data comes in as, e.g. | ''The data comes in as, e.g. | ||
2567<cr><lf> | ''2567<cr><lf> | ||
2984<cr><lf> | ''2984<cr><lf> | ||
... | ''... | ||
So, all you have to do is read those ASCII digits and convert to binary and subtract 2048. | ''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. | ''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. | ''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?" | ''Is that enough to get you started?" |
Revision as of 00:27, 1 February 2013
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 original software. I contacted him via email and got some information. There is a Java update available but I can't give you the secret login here. http://www.iris.edu/hq/jamaseis/
Regarding the hardware goes, Dr.Jones said this:
"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?"