Hi all,
I am new to UKHAS so I hope this is the correct place to post this.
I am currently developing a long distance radio link for a HAB and have successfully managed to get the NTX2B transmitter working with my Arduino, altimeter and SDR dongle.
The issue I am currently facing is integrating the Adafruit GPS. The minute the GPS is switched on, even if I don't read the message, it corrupts the RTTY decoded message in fldigi. Initially i thought it was interference and tried physical shielding between them with tin foil (and moved them away from each other). I have also tried switching the enable off while transmitting but this effectively restarts the GPS and it has to find a fix again which can take minutes.
I think it is a timing issue or something to do with the software serial. Simply having the GPS.begin(9600) in void setup causes the message to be corrupted.
I can print the lat long values and if I Serial.print the datastring message it is fine, its just in fldigi where the message is corrupted. I'm not sure if I need some kind of interrupt to transmit or if there is a command that can stop the GPS sending serial data during transmission.
I have seen almost identical issues elsewhere on Arduino forums but the threads lead to dead ends.
If anyone can help or can point me in the right direction I would be very grateful.
Thanks
Alex
(photos and code attached)