Hello,
How to get latitude and longitude using esp32.Also tell me how to get public ip for my esp32
latitude and longitude using esp32
Re: latitude and longitude using esp32
The most common way of retrieving your current geo-position is to attach a GPS receiver to your device. You could the write an app that would query the location. Obtaining your public IP address is going to be a function of how your device is connected to the network. Commonly, one connects to a WiFi access point that is connected to your cable/DSL modem. The public IP address is then that of the modem. There are services on the Internet that you can invoke and they will respond with the apparent return address that a response should be sent to. It is this that I would consider to be my public IP.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: latitude and longitude using esp32
You can also use the same principles as what described in this appnote. ttps://www.espressif.com/sites/default/files/d ... 266_en.pdf
Who is online
Users browsing this forum: alifepretend and 158 guests