277 [Complete Course Design] Vibration gsm positioning alarm design based on 51 single-chip microcomputer-Vibration-BELL-GSM-GPS

[Resource Download] The download address is as follows:
https://docs.qq.com/doc/DTlRSd01BZXNpRUxl

51 vibration gsm positioning alarm design-vibration-GSM-GPS

This design is composed of STC89C52 single-chip circuit + vibration detection circuit + GSM short message upload module + GPS positioning module + power supply circuit.

1. If the vibration sensor detects the vibration, the buzzer will alarm (the alarm sound is 10 seconds, after 10 seconds, the buzzer will stop the alarm, if the vibration is detected again, the alarm will be re-alarmed), and at the same time the GSM message will locate the longitude and latitude of the GPS The information (including Dangerous!) is sent to the mobile phone. Otherwise, the buzzer will not alarm and the SMS will not be sent.

unsigned char Lin0_No[13]="N:000.000000";//显示北纬
unsigned char Lin1_Ea[12]="E:000.000000";//显示东经

unsigned long xdata time_20ms=0;

unsigned char xdata	devide_flag;		        //GPS数据逗号分隔符
unsigned char xdata	speed_end;			//收速度数据结束标志
unsigned char xdata	dir_end;			//收方向角数据结束标志
unsigned char xdata  sysmode_GPS=FALSE;                    //gps有效无效标志
unsigned char xdata ew_flag;                        //东西标志
unsigned char xdata ns_flag;                        //南北标志

unsigned char xdata	gps_infor_weijing[17];    //暂存经纬度 格式是以度分秒的是形式
unsigned char xdata	gps_infor_speed[4];       //暂存速率
unsigned char xdata	gps_infor_time[6];        //时间暂存
unsigned char xdata	gps_infor_date[6];        //日期暂存
unsigned char xdata	gps_infor_dir[3];         //方向暂存

 

Guess you like

Origin blog.csdn.net/theroadon/article/details/109261707