Create a WiFi Access Point and Provide a Web Server on NodeMCU V3

by MrSottong in Circuits > Arduino

5983 Views, 6 Favorites, 0 Comments

Create a WiFi Access Point and Provide a Web Server on NodeMCU V3

IMG_7158.JPG

in the previous article I already discussed about how to use NodeMCU ESP8266. In the article I explain about how to add NodeMCU ESP8266 to Arduini IDE.

There are several ways to communicate via the internet using NodeMCU ESP8266. Making NodeMCU as a client, access point, and a combination of the two. and in this article I will show you how to make NodeMCU an access point

I suggest to read this article first before "Get Started With ESP8266 (NodeMCU Lolin V3)" continuing this tutorial.

Required Component

IMG_7155.JPG

This is the component that we need:

Programming

code.PNG

Make sure you have added the ESP8266 Board to Arduino IDE. If not, you must read this article first "Get Started With ESP8266 (NodeMCU Lolin V3)". After the board has been added, let's move on to the discussion.

Download the file that I have provided below. open the file and upload to NodeMCU.

Downloads

Access the Webserver

serial monitor.PNG
code.PNG
photo_2019-10-04_22-55-31.jpg

After the program has finished uploading, NodeMCU can be used immediately.

these are the steps to use it:

  • Open Serial Monitor on Arduino IDE.
  • Press reset on NodeMCU
  • Note the IP address that appears.
  • Look for the SSID with the name "NodeMCU".
  • Connect your cellphone or laptop with the SSID name above.
  • Open the browser and enter the IP address that was noted earlier.

Result

photo_2019-10-05_04-48-58.jpg

After the HP or laptop has been confirmed connected to the SSID that was made earlier, the words "You are connected" will appear