Main Menu

search

You are here

ESP8266 - my operation trials

[last updated: 2023-02-03]
ESP32 & ESP8266 home page
-----

  • Basic Function test:
    • connect USB cable to PC
    • open Arduino IDE
    • Tools -> Port:
      confirm one is selected
    • Tools -> Board
      NodeMCU 1.0 (ESP-12E Module)
    • in IDE:
      File -> Examples -> ESP8266
      select: Blink
    • compiling and uploading and execution should proceed.

  • wifi test:
    • Following tutorial in ref. 01:
      • connected two LED's, each with 330 ohm resistors to ground
        from ESP pins labeled D1 (GPIO4)and D2 (GPIO5)
      • copied arduino code from tutorial
        and saved it to: ESPwebServer.txt
      • copied code into sketch, named: ESPwebServer-01.ino
      • when download successful, open serial monitor at 115200
        press RST button on ESP
        printout should show URL of web page created
              eg. 192.168.0.29
          If Serial Monitor output is gibberish:
          check if correct baud rate selected
          reset router
      • open a web browser and enter the URL from the ESP
      • web page should show two buttons, one for each LED connected to the ESP
      • toggling the buttons on the webpage toggles the LED's on the ESP

.

.

.

eof