GR20210100142A - Automatic display of accident data on the police website just the moment the accident happens - Google Patents

Automatic display of accident data on the police website just the moment the accident happens Download PDF

Info

Publication number
GR20210100142A
GR20210100142A GR20210100142A GR20210100142A GR20210100142A GR 20210100142 A GR20210100142 A GR 20210100142A GR 20210100142 A GR20210100142 A GR 20210100142A GR 20210100142 A GR20210100142 A GR 20210100142A GR 20210100142 A GR20210100142 A GR 20210100142A
Authority
GR
Greece
Prior art keywords
accident
aircraft
vehicle
police
website
Prior art date
Application number
GR20210100142A
Other languages
Greek (el)
Other versions
GR1010418B (en
Inventor
Χρηστος Αναστασιου Παπαναστασιου
Original Assignee
Χρηστος Αναστασιου Παπαναστασιου
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 Χρηστος Αναστασιου Παπαναστασιου filed Critical Χρηστος Αναστασιου Παπαναστασιου
Priority to GR20210100142A priority Critical patent/GR1010418B/en
Publication of GR20210100142A publication Critical patent/GR20210100142A/en
Publication of GR1010418B publication Critical patent/GR1010418B/en

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
    • G08G1/127Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams to a central station ; Indicators in a central station
    • G08G1/13Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams to a central station ; Indicators in a central station the indicator being in the form of a map
    • 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
    • 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
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • G08G1/205Indicating the location of the monitored vehicles as destination, e.g. accidents, stolen, rental

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Mechanical Engineering (AREA)
  • Alarm Systems (AREA)

Abstract

Novelty: an innovative system-device meant for the automatic display of accident data on the police website as soon as the accident happens is disclosed. Technical features: the invented device uses a properly designed hardware and a corresponding software. It is applicable to any vehicle or aircraft (large or small) which should be equipped with, at least, one airbag and a router. With a combined system of one or two microcontrollers, a GPS unit and a website at the police offices, it automatically notifies, without mediation of an operator or other communication system, police department as soon as an accident occurs, the exact date and time of the incident, the registration number the vehicle or the identity of the aircraft (if desired), the coordinates (latitude and longitude) of the location of the accident, the altitude at which the vehicle or the aircraft was located at the time of the accident as well as the speed of the vehicle or aircraft. Having all these coordinates displayed on the police website, the service officer type them into the Google Earth application to know the exact location of the accident and immediately send the necessary forces for help or release of people at risk.

Description

ΠΕΡΙΓΡΑΦΗ DESCRIPTION

Αυτόματη εμφάνιση στοιχείων ατυχήματος στην ιστοσελίδα της αστυνομίας, μόλις αυτό συμβεί Automatic display of accident details on the police website as soon as it happens

Η παρούσα εφεύρεση αναφέρεται στην αυτόματη εμφάνιση στοιχείων ατυχήματος στην ιστοσελίδα (web page) της αστυνομίας μόλις συμβεί ατύχημα με την συμμετοχή κάποιου οχήματος ή αεροσκάφους. The present invention refers to the automatic display of accident information on the police web page as soon as an accident involving a vehicle or aircraft occurs.

Ειδικότερα, η παρούσα εφεύρεση φροντίζει αυτόματα να ενημερώσει το Αστυνομικό Τμήμα, μόλις συμβεί κάποιο ατύχημα με οποιοδήποτε όχημα ή αεροσκάφος εμφανίζοντας στην ιστοσελίδα του αστυνομικού τμήματος (Web page) την ακριβή ημερομηνία και ώρα του συμβάντος, τον αριθμό κυκλοφορίας (πινακίδων) του οχήματος ή την ταυτότητα του αεροσκάφους (εφόσον αυτό είναι επιθυμητό), τις συντεταγμένες (γεωγραφικό πλάτος και γεωγραφικό μήκος) του σημείου όπου συνέβη το ατύχημα, το ύψος στο οποίο βρίσκονταν το όχημα ή αεροσκάφος καθώς και την ταχύτητα του οχήματος ή αεροσκάφους. Με την εμφάνιση όλων αυτών των στοιχείων στην ιστοσελίδα του αστυνομικού τμήματος, ο αξιωματικός υπηρεσίας έχοντας στην διάθεσή του όλα τα στοιχεία, θα γνωρίζει ακριβώς την τοποθεσία του συμβάντος, πληκτρολογώντας τις συντεταγμένες που εμφανίσθηκαν στην οθόνη του υπολογιστή του στην εφαρμογή Google Earth. In particular, the present invention automatically informs the Police Department, as soon as an accident occurs with any vehicle or aircraft, displaying on the police department's website (Web page) the exact date and time of the incident, the registration number (plates) of the vehicle or the the identity of the aircraft (if desired), the coordinates (latitude and longitude) of the place where the accident occurred, the altitude at which the vehicle or aircraft was located and the speed of the vehicle or aircraft. With the display of all this information on the website of the police department, the duty officer having all the information at his disposal, will know the exact location of the incident by typing the coordinates that appeared on his computer screen in the Google Earth application.

Πλεονέκτημα αυτής της εφεύρεσης είναι ότι με το συμβάν κάποιου ατυχήματος με οποιοδήποτε όχημα ή αεροσκάφος, οπουδήποτε στην επικράτεια κάθε χώρας, εφόσον το συγκεκριμένο όχημα ή αεροσκάφος διαθέτει την ηλεκτρονική συσκευή που παρουσιάζεται σε αυτή την εφεύρεση, (απαραίτητη προϋπόθεση είναι το όχημα ή αεροσκάφος να διαθέτει και δρομολογητή - router), αυτόματα θα ενεργοποιείται η ηλεκτρονική συσκευή της παρούσας εφεύρεσης και θα αποστέλλει μέσω internet και Wi-Fi όλα τα στοιχεία του εμπλεκομένου οχήματος ή αεροσκάφους για να εμφανισθούν αυτά στην ιστοσελίδα (Web page) του αστυνομικού τμήματος. Εχοντας στην διάθεσή του το αστυνομικό τμήμα τις συντεταγμένες όπου το ατύχημα συνέβη, με την χρήση της εφαρμογής Google Earth θα γνωρίζει αμέσως το ακριβές σημείο όπου αυτό συνέβη (και επί πλέον θα γνωρίζει και τα στοιχεία του οχήματος ή αεροσκάφους που ενεπλάκη - εφόσον αυτά εστάλησαν στην ιστοσελίδα του αστυνομικού τμήματος όταν εξ’ αρχής αυτό είναι επιθυμητό) για να αποστείλει άμεσα τις απαραίτητες δυνάμεις για βοήθεια ή απεγκλωβισμό ανθρώπων έτσι ώστε να αποφεύγεται η απώλεια ανθρώπινων ζωών. An advantage of this invention is that in the event of an accident with any vehicle or aircraft, anywhere in the territory of any country, as long as the specific vehicle or aircraft has the electronic device presented in this invention, (a necessary condition is that the vehicle or aircraft has and router), the electronic device of the present invention will automatically be activated and will send via internet and Wi-Fi all the data of the involved vehicle or aircraft in order to display them on the website (Web page) of the police department. With the police department having the coordinates where the accident occurred, using the Google Earth application they will immediately know the exact spot where it happened (and in addition they will also know the details of the vehicle or aircraft involved - if these were sent to the police department website when initially desired) to immediately dispatch the necessary forces to assist or extricate people so as to avoid loss of life.

Διαδικασία λειτουργίας της εφαρμογής Operation process of the application

Σέ κάθε όχημα ή αεροσκάφος (Σχήμα 7) θα πρέπει να εγκατασταθεί η συσκευή της παρούσας εφεύρεσης (SL-Save Lives) η οποία αποτελείται από δύο μικροελεγκτές (τον μικροελεγκτή Arduino Uno R3 και τον μικροελεγκτή ESP 8266-12Ε W-Fi module) ή από έναν μόνον μικροελεγκτή (τον μικροελεγκτή ESP 8266-12Ε W-Fi module Development board) και μια μονάδα GPS με την προϋπόθεση ότι το όχημα ή αεροσκάφος διαθέτει ήδη έναν δρομολογητή - router. Η συσκευή θα είναι συνεχώς σε λειτουργία (η τροφοδοσία της θα γίνεται μέσω της μπαταρίας του οχήματος ή αεροσκάφους), και η μονάδα GPS η οποία μπορεί να επικοινωνεί με τουλάχιστον 21 δορυφόρους, θα παρέχει συνεχώς στον μικροελεγκτή τις συντεταγμένες (γεωγραφικό πλάτος και μήκος) της θέσης του οχήματος ή αεροσκάφους καθώς και την ημερομηνία, ώρα και το ύψος όπου αυτό βρίσκεται και την ταχύτητά του. In every vehicle or aircraft (Figure 7) the device of the present invention (SL-Save Lives) should be installed which consists of two microcontrollers (the Arduino Uno R3 microcontroller and the ESP 8266-12E W-Fi module microcontroller) or a single microcontroller (the microcontroller ESP 8266-12E W-Fi module Development board) and a GPS module provided that the vehicle or aircraft already has a router. The device will be constantly in operation (it will be powered by the battery of the vehicle or aircraft), and the GPS unit which can communicate with at least 21 satellites, will continuously provide the microcontroller with the coordinates (latitude and longitude) of location of the vehicle or aircraft as well as the date, time and altitude where it is located and its speed.

Μόλις συμβεί το ατύχημα : Once the accident occurs:

α) για οποιοδήποτε όχημα, με το άνοιγμα οποιουδήποτε αερόσακου a) for any vehicle, with the opening of any airbag

β) για μεγάλο αεροσκάφος, με την αποκόλληση τουλάχιστον ενός από τα μαύρα κουτιά από την θέση τους b) for large aircraft, by detaching at least one of the black boxes from their position

γ) για μικρό αεροσκάφος, με το σπάσιμο οποιουδήποτε από τα τρία σκέλη του όπου στηρίζεται ο κάθε τροχός, c) for a small aircraft, by breaking any of its three legs where each wheel rests,

αυτόματα θα κλείσει ο διακόπτης (push button) S1 (Σχήμα 1) ή (Σχήμα 2) για οποιοδήποτε όχημα, (Σχήμα 3) ή (Σχήμα 4) για μεγάλο αεροσκάφος, (Σχήμα 5) ή (Σχήμα 6) για μικρό αεροσκάφος και η συσκευή μέσω του προγράμματος το οποίο θα λειτουργεί συνεχώς θα ενεργοποιήσει (μόλις αλλάξει η κατάσταση του ακροδέκτη εισόδου-εξόδου GPI014 με κωδικό D5 στο πρόγραμμα - σημείο ’’change input state at pin GPI014 - D5”) την αποστολή όλων των στοιχείων που η μονάδα GPS παρέχει στον μικροελεγκτή μέσω του internet και Wi-Fi στην ιστοσελίδα (Web page) του αστυνομικού τμήματος. Όλα τα στοιχεία που η μονάδα GPS παρέχει στον μικροελεγκτή κατά την στιγμή του ατυχήματος συμπεριλαμβανομένου και του αριθμού κυκλοφορίας του οχήματος ή της ταυτότητάς του αεροσκάφους ( εφόσον αυτό είναι επιθυμητό) θα αποσταλούν και θα εμφανισθούν στην ιστοσελίδα του αστυνομικού τμήματος 5 φορές. will automatically close the switch (push button) S1 (Figure 1) or (Figure 2) for any vehicle, (Figure 3) or (Figure 4) for a large aircraft, (Figure 5) or (Figure 6) for a small aircraft and the device through the program which will work continuously will activate (as soon as the state of the input-output pin GPI014 with code D5 changes in the program - point "change input state at pin GPI014 - D5") the sending of all data that the GPS unit provides the microcontroller via the internet and Wi-Fi to the website (Web page) of the police department. All the data that the GPS unit provides to the microcontroller at the time of the accident including the vehicle registration number or the aircraft ID (if desired) will be sent and displayed on the police department's website 5 times.

Ο αξιωματικός υπηρεσίας του αστυνομικού τμήματος αφού πληκτρολογήσει τις συντεταγμένες (γεωγραφικό πλάτος και γεωγραφικό μήκος που εμφανίζονται στην οθόνη του υπολογιστή του) στην εφαρμογή Google Earth θα γνωρίζει ακριβώς το σημείο του συμβάντος και κατά συνέπεια θα είναι σε θέση να ειδοποιήσει άμεσα τις πλησιέστερες στην θέση του συμβάντος μονάδες, για βοήθεια ή απεγκλωβισμό ανθρώπων που τυχόν έχουν εγκλωβιστεί The duty officer of the police station after typing the coordinates (latitude and longitude displayed on his computer screen) in the Google Earth application will know the exact spot of the incident and consequently will be able to immediately notify the nearest to his location incident units, to help or extricate people who may be trapped

Η εφεύρεση περιγράφεται παρακάτω με την βοήθεια και την αναφορά στα συνημμένα σχέδια (Σχήμα 1) έως και (Σχήμα 6), στα οποία φαίνεται το απαιτούμενο hardware. The invention is described below with the help and reference to the attached drawings (Figure 1) to (Figure 6), in which the required hardware is shown.

Απαιτούμενα εξαρτήματα Required components

Τα εξαρτήματα που απαιτούνται για την κατασκευή της παρούσας εφεύρεσης είναι τα παρακάτω: The components required for the construction of the present invention are the following:

Μικροελεγκτής Arduino Uno R3 (Σχήμα 1) ή (Σχήμα 3) ή (Σχήμα 5) Arduino Uno R3 microcontroller (Figure 1) or (Figure 3) or (Figure 5)

Ρυθμιστής τάσης LM11173.3V LM11173.3V voltage regulator

Μικροελεγκτής ESP8266-12E W-Fi module ESP8266-12E W-Fi module microcontroller

GPS ΝΕΌ-6Μ-0-001 GPS NEW-6M-0-001

1 αντίσταση του 1 ΚΩ 1 resistor of 1 KΩ

3 αντιστάσεις των 10ΚΩ 3 resistors of 10KΩ

1 αντίσταση των 2.2 ΚΩ 1 resistor of 2.2 KΩ

1 πυκνωτής των 470μF 1 capacitor of 470μF

1 push-button 1 push-button

ή εναλλακτικά (Σχήμα 2) ή (Σχήμα 4) ή (Σχήμα 6) or alternatively (Figure 2) or (Figure 4) or (Figure 6)

Μικροελεγκτής ESP8266-12E W-Fi module development board Microcontroller ESP8266-12E W-Fi module development board

GPS ΝΕΌ-6Μ-0-001 GPS NEW-6M-0-001

1 αντίσταση του 1 ΚΩ 1 resistor of 1 KΩ

3 αντιστάσεις των 10ΚΩ 3 resistors of 10KΩ

1 αντίσταση των 2.2 ΚΩ 1 resistor of 2.2 KΩ

1 πυκνωτής των 470μF 1 capacitor of 470μF

1 push-button 1 push-button

Περιγραφή Hardware Hardware Description

Ακολουθεί η περιγραφή καθενός από τα απαιτούμενα εξαρτήματα για την κατασκευή της εφεύρεσης. The following is a description of each of the components required to construct the invention.

1. Μικροελεγκτής Arduino Uno R3 1. Arduino Uno R3 microcontroller

Χρησιμοποιείται για το φόρτωμα του προγράμματος από τον Ηλεκτρονικό υπολογιστή στον μικροελεγκτή ESP8266 -12Ε καθώς και για την παροχή τάσης 5V στον ρυθμιστή τάσης LM1117. It is used to load the program from the PC to the ESP8266 -12E microcontroller as well as to supply 5V voltage to the LM1117 voltage regulator.

*Εναλλακτικά στην θέση του μικροελεγκτή ESP8266-12E Wi-Fi μπορούμε να χρησιμοποιήσουμε τον μικροελεγκτή ESP8266-12E Wi-Fi development board (χωρίς να χρησιμοποιηθούν ο μικροελεγκτής Arduino Uno R3 και ο ρυθμιστής τάσης LM1117 3.3V). Ο μικροελεγκτής ESP8266-12E Wi-Fi development board διαθέτει θύρα USB για την σύνδεσή του με τον ηλεκτρονικό υπολογιστή έτσι ώστε να φορτωθεί το πρόγραμμα από τον υπολογιστή στον μικροελεγκτή). Επίσης ο συγκεκριμένος μικροελεγκτής παρέχει την απαιτούμενη τάση των 3.3V για την τροφοδοσία του GPS και κατά συνέπεια δεν απαιτείται η χρήση του ρυθμιστή τάσης LM11173.3ν (Σχήμα 2) ή (Σχήμα 4) ή (Σχήμα 6). *Alternatively in place of the ESP8266-12E Wi-Fi microcontroller we can use the ESP8266-12E Wi-Fi development board microcontroller (without using the Arduino Uno R3 microcontroller and the LM1117 3.3V voltage regulator). The ESP8266-12E Wi-Fi development board microcontroller has a USB port to connect it to the computer so that the program can be loaded from the computer to the microcontroller). Also, this microcontroller provides the required voltage of 3.3V for powering the GPS and therefore the use of the LM11173.3ν voltage regulator (Figure 2) or (Figure 4) or (Figure 6) is not required.

2. Μικροελεγκτής ESP8266-12E module Wi-Fi ή ο μικροελεγκτής ESP8266-12E Wi-Fi module development board 2. ESP8266-12E Wi-Fi module microcontroller or the ESP8266-12E Wi-Fi module development board microcontroller

Ο μικροελεγκτής ESP8266-12E Wi-Fi module ή ο μικροελεγκτής ESP8266-12E W-Fi module development board περιλαμβάνει ενσωματωμένο Wi-Fi. Αρχικά προοριζόταν ως προσαρμογέας UART σε WiFi, επιτρέποντας σε άλλους μικροελεγκτές να συνδεθούν σε δίκτυο W-Fi και να κάνουν απλές συνδέσεις TCP / IP χρησιμοποιώντας εντολές τύπου Hayes. Ο μικροελεγκτής ESP8266-12E έγινε γρήγορα δημοφιλής ως αυτόνομος μικροελεγκτής λόγω της χαμηλή τιμής του. The ESP8266-12E Wi-Fi module microcontroller or the ESP8266-12E W-Fi module development board microcontroller includes built-in Wi-Fi. It was originally intended as a UART to WiFi adapter, allowing other microcontrollers to connect to a W-Fi network and make simple TCP/IP connections using Hayes-style commands. The ESP8266-12E microcontroller quickly became popular as a stand-alone microcontroller due to its low price.

Ο μικροελεγκτής ESP8266-12E ή ο μικροελεγκτής ESP8266-12E W-Fi module development board χρησιμοποιείται, λόγω του μικρού μεγέθους και της συνδεσιμότητας του σε W-Fi χωρίς την ανάγκη εξωτερικών ασπίδων όπως ο μικροελεγκτής Arduino. Διατηρείται σε κατάσταση ύπνου μόντεμ, ο οποίος διακόπτει τη σύνδεση W-Fi, για να καταναλώνει λιγότερη ενέργεια (χρησιμοποιώντας μόνο 15 ιπΑ Στην παρούσα εφεύρεση χρησιμοποιείται για W-Fi επικοινωνία και σύνδεση με το internet. The ESP8266-12E microcontroller or the ESP8266-12E W-Fi module development board is used, due to its small size and W-Fi connectivity without the need for external shields like the Arduino microcontroller. Modem is kept in sleep mode, which interrupts the W-Fi connection, to consume less energy (using only 15 mA) In the present invention it is used for W-Fi communication and internet connection.

3. Ρυθμιστής τάσης LM1117 3.3V 3. LM1117 3.3V voltage regulator

Ο LM1117 3.3 V είναι ένας ρυθμιστής χαμηλής τάσης με έξοδο 3.3V στα 800 ιπΑ ρεύματος φορτίου. The LM1117 3.3 V is a low voltage regulator with a 3.3V output at 800mA of load current.

Ο μικροελεγκτής ESP8266-12E W-Fi module και το GPS ΝΕΟ-6Μ-0-001 απαιτείται να τροφοδοτηθούν με τάση 3.3V. Ο ρυθμιστής τάσης LM1117 3.3 V δέχεται στην είσοδό του τάση 5V από τον μικροελεγκτή Arduino Uno R3 και παρέχει στην έξοδό του τάση 4. GPS NEO-6M-0-001 The microcontroller ESP8266-12E W-Fi module and the GPS NEW-6M-0-001 need to be powered with a voltage of 3.3V. The LM1117 3.3 V voltage regulator accepts a 5V voltage from the Arduino Uno R3 microcontroller and provides a 4V voltage at its output. GPS NEO-6M-0-001

Η μονάδα GPS ΝΕΟ-6Μ-0-001 χρησιμοποιεί τους διαθέσιμους δορυφόρους για να προσδιορίσει την θέση του σε πραγματικό χρόνο. The GPS unit NEO-6M-0-001 uses the available satellites to determine its position in real time.

Για να διαβάσουμε τις πληροφορίες που η μονάδα GPS μας παρέχει θα πρέπει να αποκωδικοποιήσουμε τα δεδομένα της Εθνικής Ενωσης Θαλάσσιων Ηλεκτρονικών (National Marine Electronics Association -NMEA) σε πληροφορίες που διαβάζονται εύκολα. To read the information that the GPS unit provides we need to decode the National Marine Electronics Association (NMEA) data into easily readable information.

Η κεραία της μονάδας GPS ΝΕΘ-6Μ-0-001 πρέπει να έχει πλήρη θέα στον ουρανό εξασφαλίζοντας μια ευθεία γραμμή σύνδεσης με όσο το δυνατόν περισσότερους ορατούς δορυφόρους. The antenna of the NETH-6M-0-001 GPS unit must have a full view of the sky ensuring a straight line of connection with as many visible satellites as possible.

Εμπόδια όπως είναι τα βουνά ή τα κτίρια μπλοκάρουν τα σχετικά αδύναμα σήματα του GPS. Obstacles such as mountains or buildings block relatively weak GPS signals.

Θα πρέπει να επισημάνουμε ότι ένας δέκτης GPS πρέπει να κλειδώσει το σήμα τουλάχιστον τριών δορυφόρων για να υπολογίσει τοποθεσία 2 διαστάσεων (γεωγραφικό πλάτος και γεωγραφικό μήκος) και να παρακολουθεί την κίνηση. Σε επαφή με τέσσερις ή περισσότερους δορυφόρους η μονάδα GPS μπορεί να προσδιορίσει την θέση του χρήστη τριών διαστάσεων (γεωγραφικό πλάτος, γεωγραφικό μήκος και ύψος). We should point out that a GPS receiver must lock onto the signal of at least three satellites to calculate a 2-dimensional location (latitude and longitude) and track movement. In contact with four or more satellites the GPS unit can determine the user's position in three dimensions (latitude, longitude and height).

Από την στιγμή που η μονάδα GPS έχει προσδιορίσει την θέση της, μπορεί να υπολογίσει και άλλες πληροφορίες όπως είναι η ταχύτητα, η ημερομηνία, η ώρα, το ύψος, ο αριθμός δορυφόρων με τους οποίους έχει συνδεθεί, κ.ο.κ. Once the GPS unit has determined its location, it can calculate other information such as speed, date, time, altitude, number of satellites it is connected to, etc.

To GPS στην παρούσα εφαρμογή χρησιμοποιείται για την συνεχή σύνδεση με δορυφόρους για τον προσδιορισμό της θέσης του (γεωγραφικό πλάτος και γεωγραφικό μήκος) την εύρεση του χρόνου, του ύψους και της ταχύτητας. The GPS in this application is used to continuously connect with satellites to determine the location (latitude and longitude) find the time, altitude and speed.

Η μονάδα GPS ΝΕΘ-6Μ-0-001 επικοινωνεί με τον μικροελεγκτή ESP8266-12E module Wi-Fi ή με τον μικροελεγκτή ESP8266-12E Wi-Fi development board μέσω σειριακής επικοινωνίας χρησιμοποιώντας τους ακροδέκτες ΤΧ και RX. The NETH-6M-0-001 GPS module communicates with the ESP8266-12E Wi-Fi module microcontroller or the ESP8266-12E Wi-Fi development board microcontroller via serial communication using the TX and RX terminals.

Η συνδεσμολογία μεταξύ όλων των παραπάνω μονάδων φαίνεται στα σχέδια (Σχήμα 1) ή (Σχήμα 3) ή (Σχήμα 5) και (Σχήμα 2) ή (Σχήμα 4) ή (Σχήμα 6) ανάλογα με τον μικροελεγκτή που θα χρησιμοποιήσουμε. The wiring between all the above units is shown in the drawings (Figure 1) or (Figure 3) or (Figure 5) and (Figure 2) or (Figure 4) or (Figure 6) depending on the microcontroller we will use.

Περιγραφή Software Software Description

Στην αρχή του προγράμματος, αποθηκεύουμε στην μεταβλητή “myURL” την ονομασία της ιστοσελίδας της Αστυνομίας, όπως φαίνεται παρακάτω, At the beginning of the program, we store in the variable “myURL” the name of the Police website, as shown below,

String myURL - 'http://MyWebSiteName.com/index.php?"; String myURL - 'http://MyWebSiteName.com/index.php?";

Στην μεταβλητή με ονομασία “third” αποθηκεύουμε τον αριθμό κυκλοφορίας αν πρόκειται για όχημα ή τον αριθμό ταυτότητος αν πρόκειται για αεροσκάφος (εφόσον μας ενδιαφέρει να αποστέλλεται και αυτή η πληροφορία), όπως φαίνεται παρακάτω, In the variable named "third" we store the registration number if it is a vehicle or the identification number if it is an aircraft (if we are interested in sending this information as well), as shown below,

String third="MMM9999"; String third="MMM9999";

Στην μεταβλητή με ονομασία “iOffsetTime” αποθηκεύουμε την ώρα αντιστάθμισης σε δευτερόλεπτα ανάλογα με την ζώνη ώρας (time zone) του κράτους στο οποίο είναι καταχωρημένο το όχημα ή αεροσκάφος και στο οποίο έχει εγκατασταθεί η συσκευή, όπως παρακάτω. In the variable named “iOffsetTime” we store the offset time in seconds depending on the time zone of the state in which the vehicle or aircraft is registered and in which the device is installed, as below.

int iOffsetTime=7200; int iOffsetTime=7200;

Με την έναρξη λειτουργίας της συσκευής, μέσω του προγράμματος το οποίο είναι εγκατεστημένο στον μικροελεγκτή ESP8266-12E module Wi-Fi ή στον μικροελεγκτή ESP8266-12E module Wi-Fi development board, χρησιμοποιώντας την ταυτότητα (id) και τον κωδικό (password) του Wi-Fi γίνεται η σύνδεση με το W-Fi, όπως παρακάτω. By starting up the device, through the program installed on the ESP8266-12E Wi-Fi module microcontroller or the ESP8266-12E Wi-Fi module development board microcontroller, using the Wi-Fi identity (id) and password (password) -Fi is connected to W-Fi, as below.

const char* wifild = "myIDxxxx"; //wifi Id const char* wifild = "myIDxxxx"; //wifi Id

const char* wifiPassword = "myPassword"; //wifi password const char* wifiPassword = "myPassword"; //wifi password

Στην συνέχεια, χρησιμοποιώντας τους ακροδέκτες (GPI04 και GPI05 με τους αντίστοιχους κωδικούς τους D2 και D1 ως RX και ΤΧ σειριακούς ακροδέκτες) επιτυγχάνεται σειριακή σύνδεση με την μονάδα GPS με την χρήση της εντολής. Then, using the terminals (GPI04 and GPI05 with their respective codes D2 and D1 as RX and TX serial terminals) a serial connection with the GPS unit is achieved using the command.

SoftwareSerial SerialCon(D2, D1); // The serial connection to the GPS device SoftwareSerial SerialCon(D2, D1); // The serial connection to the GPS device

Οι πληροφορίες που λαμβάνονται από τους δορυφόρους μέσω του GPS μπορεί να αποκωδικοποιηθούν χρησιμοποιώντας μια απλή βιβλιοθήκη του Arduino με ονομασία TinyGPS.++ The information received from the satellites via GPS can be decoded using a simple Arduino library called TinyGPS.++

FI TinyGPS++ βιβλιοθήκη παρέχει το γεωγραφικό πλάτος, το γεωγραφικό μήκος, τον αριθμό δορυφόρων που χρησιμοποιήθηκαν, την ώρα της ημέρας κ.ο.κ. FI TinyGPS++ library provides latitude, longitude, number of satellites used, time of day, etc.

Όταν οι πληροφορίες είναι διαθέσιμες από την μονάδα GPS (μετά την σύνδεσή της με έναν αριθμό δορυφόρων) οι επιθυμητές πληροφορίες αποθηκεύονται σε αντίστοιχες μεταβλητές, συγκεκριμένα : When the information is available from the GPS unit (after connecting it to a number of satellites) the desired information is stored in corresponding variables, namely :

Το γεωγραφικό πλάτος αποθηκεύεται στην μεταβλητή με ονομασία “flatitude”, το γεωγραφικό μήκος στην μεταβλητή με ονομασία “flongitude”, το ύψος στην μεταβλητή με ονομασία “faltitude” και η ταχύτητα στην μεταβλητή με ονομασία “fspeed”, όπως φαίνεται στο παρακάτω τμήμα κώδικα. The latitude is stored in the variable named “flatitude”, the longitude in the variable named “flongitude”, the height in the variable named “faltitude” and the speed in the variable named “fspeed”, as shown in the code snippet below.

while (SerialCon.available() > 0) //while data is available while (SerialCon.available() > 0) //while data is available

if (gpsObject.encode(SerialCon.read())) //read GPS data if (gpsObject.encode(SerialCon.read())) //read GPS data

if (gpsObject. location. isValid()) //check if GPS location is valid if (gpsObject. location. isValid()) //check if GPS location is valid

{ {

flatitude =gpsObject. location. rawLat(). deg; // Raw latitude in whole degrees flongitude=gpsObject. location. rawLng(). deg; // Raw longitude in whole degrees faltitude = gpsObject.altitude.meters(); flatitude = gpsObject. location. rawLat(). deg? // Raw latitude in whole degrees longitude=gpsObject. location. rawLng(). deg? // Raw longitude in whole degrees latitude = gpsObject.altitude.meters();

fspeed = gpsObject.speed.kmph(); fspeed = gpsObject.speed.kmph();

} }

Στην συνέχεια το πρόγραμμα διαβάζει την ημερομηνία και ώρα από έναν ΝΤΡ (Network Time Protocol) διακομιστή-server χρησιμοποιώντας την NTPCIient βιβλιοθήκη και τις αποθηκεύει στις μεταβλητές stcurrentDate και stcurrentTime αντίστοιχα, όπως φαίνεται στο παρακάτω τμήμα κώδικα. The program then reads the date and time from a server-to-server NTP (Network Time Protocol) using the NTPCIient library and stores them in the variables stcurrentDate and stcurrentTime respectively, as shown in the code section below.

timeClient.update(); timeClient.update();

//Get a time structure //Get a time structure

unsigned long epochTime = timeClient.getEpochTime(); unsigned long epochTime = timeClient.getEpochTime();

struct tm *ptm = gmtime ((time_t *)&epochTime); struct tm *ptm = gmtime ((time_t *)&epochTime);

//Get date //Get date

iDayOfMonth = ptm->tm_mday; iDayOfMonth = ptm->tm_mday;

icurrentMonth = ptm->tm_mon+1 ; icurrentMonth = ptm->tm_mon+1 ;

icurrentYear = ptm->tm_year+1900; icurrentYear = ptm->tm_year+1900;

// Get time // Get time

String formattedTime = timeClient.getFormattedTime(); String formattedTime = timeClient.getFormattedTime();

icurrentHour = timeClient.getFlours(); icurrentHour = timeClient.getFlours();

icurrentMinute = timeClient.getMinutes(); icurrentMinute = timeClient.getMinutes();

icurrentSecond = timeClient.getSeconds(); icurrentSecond = timeClient.getSeconds();

stcurrentTime = String(icurrentHour) String(icurrentMinute) stcurrentTime = String(icurrentHour) String(icurrentMinute)

String(icurrentSecond); String(icurrentSecond);

//get complete date: //get complete date:

stcurrentDate = String(iDayOfMonth) String(icurrentMonth) String(icurrentYear); stcurrentDate = String(iDayOfMonth) String(icurrentMonth) String(icurrentYear);

Ο μικροελεγκτής ESP8266-12E module Wi-Fi έχει συνεχώς στη διάθεσή του τις πληροφορίες που του παρέχει το GPS ΝΕΟ-6Μ-0-001 αποθηκευμένες στις αντίστοιχες μεταβλητές όπως αναφέρθηκε παραπάνω. The ESP8266-12E Wi-Fi module microcontroller constantly has at its disposal the information provided by the GPS NEW-6M-0-001 stored in the corresponding variables as mentioned above.

Ο μικροελεγκτής ESP8266-12E module W-Fi ελέγχει συνεχώς την κατάσταση του διακόπτη (push-button) S1. Όταν η κατάσταση του διακόπτη αλλάξει, όταν δηλαδή κλείσει ο διακόπτης S1, και αυτό θα συμβεί όταν ανοίξει οποιοσδήποτε αερόσακος οχήματος που ενεπλάκη σε ατύχημα ή αποκολλήθηκε το μαύρο κουτί από μεγάλο αεροσκάφος ή έσπασε τουλάχιστον ένα σκέλος τροχού μικρού αεροσκάφους, τότε αυτόματα όλες οι απαιτούμενες πληροφορίες που παρέχονται από το GPS ΝΕΟ-6Μ-0-001 αποστέλλονται στην ιστοσελίδα της αστυνομίας, όπως φαίνεται στο παρακάτω τμήμα κώδικα. The ESP8266-12E W-Fi module microcontroller continuously checks the status of push-button S1. When the state of the switch changes, i.e. when switch S1 closes, and this will happen when any vehicle airbag is deployed that has been involved in an accident or the black box has been detached from a large aircraft or at least one wheel leg of a small aircraft has broken, then automatically all the required information provided by GPS NEO-6M-0-001 are sent to the police website, as shown in the code section below.

// Check if push-button (switch S1 ) is pressed // Check if push-button (switch S1 ) is pressed

// If push button is pressed then send data to Web page // If push button is pressed then send data to Web page

//. change input state at pin GPI014 - D5 //. change input state at pin GPI014 - D5

while (bSwitch_S1_Pressed == true) while (bSwitch_S1_Pressed == true)

{ {

first =stcurrentDate; first = stcurrentDate;

second = stcurrentTime; second = stcurrentTime;

fourth=flatitude ; fourth=flattitude ;

fifth=flongitude; fifth=longitude;

sixth=faltitude; sixth=faltitude;

seventh=fspeed; seventh=fspeed;

// //

data = data =

'first="+first+"&second="+second+"&third="+third+"&fourth="+fourth+"&fifth="+fifth+"&s ixth="+sixth+"&seventh="+seventh; 'first="+first+"&second="+second+"&third="+third+"&fourth="+fourth+"&fifth="+fifth+"&s ixth="+sixth+"&seventh="+seventh;

// //

// send data to Web page // send data to Web page

bool httpResult = http.begin(myURL data); bool httpResult = http.begin(myURL data);

if (IhttpResult) if (IhttpResult)

{ {

Serial. println('lnvalid FITTP request:"); Serial. println('lnvalid FITTP request:');

Serial. println(myURL data); Serial. println(myURL data);

} }

II II

int httpCode = http.GET(); int httpCode = http.GET();

Πλήρης κώδικας του προγράμματος Full program code

#include <TinyGPS++.h> // library for GPS module #include <TinyGPS++.h> // library for GPS module

#include <SoftwareSerial.h> #include <SoftwareSerial.h>

# include <ESP8266WFi.h> # include <ESP8266WFi.h>

#include <Arduino.h> #include <Arduino.h>

# include <ESP8266WFiMulti.h> # include <ESP8266WFiMulti.h>

# include <ESP8266HTTPCIient.h> # include <ESP8266HTTPCIient.h>

#include <WiFiClient.h> #include <WiFiClient.h>

#include <ESP8266WebServer.h> #include <ESP8266WebServer.h>

#include <NTPCIient.h> #include <NTPCIient.h>

#include <WiFiUdp.h> #include <WiFiUdp.h>

// //

ESP8266WiFiMulti WiFiMulti; ESP8266WiFiMulti WiFiMulti;

// //

// Define NTP Client to get time // Define NTP Client to get time

WiFiUDP ntpGetTime; WiFiUDP ntpGetTime;

NTPCIient timeClient(ntpGetTime, "pool.ntp.org"); NTPCIient timeClient(ntpGetTime, "pool.ntp.org");

/;***********************************************************************************************„/;***********************************************************************************************„/;***********************************************************************************************„ /;**************************************************** ******************************************************„/; ****************************************************** *************************************************„/;** ****************************************************** *********************************************

/<*>Set these according to customer information.<*>/ /<*>Set these according to customer information.<*>/

// //

// Web page // Web page

// //

String myURL =" http://MyWebSiteName.com/index.php?"; String myURL =" http://MyWebSiteName.com/index.php?";

// //

// Plate number // Plate number

// //

String third="MMM9999"; String third="MMM9999";

// //

const char<*>wifild = " myIDxxxx "; //wifi Id const char<*>wifield = " myIDxxxx "; //wifi Id

const char<*>wifiPassword = " myPassword "; //wifi password const char<*>wifiPassword = " myPassword "; //wifi password

// //

// Set offset time in seconds to adjust for your timezone // Set offset time in seconds to adjust for your timezone

// //

int iOffsetTime=7200; int iOffsetTime=7200;

II II

TinyGPSPIus gpsObject; // The TinyGPS++ object TinyGPSPIus gpsObject; // The TinyGPS++ object

// //

SoftwareSerial SerialCon(D2, D1 ); // The serial connection to the GPS device SoftwareSerial SerialCon(D2, D1 ); // The serial connection to the GPS device

// //

// Declare variables and constants // Declare variables and constants

// //

const int iSwitchSI = D5; // the number of switch S1 pin const int iSwitchSI = D5; // the number of switch S1 pin

const int ledPin = D7; // the number of the LED pin const int ledPin = D7; // the number of the LED pin

// variables will change: // variables will change:

int iSwitch_S1_State = 0; // variable for reading the pushbutton (switch S1 ) status boolean bSwitch_S1_Pressed = false; int iSwitch_S1_State = 0; // variable for reading the pushbutton (switch S1 ) boolean status bSwitch_S1_Pressed = false;

// //

float flatitude , flongitude,faltitude,fspeed; float flatitude , flongitude,faltitude,fspeed;

int iCount=0; int iCount=0;

int int

icurrentYear, icurrentMonth, iDayOfMonth, icurrentHour, icurrentMinute, icurrentSecond; String stcurrentDate, stcurrentTime; icurrentYear, icurrentMonth, iDayOfMonth, icurrentHour, icurrentMinute, icurrentSecond; String stcurrentDate, stcurrentTime;

String data; String data?

String first; // date String first? // date

String second; // time String second; // time

float fourth; // latitude float fourth? // latitude

float fifth; // longitude float fifth? // longitude

float sixth; // altitude float sixth? // altitude

float seventh; // speed float seventh? // speed

// //

// //

WiFiServer server(80); WiFiServer server(80);

// //

// Checks if button was pressed, and sets LED HIGH // Checks if button was pressed, and sets LED HIGH

I C AC H E_RAM_ATTR void ChecklfSwitchSI isPressed() I C AC H E_RAM_ATTR void ChecklfSwitchSI isPressed()

{ {

Serial. printlnfSwitch S1 pressed!!!"); Serial. printlnfSwitch S1 pressed!!!");

digitalWrite(ledPin, HIGH); digitalWrite(ledPin, HIGH);

bSwitch_S1_Pressed=true; bSwitch_S1_Pressed=true;

} }

II II

void setup() void setup()

{ {

Serial. begin(115200); Serial. begin(115200);

SerialCon.begin(9600); SerialCon.begin(9600);

Serial. println(); Serial. println();

Serial. print("Connecting to "); Serial. print("Connecting to ");

Serial. println(wifild); Serial. println(wifield);

// connecting to wifi // connecting to wifi

// //

WiFi.mode(WIFI_STA); WiFi.mode(WIFI_STA);

WiFiMulti.addAP(wifild, wifiPassword); WiFiMulti.addAP(wifield, wifiPassword);

// //

// Switch S1 (push button) mode INPUT_PULLUP // Switch S1 (push button) mode INPUT_PULLUP

pinMode(iSwitchS1 , INPUT); pinMode(iSwitchS1 , INPUT);

// Set iSwitch S1 pin as interrupt, assign interrupt function and set CHANGE mode attachlnterrupt(digitalPinTolnterrupt(iSwitchS1 ), ChecklfSwitchSI isPressed, CHANGE); // Set iSwitch S1 pin as interrupt, assign interrupt function and set CHANGE mode attachlnterrupt(digitalPinTolnterrupt(iSwitchS1 ), ChecklfSwitchSI isPressed, CHANGE);

// Set LED to LOW // Set LED to LOW

pinMode(ledPin, OUTPUT); pinMode(ledPin, OUTPUT);

digitalWrite(ledPin, LOW); digitalWrite(ledPin, LOW);

// //

// Initialize an NTPCIient to get time // Initialize an NTPCIient to get time

timeClient.begin(); timeClient.begin();

// //

timeClient.setTimeOffset(iOffsetTime); timeClient.setTimeOffset(iOffsetTime);

// //

while (WiFi.status() != WL_CONNECTED)// while wifi not be connected while (WiFi.status() != WL_CONNECTED)// while wifi not be connected

{ {

delay(500); delay(500);

Serial. print("."); //print "...." Serial. print("."); //print "...."

} }

Serial, printlnf"); Serial, printlnf");

Serial. println("WiFi connected"); Serial. println("WiFi connected");

server. begin(); server. begin();

Serial. println("Server started"); Serial. println("Server started");

Serial. println(WiFi.locallP()); // Print the IP address Serial. println(WiFi.locallP()); // Print the IP address

} }

II II

void loop() void loop()

{ {

II II read the state of the pushbutton (switch S1) value: II II read the state of the pushbutton (switch S1) value:

iSwitch_S1_State = digitalRead(iSwitchSI); iSwitch_S1_State = digitalRead(iSwitchSI);

// //

WiFiClient client; WiFiClient client;

// //

FITTPCIient http; FITTPCIient http;

// //

while (SerialCon.available() > 0) //while data is available while (SerialCon.available() > 0) //while data is available

if (gpsObject.encode(SerialCon.read())) //read GPS data if (gpsObject.encode(SerialCon.read())) //read GPS data

{ {

flatitude =gpsObject. location. rawLat(). deg; // Raw latitude in whole degrees // flatitude = gpsObject. location. rawLat(). deg? // Raw latitude in whole degrees //

flongitude=gpsObject. location. rawLng(). deg; // Raw longitude in whole degrees // flongitude=gpsObject. location. rawLng(). deg? // Raw longitude in whole degrees //

if (gpsObject. location. isValid()) //check if GPS location is valid if (gpsObject. location. isValid()) //check if GPS location is valid

{ {

flatitude =gpsObject. location. rawLat(). deg; // Raw latitude in whole degrees flatitude = gpsObject. location. rawLat(). deg? // Raw latitude in whole degrees

flongitude=gpsObject. location. rawLng(). deg; // Raw longitude in whole degrees flongitude=gpsObject. location. rawLng(). deg? // Raw longitude in whole degrees

faltitude = gpsObject.altitude.meters(); altitude = gpsObject.altitude.meters();

fspeed = gpsObject.speed.kmph(); fspeed = gpsObject.speed.kmph();

} }

II . II.

timeClient.update(); timeClient.update();

//Get a time structure //Get a time structure

unsigned long epochTime = timeClient.getEpochTime(); unsigned long epochTime = timeClient.getEpochTime();

struct tm *ptm = gmtime ((time_t *)&epochTime); struct tm *ptm = gmtime ((time_t *)&epochTime);

//Get date //Get date

iDayOfMonth = ptm->tm_mday; iDayOfMonth = ptm->tm_mday;

icurrentMonth = ptm->tm_mon+1 ; icurrentMonth = ptm->tm_mon+1 ;

icurrentYear = ptm->tm_year+1900; icurrentYear = ptm->tm_year+1900;

// Get time // Get time

String formattedTime = timeClient.getFormattedTime(); String formattedTime = timeClient.getFormattedTime();

icurrentHour = timeClient.getFlours(); icurrentHour = timeClient.getFlours();

icurrentMinute = timeClient.getMinutes(); icurrentMinute = timeClient.getMinutes();

icurrentSecond = timeClient.getSeconds(); icurrentSecond = timeClient.getSeconds();

stcurrentTime = String(icurrentFlour) String(icurrentMinute) String(icurrentSecond); stcurrentTime = String(icurrentFlour) String(icurrentMinute) String(icurrentSecond);

//get complete date: //get complete date:

stcurrentDate = String(iDayOfMonth) String(icurrentMonth) String(icurrentYear); stcurrentDate = String(iDayOfMonth) String(icurrentMonth) String(icurrentYear);

// //

yield(); yield();

II Check if push-button is pressed II Check if push-button is pressed

// If push button is pressed then send data to Web page //change input state at pin GPI014 - D5 // If push button is pressed then send data to Web page //change input state at pin GPI014 - D5

// -while (bSwitch_S1_Pressed == true) // -while (bSwitch_S1_Pressed == true)

{ {

first =stcurrentDate; first = stcurrentDate;

second = stcurrentTime; second = stcurrentTime;

fourth=flatitude ; fourth=flattitude ;

fifth=flongitude; fifth=longitude;

sixth=faltitude; sixth=faltitude;

seventh=fspeed; seventh=fspeed;

// //

data = "first="+first+"&second="+second+"&third="+third+"&fourth="+fourth+"&fifth="+fifth+"&s ixth="+sixth+"&seventh="+seventh; data = "first="+first+"&second="+second+"&third="+third+"&fourth="+fourth+"&fifth="+fifth+"&s ixth="+sixth+"&seventh="+seventh;

// //

// send data to Web page // send data to Web page

bool httpResult = http.begin(myURL data); bool httpResult = http.begin(myURL data);

if (IhttpResult) if (IhttpResult)

{ {

Serial. println("lnvalid HTTP request:"); Serial. println("lnvalid HTTP request:");

Serial. println(myURL data); Serial. println(myURL data);

} }

II II

int httpCode = http.GET(); int httpCode = http.GET();

/;************************************************/;****************************************************

if (httpCode > 0) if (httpCode > 0)

/;************************************************/;****************************************************

{ // Request has been made { // Request has been made

Serial. printffHTTP status: %d\n", httpCode); Serial. printffHTTP status: %d\n", httpCode);

String payload = http.getString(); String payload = http.getString();

Serial. print("payload : "); Serial. print("payload : ");

Serial, println(payload); Serial, println(payload);

Serial. print("data : "); Serial. print("data : ");

Serial. println(data); Serial. println(data);

// -II ... Control number of program execution // -II ... Control number of program execution

iCount=iCount+1 ; iCount=iCount+1 ;

if (iCount==5) if (iCount==5)

{ {

pauseCode(); // stop program execution if values have been sent 5 times to the web page pauseCode(); // stop program execution if values have been sent 5 times to the web page

} }

// - // -

} }

else else

{ // Request could not be made { // Request could not be made

Serial. printf("HTTP request failed. Error: %s\r\n", Serial. printf("HTTP request failed. Error: %s\r\n",

http.errorToString(httpCode).c_str()); http.errorToString(httpCode).c_str());

http.end(); II http.end(); II

yield(); yield();

} }

} }

} }

// //

void pauseCode(){ while (iCount==5) {} void pauseCode(){ while (iCount==5) {}

} }

Claims (10)

Α Ξ Ι Ω Σ Ε Ι ΣA X I O S E I S 1. Μέθοδος αυτόματης αναφοράς ατυχήματος με την εμφάνιση των απαραίτητων στοιχείων για τον εντοπισμό του εμπλεκόμενου οχήματος ή αεροσκάφους (μικρού ή μεγάλου) στην ιστοσελίδα της αστυνομίας μόλις συμβεί το ατύχημα, προκειμένου να αποσταλούν άμεσα οι απαραίτητες δυνάμεις για βοήθεια ή απεγκλωβισμό ανθρώπων έτσι ώστε να αποφεύγεται η απώλεια ανθρώπινων ζωών. Η μέθοδος αυτή περιλαμβάνει τις ακόλουθες φάσεις:1. Method of automatic accident reporting by displaying the necessary information to identify the involved vehicle or aircraft (small or large) on the police website as soon as the accident occurs, in order to immediately dispatch the necessary forces to help or extricate people so as to avoid the loss of human life. This method includes the following phases: α) συνεχής σύνδεση με δορυφόρους μέσω μονάδας GPS για την ανάγνωση των συντεταγμένων (γεωγραφικό πλάτος και μήκος) της θέσης του οχήματος ή αεροσκάφους καθώς και την ημερομηνία, την ώρα, το ύψος και την ταχύτητά του’.a) continuous connection with satellites through a GPS unit to read the coordinates (latitude and longitude) of the position of the vehicle or aircraft as well as its date, time, altitude and speed'. β) απομνημόνευση όλων αυτών των στοιχείων στην μνήμη του μικροελεγκτή’ γ) αυτόματη αποστολή όλων των παραπάνω στοιχείων στην ιστοσελίδα της αστυνομίας μόλις συμβεί το ατύχημα’b) memorization of all these data in the microcontroller's memory' c) automatic sending of all the above data to the police website as soon as the accident occurs' χαρακτηριζόμενη από το ότι βρίσκεται συνεχώς σε επικοινωνία με δορυφόρους μέσω μονάδας GPS για να καταγράφει τις πληροφορίες που παρέχει η μονάδα GPS στην μνήμη του μικροελεγκτή και να αποστέλλει με σύνδεση στο internet μέσω Wi-Fi όλες αυτές τις πληροφορίες στην ιστοσελίδα της αστυνομίας όταν συμβεί ατύχημα με όχημα ή αεροσκάφος (μεγάλο ή μικρό).characterized by being constantly in communication with satellites through a GPS unit to record the information provided by the GPS unit in the memory of the microcontroller and to send with an internet connection via Wi-Fi all this information to the police website when an accident occurs with vehicle or aircraft (large or small). 2. Μέθοδος σύμφωνα με την αξίωση 1 , χαρακτηριζόμενη από το ότι ο μικροελεγκτής ελέγχει την λειτουργία του GPS το οποίο βρίσκεται σε συνεχή επικοινωνία με δορυφόρους για την ανάγνωση από το GPS όλων των απαραίτητων πληροφοριών για τον εντοπισμό του οχήματος ή αεροσκάφους (μεγάλου ή μικρού) το οποίο ενεπλάκη σε ατύχημα.2. Method according to claim 1, characterized in that the microcontroller controls the operation of the GPS which is in constant communication with satellites to read from the GPS all the necessary information to locate the vehicle or aircraft (large or small) which was involved in an accident. 3. Μέθοδος σύμφωνα με την αξίωση 1 , χαρακτηριζόμενη από το ότι ο μικροελεγκτής εξασφαλίζει την αποστολή με την σύνδεσή του στο internet μέσω Wi-Fi, στην ιστοσελίδα της αστυνομίας αυτόματα μόλις συμβεί το ατύχημα, όλων των απαραίτητων πληροφοριών για τον εντοπισμό του οχήματος ή αεροσκάφους (μεγάλου ή μικρού) το οποίο ενεπλάκη σε ατύχημα.3. Method according to claim 1, characterized in that the micro-controller ensures the sending, with its connection to the internet via Wi-Fi, to the police website automatically as soon as the accident occurs, of all the necessary information to locate the vehicle or aircraft (big or small) which was involved in an accident. 4. Μέθοδος σύμφωνα με μία από τις προηγούμενες αξιώσεις, χαρακτηριζόμενη από το γεγονός ότι η αποστολή των πληροφοριών για τον εντοπισμό οχήματος το οποίο ενεπλάκη σε ατύχημα, ενεργοποιείται αυτόματα μόλις ανοίξει τουλάχιστον ένας από τους αερόσακους του οχήματος4. Method according to one of the preceding claims, characterized in that the sending of the information to locate a vehicle involved in an accident is automatically activated as soon as at least one of the vehicle's airbags is deployed 5. Μέθοδος σύμφωνα με μία από τις προηγούμενες αξιώσεις, χαρακτηριζόμενη από το γεγονός ότι η αποστολή των πληροφοριών για τον εντοπισμό μεγάλου αεροσκάφους το οποίο ενεπλάκη σε ατύχημα, ενεργοποιείται αυτόματα μόλις αποκολληθεί από τη θέση του τουλάχιστον ένα από τα μαύρα κουτιά του αεροσκάφους..5. Method according to one of the preceding claims, characterized in that the sending of the information to locate a large aircraft involved in an accident is automatically activated as soon as at least one of the black boxes of the aircraft is detached from its position. 6. Μέθοδος σύμφωνα με μία από τις προηγούμενες αξιώσεις, χαρακτηριζόμενη από το γεγονός ότι η αποστολή των πληροφοριών για τον εντοπισμό μικρού αεροσκάφους το οποίο ενεπλάκη σε ατύχημα, ενεργοποιείται αυτόματα μόλις σπάσει ένα από τα τρία σκέλη των τροχών του..6. Method according to one of the preceding claims, characterized in that the sending of the information to locate a small aircraft involved in an accident is automatically activated as soon as one of the three legs of its wheels breaks. 7. Συσκευή η οποία περιλαμβάνει μέσα για την εφαρμογή της μεθόδου σύμφωνα με την αξίωση 1, χαρακτηριζόμενη από το ότι περιλαμβάνει έναν ή δύο μικροελεγκτές για την επεξεργασία των πληροφοριών και σύνδεση με το internet μέσω Wi-Fi, μία μονάδα GPS συνδεδεμένη στον μικροελεγκτή και διαχειριζόμενη από αυτόν για την συνεχή σύνδεση με δορυφόρους.7. Device which includes means for implementing the method according to claim 1, characterized in that it includes one or two microcontrollers for processing the information and connecting to the internet via Wi-Fi, a GPS unit connected to the microcontroller and managed from him for the continuous connection with satellites. 8. Συσκευή σύμφωνα με την αξίωση 7 η οποία περιλαμβάνει διακόπτη (push button) συνδεδεμένο με όλους τους αερόσακους του οχήματος για την ενεργοποίηση (με την αλλαγή κατάστασης από την αρχική “OFF” σε “ΟΝ”) αποστολής των απαραίτητων πληροφοριών (όταν ανοίξει τουλάχιστον ένας αερόσακος) στην ιστοσελίδα της αστυνομίας για τον εντοπισμό του οχήματος όταν αυτό εμπλακεί σε ατύχημα.8. Device according to claim 7 which includes a switch (push button) connected to all the airbags of the vehicle to activate (by changing the state from the initial “OFF” to “ON”) sending the necessary information (when opened at least an airbag) on the police website to locate the vehicle when it is involved in an accident. 9. Συσκευή σύμφωνα με την αξίωση 7 η οποία περιλαμβάνει διακόπτη (push button) συνδεδεμένο με τα μαύρα κουτιά μεγάλου αεροσκάφους για την ενεργοποίηση (με την αλλαγή κατάστασης από την αρχική “OFF” σε “ΟΝ”) αποστολής (όταν τουλάχιστον ένα από τα μαύρα κουτιά του αεροσκάφους αποκολληθεί από τη θέση του) στην ιστοσελίδα της αστυνομίας των απαραίτητων πληροφοριών για τον εντοπισμό του όταν αυτό εμπλακεί σε ατύχημα.9. Device according to claim 7 which includes a switch (push button) connected to the black boxes of a large aircraft for activating (by changing the state from the initial “OFF” to “ON”) transmission (when at least one of the black boxes boxes of the aircraft detached from its position) on the police website of the necessary information to locate it when it is involved in an accident. 10. Συσκευή σύμφωνα με την αξίωση 7 η οποία περιλαμβάνει διακόπτη (push button) συνδεδεμένο με τα τρία σκέλη των τροχών μικρού αεροσκάφους για την ενεργοποίηση (με την αλλαγή κατάστασης από την αρχική “OFF” σε “ΟΝ”) αποστολής (όταν σπάσει τουλάχιστον ένα από τα σκέλη των τροχών του) στην ιστοσελίδα της αστυνομίας των απαραίτητων πληροφοριών για τον εντοπισμό του όταν αυτό εμπλακεί σε ατύχημα.10. Device according to claim 7 which includes a switch (push button) connected to the three legs of the wheels of a small aircraft for activating (by changing the state from the initial “OFF” to “ON”) sending (when at least one is broken from the spokes of its wheels) on the police website of the necessary information to locate it when it is involved in an accident.
GR20210100142A 2021-03-09 2021-03-09 Automatic display of accident data on the police website just the moment the accident happens GR1010418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GR20210100142A GR1010418B (en) 2021-03-09 2021-03-09 Automatic display of accident data on the police website just the moment the accident happens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GR20210100142A GR1010418B (en) 2021-03-09 2021-03-09 Automatic display of accident data on the police website just the moment the accident happens

Publications (2)

Publication Number Publication Date
GR20210100142A true GR20210100142A (en) 2022-10-10
GR1010418B GR1010418B (en) 2023-03-03

Family

ID=83743674

Family Applications (1)

Application Number Title Priority Date Filing Date
GR20210100142A GR1010418B (en) 2021-03-09 2021-03-09 Automatic display of accident data on the police website just the moment the accident happens

Country Status (1)

Country Link
GR (1) GR1010418B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001141466A (en) * 1999-11-11 2001-05-25 Mitsubishi Electric Corp Accident notification and display system and accident notification apparatus
ES2347625A1 (en) * 2009-01-19 2010-11-02 Jose Manuel Montiel Sanchez Audiovisual system of control and follow-up of remote scenarios (Machine-translation by Google Translate, not legally binding)
CN110588511A (en) * 2019-09-20 2019-12-20 新疆农业大学 Automobile accident detection and rescue system based on Arduino

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001141466A (en) * 1999-11-11 2001-05-25 Mitsubishi Electric Corp Accident notification and display system and accident notification apparatus
ES2347625A1 (en) * 2009-01-19 2010-11-02 Jose Manuel Montiel Sanchez Audiovisual system of control and follow-up of remote scenarios (Machine-translation by Google Translate, not legally binding)
CN110588511A (en) * 2019-09-20 2019-12-20 新疆农业大学 Automobile accident detection and rescue system based on Arduino

Also Published As

Publication number Publication date
GR1010418B (en) 2023-03-03

Similar Documents

Publication Publication Date Title
US7525421B2 (en) Event detection module
KR102039291B1 (en) System for providing fine dust measurement information of life-friendly type
EP2983145A1 (en) Alarm socket and connection base for detachable attachment of a danger warning system, each with a radio device for emitting position data of the installation location of the alarm socket or the connection base and/or a reference to this position data
KR102110146B1 (en) Method for configuring communication between fire detection device and sesing device using wireless communication
Vigneshwaran et al. Design of bus tracking and fuel monitoring system
GR20210100142A (en) Automatic display of accident data on the police website just the moment the accident happens
WO2020252539A1 (en) Safety management and building operational assessment system and method for multiple occupancy buildings
Karthikeyan et al. Smart summoning of ambulance during a vehicle accident
RU96276U1 (en) SMALL MONITORING COMPLEX FOR DETERMINING THE LOCATION OF MOBILE OBJECTS
US20160267767A1 (en) Jumpers and methods of making and using same
CN201145940Y (en) Intelligent emergencies alarm system for help as well as terminal thereof
Taj et al. Automatic accident detection and human rescue system: Assistance through communication technologies
KR102437472B1 (en) Method And System for Upgrading Bus Information by Using Mobile Phone or Mobile Device as a Repeater
KR102118868B1 (en) Time recording systme
CN105609000A (en) Novel multifunctional student card
US10878206B1 (en) Attendance monitoring system and a method for monitoring presence of children in a vehicle
S SHILPA ACCIDENT ALERT SYSTEM USING ARUINO UNO
Kokila et al. Accident and Rash Driving Detection Using Gyro Sensor
Khatri Chhetri Automobile tracking system using GPS and GSM
Tesfaselassie et al. GSM Sensor Based Accident Information System by Using GPS: Case of Ethiopia
KR20200104840A (en) Vehicle safety system
Blankson Design and implementation of an anti-theft vehicle tracking system using LoRa technology
Vivekanandan et al. Vehicle Crash Detection and Information System for Two Wheeler in Remote Areas
Khan et al. An Accident Identification and Alerting System by Using Raspberry Pi
Khare et al. Arduino based vehicle accident alert system using GPS

Legal Events

Date Code Title Description
PG Patent granted

Effective date: 20230410