Skip to content

nopnop2002/esp-idf-GPS-Repeater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp-idf-GPS-Repeater

Transfer GPS NMEA messages over Wifi/Bluetooth

Background

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.

Software requirements

esp-idf v4.4/v5.x

Hardware requirements

GPS module like NEO-6M

Wireing to GPS module

GPS ESP32
VCC -- 3.3V
GND -- GND
TXD -- Any Pin

Installation

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

Configure

You can configure UART GPIO port and transfer protocol using menuconfig.

Transfer using TCP Socket

0001

config-tcp-ap

Select WiFi mode.
config-tcp-sta

You can use tcp.py as receiver.
python ./tcp.py

Transfer using UDP Broadcast

0002

config-udp-ap

Select WiFi mode.
config-udp-sta

You can use udp.py as receiver.
python ./udp.py

Transfer using Bluetooth SPP

You can use iPhone/Android as receiver.
0003

config-spp

GPS Server for u-center

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

u-center-0 u-center-1 u-center-2 u-center-3 u-center-4 u-center-5

GPS Server for Bluetooth GPS

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.

android-1 android-2

References

Repository with UI is here.

About

Transfer GPS NMAE messages over Wifi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published