How to export rtk NMEA0183 from teensy to rs232

I dont get it to work, it sends something to amazone gps switch, gga vtg and gsa flashes and it shows numbers but dont find GPS.


I tried with Trimble and it works on that. Messages shows differently on GPS switch.


Any ideas what to try?

Tried to change f9p configurations “rates” to 200ms so then its 5hz? Its on other configcs 100ms
Then tried to change from messages uart2 gga vtg gsa options. What does that number mean its default 1.

Maybe the Switch only accept GPS messages GPGGA and not GNGGA
Search Google for this line (trimble specific): ptnlid gnss message

1 Like

RTCM 3 Message List - SNIP Support (use-snip.com)

4094 is trimble

If your configuration rates is set to 200 ms, then a setting of “1” means every 200ms. If it was 2 that would be every 2*200ms, or 2.5 hz. Hope that makes sense.

The cause of your issues very much could be the fact that the F9P transmits GNGGA instead of GPGGA. Unfortunately I’m not sure how to tell the F9P to make it GPGGA. Perhaps the F9P will only emit GPGGA when it’s only using GPS and ignoring all the other satellites.

I suppose one solution is an arduino sketch that reads in the GGA sentence on one serial, converts the talker code to GPGGA and retransmits it out another serial to your RS232.

If I remember right, F9P can be configured to use GP message heading instead of GN, a setting to be changed with u-center.

I know you can configure the f9p to send GP instead of GN because I had to do it for 20/20 seedsense, but I don’t remember exactly where. It shouldn’t be too hard to find.

Edit: Here is a link to an article that describes how to set your talker ID

2 Likes

My f9p sends GP, that’s how it was set in the configuration for pcb aio.

Thank you all. Now it works. Wish had asked earlier spent couple of hours :sweat_smile:

1 Like

Hi. I am wondering if I can make this work with micro aio board. Last year I fed nmea to my air seeder monitor with bynav but was hoping I can make it work with new board. Any help would be appreciated. I tried connecting to tx2 pin on micro f9p and power and ground from another spot on board. changed settings in ucenter so uart2 would ouput nmea gga at 38400. cant get it to work

Are you running single GPS with a ttl-rs232 adapter between the micro uart2 and the air seeder monitor?

AoG can output GGA & VTG on the UDP network so I’m planning to try a Ethernet-RS232 adapter into my 20/20 planter monitor.

2 Likes

That would be great to do it that way (especially if it could be roll corrected NMEA)! The 20/20 monitor wants RMC as well. What will you do about that?

Yes I’m trying these and using single GPS.
CANADUINO® 3 x RS232 to TTL UART Interface MAX232, adds Real RS232 Port to Any microcontroller https://a.co/d/7KjxcCt
I’ll maybe have to try it like you suggested. So what kind of adapter will you use? Would something like this work?
DTECH 6 Feet DB9 to RJ45 Console Cable 9 Pin Female Serial RS232 Port to RJ45 Male Ethernet LAN Rollover Console Cable https://a.co/d/2EfTaOU

thanks. once I read this post again I got it figured out. had to change to gpgga instead of gngga

You need to connect rx, tx and gnd.

i want to do the same thing on an AIO micro board, which pins do i connect for that on the f9p. ?

Hey @Arek84 are you using dual gps or single gps?

I am using single and connected to tx1 on f9p and did the setup for uart 1 in ucenter so my setup was like this
Uart 1 output nmea
Baud rate 38400
Nmea messages 10 hz for gga, vtg, and rmc
My monitor gets the messages and everything as expected but my ag open tablet loses gps and dont have rtk on the monitor.

What i noticed was when i submitted 38400 on uart 1 then teensy light quit blinking .

What could i try. ? I guess i could do same as yours on uart2 and do setup at 57600 baud rate…

Hello @customfordfan im going to 2020 seedsense as well.
Do you mind sharing which pinout you used on the f9p and what numbers you used in setup?

I assume you’re using an All in one board, since you talk about a teensy. Somebody more knowledgeable can correct me, but I believe you need to leave UART 1 alone, as the teensy communicates with the F9P over UART1 at a baud rate of 460,800. If you have a AIO micro board with single, you can export your nmea from UART2 on one of the two pins highlighted in white.

This post, might give you some ideas.

1 Like

Precision planting says to use 5 Hz. for the 20/20, but I used 10 Hz at 38400 baud all spring with no issues.

You must use uart2, uart1 is reserved for teensy.