The main control center (ARM9 integrated control board) mainly completes the sim900A data transmission, GPS positioning data acquisition and ARM9 and STM32 integrated control board serial communication. Figure 4-2 describes the overall program design process for the lower machine control center. First of all, the initialization of peripherals, and constantly detect whether serial port 0 received ultrasonic data from the STM32 control board, if received, the rudder and thruster control, otherwise the serial port 1 judgment, according to the instructions sent by GPRS for data collection transmission or unmanned ship control. Figure 4-3 describes the program design process for the Drive Control Center (STM32 Control Board). Unmanned ship in the face of obstacles must immediately make barrier avoidance treatment, so ultrasonic module using the highest priority interrupt 0, data initialization, the interruption 0 to judge, according to whether to receive the barrier signal and make a different treatment.
正在翻译中..