Introduction: ESP8266 WiFi Analyzer

This instrucatables show how to make an ESP8266 version WiFi Analyzer clone.

Step 1: What Is WiFi Analyzer?

WiFi Analyzer is a handy app in Android, it help to visualize the WiFi signal information around you. It is very useful for helping select a right channel for setting a new AP. If you selected a channel that as same as another AP near you, you may encounter interference and degrade the network performance.

However, you may not have a Android phone in hand and it is a little bit overkill dedicate an Android phone for WiFi scanning. ESP8266 is good enough for scanning WiFi signal, let's make this handy tools together!

Step 2: Preparation

ESP8266 Board

I am using NodeMCU this time, any ESP8266 board that have SPI pins is ok

Display Board

I am using a 2.4" ili9341 board this time, 320x240 resolution is good enough for visualize WiFi signal information

Others

Some bread boards and pin connectors

Step 3: Connection

LCD VCC   -> Vin / 3V3
LCD GND   -> GND
LCD CS    -> D8
LCD RESET -> RST
LCD D/C   -> D1
LCD SDI   -> D7
LCD SCK   -> D5
LCD LED   -> 3V3

P.S. : Adafruit ili9341 library does not require connect LCD reset pin, but this pin should pull up to make it works. At the same time it is better reset the LCD display when the MCU reset so I direct connect both reset pin together.

Step 4: Deploy Program

Download the program from GitHub and program to ESP8266 board:

https://github.com/moononournation/ESP8266WiFiAnal...

If you are not familiar program ESP8266 with Arduino IDE, here is a good instructables:

https://www.instructables.com/id/Programming-ESP82...

Step 5: Happy Scanning!

It's time to scan WiFi signal around you and share what you have done to your friends!

Comments

author
wurth51 made it!(author)2017-05-28

Excellent project. Quick and easy to make. Nice code work too.

Thanks,

RoyBoy

author
NeilRG made it!(author)2017-04-16

A wonderful project! I do not think that the person who created this can be held responsible for knowing material costs outside of his familiar area. I wish the nit pickers would stop it!! There are some useful things to be learned here.

Thank you.

NeilRG

author
yrralguthrie made it!(author)2017-04-01

I see the 32 CYN price. That screen can't be bought for $5 in the US, or likely anywhere outside of China.

author
Espasio made it!(author)2017-03-31

Отстой! Где код?

author
DmitriyK10 made it!(author)2017-04-04

Он же дал ссылку на Гитхаб

author
yrralguthrie made it!(author)2017-04-01

On AliExpress that particular display is a little less than $14.00 delivery to US. Makes the project in US about $25. Cheaper than I thought. I yield.

author
%E9%99%B3%E4%BA%AE made it!(author)2017-04-02

delivery cost is a big proportion on web order, so I always buy more parts for each order to reduce the relative cost. This behaviour make me addicting to electronics ╮( ̄▽ ̄"")╭

author
Howard+Quinn made it!(author)2017-03-31

Greetings

I have just downloaded, wired, compiled, and run the analyser sketch and am getting errors, (see attached first photo), the program was run on 2(two) nodemcu v1.0 and a v0.9 all with same errors. To get the program to work I added lines to your program (see attached second photo), now it works on all of the nodemcu's. I am running Arduino v1.6.9 on Windows 10, can you explain.

IMG_0026.JPGIMG_0027.JPG
author
%E9%99%B3%E4%BA%AE made it!(author)2017-03-31

seems the error does not related to pgmspace.h, it should be connection problem. Check the cable connected well and correct settings in Arduino.

author
Howard+Quinn made it!(author)2017-04-02

The usb cable I used is the same one that I've used on my other esp8266 programs with NO problems, and what settings in Arduino should I be checking.

author
yrralguthrie made it!(author)2017-04-01

Sorry about the hard headed comment.

I actually tried to buy it, but site said network busy. I am going to try again.

author
%E9%99%B3%E4%BA%AE made it!(author)2017-04-01

If you have access problem at taobao.com, you may try aliexpress:
https://m.aliexpress.com/s/item/32418714610.html

author
yrralguthrie made it!(author)2017-04-01

Your kind of hard headed. I noted the CNY price and the site also had the USD price printed. I quoted USD prices.

To repeat that color LCD screen cost $32 dollars US money.

author
yrralguthrie made it!(author)2017-03-30

I personally see no reason for a dedicated wifi analyzer. Especially since I can buy an android device for what that cost. BUT your project is great for learning out to use some of the electronics available. Good job.

author
%E9%99%B3%E4%BA%AE made it!(author)2017-03-31

It just costed me CNY 50 (around USD 7), it is far from buying an Android. And this is an interesting start up project for studing ESP8266 programming.

author
yrralguthrie made it!(author)2017-04-01

Well it is an interesting project. Good for learning, but I looked up the display on those sites you sent me. It was about 32 USD without the header. That would make the cost of your project for someone without the parts about 50 USD. Batteries, ESP8266, cables and miscellaneous parts.

I found a Lenovo 7 inch Android tablet on the same site for a little over 46 USD. I may see if I can order from those sites from the US.

The only reason I pursued this issue is that it is important to know what a project would cost if someone would like to try it. You likely had some parts on hand and didn't include them in your estimate. I

author
%E9%99%B3%E4%BA%AE made it!(author)2017-04-01

The price should be in CNY, like this one should be CNY 32:
http://m.intl.taobao.com/detail/detail.html?spm=a1z5f.7632060.0.0&id=540011983403

author
yrralguthrie made it!(author)2017-03-31

If that screen, batteries, cables, and ESP8266 cost you only $7.00 would you mind telling me where you shop?

author
jejesson4 made it!(author)2017-03-30

Great project! Can you see non-Wifi signals such as microwave oven noise, ham signals?

author
3967 made it!(author)2017-03-30

interesting but not special enough, do something apps cant do for example use a second module to build a wifi triangulation radar, add add magnetometer or/and gyro module to have a radial refernce point in the code. greetings

author
mach1950 made it!(author)2017-03-16

What are you using for aerial? I see a USB cable and a tube. What is in the tube please?

author
BillM143 made it!(author)2017-03-24

The ESP8266 has a On Board antenna. It is just checking the WiFi signals within its range and displays their name, channels used and relative signal strength.

author
mach1950 made it!(author)2017-03-24

Thanks very much. Problem solvered!

author
%E9%99%B3%E4%BA%AE made it!(author)2017-03-16

Aerial? The tube is just a battery to make it portable ;)

author
BillM143 made it!(author)2017-03-24

I have had a TFT 2.8" SPI 240X320 for a couple weeks and haven't been able to get it working with my ESP8266, Until Now. Your application is great Plus, the definition of the pins for the TFT was just what I needed to get it working.

author
Yavnik made it!(author)2017-03-22

Great job!!! Favorited and voted... definitely gonna try this!!!