In today’s trend, we are continuously worried about the security of our child, daughter, wife, and mother and of course complete family. If they go somewhere we are continuously thinking about them and we don’t know if any problem suddenly comes up with them so in that case, we are unable to do any kind of action on it.safety is the major issue facing by the woman all around the world.
we have developed a system (prototype) comprises of software and hardware that can help user to send alert message to nearby police station and the emergency contact number.
we have made two separate project -:
- hardware that send coordinates to the server
- android application
we are using ESP32 in our project having inbuilt Bluetooth and wifi module.
ESP32 is a series of low cost, low power system on a chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth. The ESP32 series employs a Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations and includes inbuilt antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules.
function of ESP32 in project is to connect to available Bluetooth device(mobile) of the user or available wifi of the environment and send geolocation data to the server. if the user pressed the reset button in an emergency. server sends an alert message to the emergency number provided by the user and find nearby police station for reporting.
- ESP32 module
- arduino ide with esp32 board and library installed
ESP32 can post geolocation data to any server by using user mobile network access.we have used two services to see the power of ESP32
- ESP32 posting coordinates to FIREBASE
- ESP32 sending an alert message with coordinates through IFTTT service
we have uploaded ESP_GEO_LOCATION_ON_FIREBASE.ino just copy the code in arduino ide to see it in action.
- get the google apis keys -: https://console.developers.google.com/apis/dashboard?project=namanpractice&duration=PT1H
- make the database in firebase console and note the name of server -:
- get the database secret setting->projectsetting->service account
now you have a google apis key,servername and database secret you can replace them in code. just upload ESP_GEO_LOCATION_ON_FIREBASE.ino uploaded above and happy code.
ESP32 posting coordinates to firebase console
we are sending message with coordinates to all the people that we want. IFTTT is the free way to get all your apps and devices talking to each other. IFTTT -: https://ifttt.com/
Step 1: Visit www.IFTTT.com and sign up for new ID if you don’t have one already. After registering you will be sent a mail to your E-mail ID verify it and you will be logged into IFTTTT.
Step 2: Search for SMS Applet or visit this link-:https://ifttt.com/sms Now Register your Mobile number with that Applet here I have used the number “00919612365489” as an example number. Always include the leading “00” followed by your country code and then your mobile number. Here I am from India hence my country code is “91” and my mobile number is “96123456789”. Once the number is entered click on “Send Pin” and verify your mobile number.
Step 3: Now we have configured one Applet, we will another Applet called Maker Webhooks, so search for it or use this link -: https://ifttt.com/maker_webhooks click on connect than you will prompt to this screen
Step 4: Now it is time to create our own Applet that could sync both the above applets. To do this navigate to My Applets -> New Applet, or follow this link -: https://ifttt.com/create?aea=true
Step 5: The term IF THIS THEN THAT means if something happens on the “This” then we have do something on “that”. Here if the Maker Webhooks Applet is Triggered then an SMS must be sent. So click on “this” (the blue colour plus icon) and search for Maker Webhooks then click on it. Now, you will be asked to choose a Trigger, so click on “Receive a web request”
Step 6: Now you have to configure the Trigger by giving it an Event Name. I have named it “ESP” as shown below. You can use any event name, but remember this name for we have to use it later. Finally click on “Create Trigger”
Step 7: You should get the below Screen where, you have to configure the “That” Applet. Click on the Plus icon near “that”
Step 8: Search for SMS Applet and click it. Then for choosing an Action click on “Send me SMS”. You will taken to the below screen, where you have to enter the text message that has to be sent to your mobile. Finally click on “Create action”
Step 9: You can review and Finish your Applet, it should be looking something like this below. Click on “Finish”
Step 10: Now, search for Maker Webhooks or use this link -: https://ifttt.com/maker_webhooks
click on “Documentation”. You should see something like this below
Step 11: Now under “Make a Post or get web request”, you can see that we have an option to add the event name. Remember that in step 6 we created an Event named “ESP” so we have to use the same name and configure our URL like below.
If your Serial monitor displays “Congratulation! You’ve fired the ESP event”, it means that everything has worked as it suppose to be. Now you can check your mobile and you should have received the message. The screenshot of the message is shown below
alert message are going to user relative.
android application send alert to relative,emergencynumber and nearby policestation according to location
Safety-app Safety app is the best app to inform and update your close ones if you are in an unsafe place. The app is the fastest and easiest way to update your close ones about your location and other details. To assure the security of your dear ones we have developed an android app. Which set up your own personal security network of friends and family. When your family members or friends are in danger with just tap of a button it sends a text sms along with their location to the selected contact number which are registered in the app . just single tap is enough no need of extra effort,just open the app to send the emergency message to the number saved earlier easy to use fully featured women and elder safety application pick a contact from contact list and you are good to go you will never feel unsafe with this app.Keep it installed and stay alert!
-
Sign in and registration page:registration process is done by using your mobile number and a user suitable password
-
By pressing panic alarm sms with your coordinate is sent to your relative and nearby police station.
3.Emergency contact number,this app stores emergency contact number of users friends or families and sends location of user to that contact number
4.Easily customizable ,you can make changes in contacts,invite friends,it provides user friendly interface and easy to use