This protection device will keep you safe by just pressing a button. If you are in Danger, just press the button and your location will be shared on any website you select in code. By the use of Infineon DPS310 pressure sensor, altitude of person in building can also be detected for precise location.
Imagine a situation like GTA Vice city where you see the place in the city with red spot but you can't see the the floor number or altitude so that you can have the exact location. The same thing might happen to rescue team and thus this device is necessary.
The Device will run on 9 V Battery. It is handy device. You can make enclosure and keep the circuit in it. The steps are as follows....
Here we will use 9v Battery for power supply. We will need 7805 Voltage Regulator IC to get 9V. Then from 7805 IC, feed it to arduino.
Connect the Arduino’s 3v3 (3.3V) output to ESP8266. The ESP8266 works with 3.3V and not 5V, so this is necessary.
Connect the RXD pin of the Arduino to the RX pin of the ESP8266.Connect the TXD pin of the Arduino to the TX pin of the ESP. When we want two things to talk to each other over serial, we connect the TX pin of one to the RX of the other (send goes to receive and the opposite). Here we do not have the Arduino talk to the ESP8266 though, our computer is talking to it via the Arduino.
Connect the RES or RESET pin, When you ground the reset pin, the Arduino works as a dumb USB to serial connector, which is what we want to talk to the ESP8266.
Finally add a button at power supply.
In the Arduino IDE, you don’t need to choose a board, as we’re not uploading anything to the ESP8266. Just choose the right port in the Tools menu and go to Tools → Serial Monitor. Then simply set your baud rate to 115200 (the default ESP8266 firmware uses it) and your line endings to Both NL & CR.And since we talked about the CH_PD pin, remember that if you want to flash the ESP8266 you should connect the GPIO0 pin.
We are doing I2C connection here as per the circuit Diagram.
Link: https://github.com/Infineon/DPS310-Pressure-SensorTo install the DPS310 pressure sensor library in the Arduino IDE, please go now to Sketch > Include Library > Add .ZIP Library... in the Arduino IDE and navigate to the downloaded .ZIP file of this repository. The library will be installed in your Arduino sketch folder in libraries and you can select as well as include this one to your project under Sketch > Include Library> IFX_DPS310.
The sensor logs the measurement from ground level as it is a pressure sensor. We might have to create programs and algorithms for different cities.