ThomasScherrer

Audio track as modem data NMEA

191 posts in this topic

Adding a modem to the onboard GPS and OSD system,

and then transfering the unaltered GPS NMEA stream at 4800 baud

using the audio in the 2.4GHz video transmittersystem,

the idea is to mount a tomtom pda next to the tv monitor,

so it is harder to get lost when flying at a new location.

I find it hard to get the CML ic type FX469,

any ideas about how to get a handfull of them in SMD ?

or any other cool modem ic you can recommend please ?

Share this post


Link to post
Share on other sites

Quite a few people have done that in the past years, mainly using this:

http://byonics.com/tinytrak/

and grabbing the audo on the ground with a PC line in.

Share this post


Link to post
Share on other sites

thanks for the link, a cool product by the way,

but this is not what I want,

I want a 4800 baud downlink modem,

that sends down the nmea UNMODIFIED !

so I can input it in realtime into a tomtom pda on the ground.

Share this post


Link to post
Share on other sites

Instead of Tomtom, look for "GPS Tuner".

That thing lets you put any image as a map and works very well. Tomtom is very good for street navigation, but it won't accept to put you anywhere else than on a street even if you're in the middle of a field, it will choose the nearest road...

Share this post


Link to post
Share on other sites

There is enough bandwidth (>20KHz) in the typical audio channel to skip the 4800 baud modem. Just level condition the GPS's serial data and feed it into the Tx's audio input. On the Rx end, just clean up the edges and translate to the signal levels you need. Very simple hardware, very simple solution.

Share this post


Link to post
Share on other sites

I had done that with the video channel, that worked well even at 115kbaud. I was having much more trouble with the modules I was using with the audio one though, even at low speeds...

Share this post


Link to post
Share on other sites

Yes I also think its a cool idea,

but serial data needs DC !

and all radio links are not DC coubled

I have measured the Audio signal chain to 100Hz to 10khz at -3dB

maybe I am lucky since the serial from the GPS is sending almost constantly.

I have another solution, add one more component in each end,

a biphase encoder/decoder, now I have DC handeling.

Edited by ThomasScherrer

Share this post


Link to post
Share on other sites
but serial data needs DC !

We don't care much. As it's more the transitions that matter rather than the levels it doesn't hurt if they aren't really flat. At least it worked perfectly for me, the signal being fast enough not to see the AC coupling too much.

That's why Mr.RC-Cam mentioned cleaning up the edges and restoring the levels. When I did my test it was even more "rough", that is TTL serial out directly into video TX input, and RX output directly into the PC's RS232 RX. And that worked ;)

Edited by Kilrah

Share this post


Link to post
Share on other sites
:D:D Thomas jeg skulle aldrig have givet dig linket til dette fora, nu hesker du jo herinde :D:D Edited by Lars DK

Share this post


Link to post
Share on other sites

YES; thanks Lars..

Kilrah: I tried to modulate the RS232 from the GPS directly into the audio,

and on the RX side clean it up using schmittrigger inverter and a MAS232,

it looks like crud on the scope and 9 out of 10 chars go fine, that is the best I can do this way, so it is useless..

We have however created a special firmware in a tiny2313 microcontroller,

this will machester encode end decode, and generate a constand biphased tone, when no input chars are present in the pauses between nmea pakages.

now it is rock stable !

Share this post


Link to post
Share on other sites

Glad to hear you got it stable, sounds very interesting what your doing!

Share this post


Link to post
Share on other sites

It's great to hear you found a solution. Did you implement it as an on/off keyed (OOK) sort of Manchester modulator?

BTW, the various little 8-pin MCU's are life savers! They seem to solve all of life's little problems.

Share this post


Link to post
Share on other sites

I did something you're talking about using MX614 chips

They are hardware 1200 bps modems needing very few external components (actually 4 caps and a crystal). You only need to connect it to uC USART and it works perfectly.

You may see/hear what I've been working on here:

oops, sorry, I haven't noticed you've mentioned those chips.

I use the same controller (Atmega8) to read data from GPS (4800 bps), process them and output them to MX614 (at 1200 bps), to monitor voltages, ppm signal (currently working on it) and some other stuff maybe.

BTW

It seems that I've been doing almost the same stuff you did. I.e. I also dug into the AVROSD avrfreaks project and have succesfully changed letter size (double height) and ported it to Atmega8. But I'havent reached the NTSC->PAL issue yet, so your code will save me some hours.

Edited by mieczotronix

Share this post


Link to post
Share on other sites
We have however created a special firmware in a tiny2313 microcontroller,

this will machester encode end decode, and generate a constand biphased tone, when no input chars are present in the pauses between nmea pakages.

now it is rock stable !

Are there any details you can share? I'd like to also see your technique and attempt to duplicate it. Thanks.

I'd like to feed the serial data to Goofle Earth's realtime GPS feature.

Jeff ;)

Edited by jparisse

Share this post


Link to post
Share on other sites

Only now it occurred to me that you did this without FSK (just a manchester-encoded waveform, right?)

Yeh tell sth more, that would be pretty interresting

What kind of conditioning circuit you need after the receiver to convert audio signals to TTL?

What transmission speeds you are able to maintain with your solution?

Share this post


Link to post
Share on other sites

the manchester code has a zero dc value, so it is good for radio links,

the sw is made my dzl.dk the hardware needs only a resistor and capacitor on each end !

the serial must be 4800 baud

the manchester is 5000khz this is made a bit faster than the rs232 on purpose

to be able to be ready for the next start and to be able to create leadin and detect leadin,

the audio channel in my 2.4GHz link has 10khz bw at -3db !

so 5khz is no problem,

but rs232 is impossible to transfer on radio links without using a modem of some sort.

it is not tested enough to share, if we share it before it is perfect, we will have to waste too much time on support questions, on a products that is given away for free, not uptimal for my time , you seee,.. i hope..

Share this post


Link to post
Share on other sites

Thank you Thomas...

So.... You're into Tesla coils? I'm Jeff Parisse, owner of kVA Effects. Are you a member of the pupman list? We make giant Tesla coils for advertising and entertainment.

Check out www.reinmedia.com/kva it is our new site about to go on line. We can normally be found at www.teslacoil.com

Back to the modem: The killer application that will cause a demand for this circuit is the realtime GPS feature addition to Google Earth. This lets Google Earth to be used as a moving map program with TONS of advantages over other map programs. I believe you should commercialize this for ALL the A/P, RPV and UAV guys that have video transmitters. Let me know what you think of such an idea.

Jeff W. Parisse

Director

kVA Effects

www.teslacoil.com

Share this post


Link to post
Share on other sites

Tesla:

yes, me and dzl do sometimes meet up and do crasy things, last year we did a puplic show, with a tesla coil it made 1.5 meters sparks and nice blue flames,

100 of people was screaming and clapping, that was funny.

Modem:

now the model schematic and hex files are out on the web free to dl

and free to use for all. if someone want to sell it as ready made, they are welcome, if so, please send 2% of the money to dzl for the sw work :-)

we dont have time to sell more things, we have jobs and kids and 1000 of funny projects, all we care about is to have max time for fun.

People that construct cool RC planes, with cool video gear,

will be able to make an AVR programmer,

and do this simple hw all by them self, it is unsupportet, and we will not answer questions and we can not help if they can not find out how it should work.

if no skils, ask a dude near your self to program and test it :-)

By the way I have no adea about all this google earth realtime function ?

it is an option you need to purchase ? how much ?

can I just input the NMEA into the serial port of an online PC ?

and have it track on the screen on the globe in any zoom ?

is it possible to do something like this if the PC is not online ?

Share this post


Link to post
Share on other sites

You indeed need to buy the Google Earth Plus version to connect the GPS.

Share this post


Link to post
Share on other sites

Thomas,

The realtime GPS function is now part of Google Earth Plus. One can pan, zoom and tilt cached data off line which makes this a great program for moving map. One can even tilt the map to near horizontal to see a virtual forward view as the plane flys around.

As far as the modem: I understand completely. I'd be willing to kit and sell this modem if dzl is willing to part with the source code. I'll trade him Tesla coil parts. ;-) I ordered the programmer, software and a couple of chips so I should be able to whip this up next week.

Tesla: 1.5 meters is not bad for the power you were able to use (I'm guessing 8kW). We're getting ready to run the 13M this summer to make 20 meter arcs for an outdoor music festival in Seattle. :o

Jeff

Share this post


Link to post
Share on other sites

Google:

>cached data off line

aha ? so I can save the area I will go flying in ?

and then I dont need to be online later ?

my google is not the plus, darn..

More Telsa stuff:

uha !! 15m WOW !,

I was a bit worried when some flames came too close to DZL !

when he was adjusting the resonanse caps at full power,

he is a bit hi-voltage crasy :-) know them dudes with too much hi volt experiance, always stay 2m away from them, with one hand in the pocket !

we only had 16A x 400V x 3 phases as input, variable DC power with huge vario-trafo. http://dzl.dk/projects/tesla/psu2/index.html

and more here: http://dzl.dk/projects/tesla/psu2/build.html

it is actually my on the pictures and dzl behind the cam.

Modem:

I use two STK500 kits and a few ATAVRISP-MK2 and debuggers,

to test the modem sw performance here in my work-shop.

right now for protection, the audio phase needs to be right !

see the switch om the TX side, the TX AVR actually outputs a positive and a negative phase at the same time, use the positive phase if your radio link have no inverting audio function,

my 2.4Ghz video/audio link inverts the audio channel,

so that is why I asked for this extra feature.

it could have been made on the RX side, or also automatic detect and repair,

but to keep things simple and to be ready fast, I think it is ok to have it like this.

Edited by ThomasScherrer

Share this post


Link to post
Share on other sites

Thanks for sharing the modem project!

Share this post


Link to post
Share on other sites

Thomas,

Thank you also for the videos! I love seeing other people’s high voltage laboratories. The best part was watching how the high voltage experimentation was bothering the two guys trying to watch football on TV. Very nice diode array too.

I’m gathering parts for the modem project. I’m sure I’ll have hundreds of questions but I’ll keep them to myself. :lol: I’m learning FSK with some help from local engineers and hope to write my own code for the BasicStamp someday (yes, don’t laugh, I’m new to microcontrollers – I usually make my electrical connections with a large box wrench). I’ll keep this thread posted on my progress.

Thanks again!

Jeff W. Parisse

Director, kVA Effects

www.teslacoil.com

Share this post


Link to post
Share on other sites

Progress

So far, still no luck. I'm getting digital out but it is not the same as digital in.

I switched to external crystal oscillators to rule out clock problems. Next, I'll build in a pot to the output side of the TX and input side of the RX to adjust/match gains.

Jeff

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now