| As a world-famous tourist city-Gui lin,its water tourism activities in the Li Jiang river tourist area have been increasingly rising,and problems in the supervision of water safety have gradually emerged.This paper combines the(Internet of Things technology,IOT),(Global Position System,GPS)and(Inertial Navigation System,INS)integrated positioning,navigation safety technology,electronic technology,software and some other professional knowledge.For ships less than 5 meters in height,a small-scale boat monitoring system based on the IOT was designed,which mainly includes small boat terminals and remote monitoring systems.The system realizes real-time monitoring and management scheduling of small boats and reduces the occurrence of water traffic accidents.Specific content of this paper includes:First of all,we analyzed the overall function of the small boat terminal,followed by detailed analysis and designed of the hardware and software parts of the terminal.Among them,the hardware part is mainly composed of STM32 microcontroller module,a GPS and GPRS module,voice module,temperature and humidity module,image acquisition module and attitude acquisition module.The STM32 microcontroller module consists of USART,(Serial Peripheral Interface,SPI),(Inter-Intergrated Circuit,IIC),(Secure Digital Memory Card,SD card),FLASH and other peripheral circuits.The software part mainly includes the interrupt response of main chip and data comparison,GPS data processing,attitude algorithm,GPS/INS integrated navigation data fusion,temperature and humidity data processing,image acquisition,voice automatically broadcast spots and navigation safety warnings.Finally,the chip selection of the main modules is introduced.Secondly,we analyzed and designed the backend server monitoring system,database and client of the remote monitoring system.The main function of the backend server monitoring system is to monitor the small boat terminal upload data and store it,in the meantime,it forwards some of the clients' operation instructions to the small boat terminal to provide backend support for the website client.The main function of the database is to store the data uploaded by the small boat terminal and manage all the data in a unified manner so that the client can operate onthe data.The main functions of the website client are real-time location display of the small boat terminal,historical track playback,information query and so on.Finally,we combined debugging of small boat monitoring system,all functions of the system has been verified by experiments.The system has reached the overall design requirements. |