Tag Archives: esp

esp8266 get ip address

This tutorial explains how to get ip address assigned to ESP8266? In DHCP configuration IP is assigned by WiFi Router. In most WiFi Router you can get IP address from WiFi router from its connected device status window. But WiFi router shows ip address only when there is data sent on network. If ESP is connected but did not sent any packet on network then WiFi router may not show ip address of your ESP. If it is connected then you will have to identify your ESP name. i.e. set using

Continue reading esp8266 get ip address

How to change ESP8266 MAC Address

This tutorial explains how to change mac address of ESP8266? ESP8266 Arduino core does not provide an API to change ESP8266’s WiFi MAC address. While there is a WiFi.macAddress() function, it actually retrieves the current WiFi MAC address, instead of setting it. However, Espressif SDK offers an API to change the WiFi STA MAC address.

All esp8266 comes with unique address which is factory programmed. A MAC address is given to a network adapter when it is manufactured. It is hardwired or hard-coded onto your network interface card (NIC) or chip and is unique to it. Something called the ARP (Address Resolution Protocol) translates an IP address into a MAC address. Continue reading How to change ESP8266 MAC Address

ESP8266 get mac adress

This tutorial explains how to get mac address of ESP8266? All esp8266 comes with unique address which is factory programmed. A MAC address is given to a network adapter when it is manufactured. It is hardwired or hard-coded onto your network interface card (NIC) or chip and is unique to it. Something called the ARP (Address Resolution Protocol) translates an IP address into a MAC address.

For this reason, the MAC address is sometimes referred to as a networking hardware address, the burned-in address (BIA), or the physical address. Here’s an example of a MAC address for an Ethernet NIC: 00:0a:95:9d:68:16. Continue reading ESP8266 get mac adress

Software reset ESP8266

This tutorial shows hot to software reset ESP8266 in Arduino IDE. This sketch/example shows software reset using simple command ESP.restart() or ESP.reset().

Software reset for ESP8266 is required when you get trouble to connect WiFi router.

Lets see the use of software restart. This example program will show you software reset in a loop before it reaches to its max value. Continue reading Software reset ESP8266