Constructing a graph of WiFi strength

Click For Summary

Discussion Overview

The discussion revolves around a project aimed at collecting and graphing WiFi signal strength data using GPS coordinates. Participants explore the feasibility of automating data collection, potential programming languages to learn, and challenges associated with measuring WiFi strength in various environments.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant suggests creating an Android app to automate data collection and encourages gathering friends to participate.
  • Another participant highlights the impact of multipath interference on WiFi signal strength and suggests considering smoothing and averaging functions for data analysis.
  • A participant shares a plot demonstrating RSSI variations in a room, emphasizing the challenges of non-body-shielded receivers.
  • Concerns are raised about the variability of WiFi access points, including changes in transmit power and channel hopping, which may complicate measurements.
  • Wireshark is mentioned as a potential tool for the project.
  • One participant recommends starting with a manual WiFi signal monitoring program before automating the process and suggests learning Java and using the Android development tools.
  • Another participant notes the importance of understanding power expressed in decibels and the potential issues with GPS reliability indoors.
  • A participant mentions an Android app for displaying WiFi signal strengths that could serve as a reference or inspiration.

Areas of Agreement / Disagreement

Participants express a range of ideas and suggestions, with no clear consensus on the best approach or solutions to the challenges presented. Multiple competing views on the feasibility and methods of the project remain evident.

Contextual Notes

Participants acknowledge limitations such as GPS reliability indoors, potential power consumption issues, and the variability of WiFi signals due to environmental factors.

Who May Find This Useful

Individuals interested in WiFi signal analysis, Android app development, and data collection methodologies may find this discussion relevant.

RubinLicht
Messages
131
Reaction score
8
I have way too much time to spare, so I came up with this fun little project.

What i want to do is use my phone or laptop to incrementally collect data on WiFi strength at my location at that time, using GPS (longitude and latitude), and once I have enough data, (I'm fine if it takes like several months, I'm still in high school, and I'll be walking around in classrooms anyways.) I'll plot all the data in Mathematica so that there's a somewhat continuous graph of WiFi strength throughout the entire school.

My question is this: what sorts of things should I learn in order to make this process more automated/simple. I'm open learning new languages or learning how to make Android apps. Currently, I only know how to program in Mathematica.

Perhaps I could make an android app that runs in the background and have as many friends download it as possible?
 
Computer science news on Phys.org
RubinLicht said:
I have way too much time to spare, so I came up with this fun little project.

What i want to do is use my phone or laptop to incrementally collect data on WiFi strength at my location at that time, using GPS (longitude and latitude), and once I have enough data, (I'm fine if it takes like several months, I'm still in high school, and I'll be walking around in classrooms anyways.) I'll plot all the data in Mathematica so that there's a somewhat continuous graph of WiFi strength throughout the entire school.

My question is this: what sorts of things should I learn in order to make this process more automated/simple. I'm open learning new languages or learning how to make Android apps. Currently, I only know how to program in Mathematica.

Perhaps I could make an android app that runs in the background and have as many friends download it as possible?
Sounds like a fun project, but be sure to learn about "multipath interference", which affects signal strength for WiFi significantly. Multipath affects the RSSI value a lot over movements of the receiver on the order of a wavelength. You can get very deep nulls if there is a strong reflection nearby that cancels the main signal at your receiver's location.

Also, your body absorbs WiFi signals a bit, so that will affect the receive signal strength depending on which side of your body the WiFi transmitter is located. And this also interacts with the multipath issue...

So think some about what kind of smoothing and averaging functions you might want to use with your data, to give more of an overall RSSI value. And think about how you want to handle the body shading issue -- you can hold the phone up over your head (and vertical) for example, but that's kind of awkward. You should see some of the fixtures we've used in EE/RF level RSSI testing of WiFi and other RF comm bands... :smile:
 
  • Like
Likes   Reactions: RubinLicht
For example, here is a plot of the RSSI in a room in the 900MHz band as you move the (non-body-shielded) receiver around the room)... See the issue? :smile:

http://cdn2.hubspot.net/hub/316692/file-1500795371-png/figure17.png
figure17.png
 
  • Like
Likes   Reactions: RubinLicht
As well as the problems of changing environment, some Wifi access points make your task more difficult by changing their transmit power as needed to support each conversation. Some have beam steering antenna arrays. They may even jump channel from time to time. (eg. Ruckus )
I don't know how (intermittent) interference from neighbours on the same or adjacent channel will affect your readings. It can certainly drop the snr & throughput, and provoke intelligent access points into changing power or channel.

I'm not sure how much these will affect you, but any variations might make your measurements more difficult and inconsistent.
I suppose, looking over a long period at the maximum strength available at each point will eliminate a lot of variation.

I never had much success with this sort of mapping, though I probably wasn't as persistent and dedicated as you. I always felt a bit bemused (and very sceptical) when salesmen wandered round for half an hour telling me they were mapping my coverage. But maybe they really did know a lot more than I? (Shame I never believed them.)
 
  • Like
Likes   Reactions: RubinLicht
Wireshark may be of use for this project.
 
Sounds like a potentially fun project. But if you haven't done so already, I suggest first making a program that allows you to monitor the WiFi signal "manually," before automating the process. A few steps you'll want to do along the way,
P_{dBm} = 10 \log_{10} \frac{P}{1 \ [\mathrm{mW}]}

Beyond that there are some hurdles to overcome to automate the process (other PF members have already mentioned some of those). One of which might be the GPS reliability indoors. Depending on your high school's building and your particular location within the building, you might not be able to get a reliable GPS signal. There's also the issue of your phone's power consumption. Even if your app only checks for signal strength periodically, it could negatively impact battery charge (which might be fine -- just be aware of it).
 
Last edited:
  • Like
Likes   Reactions: RubinLicht and berkeman
Wow thanks for all the input, once my college applications are done I'll probably dabble a bit in Java and Android app developer and get started on the project.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 46 ·
2
Replies
46
Views
8K
  • · Replies 10 ·
Replies
10
Views
11K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 5 ·
Replies
5
Views
4K