0 Preface
This article refers to the address: http://
Every year, there are a large number of car theft cases in China. According to the statistics of the Beijing Municipal Traffic Management Bureau, there were more than 10 cases of car theft in Beijing every day in 2006, which seriously endangered the property safety of the people and the number of related cases in recent years. The number has risen sharply, the means of committing crimes have been continuously upgraded, and the crime-making activities have been developed towards professionalism, intelligence, and grouping. In view of the above situation, this paper designs a car anti-theft system based on the current widely distributed GSM (Global System for Mobile CommunicatiON) network and high-precision GPS (Navigation Satellite Timing and Ranging Global Position SySTem) positioning technology. By sending and receiving short messages, real-time monitoring of the vehicle's position can be achieved, helping the owner to manage the vehicle and effectively recovering the vehicle after it has been stolen. The system has high sensitivity, good real-time performance, and the system structure is simple and the cost is low.
1 System working principle
As shown in Figure 1, the system controls the communication between the single-chip microcomputer and the GPS module and the wireless communication module TC35i through the single-chip microcomputer control relay. When the owner does not need to monitor the vehicle, the serial port input of the MCU is connected to the serial output of the TC35i. When the owner leaves the vehicle, the relay is manually driven to connect, and the serial port input of the single chip microcomputer is connected with the serial port output of the GPS. The system automatically collects the GPS position data and starts real-time monitoring of the vehicle. When the system detects that the position information collected by the GPS module has been different for two times, the serial port input of the MCU and the serial port output of the TC35i are restored by the relay, and a warning message is sent, "The vehicle situation is dangerous. Currently located in the east XX, north latitude. XX" to the owner.
Figure 1 System communication module block diagram
2 system hardware components
The system uses a single-chip microcomputer as a microprocessor, and uses the GPS module to collect the position information of the car, and then realizes real-time communication with the vehicle owner through the wireless communication module. The components of the hardware part of the system are as follows:
(1) STC89C52: This MCU is low in price and can well complete the control tasks of this system, and has a high cost performance.
(2) TC35i wireless communication module: TC35i Siemens industrial GSM module is an industrial grade GSM module supporting Chinese short message, working in EGSM900 and GSM1800 dual frequency band, its data interface can transmit instructions and data in two directions through AT command, which can be well realized. Transmission of information.
(3) Integrated GPS module: adopts XN934 series model XN934+ GPS module, working voltage is 3.3V, working temperature is -40~85°C, positioning accuracy is 5m, its output interface is RS232, can be directly connected with single chip interface It has low energy consumption, small size and easy integration.
(4) Relay: The Matsukawa small relay is used, and its contact form is three open and three closed.
(5) Power supply: The system is powered by a 12V DC power supply. The single-chip system and the GPS module are powered by a voltage regulator system with a 7805 chip as the core.
The system hardware block diagram is shown in Figure 1.
3 system software design
The system flow chart is shown in Figure 2.
Figure 2 system flow and control block diagram
program:
#include< P>
#include< P>
#define OVER 0x0d
#define S_OVER 0x1a
Void Delay(unsigned char ms) //delay subroutine
Void UART1_Init(void) //Serial 1 initialization
Void UART_Init(void)
Void SendASC(char ASC)
Void ClrRsBuf(void) //Clean up the cache
Void SendToTc35(char*p,unsigned char Long) //Send command to TC35
Nsigned char idata*mystrstr(char q[],unsigned char qx)//Query matching characters
Void Rs485_Do(void)interrupt 4using 1 //Communication interrupt receiving program
Void Send_AT(void) //Send AT connection command
Void SetText(void) //Set the text
Unsigned char EraseMsg () / / delete the short message
Unsigned char ReadMsg () / / read short message
Void SendMsgStart(void) //Send a short message
Void UART2_Init(void) //Serial 2
Void Read_Gps(void) //Read GPS
Void Check_GPS(unsigned char j,char undercheck[]) //Check GPS
Void main()
{
D11=1; //Startup completed
While(1)
{
If(!b){ //Whether in fixed position mode
If(bn){ //detect GPS interval
{
Check_GPS (5, SNalarm_GPS); / / read out the beginning and current latitude and longitude
If(((aa1-aa2)>80)||((ba1-ba2)>80)) //Check if the position changes
{
b=1; //The position has changed, the warning message is sent, the fixed position mode is turned off.
}
}
}
}
4 system physical map and test results
The system physical map (Figure 3) lists all the hardware of the system. The structure of the system is relatively compact and easy to install. After the system is installed in the car, it can be powered by the battery of the car, which further simplifies the system and reduces its cost.
Figure 3 system physical map
The test result map (Fig. 4) is the alarm information sent by the system when the vehicle owner moves after the vehicle owner leaves the vehicle, including the current time, the latitude and longitude of the vehicle, and the safety status of the vehicle.
Figure 4 System actual test results
5 Conclusion
This paper proposes and implements a GPS-GSM-based car SMS anti-theft system, and gives the test results. The system is easy to operate in practical applications, and has high positioning accuracy, and realizes the function of car burglary and positioning and tracking of the car after car theft. Since the system utilizes a widely distributed wireless communication network, the system has a wider range of monitoring of the vehicle and improves the limitations of the existing vehicle anti-theft system monitoring range. At the same time, with the continuous improvement of communication technology and the popularization of communication equipment, the system has higher performance, lower cost and higher practicability.
ALIBARBAR INGOT 9000 Dispsoable Vape
BANANA BUZZ – ALIBARBAR INGOT – 9000 PUFFS
The Alibarbar Ingot series has launched 13 flavors, with mysterious blind box flavors waiting to be unveiled.
Eliquid capacity:22ml
Battery capacity:2350mah
Battery type:TESLA 18650
Puffs:up to 9000
Size:103x40x26mm
Net weight:90g
Coil resistance:1.3Ohm
Non rechargeable
LED display
Ecig oil vape, disposable vape, Vaporizer
Shenzhen Yingyuan Technology Co.,ltd , https://www.smartpuffvape.com