Skip to content

MathieuB1/KOREK-WifiLora-GPS_tracker

Repository files navigation

KOREK-WifiLora-GPS_tracker

Live GPS-tracker for KOREK

Hardware:

For the Server:

  • 1 Heltec V2 ESP32 Board with Wifi & Lora
  • Average Consumption 0.08A max 0.27A

For the Client:

Feature:

  • Capture gps data and send it to korek.ml
  • Send data using Wifi & Lora
  • Track your pet using korek-react.ml
  • Webserver for configuring your tracker
  • Whistle let you trigger gps acquisition
  • Battery level warning
Configure your env & Copy micropython on Board
sudo apt-get install python3-pip
sudo pip3 install esptool rshell
wget https://micropython.org/resources/firmware/esp32-20230426-v1.20.0.bin
sudo esptool.py --port /dev/ttyUSB0 erase_flash
sudo esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x1000 esp32-20230426-v1.20.0.bin
Installation
# 1. Clone this repo
# 2. Set receiver to True/False in main.py (Default is the Lora sender)
# 3. Upload to Heltec v2 board
sudo rshell -p /dev/ttyUSB0 -b 115200
cd KOREK-WifiLora-GPS_tracker/ && rm -rf .git && cp -r * /pyboard/
# 3. Reboot your board and connect to LOCAT-AP with ip address shown on your display board to add your korek-react.ml credentials & Wifi account

Web Server

Initialization

essid: LOCAT-AP pass: 123456789 webserver: http://192.168.4.1/

Webtracker

http://192.168.1.28/sensor

Debug

sudo rshell -p /dev/ttyUSB0
repl

Releases

No releases published

Packages

No packages published

Languages