I am a university student that currently working on a school project using RS1D. When using UDP ports to read data locally, packets can be lost and are too unstable. I am wondering whether there is any driver or other method that makes raspberry shake 1D can use serial port or USB port to transfer seismic data to computer like microcontroller?
Hello pengfz, and welcome to the community!
Could you give more insight (if possible, and also in private if the information is not to be shared with the general public) on the applications for which you require Shake data?
Do you specifically require raw packets, data formatted in a specific format, or something different?
Regarding the data packets that are lost, is the Shake directly connected to your computer, or are you accessing it over a network?
The more information you can provide, the better we can see how to help you. Thanks!
Hello and thanks for the response!
I’m listening to a seismic signal using RS and Arduino at the same time, the Arduino uses the serial port to communicate with the PC, the RS uses the UDP port and the data is saved directly to the local. However, every time I compare the data received from both, I find that the data transmitted from RS is always a few seconds behind the data from the Arduino, and the UDP transmission rate is not very stable. My project needs to match the signals from both devices, so I would like to solve this problem.
I have attached the related files for your reference, the first one is from RS and the second one is from Arduino. It should also be noticed that I turned on the listeners at the same time, and the timestamp of RS is calculated from the time the packet was received by the PC, and the amount of data.
20241023_134008_rs.csv (65.2 KB)
20241023_134008_ard.csv (488.3 KB)