Coder Social home page Coder Social logo

wuhuaroubj / aislandi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samuelelandi/aislandi

0.0 0.0 0.0 1.31 MB

AIS Receiver - TCP gateway to AIS receiver connected by RS-232 - It allows to get the real time positions of vessels around your boat. Originally developed for Raspberry PI.

License: GNU General Public License v3.0

Shell 0.04% C++ 0.07% Python 11.10% C 80.62% Objective-C 1.36% Java 3.21% Pascal 2.86% Makefile 0.29% VBA 0.40% SWIG 0.06%

aislandi's Introduction

AISLANDI is a TCP gateway for a AIS receiver with RS-232 interface. The automatic identification system (AIS) is an automatic tracking system that uses transceivers on ships and is used by vessel traffic services (VTS). AIS is intended to assist a vessel's watchstanding officers and allow maritime authorities to track and monitor vessel movements. The program works on any flavour of Linux, anyway it has been built for Raspberry PI (2,3,4). The AIS module tested is a modern AIS receiver with USB/Rs-232 Interface: https://shop.wegmatt.com/collections/frontpage/products/daisy-2-dual-channel-ais-receiver-with-nmea-0183 The gateway decodes standard NMEA-00183 message, so it should work with any compatible AIS module. This module is part of project for a drone boat,anyway it's usable for any different purpose where an AIS receiver is required.

Authors: Achille and Samuele Landi

Configuration: Edit the file ais-landi-server.c and change the following line, replacing /dev/ttyACM0 with the serial port where the AIS is wired: #define RS232 "/dev/ttyACM0"

Requirements: gcc compiler only, for Raspberry PI you could install the following package: apt-get install build-essential

Build: build the program executing from the folder of download cd libs/aisparser/c/so make linux ldconfig make linux ldconfig cd ../../../../ ./compile.sh

Run: ./ais-landi-server

The gateway will listen on port 8001/tcp for a connection. As soon a connection arrives,it send the last know vessels positions in json format and disconnects. For example: {"mmsi":"378111129","latitude":"25.118295","longitude":"55.141885"} {"mmsi":"235115083","latitude":"25.117493","longitude":"55.138837"} Where mssi is the vessel unique id.

You can try to connect to the gateway from the same device with: telnet 127.0.0.1 8001

Additional information are shown on the screen and written to the syslog file.

For any help, please drop an email to: [email protected] or [email protected]

aislandi's People

Contributors

samuelelandi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.