Transport serial GPS and AIS NEMA to TCP
I have a open CPN installed on PC, and a Open plotter on Rasperry Pi, both have wifi. The idea is to use esp32 as TCP server and it's multiple serial ports to get GPS and NEMA from serials, and transport to TCP port. So that my Pi or PC can receive data from wifi connection. components:
- GPS module There are many GPS module available if you looking into drone DIY martket, I use one like this, with antenna integrated. 3.3V serial interface, output NEMA sentences.
- AIS module There are very few choice, a cheap solution is to use SDR on Pi as AIS decoder, but this will quite complicate if you use it on windowsPC. And with a USB connected to Pi or PC, your placement of PC will be limited due to USB cable and antenna cable. I found a module from China:
it's powered with 3.3V, connection is quite simple, the serial out put is 38400, 8N1, price is about 180 RMB, not really cheap, but the easier and faster way to start my test