Closed jvoermans closed 4 years ago
So this file:
Works fine, right?
@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?
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 :) .
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