mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 16:53:45 +00:00
37bacdd83d
Use right button to switch between modes
40 lines
1.6 KiB
Markdown
40 lines
1.6 KiB
Markdown
# GPS for Flipper Zero
|
|
|
|
[Original link](https://github.com/ezod/flipperzero-gps)
|
|
|
|
[Adafruit Ultimate GPS Breakout].
|
|
|
|
![ui](ui.png)
|
|
|
|
Heavy lifting (NMEA parsing) provided by [minmea], which is included in this
|
|
repository.
|
|
|
|
## Modifications made by @xMasterX
|
|
- Ability to change baudrate using Up button, hold button to switch between baudrates (9600, 57600, 115200) (i set 57600 as default)
|
|
- Ok button will set backlight to always on mode, to disable press ok button again (it will restore default settings after app exit too)
|
|
- Long press Right button to change speed from knots to kilometers per hour
|
|
- Exit from app using long press on back button instead of short press, may be useful in case you want to turn backlight on and accidentally click back
|
|
|
|
## Hardware Setup
|
|
|
|
Connect the GPS module to power and the USART using GPIO pins 9 (3.3V), 11
|
|
(GND), 13 (TX), and 14 (RX), as appropriate.
|
|
|
|
![wiring](wiring.png)
|
|
|
|
|
|
## Contributing
|
|
|
|
This project was a learning exercise and is more or less "complete" from my
|
|
perspective, but I will happily accept pull requests that improve and enhance
|
|
the functionality for others.
|
|
|
|
Currently, the app only parses RMC and GGA sentences, and displays a subset of
|
|
the data that fits on the screen. The UART is also hard-coded to 9600 baud.
|
|
These limitations are largely driven by the GPS module I have to work with. A
|
|
more elaborate UI with scrolling or multiple screens, as well as a configurable
|
|
baud rate, may be useful for other GPS modules.
|
|
|
|
[Adafruit Ultimate GPS Breakout]: https://www.adafruit.com/product/746
|
|
[minmea]: https://github.com/kosma/minmea
|
|
[flipperzero-firmware]: https://github.com/flipperdevices/flipperzero-firmware
|