jvoermans / Vibration_Logger

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

No data transfer from GPS #1

Closed jvoermans closed 4 years ago

jvoermans commented 4 years ago

After 1000Hz analog readings are completed, GPS is checked, but no data is transfered. LED blinks, but time remains 00:00:00 indefinitely when there is no satellite connection. When the Arduino is connected, the timer of GPS should start counting even without satellite connection.

In the GPS_ArduinoDue_parsing_v6 sketch, this works fine, GPS unit, SD card and sensors are connected the same way.

Is the problem related to the Serial? Tried changing Serial1 to Serial3 as well. https://github.com/jvoermans/Vibration_Logger/blob/21e87633c37d1f2c56b8dec5904816fefdc27bd6/LowLatencyLogger_Joey_v5/LowLatencyLogger_Joey_v5.ino#L33

Also, removal of does not change anything (but have to double check) https://github.com/jvoermans/Vibration_Logger/blob/21e87633c37d1f2c56b8dec5904816fefdc27bd6/LowLatencyLogger_Joey_v5/LowLatencyLogger_Joey_v5.ino#L21-L25

Also, changing the 0 into 1 does not change anything (but have to double check as well) https://github.com/jvoermans/Vibration_Logger/blob/21e87633c37d1f2c56b8dec5904816fefdc27bd6/LowLatencyLogger_Joey_v5/LowLatencyLogger_Joey_v5.ino#L86

jerabaul29 commented 4 years ago

So this file:

https://github.com/jvoermans/Vibration_Logger/blob/master/GPS_ArduinoDue_parsing_v6/GPS_ArduinoDue_parsing_v6.ino

Works fine, right?

jvoermans commented 4 years ago

Yes, https://github.com/jvoermans/Vibration_Logger/blob/master/GPS_ArduinoDue_parsing_v6/GPS_ArduinoDue_parsing_v6.ino works perfectly fine

jvoermans commented 4 years ago

@jerabaul29 It is a bit of a stretch given that you've only been able to read the sketch, but any ideas why the GPS is not working in the sketch?

jerabaul29 commented 4 years ago

Honestly I am not completely sure. As said another place I think it is a bit messy, will try to re write cleanly, that is a bit of initial overhead but will be much easier to debug later on :) .