The goal is to create a tracking watch with fall detection system such that the location of the watch can be seen on an android app at all time. We used google API geolocation as it allows the app to locate the watch even underground, something satelite geolocation may be unable to do. We wanted to create an open-source and cost-effective solution for basic tracking functionalities, to ensure that the wearer of this device is safe.
Geolocation (Tracking)
Fall detection
Geofence
App display
MPU6050 x1
Esp32 Wroom 32 x1
FT232RL x1
For this project we will be using arduino ide to code our esp32. As the esp32 is only a chip, we would need a medium to upload the code into it. That is where the FT232RL comes in.
In the arduino ide, change the development board to esp32 Dev Module.
For geolocation, all we need is our esp32 Wroom 32.
Google takes the input of our nearby WiFi routers and gives us the coordinates. For that, Google provides API and in that API we need to provide some inputs like details of nearby WiFi routers, detail of nearby cell towers etc. Before using that API you need to get your API key working. To create your own Google geolocation API key, and to learn how Google’s geolocation API works, go here.
If you just want to try out the geolocation, you can just watch this video *Note: Check the pin of the connection as the video is using a esp8266.