esp8266 open wifi port detector

Use an esp8266 to monitor for open wifi ports.

Similar projects worth following
Just kicking off the project, stay tuned for more info.

The goal was to learn a little more about the esp8266 and while doing so found I left my guest WIFI port on.

Not wanting to give open access to my network I created this little project to warn me if there is an open port available.

  • 1 × Project box to mount it all in. I chose to use a Pill bottle. I chose to use a Pill bottle.
  • 1 × Optionally a switch to turn the project on/off Or just unplug the battery.
  • 1 × USB TTY (5 or 3v) serial cable. Not needed for running project but will be needed to setup esp8266 firmware and load lua code.
  • 1 × Proto board I used the radio shack Catalog #: 2760148
  • 1 × ESP8266-01 wifi module Serial WIFI Wireless Transceiver Module These can be found at many DIY hobbie stores, EBAY, Adafruit, amazon.. Make sure its a -01 model, there are 6 or 7 different models

View all 9 components

  • Overview of design.

    Gary02/15/2015 at 21:37 0 comments

    The only components needed for the actual project is the esp8266, LED, current limiting resistor and a 3.3v voltage source. To get the 3.3v I ended u sing a AM1117 3 terminal regulator feed from a 18650 LIPO battery. I also added an option lipo charger to the board and a header to allow me to program the esp8266 board from a USB FTDI ttl cable.

    Wiring can be a simple proto board or wire on a bread board like I did. I used a mix of wire wrap wire and some proto cable I had handy.

    Here is the sloppy wiring.

    Here is the front side of the board.

    I was able to shoehorn the whole project into a large pill bottle.

View project log

  • 1
    Step 1


    THE ESP 8266 is a 3.3v device. DONT connect VCC or any of the pins to a 5v source or it will damage the device.


    Before you can start building your project you will need some esp8266 tools and firmware. These tools are windows specific tools, but there are linux variants available.

    You need to be able to flash new firmware to the chip., To do that I recommend espflasher available at

    For loading the actually wifi detection software onto the esp8266 wifi board I would recommend ESPlorer available from github.

  • 2
    Step 2
  • 3
    Step 3

    Here is the complete schematic. The ftdi and lipo charger are optional parts but included for completeness.

    NOTE!!! I didnt have a good fritizing ams117 part so I used the more generic 78xx regulator. The schematic shows a single part but I used a ebay module, see parts list. again any 3.3v regulator will do.

View all 4 instructions

Enjoy this project?



davedarko wrote 04/29/2015 at 11:15 point

Would be a neat feature if it would also connect to the wifi and send the ssid to a webpage that registers the time, ssid and IP, so that with some IP adress magic you'd even get a close location. 

Where you able to estimate the runtime of your battery or log the mA? 

  Are you sure? yes | no

Gary wrote 02/16/2015 at 21:28 point

More information on the LUA programming language can be found at

Check out for  lots of information about the esp8266.

Check out for information about LUA on the esp8266.

  Are you sure? yes | no

Gary wrote 02/16/2015 at 21:25 point

You can find a video of the project in action at 

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates