GPS and Compass Mega 2560

Hello World!

Here is the project I am working on, and the steps accomplished so far!

The Goal is to create a GPS and Magnetic compass using the following components:

Arduino Mega 2560
Ublox Neo 6m GPS module
MPU 6050 accelerometer
LCD TFT 2.4 With Touch Screen

What I want to achieve:

  1. Display a visual Compass on the TFT Screen, as well as the Azimuth in Degrees (Compass should be tilt balanced and calibrated), and display the GPS Coordinates
  2. Plot the GPS Coordinates on a map (stored on the SD Card with the possibility to zoom
  3. Output the GPS Coordinates via a USB to Serial adapter to my laptop to be used with a navigation Software (Maxsea TZ or Open CPN

What I managed to do so far:

  1. Display Azimuth through the serial console
  2. Display GPS coordinates via the serial console

Now, I am stuck as I don't have a clue how to interface the TFT, send the signal through the USB to serial, and My compass does not balance direction according to the tilt....

Any help much appreciated!

If the display of the map is a required feature you should change the hardware. A Mega2560 doesn't have enough RAM to do such operations. Get a Raspberry Pi and a TFT for it, there you have enough RAM and enough computing power for the task.

What magnetometer will you be using? The MPU6050 is not useful as a compass.

I have a hmc5883 module which has proven to be good so far...

Google "tilt compensated compass".

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.