latitude and longitude using esp32

Posts: 16
Joined: Wed Jun 13, 2018 11:48 am

latitude and longitude using esp32

Postby hemant.chaudhari » Mon Jul 30, 2018 11:52 am


How to get latitude and longitude using esp32.Also tell me how to get public ip for my esp32

User avatar
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: latitude and longitude using esp32

Postby kolban » Mon Jul 30, 2018 12:58 pm

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:

Posts: 60
Joined: Thu Dec 10, 2015 1:11 pm

Re: latitude and longitude using esp32

Postby Franco » Tue Jul 31, 2018 9:54 am

You can also use the same principles as what described in this appnote. ttps:// ... 266_en.pdf

Who is online

Users browsing this forum: stokersoft and 39 guests