The Combine Forum

The Combine Forum (https://www.thecombineforum.com/forums/)
-   Technology (https://www.thecombineforum.com/forums/31-technology/)
-   -   Ardusimple RTK (https://www.thecombineforum.com/forums/31-technology/332475-ardusimple-rtk.html)

Andreas Ortner 06-11-2019 05:48 AM

https://github.com/aortner/f9dualheadingarduinomega


here is my first test and example of a dual heading and roll system with 2 ublox f9 and one arduino mega.

agopen is connected to the arduino mega receives nmea and sends rtcm.

mega is connected via uart to both f9.

passes trough nmea form first and parses and calculates heading und roll from second f9

BrianTee 06-11-2019 11:03 AM

Quote:

Originally Posted by Andreas Ortner (Post 3338849)
https://github.com/aortner/f9dualheadingarduinomega


here is my first test and example of a dual heading and roll system with 2 ublox f9 and one arduino mega.

agopen is connected to the arduino mega receives nmea and sends rtcm.

mega is connected via uart to both f9.

passes trough nmea form first and parses and calculates heading und roll from second f9


Cool! is there any plan to put it all in 1 sentence like PAOGI ?

Andreas Ortner 06-11-2019 12:23 PM

Quote:

Originally Posted by BrianTee (Post 3338895)
Cool! is there any plan to put it all in 1 sentence like PAOGI ?

would not be the big problem..

needs some extra coding at agopen to parse heading as headinghdt.. maybe a paogi2..

and have the filter at arduino side for this..

jsampson 06-11-2019 03:02 PM

[It won't let me post a quote...]

How did you configure the F9P receivers? Do you have the first receiver (A) configured as Movingbaseline-Base? Or do you have the two configured as a standard RTK base and RTK rover?

jsampson 06-11-2019 03:25 PM

[It says I can post links now. I'll see if it works...]

[It still won't let me post links... Something about message count. I have about had it with TheCombineForum...]

I used the configuration files from here to set up moving baseline:
Search for "ublox-C099_F9P-uCS" and "github"

I had to swap uart1 and uart2 in the configuration to get it to work with the ArduSimple boards. And if you are using the radios instead of wires between the boards you probably have to lower the baud rate for the board-to-board connection.

Jays_Truck 06-11-2019 03:53 PM

Andreas, At first I had the same question as jsampson but after looking at your code it appears you are providing RTCM corrections to both boards and calculating heading based on the relative position of one antenna to the other, then you are using the MEGA to calculate the roll and heading from the difference of the two receivers and sending it to AGOPENGPS and AGOPEN is sinding back RTCM to both boards via the NTRIP caster.

Is my assessment of your code correct? And could we see a picture of your setup? I'm sure i know how you are physically wireing the two boards to the MEGA but just want to make sure.

I am assuming that your main receiver is off center from the tractor and you are accounting for this within the antenna offset in AGOPENGPS?

Excellent work! This looks like a simple solution to obtain roll/heading and fix data.

Andreas Ortner 06-11-2019 04:13 PM

1 Attachment(s)
Quote:

Originally Posted by Jays_Truck (Post 3338947)
Andreas, At first I had the same question as jsampson but after looking at your code it appears you are providing RTCM corrections to both boards and calculating heading based on the relative position of one antenna to the other, then you are using the MEGA to calculate the roll and heading from the difference of the two receivers and sending it to AGOPENGPS and AGOPEN is sinding back RTCM to both boards via the NTRIP caster.

Is my assessment of your code correct? And could we see a picture of your setup? I'm sure i know how you are physically wireing the two boards to the MEGA but just want to make sure.

I am assuming that your main receiver is off center from the tractor and you are accounting for this within the antenna offset in AGOPENGPS?

Excellent work! This looks like a simple solution to obtain roll/heading and fix data.

no, i am not providing the same rtcm to the two boards.

receiver A is getting rtcm from my base via agopen-arduino mega - uart to f9
receievr a is also running as moving base and provids itself rtcm to receiver B via xbee uart

i would also add the two config file at my repro the next days.

Jays_Truck 06-11-2019 07:34 PM

Can you still use ardusimple LORA radios to get RTCM messages if you want to go that route?

m_elias 06-11-2019 09:00 PM

Quote:

Originally Posted by Jays_Truck (Post 3338975)
Can you still use ardusimple LORA radios to get RTCM messages if you want to go that route?

I would think the arduSimple xbee socket or any other radio could provide the RTK correction instead of the way Andreas is doing it.
ntrip -> AgOpen -> Arduino -> arduSimple
would become
Radio/Lora -> arduSimple

torriem 06-12-2019 12:26 AM

It looks like the ArduSimple heading daughter board has xbee pass-through on it so it should work with LORA still. I haven't seen a schematic, but I imagine the LORA radio input will go simultaneously to both F9P units through the xbee socket.


All times are GMT -4. The time now is 02:33 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.

vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.1.0 (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.