Getting a user location

Hello,

I am trying to get the geo-location of someone wearing a device to get their heartbeat data measured and recorded in a data base using the appropriate sensor. My question is, how can I link that user heartbeat activity with their geo-location at anytime and transfer this info to their cellphone via the Arduino board ?

Should I connect the heartbeat sensor to a GPS Receiver module and then to the Arduino and from the Arduino to a GSM module that will notify the user on their cellphone or something's missing?

Thank you for your help.

Cell phones, if on, "know" their own geolocation. Every one of them is being tracked, at all times.

Maybe my question is unclear, what I mean is when the user checks his heartbeat data on the cellphone app that my team and I need to build, how can the user have the reading for his heartbeat and the associated geo-location at the same time where he was precisely at that moment of that measurement?

Have the app read out the geolocation of the cell phone. Most countries require you to ask the user for permission to access their location data.

This is really basic stuff, so do your research. It is not an Arduino question, either.

1 Like

So no need for additional parts to connect to the Arduino like a GPS tracker, but instead the app will get the user's cellphone location?

How could you not know this, and be thinking of writing a cell phone app?

User location is a MAJOR PRIVACY ISSUE, in the news everywhere, everyday.

1 Like

I am not sure I understand your question, the app is a requirement for our project. Also my question is very specific, so please refrain on talking about the privacy topic.

Be sure to discuss user privacy issues with your instructor. You could be in danger of violating your country's laws. End of conversation.

That has been already debated and my team and I are already aware of this aspect.

You can write an app that will fetch a position. Usually it will support a setting in the privacy setting menu, particular to that application. Fetching heartbeat data is unrelated to that. So it's really an IOS or Android question. It has absolutely no relation to any code that you would write for a heartbeat device. So you would get much better advice on an IOS or Android tech forum.

Your question, how would you integrate heartbeat and location data, revolves strictly around phone OS application code, which would perform the task of acquiring data, in the way that it has to in both cases. The location would be in API calls, the heartbeat is up to you, probably through interpreting bluetooth data from the heartbeat sensor.

If you are just asking how to make a BT heartbeat sensor, it is an Arduino question and you can get help here.

2 Likes

I understand, thank you for your advice.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.