We have been getting a lot of requests for ways to get AIS data to an iPad. Having looked at the various technologies and products out there, I have a least one way that seems to work very well to sharing AIS and GPS data with an Apple iPad and other devices.
Before getting into the specifics, it is worth mentioning three possible ways to interface to an iPad: wireless networking, Bluetooth and multiplexers. I decided to try the wireless networking route. I favored using a wireless network connection since I had this setup on my boat and it would have more range and better reliability than Bluetooth. Plus it is wireless. I looked at using a serial to wireless networking product (e.g. SerialIO's WiSnap product) connected to an AIS device to publish AIS data through a wireless connection; however this also involved some fairly serious fiddling to get it just right. While I did get this method to work, I can't say I recommend going this route unless you have a lot of experience with network administration. This method also had the downside that the AIS port only allowed one device to connect to the AIS data stream at a time. I wanted to be able to have multiple devices use the AIS data including an iPad and a PC.
My method involved the following components:
- Any AIS device with a serial or USB port. In my case, I used an AMEC CAMINO-101 Class B transponder which is able to output both AIS and GPS data with a Sabrent USB Serial Adapter. I also tested this with a Smart Radio SR161 AIS receiver and a Comar AIS-2-USB.
- A PC running Windows.
- Franson GPSGate software for Windows. This allows piping the serial data from the AIS device to a network port using software on the Windows-based PC. This product costs $39 but is well worth the money. This can be downloaded here.
- A wireless networking hub.
- An Apple iPad. These steps also with an Apple iPhone.
- iNavX. A marine navigation product for iPad. More info here.
- Rose Point Navigation Coastal Explorer 2011. A marine navigation product running on the Windows-based PC. More info here.
The following steps were used:
- I first setup my Windows PC with a static IP address and connected it to my network router. This method works with a PC connected wirelessly or via a wired cable to the router. But it is important to know what your IP address is. My router was setup to use the network 192.168.123.x with DHCP using addresses 192.168.123.110-200. I chose 192.168.123.60 for my PC using a network cable.
- I then plugged the CAMINO-101 with the USB Serial adapter into an available USB port. I made sure my USB drivers were loaded and I noted the COM port for the USB Serial adapter was mapped to COM4. I double checked that AIS data was indeed coming in on COM4 at 38400 baud.
- I then installed GPSGate on the PC. It runs in the background but you need to configure it to pipe the data correctly. You will find the program running once it is started on the bottom right notification area. Right click on the icon and select Settings. I set up the Input to use COM4 at 38400 baud (the port my AIS device was attached to).
I then set up the Output to be a TCP Server using port 20175 (the default offered by GPSGate).
I then clicked on the Open button on the Input tab. If things are setup correctly you should see a Running OK! message.
It is worth noting that you can set up multiple output ports with GPSGate. For example you could create a virtual COM port and attach to it with any standard marine navigation program running on the PC.
- At this point AIS and GPS data is available to devices on the network. In order to test this, I setup Rose Point Coastal Explorer on my PC and created a network port under data connections. Using the IP address of the PC and the port used by GPSGate.
This step is not required if you don't own Coastal Explorer. If you do own Coastal Explorer there is a Data Server built into the product which can be used instead of GPSGate. The concept for setting this up is very similar to the steps with GPSGate.
- Now let's move to the iPad. Make sure that it has wireless networking enabled and it is associated with the same network router that the PC is connected to.
- The next step is to download and install the iNavX product on the iPad. See the iNavX site for instructions on how to install this product. Once it is installed, go the configuration page for Instruments and touch the TCP/IP button on the top left of the Instruments page. We now want to add a TCP/IP NMEA Client. The Host is the IP address of the PC (192.168.123.60) and the Port is the port used by GPSGate (20175). Then select ON on the Link button and then touch Save on this screen and the next screen.
If you are attached to an AIS device that also outputs GPS data, you should see the GPS and AIS tracking information (TCT) displayed on the Instruments page. Now select Chart at the bottom of the screen and you should now have real-time AIS data as well as have GPS data for showing the position of your vessel. As long as you are in range of your wireless router, you should see AIS and GPS data on your iPad.
That's it. Using this method you are able to take the output from most AIS or AIS/GPS devices and share it with both a PC and an iPad or iPhone. This does require having a PC, wireless router and the AIS device to be on in order to work but assuming that is acceptable this is a neat way to get AIS (and GPS) data to all the computing devices on your boat.
On a later post, I'll walk through how to do this without using a PC or a wireless router. Stay tuned and happy boating.