Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.85 KB

README.md

File metadata and controls

45 lines (26 loc) · 1.85 KB

esp8266speedtest

Using the NodeMCU 1.0 V2 board equipped with an ESP8266 WiFi module I made a simple speed test that ping's Google. All my source code is documented for easy reading and implementation.

The white LED indicates that the remote host server is being pinged, blue LED inicates that the response time is less than 50 MS, green LED inicates that the response time is greater than 50 and less than 100 MS, yellow LED inicates that the response time is greater than 10 and less than 200 MS, red LED inicates that the response time is greater than 200 MS.

If all the LED's (excluding the white one) are blinking, it means that the ESP8266 could not establish a connection with the internet. Try checking your network settings or the software settings. Be sure to change the SSID_NETWORK_NAME and SSID_NETWORK_PASSWORD variables to match your network credentials.

Hardware Required

  1. NodeMCU MicroController with ESP8266 WiFi Module
  2. Breadboard
  3. 12 Male-to-Male jumper wires
  4. 5 LEDs (white, blue, green, yellow, and red)
  5. 5 1k OHM resistors

NodeMCU Purchase Link (non-affiliated)

https://www.amazon.com/Makerfocus-ESP8266-ESP-12E-Internet-Development/dp/B01IK9GEQG

Circuit Diagram

Circuit Picture

Pin map

Libraries Used:

ESP8266Ping: https://github.com/dancol90/ESP8266Ping

ESP8266Wifi: Built-in

Pictures

Possible upgrade ideas

Have a geo CDN such as Amazon CloudFront with a range of files from 1MB to 15MB, and test off those. (idea from Cheesekun)