Connect with us

Can i Send gps (nmea) data down a AUX plug?

Discussion in 'General Electronics Discussion' started by Ryan C, Jan 23, 2015.

Scroll to continue with content
  1. Ryan C

    Ryan C

    2
    0
    Jan 23, 2015
    I have been stuck for ages now!

    what im trying to do is make a custon gps tracker, but i would need the nmea data to be sent down a audio line.

    i could transmit the data from the gps chip to a TTL telemetry device and upload it that way.

    but if possible i would like to save weight, and also use the audio transmitter line as its not being used at the moment.

    anyone know if it is possible?
     
  2. KrisBlueNZ

    KrisBlueNZ Sadly passed away in 2015

    8,393
    1,271
    Nov 28, 2011
    Hi Ryan and welcome to Electronics Point :)

    NMEA data is normally asynchronous serial at 4800 bps. Is that right?

    So you want to send async serial data down a cable that's designed for audio?

    What distance?

    What type of cable? Is it shielded? Do you know the capacitance per unit length from the audio to the shield?

    Are there other cores in the cable that the signal could couple to and interfere with?
     
  3. Ryan C

    Ryan C

    2
    0
    Jan 23, 2015
    hi, thanks for the reply,

    basically it is a multicopter, ( helicopter drone). i would like to track it, in real time via my laptop.

    i have a video transmitter onboard, but the audio input is being unused.

    i have seen people send data down the audio channel, ie, battery voltage.

    but i would like to send the gps data down my audio line, instead of adding a 433mhz telemetry transmitter to save on weight and RF noise.

    Just wondering if it is possible?
     
  4. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    It is certainly possible. The only question is at what bit rate and accuracy. Back in the bad old days, working from home meant using an acoustic coupler on the telephone line at 1200Baud. I would think that you could achieve that rate.

    Bob
     
  5. KrisBlueNZ

    KrisBlueNZ Sadly passed away in 2015

    8,393
    1,271
    Nov 28, 2011
    Ah, so you have an audio channel that is being transmitted along with the video, and you want to send your NMEA data through that channel.

    You can't just connect the serial data to the audio input because data needs to be DC coupled and the audio channel will not do that. The normal way is to use a modem, which converts the two possible states of the digital data line (0 and 1) into an audio signal. The simplest scheme is FSK, frequency shift keying, where a 0 is represented by a tone at one frequency and a 1 is represented by a tone at a different frequency, with a "dumb modem" IC at each end. The transmitter simply transmits the data as tones, and the receiver converts the tones into a digital signal.

    The trouble is the data rate and bandwidth. 1200 bps was the maximum you could transmit using FSK over a telephone line with a bandwidth of around 3~4 kHz. If your data is at 4800 bps you'd need an audio bandwidth of 12~16 kHz, which I doubt your system would have, but in any case I don't think any 4800 bps FSK modems were ever made.

    Other standards used on telephone lines achieved higher data rates but required extra trickery such as adaptive equalisation which requires a bidirectional communication path, and they used a lengthy negotiation phase too.

    A company called CML makes modems that can handle higher data rates using FFSK and GMSK modulation schemes but I think these are all synchronous, so you couldn't send asynchronous serial data through them.

    See whether you can change the NMEA data rate on your GPS device. You'll probably also have to disable various sections of the data otherwise the message will be too long for the once-per-second update rate.

    Alternatively you could add a small microcontroller to receive the standard NMEA data at 4800 bps and retransmit it at a lower rate with some kind of customised format.

    Either of these options would allow you to use a 1200 bps dumb modem at each end of the link. Some microcontrollers can be programmed to generate and receive modem audio directly, to avoid the external modem IC. Google some of these keywords and see if there is any clear solution available.

    Also, post any technical information you have on your transceiver system, such as the bandwidth of the audio path.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-