Getting it your own router’s control panelĮvery router does different kind of structure.
#MAC SERIAL PORT TERMINAL ESP8266 CODE#
You just need to copy the given code and upload it on Arduino using ESP8266 board.Īfter uploading the code, the next step is to open the serial monitor and copy the MAC address. It is also called Physical address, Hardware address or Ethernet hardware address.MAC address has a unique structure of 12-digit hexadecimal (6-Byte binary number) with a group of two, separate by colon like this: 68:C6:3A:F8:E2:F9 Same with MAC (Media Access Control) address is also a unique number use in networking. What is MAC address?Īs you know IP (Internet Protocol) is unique number assign for a computer so that it connects with internet. I hope this article help you and upload successfully but still if it causes some issue or you do not want to use this method, I have other option for you to use ESP8266 MAC address. NOTE: Select the right board and Port COM Web serverĬopy this IP address and open web server. Here it is 192.168.10.150 in the serial monitor. You should use available local and gateway IP address given in your router.Īfter that upload this code then in the serial monitor you will get a static IP addressĪs you can see in the above figure it always gives you a static IP address everytime you restart the board. Just need to insert your own local IP address and gateway address correspondingly before loop() and setup function(). Type your password and SSID so that it can connect with your router.
Copy the given code after that you need to apply some changes on this code. We are using the ESP8266 web server code for two LED’s ON/OFF. I hope by the end of this tutorial you can fix your IP address as it is very to apply.
#MAC SERIAL PORT TERMINAL ESP8266 HOW TO#
And if it is not working, I recommend you to assign with MAC address that includes: what is MAC Address and how to use it to fix the IP address every time you restart your board when you are running a web server or Wi-Fi client. In this article I’ll show how to set a static/fixed IP address using Arduino using ESP8266 NodeMCU board.