ESP8266 WiFi Analyzer

35,497

323

34

Published

Introduction: ESP8266 WiFi Analyzer

About: Make it yourself if you cannot buy one!

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!

3 People Made This Project!

Recommendations

  • Water Contest

    Water Contest
  • Oil Contest

    Oil Contest
  • Clocks Contest

    Clocks Contest

34 Discussions

0
user
n88

Question 4 months ago

Can you use all thing from wifi analizer ? like on the phone?

1 more answer

use all thing?

Will any lcd work as long as it works with SPI protocol ??

1 reply

Yes, since I am writing base on Adafruit_GFX, you may use any supported display. Just like my commented ST7735 code at ESP8266WiFiAnalyzer.ino.

I have the exact same display and I'm using an NODEMCU V0.9 board, when trying to upload the code I receive the following error(also I downloaded the current Adafruit_GFX) library files, any suggestions?:

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:67:67: error: section attribute not allowed for 'bitmap'

drawBitmap(int16_t x, int16_t y, PROGMEM const uint8_t bitmap[],

^

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:69:67: error: section attribute not allowed for 'bitmap'

drawBitmap(int16_t x, int16_t y, PROGMEM const uint8_t bitmap[],

^

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:75:68: error: section attribute not allowed for 'bitmap'

drawXBitmap(int16_t x, int16_t y, PROGMEM const uint8_t bitmap[],

^

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:77:76: error: section attribute not allowed for 'bitmap'

drawGrayscaleBitmap(int16_t x, int16_t y, PROGMEM const uint8_t bitmap[],

^

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:82:36: error: section attribute not allowed for 'bitmap'

PROGMEM const uint8_t bitmap[], PROGMEM const uint8_t mask[],

^

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:82:66: error: section attribute not allowed for 'mask'

PROGMEM const uint8_t bitmap[], PROGMEM const uint8_t mask[],

^

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:86:71: error: section attribute not allowed for 'bitmap'

drawRGBBitmap(int16_t x, int16_t y, PROGMEM const uint16_t bitmap[],

^

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:91:37: error: section attribute not allowed for 'bitmap'

PROGMEM const uint16_t bitmap[], PROGMEM const uint8_t mask[],

^

C:\Program Files (x86)\Arduino\libraries\Adafruit_GFX/Adafruit_GFX.h:91:67: error: section attribute not allowed for 'mask'

PROGMEM const uint16_t bitmap[], PROGMEM const uint8_t mask[],

1 reply

Hi gadgets_guy, I have tried program with latest software and source code (Arduino 1.8.5, Adafruit GFX 1.2.2, Adafruit ili9341 1.0.11, esp8266 2.3.0) without any error. You may get update and try again.

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

Thanks,

RoyBoy

0
user
NeilRG

1 year ago

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

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

1 reply

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

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.

1 reply

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 ╮( ̄▽ ̄"")╭

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
2 replies

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

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.

Sorry about the hard headed comment.

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

1 reply

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

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.