CN105946769B - High speed traffic accident automatic alarm system based on STM32 - Google Patents

High speed traffic accident automatic alarm system based on STM32 Download PDF

Info

Publication number
CN105946769B
CN105946769B CN201610291166.2A CN201610291166A CN105946769B CN 105946769 B CN105946769 B CN 105946769B CN 201610291166 A CN201610291166 A CN 201610291166A CN 105946769 B CN105946769 B CN 105946769B
Authority
CN
China
Prior art keywords
pins
pin
circuit
sim900a
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610291166.2A
Other languages
Chinese (zh)
Other versions
CN105946769A (en
Inventor
胡云峰
杜乐
张森
陈虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jilin University
Original Assignee
Jilin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin University filed Critical Jilin University
Priority to CN201610291166.2A priority Critical patent/CN105946769B/en
Publication of CN105946769A publication Critical patent/CN105946769A/en
Application granted granted Critical
Publication of CN105946769B publication Critical patent/CN105946769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R21/00Arrangements or fittings on vehicles for protecting or preventing injuries to occupants or pedestrians in case of accidents or other traffic risks
    • B60R21/01Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents
    • B60R21/013Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents including means for detecting collisions, impending collisions or roll-over
    • B60R21/0136Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents including means for detecting collisions, impending collisions or roll-over responsive to actual contact with an obstacle, e.g. to vehicle deformation, bumper displacement or bumper velocity relative to the vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q9/00Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

A kind of high speed traffic accident automatic alarm system based on STM32, belongs to electronic device field.The purpose of the present invention is just to be driven a vehicle merely with the power supply of in-car power supply before after the occurrence of the traffic accident automatically by traffic accident situation, makes casualties and property loss accomplishes the high speed traffic accident automatic alarm system based on STM32 that reduces as far as possible.The present invention is to turn serial port chip PL2303 main circuits by STM32 minimum systems, JTAG program debuggings circuit, gps antenna and data processing circuit, MPU6050 module hardwares circuit, SIM900A chips main circuit, SIM card slot circuit, SD card hardware circuit, TFT liquid crystal screen modules hardware circuit, OV2640 camera module chips main circuit, USB interface and voltage-stabilized power supply circuit, USB to form.The fully automated operation of the present invention, does not need any operation, video acquisition device is connected with central processing unit after getting into an accident, automobile coordinate is sent on specific APP by GPRS wireless networks, so as to which the action for being more beneficial for the wounded can be taken, such as alarm, call for an ambulance etc..

Description

High speed traffic accident automatic alarm system based on STM32
Technical field
The invention belongs to electronic device field.
Background technology
With the continuous development of technology, China progressively marches toward the ranks of automobile superpower.By the end of in June, 2015, China's vapour Car recoverable amount has breached 1.63 hundred million, and recoverable amount has been only second to the U.S., turns into the whole world second.At the same time, China is high Fast highway mileage number is also being skyrocketed through, and by the end of 2014, the China Expressway total kilometrage that is open to traffic reached 11.2 ten thousand kilometers, surpasses Cross the U.S. and occupy the first in the world.Automobile quantity and the rising of high speed mileage number, but make China become toll on traffic Most countries, there are 200,000 people every year because of Prevention of Road Traffic Fatalities.Because China is vast in territory so that big in highway Part mileage is all in meagrely-populated location, and on a highway because getting into an accident and death is also because have little time mostly Traffic accident information is sent and causes the wounded to delay rescue opportunity.There are many devices for avoiding traffic accident on automobile, and traffic accident Emergency device after generation is very few.
China Patent Publication No. CN201765666U, publication date are on June 3rd, 2015, and number of patent application is 201310638035.3 name of patent application is " a kind of highway traffic accident warning device ".GPRS is employed in patent application Module, information is sent to remote computer with wireless network, and light fog light and red alarm lamp to guide below Car avoids the vehicle that meets accident.Although expanding traffic accident this method avoid further, this method does not consider in more detail All someone are not ensured that at every moment before the situation for the side of meeting accident after traffic accident, i.e. " remote computer ", are likely under unmanned state The treatment of the wounded can be delayed.
China Patent Publication No. CN103481823A, publication date are on January 1st, 2014, and number of patent application is 201310446895.7 name of patent application is " car-mounted terminal and intelligent vehicle-carried warning system ".Employed in patent application RFID radio frequency identifications and pressure sensor judge that automobile traffic accident occurs.Although the device, this method does not have more detailed Ground considers the situation after information transmission, and recipient is simultaneously indefinite, and pressure sensor used in traffic accident judgement is not most yet Good scheme.
China Patent Publication No. CN104680806A, publication date are on March 16th, 2011, and number of patent application is 201020504174.9 name of patent application is " automatic car accident positioning alarm controller ".GSM moulds are employed in patent application Block, Chinese and English message code is sent to relevant department with PDU patterns.Although this method is less on information data amount is sent, Sending method is more quick, but this method does not consider the situation of recipient in more detail, and so-called " relevant department " is if simultaneously Reaction that can not be instant, has probably delayed the treatment of the wounded on the contrary.And the function of lacking camera also to adjust in the police Look into and many difficulties are added during evidence obtaining.
The content of the invention
The purpose of the present invention is just to be driven a vehicle merely with the power supply of in-car power supply before after the occurrence of the traffic accident automatically by traffic accident situation, Automobile position after getting into an accident issues specific APP, user is adopted a series of measures, and such as alarms.Make casualties and Property loss accomplishes the high speed traffic accident automatic alarm system based on STM32 reduced as far as possible.
The present invention is by STM32 minimum systems, STM32 minimum systems power supply filter circuit, STM32 minimum systems button electricity Pond powers and AD power supply circuits, JTAG program debuggings circuit, gps antenna and data processing circuit, GPS power supplies and data storage electricity Road, MPU6050 module hardwares circuit, SIM900A chips main circuit, SIM900A module serial communication interfaces circuit, SIM900A Module RS232/RS485 interface circuits, SIM900A modules voltage-stabilized power supply circuit, SIM900A module switch and button cell power supply Circuit, SIM900A module contact pins pin circuitry, SIM card slot circuit, SD card hardware circuit, TFT liquid crystal screen modules hardware electricity Road, OV2640 camera module chips main circuit, OV2640 camera module voltage-stabilized power supplies chip circuit, OV2640 shooting head moulds Block slot and crystal oscillating circuit, USB interface and voltage-stabilized power supply circuit, USB turn serial port chip PL2303 main circuits composition;
STM32 minimum systems:The oscillating circuit both ends that crystal oscillator Y2 and electric capacity C6, C9 are formed respectively with STM32F407ZET6 PC14, PC15 pin of chip are connected;The oscillating circuit both ends that crystal oscillator Y1 and electric capacity C7, C8 are formed respectively with PH0, PH1 pin of STM32F407ZET6 chips are connected;The VDD pins of STM32F407ZET6 chips and 3.3V voltage port phases Even, VSS pins ground connection;
STM32 minimum systems power supply filter circuit:Zero resistance one end, Europe is connected with the VCC3.3 of digital circuit, the other end with Analog circuit VCC3.3M is connected;Electric capacity is all in parallel, and one end is connected with analog circuit VCC3.3M, other end ground connection;
STM32 minimum systems button cell is powered and AD power supply circuits:1N4148 diode cathodes end with The VBAT pins of STM32F407ZET6 chips are connected;Jumper cap P2 1 interface and the VREF+ phases of STM32F407ZET6 chips Even, 2 interfaces are connected with VDD;
JTAG program debugging circuits:JTAG chip TRST pins are connected with the PB4 of STM32F407ZET6 chips, TDI pins Be connected with the PA15 of STM32F407ZET6 chips, TMS pin is connected with the PA13 of STM32F407ZET6 chips, TCK pin with The PA14 of STM32F407ZET6 chips is connected, and TDO pins are connected with the PB3 of STM32F407ZET6 chips;
Gps antenna and data processing circuit:GPS_NEO-6 chip TXD pins and STM32F407ZET6 chip PB11 pins It is connected, GPS_NEO-6 chip RXD pins are connected with STM32F407ZET6 chip PB10 pins;LED cathode and GPS_NEO-6 cores Piece TIMEPULSE pins are connected;Antenna J2 is drawn by electric capacity C99 and the circuit that inductance L3 is formed and MAX2659 chips RFIN Pin is connected, and MAX2659 chip RFOUT pins are connected by electric capacity C90 with GPS_NEO-6 RF_IN pins, button cell XH414 positive poles are connected with GPS_NEO-6 chip V_BCKP pins;
GPS powers and data storage circuitry:The SCL interface and SDA interfaces of GPS_NEO-6 chips respectively with AT24C32 cores The SCL interfaces of piece are connected with SDA interfaces;P9 is GPS module Peripheral Interface, the input VIN pins of RT9193-33 voltage stabilizing chips with P9 5 pins are connected, and the EN pins of RT9193-33 voltage stabilizing chips meet VCC, the output pin VOUT of RT9193-33 voltage stabilizing chips 3.3V voltages after output voltage stabilizing are linked into VCC3.3 networks by two filter capacitors of C96, C97;
MPU6050 module hardware circuits:U2 is 3.3V mu balanced circuits, and RT9193-33 is 3.3V linear regulator chips, VIN Pin is connected with P1 6 pins, and VOUT pins are connected with VCC3.3 networks;P1 is MPU6050 module Peripheral Interfaces, IIC SDA Pin is connected with STM32F407ZET6 chips PC1, and IIC SCL pins are connected with STM32F407ZET6 chip PC0 pins, the mould Block is connected with STM32F407ZET6 chips by iic bus;
SIM900A chip main circuits:Microphone interface MIC1 and MIC2 passes through coupled capacitor C59 ~ C71 and SIM900A cores Piece is connected;MIC1 pins 1,2 are connected with SIM900A MICP pins, and MIC1 pins 3 are connected with SIM900A MICN pins, MIC2 pins 1,2 are connected with SIM900A SPP pins, and MIC2 pins 3 are connected with SIM900A SPN pins;Button cell BAT1 negative pole ground connection, positive pole are connected with SIM900A VRTC pins, switch KEY1 one end and SIM900A PWRKEY phases Even, SMA antennas are connected by the circuit that C40, C43 and R29 are formed with SIM900A pin RF, and NET_STA1 passes through resistance R31 is connected with SIM900A netLED pins;
SIM900A module serial communication interface circuits:Chip SP3232 pins 1,3 are connected by electric capacity C37, pin 2,6 It is grounded respectively by electric capacity C39, C44, pin 4,5 is connected by electric capacity C41;Chip SP3232 pins 7,8,13,14 respectively with RS232 COM 8,7,3,2 pins are connected;Chip SP3232 pin 15 is grounded, and pin 16 passes through filter capacitor C36 and VCC BAT is connected;Chip SP3232 pins 9 are connected by resistance R48 with SIM900A chip main circuit pins RTS;Chip SP3232 draws Pin 10 is connected by resistance R47 with SIM900A chip main circuit pins CTS;Chip SP3232 pins 11,12 respectively with Pin PA2, PA3 pin of STM32F407ZET6 chips is connected;
SIM900A module RS232/RS485 interface circuits:P10 is contact pin, pin 1 by transistor circuit S8050 with The TXD pins of SIM900A chip main circuits are connected, and pin 2 is drawn by the RXD of diode circuit and SIM900A chip main circuits Pin is connected, and pin 3,4 is connected with pin PA2, PA3 pin of STM32F407ZET6 chips, and pin 5,6 passes through resistance R44 respectively It is connected with R45 with the DBG TXD pins and DBG RXD pins of SIM900A chip main circuits;
SIM900A module voltage-stabilized power supply circuits:Voltage stabilizing chip MP2303 pin 1 passes through electric capacity C52 inductance L1 with pin 3 And the circuit that diode D8 is formed is connected, pin 2 is connected by electric capacity C50 with VCC IN networks, and pin 4 is hanging, pin 5 and The bleeder circuit midpoint that resistance R56, resistance R57 are formed is connected, and pin 6 is grounded by electric capacity C55 resistance R55, pin 7 and R49, The bleeder circuit midpoint that R51 is formed is connected;Pin 8 is grounded by electric capacity 8;Circular pin plug DC_IN pins 2,3 are grounded, and pin 1 is logical Cross diode D7 access VCC INX networks;
SIM900A module switch and button cell power supply circuit:K2 is key-press circuit for switch, K2 pin 2 and the phase of pin 3 Even, P7 is contact pin, and pin 1 is connected with VCC BAT networks, and pin 2 is grounded;D9 is voltage-regulator diode, and negative pole meets VCC BAT, just Pole is grounded, and filter capacitor C69 mono- terminates VCC BAT, one end ground connection;
SIM900A module contact pin pin circuitries:P3, P4, P5 are contact pin, are connected respectively at network;
SIM card slot circuit:U9 is that SIM card slot pin 1 is connected with the SIM_DATA pins of SIM900A chips;Pin 2 Vacantly;Pin 3 is grounded;Pin 4 is connected with the SIM CLK pins of SIM900A chips, and pin 5 and SIM900A SIM RST draw Pin is connected, and pin 6 is connected with SIM900A SIM VDD;U10 is SMF05C electrostatic and latch-up protection chip, pin 1 with The SIM_DATA pins of SIM900A chips are connected, and pin 2 is hanging, and pin 3 is grounded, the SIM CLK of pin 4 and SIM900A chips Pin is connected, and pin 5 is connected with SIM900A SIM RST pins, and pin 6 is connected with SIM900A SIM VDD;
SD card hardware circuit:The CD/DATA3 pins of SD slots are connected with STM32F407ZET6 PA3 pins, CMD pins Be connected with STM32F407ZET6 PA7 pins, CLK pin is connected with STM32F407ZET6 PA5 pins, DATA0 pins with STM32F407ZET6 PA6 pins are connected, and VSS pins ground connection, VDD pins meet VCC3.3, and VSS pins are connect by electric capacity C54 VCC3.3;Resistance R50, R52, R53, R54 mono- of pull-up resistor circuit terminates VCC3.3, the other end respectively with STM32F407ZET6 PA3, PA7, PA5, PA6 pin is connected;
TFT liquid crystal screen module hardware circuits:TFT_LCD is liquid crystal display socket, data pin DB1 ~ DB16 respectively with STM32F407ZET6 PB0 ~ PB16 pins are connected, and LCD_CS pins are connected with PC9, and WR pins are connected with PC7 pins, and RS draws Pin is connected with PC8, and RD pins are connected with PC6 pins;TFT_LCD GND pin ground connection, T_PEN pins pass through R59, R60, C75 The filter circuit of composition is connected with TM32F407ZET6 PC1 pins, and MISO pins are connected with PC2, and T_CS pins draw with PC13 Pin is connected, and CLK pin is connected with PC0 pins, and MOSI pins are connected with PC3 pins;
OV2640 camera module chip main circuits:Y1-Y9 pins and SIO_C, SIO_D in OV2640 chips, PCLK, The 2x9 sockets of HREF, VSYNC, XVCLK, PWDN, RESETB pin and P8 in OV2640 camera modules slot and crystal oscillating circuit It is connected;DOVDD, EVDD pin are connected by filter capacitor C76, C77, C78 with VCC2.8 networks, and DVDD pins pass through filtered electrical Hold C85, C86 with VCC1.3 networks to be connected;SVDD, AVDD pin are connected by C87, C88, C89 with VCC2.8A networks;SGND、 ADNG, EGND, DOGND, DGND pin are grounded, and VREFN, VREFH pin are grounded by electric capacity C93, C98;
OV2640 camera module voltage-stabilized power supply chip circuits:RT9193-2.8 chip pins 1,3 connect VCC3.3 networks, draw Pin 2 is grounded, and the DC voltage that pin 5 exports after voltage stabilizing is linked into VCC1.3 networks;XC6219B132MR chip pins 1,3 connect VCC3.3 networks, pin 2 are grounded, and pin 4 is grounded by filter capacitor C101, and pin 5 passes through electric capacity C91, electric capacity C92 and resistance R67 accesses VCC2.8 and VCC2.8A networks;
OV2640 camera modules slot and crystal oscillating circuit:Crystal oscillator socket pins 2 are grounded, and pin 4 passes through filter capacitor C81 VCC3.3 networks are connect, pin 3 connects OV2640 chip XVCLK pins;Camera module slot P8 1 pin ground connection, 2 pins connect VCC, 3-17 pin respectively PE8, PE12 with STM32F407ZET6, PE9, PE11, PE0, PE15, PE2, PE1, PE4, PE3, PE6, PE5, PE10, PE7, PE14 pin are connected;
USB interface and voltage-stabilized power supply circuit:USB 1, USB2 are usb socket, and pin 1 meets VCC, and pin 2 meets GND, D- is connected by R27 with STM32F407ZET6 PA11 pins in USB1, and D+ passes through resistance R28 and STM32F407ZET6 PA12 pins are connected;D- pins are connected by R32 with PL2303 DM pins in USB2, and D+ passes through resistance R33 and PL2303 DP pins are connected;BUTTON is switch key, and pin 3,4 is connected with VCC, and pin 5 is connected with VOUT2 contact pin, and pin 2 passes through Filter capacitor C49, C47 are connected with voltage stabilizing chip AMS1117-3.3 input pin 3, and AMS1117 pin 2,4 is as electricity The deferent segment of pressure is connected in VCC3.3 networks;
USB turns serial port chip PL2303 main circuits:The TXD pins of PL2303 chips and STM32F407ZET6 PA9 pins It is connected, RXD pins are connected with STM32F407ZET6 PA10 pins;DTR_N pins are connected with resistance R17, R16, pin RTS_ N is connected with resistance R19, and pin VDD_232 is grounded by C17, and pin GND ground connection, VDD meets VCC5, and pin VDD_3V3 passes through electricity Hold C21 ground connection, pin GND_3V3, PLL_TEST, GND_PLL ground connection;Pin VDD_PLL, LD_MODE, TRI_MODE, VDD, RESET is connected with VCC5, and pin OSC1, OSC2 are connected with the crystal oscillating circuit for having Y3, C18, C19 to form.
The present invention is traffic accident alarm technique system, especially a kind of automatic annunciator of highway traffic accident.Specifically one Kind of traffic accident is automatically positioned, and what record driving video data and the device reported and the wireless terminal APP supporting with it were formed is System, suitable for all kinds of vehicles.The present invention has advantages below compared with prior art:1. fully automated operation, after getting into an accident Any operation is not needed.2. video acquisition device is connected with central processing unit, when traffic accident occurs, central processing unit can be by car The videograph of automobile is automatically credited in SD card before misfortune, facilitates police's post-mordem forensics.3. with the continuous progress of science and technology, people couple Increasingly increasing in the demand of mobile phone, no matter when most people can carry with mobile phone, and by GPRS wireless networks by vapour Car coordinate is sent on specific APP, installs corresponding map on APP additional, and user can be caused to position traffic accident position rapidly, so as to The action for being more beneficial for the wounded can be taken, is such as alarmed, call for an ambulance etc..
Brief description of the drawings
Fig. 1 is STM32 minimum system circuit diagrams in the present invention;
Fig. 2 is minimum system power supply filter circuit figure, and wherein left figure is zero Europe resistance circuit, and right figure is filter capacitor electricity Road;
Fig. 3 is the power supply of minimum system button cell and AD power supply circuits.Wherein left figure is button cell power supply circuit, right Figure is AD power supply circuits;
Fig. 4 is JTAG program debugging circuit diagrams;
Fig. 5 is gps antenna and data processing circuit figure;
Fig. 6 is GPS power supplies and data storage circuitry figure.Wherein upper figure is AT24C32 data storage circuitries, figure below GPS Module for power supply circuit;
Fig. 7 is MPU6050 module hardware circuit diagrams.Wherein upper figure is MPU6050 module for power supply circuits, and figure below is MPU6050 chip main circuit diagrams;
Fig. 8 is SIM900A chip main circuit diagrams;
Fig. 9 is SIM900A module serial communication interface circuit diagrams;
Figure 10 is SIM900A module RS232/RS485 interface circuit figures;
Figure 11 is SIM900A module voltage-stabilized power supply circuit figures;
Figure 12 is SIM900A module switch and button cell power supply circuit.Wherein left figure is on-off circuit figure, and middle figure is Button cell socket circuit figure, right figure are button cell circuit diagram;
Figure 13 is SIM900A module contact pin pin circuitry figures;
Figure 14 is SIM card slot circuit diagram.Upper figure is SIM card slot circuit, and middle figure is SMF05C electrostatic and latch-up protection Chip circuit, figure below are SIM card working condition LED indicating circuit;
Figure 15 is SD card hardware circuit diagram.Wherein left figure is SD card slot circuit, and right figure is pin pull-up resistor circuit;
Figure 16 is TFT liquid crystal screen module hardware circuit diagrams;
Figure 17 is OV2640 camera module chip main circuit diagrams;
Figure 18 is OV2640 camera module voltage-stabilized power supply chip circuit figures.Upper figure is voltage stabilizing chip RT9193-2.8 electricity Road, figure below are voltage stabilizing chip XC6219B132MR circuits;
Figure 19 is OV2640 camera modules slot and crystal oscillating circuit figure.Upper figure is 12Mhz crystal oscillating circuits, and figure below is shooting Head module slot circuit diagram;
Figure 20 is USB interface and voltage-stabilized power supply circuit figure;
Figure 21 is that USB turns serial port chip PL2303 main circuit diagrams;
Figure 22 is present procedure flow chart;
Figure 23 is present system structured flowchart.
Embodiment
The present invention is by STM32 minimum systems, STM32 minimum systems power supply filter circuit, STM32 minimum systems button electricity Pond powers and AD power supply circuits, JTAG program debuggings circuit, gps antenna and data processing circuit, GPS power supplies and data storage electricity Road, MPU6050 module hardwares circuit, SIM900A chips main circuit, SIM900A module serial communication interfaces circuit, SIM900A Module RS232/RS485 interface circuits, SIM900A modules voltage-stabilized power supply circuit, SIM900A module switch and button cell power supply Circuit, SIM900A module contact pins pin circuitry, SIM card slot circuit, SD card hardware circuit, TFT liquid crystal screen modules hardware electricity Road, OV2640 camera module chips main circuit, OV2640 camera module voltage-stabilized power supplies chip circuit, OV2640 shooting head moulds Block slot and crystal oscillating circuit, USB interface and voltage-stabilized power supply circuit, USB turn serial port chip PL2303 main circuits composition;
STM32 minimum systems:The oscillating circuit both ends that 32.768Khz crystal oscillators Y2 and electric capacity C6, C9 are formed in Fig. 1 respectively with PC14, PC15 pin of STM32F407ZET6 chips are connected;The oscillating circuit both ends that 8Mhz crystal oscillators Y1 is formed with electric capacity C7, C8 It is connected respectively with PH0, PH1 pin of STM32F407ZET6 chips;The VDD pins of STM32F407ZET6 chips and 3.3V voltages Port is connected, VSS pins ground connection;
STM32 minimum systems power supply filter circuit:Zero Europe resistance one end of left figure and the VCC3.3 phases of digital circuit in Fig. 2 Even, the other end is connected with analog circuit VCC3.3M;The electric capacity of right figure is all in parallel in Fig. 2, one end and analog circuit VCC3.3M It is connected, other end ground connection;
STM32 minimum systems button cell is powered and AD power supply circuits:1N4,148 bis- in left figure button cell circuit in Fig. 3 Pole pipe cathode terminal is connected with the VBAT pins of STM32F407ZET6 chips;Right figure jumper cap P2 1 interface with The VREF+ of STM32F407ZET6 chips is connected, and 2 interfaces are connected with VDD;
JTAG program debugging circuits:Fig. 4 is JTAG debugging circuit, for debugging routine, JTAG chip TRST pins with The PB4 of STM32F407ZET6 chips is connected, and TDI pins are connected with the PA15 of STM32F407ZET6 chips, TMS pin with The PA13 of STM32F407ZET6 chips is connected, and TCK pin is connected with the PA14 of STM32F407ZET6 chips, TDO pins with The PB3 of STM32F407ZET6 chips is connected;
Gps antenna and data processing circuit:GPS_NEO-6 chips TXD pins and STM32F407ZET6 chips in Fig. 5 PB11 pins are connected, and GPS_NEO-6 chip RXD pins are connected with STM32F407ZET6 chip PB10 pins;LED cathode with GPS_NEO-6 chip TIMEPULSE pins are connected;Antenna J2 passes through the circuit that electric capacity C99 and inductance L3 is formed and MAX2659 cores The RFIN pins of piece are connected, and MAX2659 chip RFOUT pins are connected by electric capacity C90 with GPS_NEO-6 RF_IN pins, knob Button battery XH414 positive poles are connected with GPS_NEO-6 chip V_BCKP pins;
GPS powers and data storage circuitry:The SCL interface and SDA interfaces of GPS_NEO-6 chips respectively with upper figure in Fig. 6 The SCL interfaces of middle AT24C32 chips are connected with SDA interfaces, are communicated for IIC.P9 is GPS module Peripheral Interface in figure below, The input VIN pins of RT9193-33 voltage stabilizing chips are connected with P9 5 pins, and the EN pins of RT9193-33 voltage stabilizing chips meet VCC, 3.3V voltages after the output pin VOUT output voltage stabilizings of RT9193-33 voltage stabilizing chips are connect by two filter capacitors of C96, C97 Enter into VCC3.3 networks;
MPU6050 module hardware circuits:If Fig. 7 is MPU6050 module hardware circuit diagrams, U2 is 3.3V voltage stabilizings electricity in upper figure Road, RT9193-33 are 3.3V linear regulator chips, and VIN pins are connected with P1 6 pins, VOUT pins and VCC3.3 network phases Even;P1 is MPU6050 module Peripheral Interfaces, and IIC SDA pins are connected with STM32F407ZET6 chips PC1, IIC SCL pins It is connected with STM32F407ZET6 chip PC0 pins, the module is connected with STM32F407ZET6 chips by iic bus;Using IIC communication protocols;
SIM900A chip main circuits:Fig. 8 is SIM900A module main circuit diagrams, and microphone interface MIC1 and MIC2 pass through coupling Electric capacity C59 ~ C71 is closed with SIM900A chips to be connected;Wherein, MIC1 pins 1,2 are connected with SIM900A MICP pins, and MIC1 draws Pin 3 is connected with SIM900A MICN pins, and MIC2 pins 1,2 are connected with SIM900A SPP pins, MIC2 pins 3 with SIM900A SPN pins are connected;Button cell BAT1 negative pole ground connection, positive pole are connected with SIM900A VRTC pins, switched KEY1 one end is connected with SIM900A PWRKEY, and SMA antennas pass through C40, C43 and R29 circuit formed and SIM900A Pin RF be connected, NET_STA1 be LED light be used for indicate current operating state, pass through resistance R31 and SIM900A NetLED pins are connected;
SIM900A module serial communication interface circuits:Fig. 9 is serial communication circuit, and chip SP3232 pins 1,3 pass through electricity Hold C37 to be connected, pin 2,6 is grounded by electric capacity C39, C44 respectively, and pin 4,5 is connected by electric capacity C41;Chip SP3232 draws 8,7,3,2 pins of the pin 7,8,13,14 respectively with RS232 COM are connected;Chip SP3232 pin 15 is grounded, and pin 16 passes through Filter capacitor C36 is connected with VCC BAT;Chip SP3232 pins 9 are drawn by resistance R48 and SIM900A chips main circuit in Fig. 8 Pin RTS is connected;Chip SP3232 pins 10 are connected by resistance R47 with SIM900A chips main circuit pin CTS in Fig. 8;Chip Pin PA2, PA3 pin of the SP3232 pins 11,12 respectively with STM32F407ZET6 chips in Fig. 1 is connected;
SIM900A module RS232/RS485 interface circuits:Figure 10 is SIM900A module RS232/RS485 interface circuits Figure, P10 is contact pin, and pin 1 is connected by transistor circuit S8050 with the TXD pins of SIM900A chip main circuits, and pin 2 is logical The RXD pins that diode circuit is crossed with SIM900A chip main circuits are connected, STM32F407ZET6 chips in pin 3,4 and Fig. 1 Pin PA2, PA3 pin be connected, pin 5,6 passes through the DBG TXD of resistance R44 and R45 and SIM900A chip main circuits respectively Pin is connected with DBG RXD pins;
SIM900A module voltage-stabilized power supply circuits:Figure 11 is SIM900A module voltage-stabilized power supply circuit figures.Voltage stabilizing chip in figure MP2303 pin 1 is connected with pin 3 by electric capacity C52 inductance L1 and diode the D8 circuit formed, and pin 2 passes through electric capacity C50 is connected with VCC IN networks, and pin 4 is hanging, and pin 5 is connected with resistance R56, resistance R57 the bleeder circuit midpoint formed, draws Pin 6 is grounded by electric capacity C55 resistance R55, and pin 7 is connected with R49, R51 bleeder circuit midpoint formed;Pin 8 passes through electric capacity 8 Ground connection;Circular pin plug DC_IN pins 2,3 are grounded, and pin 1 accesses VCC INX networks by diode D7;
SIM900A module switch and button cell power supply circuit:Figure 12 is that SIM900A module switch and button cell are powered Circuit diagram.K2 is key-press circuit for switch, and when switch is pressed, K2 pin 2 is connected with pin 3, and circuit is connected.P7 is contact pin, Pin 1 is connected with VCC BAT networks, and pin 2 is grounded;D9 is voltage-regulator diode in right figure, and negative pole meets VCC BAT, and positive pole connects Ground, filter capacitor C69 mono- terminate VCC BAT, one end ground connection;
SIM900A module contact pin pin circuitries:Figure 13 is SIM900A module contact pin pin circuitry figures.Wherein P3, P4, P5 For contact pin, it is connected respectively at the network in diagram;
SIM card slot circuit:Figure 14 is SIM card slot circuit diagram.U9 is SIM card slot pin 1 and SIM900A chips SIM_DATA pins are connected;Pin 2 is hanging;Pin 3 is grounded;Pin 4 is connected with the SIM CLK pins of SIM900A chips, pin 5 are connected with SIM900A SIM RST pins, and pin 6 is connected with SIM900A SIM VDD;U10 is SMF05C electrostatic and locking Protect chip, pin 1 is connected with the SIM_DATA pins of SIM900A chips, and pin 2 is hanging, and pin 3 is grounded, pin 4 and The SIM CLK pins of SIM900A chips are connected, and pin 5 is connected with SIM900A SIM RST pins, pin 6 and SIM900A's SIM VDD are connected;
SD card hardware circuit:Figure 15 is SD card hardware circuit diagram.Left figure is SD card slot circuit in figure, the CD/ of SD slots DATA3 pins are connected with STM32F407ZET6 PA3 pins, and CMD pins are connected with STM32F407ZET6 PA7 pins, CLK Pin is connected with STM32F407ZET6 PA5 pins, and DATA0 pins are connected with STM32F407ZET6 PA6 pins, and VSS draws Pin is grounded, and VDD pins meet VCC3.3, and VSS pins meet VCC3.3 by electric capacity C54;Right figure is the pin with STM32F407ZET6 Pull-up resistor circuit, its resistance R50, R52, R53, R54 mono- terminate VCC3.3, the other end is respectively with STM32F407ZET6's PA3, PA7, PA5, PA6 pin are connected;
TFT liquid crystal screen module hardware circuits:Figure 16 is TFT liquid crystal screen module hardware circuit diagrams.TFT_LCD is liquid crystal in figure Shield socket, data pin DB1 ~ DB16 is connected with STM32F407ZET6 PB0 ~ PB16 pins respectively, LCD_CS pins and PC9 It is connected, WR pins are connected with PC7 pins, and RS pins are connected with PC8, and RD pins are connected with PC6 pins;TFT_LCD GND pin Ground connection, T_PEN pins are connected by the filter circuit that R59, R60, C75 are formed with TM32F407ZET6 PC1 pins, and MISO draws Pin is connected with PC2, and T_CS pins are connected with PC13 pins, and CLK pin is connected with PC0 pins, MOSI pins and PC3 pin phases Even;
OV2640 camera module chip main circuits:Figure 17 is OV2640 camera module chip main circuit diagrams.OV2640 In chip in Y1-Y9 pins and SIO_C, SIO_D, PCLK, HREF, VSYNC, XVCLK, PWDN, RESETB pin and Figure 19 P8 2x9 sockets are connected in OV2640 camera modules slot and crystal oscillating circuit;DOVDD, EVDD pin pass through filter capacitor C76, C77, C78 are connected with VCC2.8 networks, and DVDD pins are connected by filter capacitor C85, C86 with VCC1.3 networks;SVDD、 AVDD pins are connected by C87, C88, C89 with VCC2.8A networks;SGND, ADNG, EGND, DOGND, DGND pin are grounded, VREFN, VREFH pin are grounded by electric capacity C93, C98;
OV2640 camera module voltage-stabilized power supply chip circuits:Figure 18 is OV2640 camera module voltage-stabilized power supplies chip electricity Lu Tu, RT9193-2.8 chip pins 1,3 connect VCC3.3 networks in upper figure, and pin 2 is grounded, and pin 5 exports the direct current after voltage stabilizing Voltage is linked into VCC1.3 networks;XC6219B132MR chip pins 1,3 connect VCC3.3 networks in figure below, and pin 2 is grounded, drawn Pin 4 is grounded by filter capacitor C101, and pin 5 accesses VCC2.8 and VCC2.8A by electric capacity C91, electric capacity C92 and resistance R67 Network;
OV2640 camera modules slot and crystal oscillating circuit:Figure 19 is OV2640 camera modules slot and crystal oscillating circuit Figure.Upper figure is 12MHZ crystal oscillator socket circuits, and crystal oscillator socket pins 2 are grounded, and pin 4 connects VCC3.3 nets by filter capacitor C81 Network, pin 3 connect OV2640 chip XVCLK pins;Figure below is camera module slot circuit, and the 1 of camera module slot P8 draws Pin is grounded, and 2 pins meet VCC, 3-17 pins respectively PE8, PE12 with STM32F407ZET6, PE9, PE11, PE0, PE15, PE2, PE1, PE4, PE3, PE6, PE5, PE10, PE7, PE14 pin are connected;
USB interface and voltage-stabilized power supply circuit:Figure 20 is USB interface and voltage-stabilized power supply circuit figure.USB 1, USB2 connect for USB Mouth socket, pin 1 meet VCC, and pin 2 meets GND, and D- is connected by R27 with STM32F407ZET6 PA11 pins in USB1, D+ It is connected by resistance R28 with STM32F407ZET6 PA12 pins;The DM pins that D- pins pass through R32 and PL2303 in USB2 It is connected, D+ is connected by resistance R33 with PL2303 DP pins;BUTTON is switch key, and pin 3,4 is connected with VCC, pin 5 are connected with VOUT2 contact pin, and pin 2 passes through filter capacitor C49, C47 and voltage stabilizing chip AMS1117-3.3 input pin 3 It is connected, AMS1117 pin 2,4 is connected in VCC3.3 networks as the deferent segment of voltage;
USB turns serial port chip PL2303 main circuits:Figure 21 is that USB turns serial port chip PL2303 main circuit diagrams.In figure The TXD pins of PL2303 chips are connected with STM32F407ZET6 PA9 pins, RXD pins and STM32F407ZET6 PA10 Pin is connected;DTR_N pins are connected with resistance R17, R16, and pin RTS_N is connected with resistance R19, and pin VDD_232 passes through C17 Ground connection, pin GND ground connection, VDD meet VCC5, and pin VDD_3V3 is grounded by electric capacity C21, pin GND_3V3, PLL_TEST, GND_PLL is grounded;Pin VDD_PLL, LD_MODE, TRI_MODE, VDD, RESET are connected with VCC5, pin OSC1, OSC2 with The crystal oscillating circuit for having Y3, C18, C19 to form is connected.
The present invention is described in further detail below in conjunction with the accompanying drawings:
The present invention includes for detecting whether the acceleration module to get into an accident, receives the central processing with processing data Device, the camera being connected with central processing unit, the SD memory modules being connected with central processing unit, the energy being connected with central processing unit The GPS module of record automobile position, the GPRS module for wirelessly transmitting data being connected with central processing unit in real time, and give The power module of above-mentioned module for power supply, specific APP mobile terminals.
Operation principle:Personal information and information of vehicles are bound specific hand by user by key-press input, and by GPRS Machine.After automobile starting, the device brings into operation, acceleration of the acceleration module in monitoring automobile in real time.Once work as highway On traffic accident occur when, i.e. the acceleration of automobile has exceeded defined threshold value, then central processing unit can automatically control SD storage set It is standby, by the real time data deposit SD card of camera.Meanwhile central processing unit can also make GPS by GPRS that automobile is current Coordinate is sent to specific APP, so using APP people its position that traffic accident occurs can be known in the very first time so that wound The probability that person is succoured greatly increases.
As Figure 23 illustrates, the present invention is made up of following components:
STM32 minimum systematic modules, for being communicated with peripheral module and real-time processing data.Acceleration analysis mould Block, for detecting vehicle 3-axis acceleration in real time.GPS module, the longitude and latitude being currently locked in for detecting vehicle.SD cards Module
(1)The acceleration module MPU6050 of measurement pickup in real time
MPU6050 internal integrations 3 axle gyroscopes and 3 axle acceleration sensors, and contain the 2nd II C interface, Available for connection external magnetic force sensor, and using the digital moving processor hardware accelerating engine carried, connect by main II C Mouthful, complete 9 axle fusion calculation data are exported to application end, attitude algorithm is so very easily realized, reduces fortune It is dynamic to handle load of the computing to operating system, while greatly reduce development difficulty.
(2)The SD memory modules of video are stored, facilitate the police to collect evidence.
(3)The GPS module U-BLOX NEO-6M of the real time measure car orientation.
Module core uses the NEO-V23 modules of UBLOX companies, compact, excellent performance.Followed the trail of with 50 passages Sensitivity reaches -161dBm, measures output frequency and reaches as high as 5Hz.Module carries ceramic antenna and MAXIM companies 20.5dB is high Gain LNA chips, satellite searching ability is strong, and carries Chargeable backup battery, can keep almanac data with power down.Module can pass through string Mouth carries out various parameters setting, is stored in EEPROM, easy to use.
(4)The car orientation Data Concurrent of the data and GPS module that receive SD card storage gives GPRS wireless communication modules Central processing unit STM32F103RCT6;
Processor using STM32F103RCT6 chips as supporting 2.4 cun colored TFT panel modules of core, onboard UART, USB, The multiple hardwares resources such as ADC voltage-regulations, button, jtag interface, color screen interface, running lamp, SD card interface, IO outlets.
(5)Receive central processing unit order send the data to specific APP by GPRS module SIM900A;
SIM900A is the technical grade double frequency GSM/GPRS modules of SIMCOM companies, and its working frequency range is double frequency:900/ 1800Mhz, voice, SMS can be realized with low-power consumption(Short message, multimedia message), data and facsimile message transmission.It supports RS232 strings Mouth and LVTTL serial ports(Support 3.3V/5V systems), and controlled with hardware flow, support 5V ~ 24V ultra-wide working range so that This module very easily can be attached with STM32 series of products, be passed so as to stop work including voice, short message and GORS data Transmission function.
(6)The power module of driving is provided for above-mentioned module, its own does not only have rechargeable battery, moreover it is possible to automobile power source phase Even and to its cells charging and the power supply of whole circuit;
(7)It is installed on the specific APP of the mobile terminals such as mobile phone, energy real-time reception GPRS signals, and embedded commercial map, energy Enough to come out traffic accident position display, convenient use personnel alarm, the sequence of operations such as call for an ambulance.
Referring to shown in Fig. 1, Figure 20 and Figure 21, the high speed traffic accident automatic alarm system based on STM32 uses Yi Fa companies STM32F407ZET6 as main control chip, pin PA9 and PA10 and serial ports download circuit PL2303's on main control chip TXD with RXD pins are connected, and are used as download program and USB RS 232 communication protocols.USB interface and VOUT1, VOUT2 interfaces can input the operation of external voltage supply arrangement, and the external voltage scope of access is 5V ~ 12V, passes through voltage stabilizing chip AMS1117 is converted to stable 3.3V voltages supply host processor chip and external equipment operation, and electric capacity C48, C49 are as filter Ripple electric capacity can filter out the low-frequency noise of input and output, play high-pass filtering effect, C46, C47 can filter out as filter capacitor The high-frequency noise of input and output, play LPF effect.The line related circuit that Fig. 2,3 are STM32F407ZET6, in Fig. 2 Resistance is zero Europe resistance, in order to prevent the high-frequency noise that digital circuit is brought from bringing influence, analog circuit power supply on analog circuit Separately designed with digital circuit power source.Fig. 3 left figures are button cell power supply circuit, amplitude limit are carried out using diode, for master control Chip keeps data not lose under power-down conditions, and right figure is that jumper cap connects circuit, is drawn for connecting AD port reference voltages Pin and VDD supply voltage pins.Fig. 4 is JTAG debugging circuit, for debugging routine, JTAG chip TRST pins and primary processor PB4 is connected, and TDI pins are connected with PA15, and TMS pin is connected with PA13, and TCK pin is connected with PA14, TDO pins and PB3 phases Even.
Show GPS module hardware circuit diagram such as Fig. 5,6, P9 is GPS module Peripheral Interface in Fig. 5, GPS TXD pins with Main control chip PB11 pins are connected, and GPS RXD pins are connected with main control chip PB10 pins, and GPS module uses with main control chip Serial communication mode communicates, and J2 is signal transmitting and receiving antenna in GPS module circuit, is communicated for GPS module with satellite, XH414 is that button cell prevents loss of data after power down.24C32 chips are EEPROM storage chips in Fig. 6, for storing GPS Configuration parameter, prevent loss of data after power down.
If Fig. 7 is MPU6050 module hardware circuit diagrams, U2 is 3.3V mu balanced circuits, and RT9193-33 is 3.3V linear voltage stabilizations Chip.P1 is MPU6050 module Peripheral Interfaces, and IIC SDA pins are connected with main control chip PC1, IIC SCL pins and master control core Piece PC0 pins are connected, and the module is connected with main control chip by iic bus, using IIC communication protocols.
If Fig. 8,9,10,11,12,13,14 is SIM900A module hardware circuit diagrams, Fig. 8 is SIM900A chip main circuits, NET_STA1 is that LED light is used to indicate current operating state.P10 is that SIM900A module RS232 serial communications connect in Figure 10 Mouthful, USART TX are connected with main control chip PA3 pins, and USART RX are connected with main control chip PA2 pins, the module and master control core Piece is communicated using serial communication mode.MP2303 is 3.3V linear regulator chips in Figure 11, and output 3.3V DC voltage supplies are whole Individual module work, DC_IN are that circular plug can connect input of the external power source as MP2303.Left figure is opened for power supply in Figure 12 Close, middle figure and right figure are button cell power supply interlock circuit, and P7 is cell voltage output interface, and D9 is that voltage-regulator diode can limit Input voltage processed prevents battery reversal connection, and electric capacity C69 can be filtered to cell voltage.Figure 13 is that SIM900A module contact pins draw Pin, communicated for external equipment with SIM900A.Figure 14 is SIM card slot circuit.
Figure 15 is SD card module hardware circuit diagrams, and SD_CARD is the deck of SD cards, wherein CD/DATA3 pins in figure It is connected with main control chip PA3 pins, CMD pins are connected with main control chip PA7 pins, CLK pin and main control chip PA5 pin phases Even, DATA0 pins are connected with main control chip PA6 pins.SD card is communicated with main control chip using SPI communication agreement.
Figure 16 is TFT liquid crystal screen module hardware circuit diagrams, and TFT_LCD is TFT liquid crystal display sockets in figure, DB1 therein ~ DB16 pins are connected as parallel data transmission pin with PB0 ~ PB15 pins of main control chip, LCD CS pins and main control chip PC9 pins are connected, and LCD WR pins are connected with main control chip PC7 pins, and LCD RS pins are connected with main control chip PC8 pins, LCD RD pins are connected with main control chip PC6 pins, and BL pins are connected with main control chip PC10 pins, and above-mentioned five pins are TFT controlling switch.CLK pin is connected with main control chip PC0 pins, and MISO pins are connected with main control chip PC2 pins, MOSI Pin is connected with main control chip PC3 pins, and T_CS pins are connected with main control chip PC13 pins, and T_PEN pins pass through resistance The filter circuit that R59, R60 and electric capacity C75 are formed is connected with main control chip PC1.TFT liquid crystal displays five pins more than are adopted Fed back with SPI communication agreement to main control chip and touch site AD sample informations.
Figure 17,18,19 be OV2640 camera module hardware circuit diagrams, and Figure 17 is image sensor chip OV2640 peripheries Circuit, Figure 18 are linear voltage-stabilizing circuit, provide 1.3V and 2.8V voltages supply OV2640 chip normal works respectively.P8 in Figure 19 For OV2640 camera Peripheral Interfaces, OV D0 ~ OV D7 pins as camera parallel data bus line respectively with main control chip PE0 ~ PE7 pins are connected, and OV SCL pins are connected with main control chip PE8 pins, and OV SDA pins are connected with main control chip PE9 pins, OV PCLK pins are connected with main control chip PE10 pins, and OV HREF pins are connected with main control chip PE11 pins, OV VSYNC Pin is connected with main control chip PE12 pins, and OV PWDN pins are connected with main control chip PE14 pins, OV RESET pins and master Control chip PE15 pins are connected.Controlling switch of seven pins of the above as camera.Y4 is that 12Mhz has source crystal oscillator, as OV2640 XVCLK inputs.
According to Figure 22, the course of work of the high speed traffic accident automatic alarm system based on STM32 is exemplified below:Automatic report After alert system electrification, each module of system starts to initialize, and liquid crystal touch screen display dialogue after initialization, prompts driver's input People's information and APP receiving terminal IP address, driver input after relevant information to click on and determined by liquid crystal touch screen, automatic alarm System formally brings into operation.Normal operation after vehicle launch, automatic alarm system by GPS gathers current vehicle location information, Current vehicle acceleration and attitude information are gathered by MPU6050, at the same time OV2640 camera modules collection driving regards Frequently, SD card and by main control chip is stored in, now system does not send any information to APP clients.When traffic accident occurs, MPU6050 modules collect current acceleration and exceed the default acceleration rate threshold of program, or when vehicle overturns, The attitude information that MPU6050 modules collect by main control chip resolve judges that vehicle overturns, at this moment main control chip and SIM900A modules are communicated, and traffic accident information is sent to APP clients by GPRS(Packet information containing driver personal, and work as Preceding scene of an automobile accident position), after APP client receive informations, receiving terminal client takes corresponding action to rescue driver's expansion Help.
In the several part compositions of the present invention:
(1)The acceleration module MPU6050 of measurement pickup in real time
MPU6050 internal integrations 3 axle gyroscopes and 3 axle acceleration sensors, and contain the 2nd II C interface, Available for connection external magnetic force sensor, and using the digital moving processor hardware accelerating engine carried, connect by main II C Mouthful, complete 9 axle fusion calculation data are exported to application end, attitude algorithm is so very easily realized, reduces fortune It is dynamic to handle load of the computing to operating system, while greatly reduce development difficulty.
(2)The SD memory modules of video are stored, facilitate the police to collect evidence.
(3)The GPS module U-BLOX NEO-6M of the real time measure car orientation.
Module core uses the NEO-V23 modules of UBLOX companies, compact, excellent performance.Followed the trail of with 50 passages Sensitivity reaches -161dBm, measures output frequency and reaches as high as 5Hz.Module carries ceramic antenna and MAXIM companies 20.5dB is high Gain LNA chips, satellite searching ability is strong, and carries Chargeable backup battery, can keep almanac data with power down.Module can pass through string Mouth carries out various parameters setting, is stored in EEPROM, easy to use.
(4)The car orientation Data Concurrent of the data and GPS module that receive SD card storage gives GPRS wireless communication modules Central processing unit STM32F103RCT6;
Processor using STM32F103RCT6 chips as supporting 2.4 cun colored TFT panel modules of core, onboard UART, USB, The multiple hardwares resources such as ADC voltage-regulations, button, jtag interface, color screen interface, running lamp, SD card interface, IO outlets.
(5)Receive central processing unit order send the data to specific APP by GPRS module SIM900A;
SIM900A is the technical grade double frequency GSM/GPRS modules of SIMCOM companies, and its working frequency range is double frequency:900/ 1800Mhz, voice, SMS can be realized with low-power consumption(Short message, multimedia message), data and facsimile message transmission.It supports RS232 strings Mouth and LVTTL serial ports(Support 3.3V/5V systems), and controlled with hardware flow, support 5V ~ 24V ultra-wide working range so that This module very easily can be attached with STM32 series of products, be passed so as to stop work including voice, short message and GORS data Transmission function.
(6)The power module of driving is provided for above-mentioned module, its own does not only have rechargeable battery, moreover it is possible to automobile power source phase Even and to its cells charging and the power supply of whole circuit.
(7)It is installed on the specific APP of the mobile terminals such as mobile phone, energy real-time reception GPRS signals, and embedded commercial map, energy Enough to come out traffic accident position display, convenient use personnel alarm, the sequence of operations such as call for an ambulance.

Claims (1)

  1. A kind of 1. high speed traffic accident automatic alarm system based on STM32, it is characterised in that:It is by STM32 minimum systems, STM32 Minimum system power supply filter circuit, STM32 minimum systems button cell power supply and AD power supply circuits, JTAG program debuggings circuit, Gps antenna and data processing circuit, GPS power supplies and data storage circuitry, MPU6050 module hardwares circuit, SIM900A chip masters Circuit, SIM900A module serial communication interfaces circuit, SIM900A module RS232/RS485 interface circuits, SIM900A modules are steady Piezoelectricity source circuit, SIM900A module switch and button cell power supply circuit, SIM900A module contact pins pin circuitry, SIM card are inserted Groove circuit, SD card hardware circuit, TFT liquid crystal screen modules hardware circuit, OV2640 camera module chips main circuit, OV2640 take the photograph As head module voltage-stabilized power supply chip circuit, OV2640 camera modules slot and crystal oscillating circuit, USB interface and voltage-stabilized power supply electricity Road, USB turn serial port chip PL2303 main circuits composition;
    STM32 minimum systems:The oscillating circuit both ends that crystal oscillator Y2 and electric capacity C6, C9 are formed respectively with STM32F407ZET6 chips PC14, PC15 pin be connected;The oscillating circuit both ends that crystal oscillator Y1 and electric capacity C7, C8 are formed respectively with STM32F407ZET6 cores PH0, PH1 pin of piece are connected;The VDD pins of STM32F407ZET6 chips are connected with 3.3V voltage ports, VSS pins ground connection;
    STM32 minimum systems power supply filter circuit:Zero resistance one end, Europe is connected with the VCC3.3 of digital circuit, the other end and simulation Circuit VCC3.3M is connected;Electric capacity is all in parallel, and one end is connected with analog circuit VCC3.3M, other end ground connection;
    STM32 minimum systems button cell is powered and AD power supply circuits:1N4148 diode cathodes end and STM32F407ZET6 cores The VBAT pins of piece are connected;Jumper cap P2 1 interface is connected with the VREF+ of STM32F407ZET6 chips, 2 interfaces and VDD phases Even;
    JTAG program debugging circuits:JTAG chip TRST pins are connected with the PB4 of STM32F407ZET6 chips, TDI pins with The PA15 of STM32F407ZET6 chips is connected, and TMS pin is connected with the PA13 of STM32F407ZET6 chips, TCK pin with The PA14 of STM32F407ZET6 chips is connected, and TDO pins are connected with the PB3 of STM32F407ZET6 chips;
    Gps antenna and data processing circuit:GPS_NEO-6 chip TXD pins and STM32F407ZET6 chip PB11 pin phases Even, GPS_NEO-6 chip RXD pins are connected with STM32F407ZET6 chip PB10 pins;LED cathode and GPS_NEO-6 chips TIMEPULSE pins are connected;The RFIN pins that antenna J2 passes through the circuit that electric capacity C99 and inductance L3 is formed and MAX2659 chips It is connected, MAX2659 chip RFOUT pins are connected by electric capacity C90 with GPS_NEO-6 RF_IN pins, button cell XH414 Positive pole is connected with GPS_NEO-6 chip V_BCKP pins;
    GPS powers and data storage circuitry:The SCL interface and SDA interfaces of GPS_NEO-6 chips respectively with AT24C32 chips SCL interfaces are connected with SDA interfaces;P9 is GPS module Peripheral Interface, the input VIN pins of RT9193-33 voltage stabilizing chips and P9's 5 pins are connected, and the EN pins of RT9193-33 voltage stabilizing chips connect VCC, the output pin VOUT outputs of RT9193-33 voltage stabilizing chips 3.3V voltages after voltage stabilizing are linked into VCC3.3 networks by two filter capacitors of C96, C97;
    MPU6050 module hardware circuits:U2 is 3.3V mu balanced circuits, and RT9193-33 is 3.3V linear regulator chips, VIN pins It is connected with P1 6 pins, VOUT pins are connected with VCC3.3 networks;P1 is MPU6050 module Peripheral Interfaces, IIC SDA pins Be connected with STM32F407ZET6 chips PC1, IIC SCL pins are connected with STM32F407ZET6 chip PC0 pins, the module with STM32F407ZET6 chips are connected by iic bus;
    SIM900A chip main circuits:Microphone interface MIC1 and MIC2 passes through coupled capacitor C59 ~ C71 and SIM900A chip phases Even;MIC1 pins 1,2 are connected with SIM900A MICP pins, and MIC1 pins 3 are connected with SIM900A MICN pins, and MIC2 draws Pin 1,2 is connected with SIM900A SPP pins, and MIC2 pins 3 are connected with SIM900A SPN pins;Button cell BAT1's is negative Pole is grounded, and positive pole is connected with SIM900A VRTC pins, switchs KEY1 one end and be connected with SIM900A PWRKEY, SMA days Line is connected by the circuit that C40, C43 and R29 are formed with SIM900A pin RF, NET_STA1 by resistance R31 with SIM900A netLED pins are connected;
    SIM900A module serial communication interface circuits:Chip SP3232 pins 1,3 are connected by electric capacity C37, and pin 2,6 is distinguished It is grounded by electric capacity C39, C44, pin 4,5 is connected by electric capacity C41;Chip SP3232 pins 7,8,13,14 respectively with RS232 COM 8,7,3,2 pins are connected;Chip SP3232 pin 15 is grounded, and pin 16 passes through filter capacitor C36 and VCC BAT phases Even;Chip SP3232 pins 9 are connected by resistance R48 with SIM900A chip main circuit pins RTS;Chip SP3232 pins 10 It is connected by resistance R47 with SIM900A chip main circuit pins CTS;Chip SP3232 pins 11,12 respectively with Pin PA2, PA3 pin of STM32F407ZET6 chips is connected;
    SIM900A module RS232/RS485 interface circuits:P10 is contact pin, pin 1 by transistor circuit S8050 with The TXD pins of SIM900A chip main circuits are connected, and pin 2 is drawn by the RXD of diode circuit and SIM900A chip main circuits Pin is connected, and pin 3,4 is connected with pin PA2, PA3 pin of STM32F407ZET6 chips, and pin 5,6 passes through resistance R44 respectively It is connected with R45 with the DBG TXD pins and DBG RXD pins of SIM900A chip main circuits;
    SIM900A module voltage-stabilized power supply circuits:Voltage stabilizing chip MP2303 pin 1 and pin 3 by electric capacity C52 inductance L1 and The circuit that diode D8 is formed is connected, and pin 2 is connected by electric capacity C50 with VCC IN networks, and pin 4 is hanging, pin 5 and resistance The bleeder circuit midpoint that R56, resistance R57 are formed is connected, and pin 6 is grounded by electric capacity C55 resistance R55, pin 7 and R49, R51 The bleeder circuit midpoint of composition is connected;Pin 8 is grounded by electric capacity 8;Circular pin plug DC_IN pins 2,3 are grounded, and pin 1 passes through Diode D7 accesses VCC INX networks;
    SIM900A module switch and button cell power supply circuit:K2 is key-press circuit for switch, and K2 pin 2 is connected with pin 3, P7 is contact pin, and pin 1 is connected with VCC BAT networks, and pin 2 is grounded;D9 is voltage-regulator diode, and negative pole meets VCC BAT, and positive pole connects Ground, filter capacitor C69 mono- terminate VCC BAT, one end ground connection;
    SIM900A module contact pin pin circuitries:P3, P4, P5 are contact pin, are connected respectively at network;
    SIM card slot circuit:U9 is that SIM card slot pin 1 is connected with the SIM_DATA pins of SIM900A chips;Pin 2 is outstanding It is empty;Pin 3 is grounded;Pin 4 is connected with the SIM CLK pins of SIM900A chips, pin 5 and SIM900A SIM RST pins It is connected, pin 6 is connected with SIM900A SIM VDD;U10 is SMF05C electrostatic and latch-up protection chip, pin 1 and SIM900A The SIM_DATA pins of chip are connected, and pin 2 is hanging, and pin 3 is grounded, the SIM CLK pin phases of pin 4 and SIM900A chips Even, pin 5 is connected with SIM900A SIM RST pins, and pin 6 is connected with SIM900A SIM VDD;
    SD card hardware circuit:The CD/DATA3 pins of SD slots are connected with STM32F407ZET6 PA3 pins, CMD pins with STM32F407ZET6 PA7 pins are connected, and CLK pin is connected with STM32F407ZET6 PA5 pins, DATA0 pins with STM32F407ZET6 PA6 pins are connected, and VSS pins ground connection, VDD pins meet VCC3.3, and VSS pins are connect by electric capacity C54 VCC3.3;Resistance R50, R52, R53, R54 mono- of pull-up resistor circuit terminates VCC3.3, the other end respectively with STM32F407ZET6 PA3, PA7, PA5, PA6 pin is connected;
    TFT liquid crystal screen module hardware circuits:TFT_LCD is liquid crystal display socket, data pin DB1 ~ DB16 respectively with STM32F407ZET6 PB0 ~ PB16 pins are connected, and LCD_CS pins are connected with PC9, and WR pins are connected with PC7 pins, and RS draws Pin is connected with PC8, and RD pins are connected with PC6 pins;TFT_LCD GND pin ground connection, T_PEN pins pass through R59, R60, C75 The filter circuit of composition is connected with TM32F407ZET6 PC1 pins, and MISO pins are connected with PC2, and T_CS pins draw with PC13 Pin is connected, and CLK pin is connected with PC0 pins, and MOSI pins are connected with PC3 pins;
    OV2640 camera module chip main circuits:Y1-Y9 pins and SIO_C, SIO_D in OV2640 chips, PCLK, The 2x9 sockets of HREF, VSYNC, XVCLK, PWDN, RESETB pin and P8 in OV2640 camera modules slot and crystal oscillating circuit It is connected;DOVDD, EVDD pin are connected by filter capacitor C76, C77, C78 with VCC2.8 networks, and DVDD pins pass through filtered electrical Hold C85, C86 with VCC1.3 networks to be connected;SVDD, AVDD pin are connected by C87, C88, C89 with VCC2.8A networks;SGND、 ADNG, EGND, DOGND, DGND pin are grounded, and VREFN, VREFH pin are grounded by electric capacity C93, C98;
    OV2640 camera module voltage-stabilized power supply chip circuits:RT9193-2.8 chip pins 1,3 connect VCC3.3 networks, pin 2 Ground connection, the DC voltage that pin 5 exports after voltage stabilizing are linked into VCC1.3 networks;XC6219B132MR chip pins 1,3 connect VCC3.3 networks, pin 2 are grounded, and pin 4 is grounded by filter capacitor C101, and pin 5 passes through electric capacity C91, electric capacity C92 and resistance R67 accesses VCC2.8 and VCC2.8A networks;
    OV2640 camera modules slot and crystal oscillating circuit:Crystal oscillator socket pins 2 are grounded, and pin 4 is connect by filter capacitor C81 VCC3.3 networks, pin 3 connect OV2640 chip XVCLK pins;Camera module slot P8 1 pin ground connection, 2 pins meet VCC, 3-17 pins respectively PE8, PE12 with STM32F407ZET6, PE9, PE11, PE0, PE15, PE2, PE1, PE4, PE3, PE6, PE5, PE10, PE7, PE14 pin are connected;
    USB interface and voltage-stabilized power supply circuit:USB 1, USB2 are usb socket, and pin 1 meets VCC, and pin 2 meets GND, USB1 Middle D- is connected by R27 with STM32F407ZET6 PA11 pins, and D+ is drawn by resistance R28 and STM32F407ZET6 PA12 Pin is connected;D- pins are connected by R32 with PL2303 DM pins in USB2, the DP pins that D+ passes through resistance R33 and PL2303 It is connected;BUTTON is switch key, and pin 3,4 is connected with VCC, and pin 5 is connected with VOUT2 contact pin, and pin 2 passes through filtered electrical Hold C49, C47 with voltage stabilizing chip AMS1117-3.3 input pin 3 to be connected, AMS1117 pin 2,4 is as the defeated of voltage Go out section to be connected in VCC3.3 networks;
    USB turns serial port chip PL2303 main circuits:The PA9 pin phases of the TXD pins of PL2303 chips and STM32F407ZET6 Even, RXD pins are connected with STM32F407ZET6 PA10 pins;DTR_N pins are connected with resistance R17, R16, pin RTS_N It is connected with resistance R19, pin VDD_232 is grounded by C17, and pin GND ground connection, VDD meets VCC5, and pin VDD_3V3 passes through electricity Hold C21 ground connection, pin GND_3V3, PLL_TEST, GND_PLL ground connection;Pin VDD_PLL, LD_MODE, TRI_MODE, VDD, RESET is connected with VCC5, and pin OSC1, OSC2 are connected with the crystal oscillating circuit for having Y3, C18, C19 to form.
CN201610291166.2A 2016-05-05 2016-05-05 High speed traffic accident automatic alarm system based on STM32 Active CN105946769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610291166.2A CN105946769B (en) 2016-05-05 2016-05-05 High speed traffic accident automatic alarm system based on STM32

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610291166.2A CN105946769B (en) 2016-05-05 2016-05-05 High speed traffic accident automatic alarm system based on STM32

Publications (2)

Publication Number Publication Date
CN105946769A CN105946769A (en) 2016-09-21
CN105946769B true CN105946769B (en) 2017-11-10

Family

ID=56913861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610291166.2A Active CN105946769B (en) 2016-05-05 2016-05-05 High speed traffic accident automatic alarm system based on STM32

Country Status (1)

Country Link
CN (1) CN105946769B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257419A (en) * 2017-12-18 2018-07-06 昆明理工大学 A kind of vehicle on highway failure reminds embedded equipment in real time
CN109738668A (en) * 2019-01-11 2019-05-10 大连民族大学 A kind of acceleration detection system and method based on STM32

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008049718A (en) * 2006-08-22 2008-03-06 Toyota Motor Corp Occupant crash protection device for vehicle
CN103021125A (en) * 2012-11-29 2013-04-03 浙江吉利汽车研究院有限公司杭州分公司 Automobile collision automatic alarm system
CN103886727A (en) * 2013-11-29 2014-06-25 南昌大学 Vehicle-mounted fatal traffic accident automatic alarm and antitheft system
CN203876698U (en) * 2014-06-05 2014-10-15 吉林大学 Automobile accident help-calling system
CN205836750U (en) * 2016-05-05 2016-12-28 吉林大学 High speed traffic accident automatic alarm system based on STM32

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8676151B2 (en) * 2010-10-19 2014-03-18 Guardity Technologies, Inc. Detecting a transport emergency event and directly enabling emergency services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008049718A (en) * 2006-08-22 2008-03-06 Toyota Motor Corp Occupant crash protection device for vehicle
CN103021125A (en) * 2012-11-29 2013-04-03 浙江吉利汽车研究院有限公司杭州分公司 Automobile collision automatic alarm system
CN103886727A (en) * 2013-11-29 2014-06-25 南昌大学 Vehicle-mounted fatal traffic accident automatic alarm and antitheft system
CN203876698U (en) * 2014-06-05 2014-10-15 吉林大学 Automobile accident help-calling system
CN205836750U (en) * 2016-05-05 2016-12-28 吉林大学 High speed traffic accident automatic alarm system based on STM32

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于STM32的车辆遇险远程报警系统设计;龙永;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20160315(第03期);第35-167页 *

Also Published As

Publication number Publication date
CN105946769A (en) 2016-09-21

Similar Documents

Publication Publication Date Title
CN101964120A (en) Low-carbon intelligent automobile driving recorder
CN204548328U (en) Multi-functional formula unpowered vehicle
CN105946769B (en) High speed traffic accident automatic alarm system based on STM32
TWM415291U (en) Driving navigation device combined with image capturing and recognizing functions
CN104391250A (en) Electric vehicle battery mobile phone monitoring system
CN109325565A (en) A kind of electric bicycle intelligent management system and special electronic license plate
CN204143511U (en) A kind of wire-less vehicle-running registering instrument
CN205836750U (en) High speed traffic accident automatic alarm system based on STM32
CN203397452U (en) Multipurpose moveable antitheft device
CN111532278A (en) Vehicle intelligent driving auxiliary monitoring device, mobile terminal and system
CN203250378U (en) Antitheft device of notebook computer
CN203047163U (en) Anti-theft device for vehicle
CN104237903A (en) GPS positioning device
CN204331857U (en) Drive recorder
CN206147776U (en) Automobile traveling data recorder
CN202907883U (en) Motorcycle helmet with safety device and motorcycle
CN202669749U (en) Beidou navigation system and GPS (global positioning system) dual-mode vehicular monitoring terminal
CN209785078U (en) Intelligent navigation core board of label making machine
CN203698164U (en) Beidou vehicle-mounted wireless positioning terminal with fingerprint identification function
CN204031341U (en) Multifunctional vehicle mounted video server
CN102759737A (en) Big Dipper satellite locating navigation vehicle-mounted terminal
CN108830972A (en) A kind of embedded type intelligence OBU bicycle recording apparatus
CN108447296A (en) A kind of car monitoring system based on Big Dipper positioning
CN208655041U (en) A kind of car monitoring system based on Beidou positioning
CN211786038U (en) Anti-dismantling circuit structure of intelligent sharing terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant