SimpleRTK2B + Arduino + Base station to measure distance.

Q&A forumCategory: QuestionsSimpleRTK2B + Arduino + Base station to measure distance.
facundo asked 4 years ago
I have 2 SimpleRTK2B Base and Rover, with Xbee antena working with RTK, and I need to build something to measure some distance, like 1 mt, and then 1 mt from the las measurement (is for an automatic planting system), I think with an Arduino or another board is a simple task, but I’m a farmer with some knowledge of electronics and Arduino, any one can help me how to solve this?.
Wich Arduino Board or other? Libraries, and some tips on code how to measure the distance (in a straight line) from one point to another (but with RTK precision).
I Only use the Base station to get the corrections, but the measurements I need to made from the rover.

1 Answers
clive1 answered 4 years ago
Relative position from base reported in North, East, Down measurement via UBX-NAV-RELPOSNED
So with two measurements
n = N2-N1
e = E2-E1
d = D2-D1
distance between = sqrt(n*n + e*e + d*d)
Similarly if get XYZ for Earth Center UBX-NAV-HPPOSECEF
x = X2-X1
y = Y2-Y1
z = Z2-Z1
distance between = sqrt(x*x + y*y + z*z)
Pick the board with which you have most familiarity with, or people locally have knowledge/experience with.

Want to learn more about GPS/RTK?

1. Our engineering team will contact you to solve any questions
2. We will keep you updated about promotions and new product releases
3.You will only hear from us when we have important news, we won’t spam your email