latitude and longitude using esp32

hemant.chaudhari
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

Hello,

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

User avatar
kolban
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: https://leanpub.com/kolban-ESP32

Franco
Posts: 104
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://www.espressif.com/sites/default/files/d ... 266_en.pdf

Who is online

Users browsing this forum: No registered users and 69 guests