feathergps
A esp32 hosted leaflet.js realtime gps tracker using websockets, Sparkfun Things Plus, ublox SAM-M8Q, leaflet.js, leaflet-raltime.js, ESPAsync Webserver and SPIFFS.
Hardware:
- SparkFun Thing Plus - ESP32 WROOM (https://www.sparkfun.com/products/15663)
- SparkFun GPS Breakout - Chip Antenna, SAM-M8Q (Qwiic) (https://www.sparkfun.com/products/15210)
- Qwiic Cable - 50mm (https://www.sparkfun.com/products/14426)
Dependencies:
Arduino:
- https://github.com/me-no-dev/ESPAsyncWebServer
- https://github.com/sparkfun/SparkFun_Ublox_Arduino_Library
- https://arduinojson.org/
- https://github.com/me-no-dev/arduino-esp32fs-plugin Web:
- https://leafletjs.com/
- https://github.com/perliedman/leaflet-realtime
Setup:
- Connect ublox SAM-M8Q to Thing Plus via QWIIC
- Edit Wifi Credentials in host.ino
- Upload host.ino to Sparkfun Things Plus (https://learn.sparkfun.com/tutorials/esp32-thing-plus-hookup-guide)
- Upload SPIFFS data folder (https://github.com/me-no-dev/arduino-esp32fs-plugin/releases/)
- Open http://esp32.local in browser
- Wait for GPS signal
Todos:
- Add Location Pin to leaflet realtime (currently using linestring)
- Add logging (https://www.sparkfun.com/products/13712)
- ???