u-Center from u-Blox is a graphical interface which can be used to monitor and configure all aspects of the GPS module on a BerryGPS-IMU or BerryGPS-GSM.
u-Center only runs on Windows. It can connect over the network to a Raspberry Pi. This will require us to redirect the serial interface on the Raspberry Pi to a network port using ser2net.
Do an upt-get update and then install ser2net;
pi@raspberrypi ~ $ sudo apt-get install ser2net
Edit the ser2net config file and add the serial port redirect to a network port. We will use network port 6000
And add this line at the bottom;
6000:raw:600:/dev/serial0:9600 NONE 1STOPBIT 8DATABITS XONXOFF LOCAL -RTSCTS
This is a breakdown of the syntax for the line above;
TCP port : connection type : timeout : serial port : serial port speed : serial options
you can now start ser2net using;
And you can use the below command to check if it is running by seeing if the port is open and assigned to the ser2net process;
If it is running, you should see something similar to the output below;
Windows PC Setup and Connecting to the GPS module
You can download u-Center from here.
Once installed, open u-Center. You will get the default view as shown below. No data will be shown as we are not connected to a GPS.
The next step, is to create a new network connection and connect to the GPS which is connected to our Raspberry Pi. You can create a new connection under the Receiver and then Network connection menus.
In the new window, enter the IP address of the Raspberry Pi and specify port 6000. This is the port we configured in ser2net on the Raspberry Pi.
This is what the default view looks like when connected and the GPS has a fix.
Below I will list of the more useful windows/tools within u-Center.
You can also click on the images below for a larger version.
This window will show you the longitude, latitude, altitude and fix mode. It will also show the HDOP, which is the Horizontal Dilution of Precision. Lower is better, anything below 1.0 means you have a good signal.
This window will show you where the satellites are as well as what time.
Sky view is an excellent tool for analyzing the performance of antennas as well as the conditions of the satellite observation environment.
This map shows the average of all previously measured positions.
Continue reading Using u-Center to connect to the GPS on Raspberry Pi