Transfer GPS NMEA messages over Wifi/Bluetooth
I live in an apartment.
GPS signal does not reach my room.
I put my ESP32 and GPS receiver by the window and forward NMEA messages over WiFi.
esp-idf v4.4/v5.x
GPS module like NEO-6M
GPS | ESP32 | |
---|---|---|
VCC | -- | 3.3V |
GND | -- | GND |
TXD | -- | Any Pin |
git clone https://github.com/nopnop2002/esp-idf-GPS-Repeater
cd esp-idf-GPS-Repeater
idf.py set-target esp32
idf.py menuconfig
idf.py flash
You can configure UART GPIO port and transfer protocol using menuconfig.
You can use tcp.py as receiver.
python ./tcp.py
You can use udp.py as receiver.
python ./udp.py
You can use iPhone/Android as receiver.
u-center is a very powerful NMEA message analysis tool.
You can use ESP32 as u-center's GPS Server.
ESP32 acts as a TCP Server.
Build the firmware using TCP socket.
Start u-center and connect to ESP32.
You can use mDNS host name as IP.
Default port is 5000.
tcp://esp32-server.local:5000
Bluetooth GPS is Android Application.
You can download from here.
ESP32 acts as a SPP Acceptor.
Build the firmware using Bluetooth SPP.
1.Pair with ESP_SPP_ACCEPTOR.
2.Open application.
3.CONNECT.
Repository with UI is here.