Can I determine the location of the iPhone or Android device according to WiFi signal strength?

I’m interested in learning how smart phones can be positioned in a building based on the strength of the wireless network in certain places.

Wifi is becoming unavailable Everywhere, at least in the western world, if you own a smartphone, you are likely to have at least one wifi hub close to you at any time. Your neighbors are likely to have one too, so you have different levels of reception and quality Wifi points.

If iOS and Android allow access to very raw data from wifi signals at real-time speeds, developers can come up with algorithms to normalize and analyze the data in order to understand very clearly that the object is in a given space It is true that different signal strength readings can be sent by just turning the phone sideways, but it can be corrected manually first, and then the data is collected by manual correction and applied to a more general mode, so as to obtain high accuracy in the long term.

There may be many applications, such as an application that recognizes that you are moving from the kitchen to the living room, and will automatically switch to a remote control mode, allowing you to control the TV and the like. Move to the bedroom and completely change the profile to enter silent mode and display the clock as a screen saver.

Is it possible to use the current API? If not, what is needed to obtain this data and how difficult it is to analyze it and standardize it to accurately distinguish between rooms?

Clarification:

>I am not an engineer or a mathematician, but more like a UI/UX designer/developer (mainly JS)
>I asked if the current API is feasible , And in theory, if the current API does not currently support it is feasible

Yes, if you do Make some assumptions, this is indeed a solvable problem.

Android OS has the functions required to analyze the signal dBm from the access point (for those interested developers, please refer to WifiManager BroadcastReceiver and SCAN_RESULTS_AVAILABLE_ACTION intention).

When the signal travels away from the AP, the signal decreases at a quantifiable rate. If you know the signal strength when the signal leaves the AP (the specifications on the box) and when it arrives With your device, you can figure out how far the signal must have moved to reduce it.

This is where the hypothesis comes into play. Anything between you and the AP will attenuate the signal. So if you go in, say in your living room, and there are two walls between you and your access point, the signal will arrive in different states. If you take it at that time, use a sledgehammer to hit the gap between you and the AP. Two walls, and then measure. It is best to only use it where there is no blocking the path between you and the AP.

In addition, you need at least 3 APs to reach a single point in 2D space. I know Most of the people do not have 3 APs in their homes, so you need to ask your neighbors about the latitude/length location of their APs.

In short, a solvable problem, but not necessarily in the context of your home It works well, unless you want to include additional sensory data (three-dimensional map of the house, redundant AP, accelerometer, GPS, etc.) with a solution.

I am interested in understanding how smartphones can be positioned in a certain building based on the strength of the wireless network in certain places.

Wifi is becoming ubiquitous, at least in the western world, if you With a smartphone, you are likely to have at least one wifi hub close to you at any time. Your neighbors are likely to also have one, so you have wifi points with varying degrees of reception and quality.

If iOS and Android allow access to very raw data from wifi signals at real-time speeds, developers can come up with algorithms to normalize and analyze the data to get a very clear understanding of the object’s position in a given space. Indeed, only by turning sideways The phone can send out different signal strength readings, but you can manually calibrate it first, and then Collect data by manual correction and apply it to more general patterns to obtain high accuracy in the long term.

This may have many applications, such as an application that recognizes that you are moving from the kitchen Go to the living room, and it will automatically switch to a remote control mode that allows you to control the TV and the like. Move to the bedroom and completely change the profile to enter silent mode and display the clock as a screen saver.

Is it possible to use the current API? If not, what is needed to obtain this data and how difficult it is to analyze it and standardize it to accurately distinguish between rooms?

Clarification:

>I am not an engineer or a mathematician, but more like a UI/UX designer/developer (mainly JS)
>I asked if the current API is feasible , And in theory, is it feasible if the current API currently does not support it

Yes, if you make some assumptions, this is indeed a solvable problem

Android OS has the functions needed to analyze the signal dBm from the access point (for those interested developers, please refer to the BroadcastReceiver and SCAN_RESULTS_AVAILABLE_ACTION intent on WifiManager).

When the signal travels away from the AP, the signal decreases at a quantifiable rate. If you know the signal strength when the signal leaves the AP (the specifications on the box) and when it reaches your device, you can conclude that the signal must have been Move the distance to reduce the degree.

This is where the hypothesis comes into play. Anything between you and the AP will affect the signal attenuation, so if you go in, for example, your In the living room, there are two walls between you and your access point, and the signal will arrive in different states. If you take it at the time, use a sledgehammer to hit the two walls between you and the AP, and then measure. It is best only when there is no Use it in places that block the path between you and the AP.

In addition, you need at least 3 APs to reach a single point in 2D space. Most people I know do not have 3 APs in their homes, So you need to ask your neighbor for the latitude/length location of their AP.

In short, a solvable problem, but it may not work well in the context of your home, unless you want to include additional Sensory data (three-dimensional map of the house, redundant AP, accelerometer, GPS, etc.) has a solution.

Leave a Comment

Your email address will not be published.