Navigation Project Help

Hello all,

The purpose of the program is to calculate the data required to succesfully navigate a route. In this case a direct heading to a destination with a noted waypoint(landmark) on route. Also, the user should be asked to enter: the true track(deg); Variation(deg); Deviation(deg) True air speed(knots); Distance to destination(Nautical miles) and distance to waypoint(nautical miles).
Moreover, an error/warning should be displayed where incorrect data is entered and the user should be re-prompted to enter the correct information.

Thank you in advance, who anyone that help with the project. I'll really appreciate it!

True track is f ex magnetic heading +/- side wind effekt. How to send warning for wrong True air speed during tail wind or head wind, C172 or Jumbo 747?
What is Your idea with the project?

This sounds like a class assignment.

What hardware will you be using?

How will you identify locations?

What is your plan for implementing the assignment?

Hello Railroader, thank you for your reply, my idea is to use this information to calculate:
Magnetic track(deg)
Compass heading(deg)
Flight time to destination(min)
Fuel burn(assume 45 litres/hour)
Flight time to landmark(min)

This is my first project coding using the arduino, so I'm quite lost with everything.

This is my first project coding using the arduino

We strongly recommend first working through the simple examples that come with the Arduino software, so that you can learn the programming language, the special features of the Arduino and the limitations of such a small microprocessor.

Learn to blink an LED without using delay(), read a voltage, switch or sensor, output data on the serial monitor, etc.

Your current project is hopeless until you have mastered these basic principles.

OK. I was thinking wrong, thinking about ETA and ground speed. Magnetic track uses the magnetic compass. Not so easy to calculate in the World of GPS data. When You write "Compass" it can be the gyro Compass"....
Flight time strongly depends on the wind during the track….
Fuel burn would be distance divided by ground speed multiplied by 45, assumed. Ground speed depends on the wind...
Flight time is distance divided by ground speed.
Do You have any pilot experience? I do.

Hello Brattain, you're correct! This is my class project.
I've already been training with the tasks you've mentioned, but my teacher has told me that I must make this as an end of term project to finish with Arduino. My problem is that there is a big gap between what I know and what he's asking for, so that is the reason why I am here ion this forum asking for help.
hope anyone can help me.

Yes, I am form Spain, and i am currently studying for becoming a commercial pilot.
The idea is to create a code where once it is running, you click in the "monitor serie" so that it pops up a sentence saying: "Please introduce TRACK DIRECTION". then the desviation, then the true airspeed...
Once all the data is introduced, it should appear all the information calculated with the input data.

It sounds like You need to give that teacher a lesson regarding navigating in the air, piloting....
Using almost any Arduino You can attach a GPS board. Giving longitude and latitude for take off place and destination distance can be calculated as well as geografic heading. GPS libraries does this. Estimated time of arrival, ETA, depends on the wind and the wind might not be constant in real life. True airspeed depends on aeroplane and trottle…..
What does he know about aeronautics? What does he really ask for?

The formulas for navigating between GPS waypoints, including heading and distance, are given on this web site.

However, the standard Arduino does not implement double precision floating point calculations, and unfortunately, single precision floating point leads to large position errors using GPS latitude and longitude locations.

In other words, "double" is the same as "float" on Arduino, which makes Arduino difficult to use for your project.

Thanks jremington! Ooops. No IDE/Arduino math for double..... Up for library creators….