jvoermans / Vibration_Logger

Logger to measure sea ice vibrations
3 stars 1 forks source link

Your final goal #3

Closed jerabaul29 closed 3 years ago

jerabaul29 commented 3 years ago

@jvoermans what is your 'final' goal here? Can you confirm it is:

Or am I missing something?

jvoermans commented 3 years ago
jerabaul29 commented 3 years ago

Ok, why do you want to record from 5 pins? Are you reading in 5 different signals?

jvoermans commented 3 years ago

I'm going to use a triaxis geophone. And as I don't know the exact magnitude of the vibrations, I'll be using three different signal amplifiers for the z-component to make sure I can record a wide range. It is a bit of a dirty work-around, but should work for now I guess

jerabaul29 commented 3 years ago

Ok, so you do want to use 5 inputs.

To be honest, the code is a bit messy. If you only want to first log vibration then GPS then vibration it should be possible to get it to work, but for logging everything at the same time it would be necessary to do a rewrite. I will go a bit in depth in the code this weekend and think about it.

jerabaul29 commented 3 years ago

@jvoermans I think it may be faster that I re-write the code from scratch.

Can you list your requirements? I.e., what needs to be read, with what accuracy?

If I understand right:

Anything more? More sensors that should be part of this?

jvoermans commented 3 years ago

@jerabaul29 All of that is correct. Though minimum 1kHz, not 10 :)

Regarding GPS and sensors, they don't have to be recorded at same time. For instance, reading the temperature probe takes about 40ms, so 1kHz won't be feasible by definition.

I attached a TCA9548A to the Due to accommodate all the sensors, which are typically I2C. (I foresee 3 temperature probes, 1 pressure probe, sonar, wind, humidity).

jerabaul29 commented 3 years ago

Ok, thanks.

A few more questions:

jvoermans commented 3 years ago

Probably record all the time, otherwise we might miss some events. Of course 15 min recording, 3 minute pause to do GPS and other stuff is fine. Until we find the signals we are after, all data needs to be retrieved and analysed unfortunately.

One thing that could be good is sending summary details of the vibrations measurements (mean, max, std of voltage) and send it through Iridium with the other sensors mean values. But this was just a 'on the list' kinda thing.

jvoermans commented 3 years ago

@jerabaul29 Oh yes forgot. Would also be great to have a timestamp somewhere, doesn't matter where exactly, that can relate the exact time of recordings to accurate GPS time (you managed to write something before already). In that case, timeseries of multiple loggers can be compared...

jerabaul29 commented 3 years ago

Yes, that sounds good, I want to do that with the PPS output I had set up a few months ago to get a few ns accuracy in GPS timing :) .