Skip to content

nopnop2002/esp-idf-GPS-Recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esp-idf-GPS-Recorder

GPS NMEA Recorder for M5Stack.
You can record & play NMEA messages like a voice recorder.

Background

I live in an apartment.
GPS signal does not reach my room.
So, I walk outside with M5Stack and record the NMEA message.
Return my room and play the NMEA message recorded on M5Stack.
M5Stack works like GPS.


Hardware requirements

M5Stack.
GPS module like NEO-6M.


Software requirements

esp-idf ver4.1 or later.
Because uart_enable_pattern_det_intr() has been changed to uart_enable_pattern_det_baud_intr().


Install

git clone https://github.com/nopnop2002/esp-idf-GPS-Recorder
cd esp-idf-GPS-Recorder
idf.py menuconfig
idf.py flash

Configure

You can configure using menuconfig.

config-1

config-2


Recording

NMEA messages are recorded in SPIFFS.

Wireing to GPS

You can use GROVE port as UART RXD.
SCL of GROVE(Yellow) is GPIO22.
SDA of GROVE(White) is GPIO21.
You can choice GPS RX GPIO using menuconfig.

Operation

Displays NMEA messages and signal status.
View

Press button A(Left button) to start recording.
Press button A(Left button) again to stop the recording.
Recording

Playback

Outputs the NMEA message recorded in SPIFFS to UART TXD.

Wireing to TARGET

You can use GROVE port as UART TXD.
SCL of GROVE(Yellow) is GPIO22.
SDA of GROVE(White) is GPIO21.
You can choice PLAYBACK TX GPIO using menuconfig.

Operation

Press button B(Center button) to start playback in repeat mode.
Press button C(Right button) to stop the playback.
Playback-Repeat

Press button B(Center button) for 2 seconds or more to start playback once.
Press button C(Right button) to stop the playback.
Playback-Once

Releases

No releases published

Packages

No packages published

Languages