Testing The Setup: Wifi Scanner - Espressif ESP8266 User Manual

Hide thumbs Also See for ESP8266:
Table of Contents

Advertisement

F. Testing the Setup: WiFi Scanner
Thanks for bearing with the complicated preparation until getting to the really cool part. We
are going to run our first program on the NodeMCU! In the Menu of the Arduino IDE go to
File > Examples > ESP8266Wifi and select WiFiScan. A new window will open up. This window
is your current project and is also called a "Sketch". To compile and transfer the binary to the
ESP8266 click on the green circle that contains an arrow on the very top of the window. If
everything went well this will compile the sketch andupload the binary to the ESP. It might
look something like this:
Wifi Scanner Output
If you see Done uploading. in the window, then click on the magnifying glass on the top right
of the window. This is the serial console that you can use to see output from the NodeMCU
module, or to send commands to the device. Make sure that the baud rate is set to 115200.
This rate is also set in the example code, and if you have a different setting the ESP will talk
with a different speed than your PC listens. You can set the baud rate on the bottom left of
the serial monitor. My output looks like this:
Serial Console of the Wifi Scanner
If you see something similar: congratulations! You have just set all the preconditions to run
the WeatherStation code.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP8266 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF