Arduino Heading determination only from GPS data

Job Description:

I would like to execute code in arduino that allows you to get to your destination from point A to point B using only GPS (without any IMU).

We have a starting point A and a destination point B. The vehicle's task is to go from point A to point B.

For those who say it's impossible:

https:// www. youtube. com/watch?v=vAiZuJWzUTE

I have this autopilot and there is no IMU, only the GPS module is connected

I tried something like this but no result :)

void loop() {

while ([login to view URL]()) {

[login to view URL]([login to view URL]());


if ([login to view URL]()) {

currentLat = [login to view URL]();

currentLon = [login to view URL]();

if (currentLat != 0 && currentLon != 0 && lastLat != 0 && lastLon != 0) {

Heading = TinyGPSPlus::bearing(lastLat, lastLon, currentLat, currentLon);

Bearing = [login to view URL](currentLat, currentLon, gotoLat, gotoLon);


lastLat = currentLat;

lastLon = currentLon;


errorBH = heading_error(int(Bearing), int(Heading));

motorSpeed1 = (motorSpeed - errorBH *2);

motorSpeed2 = (motorSpeed + errorBH *2);


int heading_error(int headGPS, int current_heading)


int error = current_heading - headGPS;

error = (error + 540)%360-180;

return error;


Færdigheder: Arduino, GPS, A-GPS

Om klienten:
( 0 bedømmelser ) Mikołów, Poland

Projekt ID: #35921914

Tildelt til:

(31 bedømmelser)

19 freelancere byder i gennemsnit $141 timen for dette job


Hello, I read your project description very well and it's very interesting to me, I have built drones already from scratch using Arduino, STM32 and esp32 projects when I used GPS for navigation. get to me inbox so that Flere

$100 USD in 7 dage
(12 bedømmelser)

I'll do Arduino programming & sensor interfacing Are you tired of programming? Leave this tedious task for me. I can do programming for your project. I have 1.5+ years of hands on experience with Arduino and making Flere

$100 USD in 3 dage
(20 bedømmelser)

Hi! I have understood your requirements about your project with every detail of it. I am an Electrical Engineer with more than 9 years of experience in electronics, circuit design, PCB layout, Verilog, FPGA, Embedded Flere

$250 USD in 7 dage
(3 bedømmelser)

Hello! As a skilled Automation Engineer and PhD, I have extensive experience in programming and working with Arduino boards and GPS modules. I understand the complexities of heading determination from GPS data and I am Flere

$150 USD in 4 dage
(11 bedømmelser)

Greetings thanks for posting the project there i am electrical engineer i have expertise in embedded systems, PCB designing and circuit designing. I can work on latest engineering tools to complete your task. In my exp Flere

$140 USD in 7 dage
(5 bedømmelser)

As an Electromechanical Engineer , I bid on your project because I have the expertise and experience to provide high quality work. I can achieve the results that you are asking for. So , respond to the offer so that we Flere

$120 USD in 2 dage
(3 bedømmelser)

Hey there! I'm a professional electrical engineer having more than 5 years of experience in arduino. I'll be waiting to hear back from you

$30 USD på 1 dag
(5 bedømmelser)

Hi, I am a professional mechatronics engineer and matlab expert .I'm here to help you with your project. I have more than 3 years working experience in this field. I am confident that I can deliver you best quality wor Flere

$250 USD in 7 dage
(1 bedømmelse)

I will give you the updated code that fixes a few issues with the original code you have tried . For example, the original code had a few typos and syntax errors. Additionally, i will improve the heading_error() funct Flere

$40 USD in 7 dage
(3 bedømmelser)

Hey ! I can help you out. I have designed the exact same system for vehicle. I designed data acquisition system for two wheeler. Thankyou

$40 USD in 7 dage
(0 bedømmelser)

I can do it. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from this platfrom Flere

$240 USD in 7 dage
(0 bedømmelser)