Good afternoon,
I was just struggling to figure out the IP address of my ESP32 to connect to the internet with it and was wondering if anyone knew how? BTW I am using Adafruits feather ESP32.
Best,
Jared
Presumably your ESP32 will be connecting to your wireless network via WiFi and your router will allocate an IP address to it
As far as the Internet is concerned it will see your router and is IP address, not that of your ESP32. What is it that you want to do with your ESP32 when it is connected to the Internet ?
The IP address is typically assigned by your router.
Don
Specifically I am watching a GreatScott tutorial and need to know the IP address the ESP32 has been assigned to google it and control an LED using my phone.
Where might we find that tutorial?
In order to do that you will need to change the settings of your router to allow external access to the local IP address of your ESP32. The fact that you are having to ask how to find the IP address allocated to your ESP32 indicates to me that you would be unwise to fiddle with your router settings but I look forward to a link to the video that you are following
Ya truthfully I don't really know what I am doing regarding this stuff as its my first time.
Please post the sketch associated with the project. Once connected to your router you can print the IP address of the ESP32 from within the sketch but we don't have enough details to help you at the moment
At about 7 minutes into that video he mentions (very quickly) that he determined the IP address by checking his router.
If you don't know how to do this then you are probably in a little above your head, but I think you already figured this out!
//print the local IP address
ip = WiFi.localIP();
Serial.println(ip);
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.