I have a working sketch that keys a radio module to transmit GPS data, I can successfully receive and decode the data using my radio setup.
The radio tx only needs to happen every 30 seconds or so, and as I’d like to have a recorded log with a higher frequency I am also spitting out the data sentence over serial at 1hz. Again this works fine when I look at it in the serial monitor, and the radio transmission is still solid.
The problem starts when I try to log this 1hz data sentence to SD card. Initially I tried with an SD card shield and found that the radio keying was pulsing when the card was being written to, rendering the receive un-decodable . I put this down to the buffer writing to the card interfering with the interrupt that’s running the radio keying. Then I thought about offloading the SD writing to an external logger.
I now have a Sparkfun Openlog which is a little ATmega328 and sd card slot, hooked up to the hardware serial on my Arduino Uno (it will just log anything tx’d to it over serial). It works, and the logging is working fine, however, i’m still seeing the radio keying being messed up when the card is written to. Now I’m guessing this is something to do with the power being used when the SD card is being written. If I disconnect the Openlog module it returns to normal.
I have another Uno that I tried to power the radio module with seperately, but i still see the interference. I wonder if the digital pin doing the radio keying (high, low) is also effected by the current draw of the logger.
I’m fairly new to the electronics side, and wondered if I need to use some kind of isolation circuit or another power supply with a voltage regulator. I’m sort of stumped at this point.
Thank. I’ve found this forum really helpful so far.