Astro/Starlight documentation covering hardware specs, pinout, schematics, GNSS protocol, LoRa frequencies, and getting started guides. Includes extracted datasheet images and Docker deployment.
3.2 KiB
3.2 KiB
Heltec Tracker Meshtastic Low Power Setting Tutorial
Overview
This project demonstrates how to configure a Heltec Wireless Tracker with Meshtastic to achieve extended battery life through low-power mode settings. The device integrates ESP32-S3FN8, SX1262 LoRa module, and UC6580 GNSS for IoT tracking applications.
Hardware Requirements
- Heltec Wireless Tracker development kit
- 1000mAh lithium battery (fully charged)
- LoRa adapter antenna
- Latest Meshtastic firmware version
Configuration Steps
Device Role Setup
Set the device operating mode:
- Role: TRACKER
Position Configuration
Adjust location broadcasting parameters:
| Parameter | Value | Description |
|---|---|---|
| Position broadcast interval | 900 seconds | How often to broadcast location |
| Smart broadcast min distance | 10 meters | Minimum movement to trigger broadcast |
| Smart broadcast min interval | 900 seconds | Minimum time between broadcasts |
| GPS update interval | 30 seconds | How often to poll GPS |
| GPS_RX_PIN | 33 | GNSS receive pin |
| GPS_TX_PIN | 34 | GNSS transmit pin |
| PIN_GPS_EN | 3 | GNSS power enable (V1.1) |
Power Management Configuration
Enable sleep modes for power conservation:
| Parameter | Value | Description |
|---|---|---|
| Wait for Bluetooth | 0 | Don't wait for BT connection |
| Super deep sleep duration | 1800 seconds | Deep sleep period |
| Light sleep duration | 900 seconds | Light sleep period |
| Minimum wake time | 30 seconds | Minimum active time |
Meshtastic App Configuration
Using the Meshtastic mobile app:
- Connect to device via Bluetooth
- Navigate to Settings → Device Config
- Set Role to TRACKER
- Navigate to Position Config
- Apply the position parameters above
- Navigate to Power Config
- Apply the power parameters above
- Save and reboot device
Results
Successfully configured devices achieve dramatically reduced power consumption:
| Metric | Value |
|---|---|
| Idle current draw | 13 microamps |
| Active operation | ~1% battery per hour |
| Expected runtime (1000mAh) | ~100 hours active |
Power Consumption Breakdown
| Mode | Current Draw |
|---|---|
| Deep Sleep | 13 µA |
| Light Sleep | ~1 mA |
| GPS Active | ~89 mA |
| LoRa TX | ~178 mA |
| LoRa RX | ~59 mA |
Tips for Maximum Battery Life
- Use larger battery: 2000-3000mAh recommended for multi-day operation
- Optimize broadcast interval: Increase if tracking precision isn't critical
- Use external antenna: Better signal = faster TX, less power
- Disable WiFi: If not needed for configuration
- Reduce GPS polling: 60-120 second intervals for stationary tracking
Troubleshooting
Device won't enter deep sleep
- Ensure Bluetooth timeout is set to 0
- Check that no active mesh traffic is preventing sleep
- Verify firmware version supports deep sleep
GPS not getting fix
- Ensure GPIO3 is HIGH (V1.1 hardware)
- Check antenna connection
- Allow 30-60 seconds for cold start fix
Battery draining fast
- Check if device is stuck in active mode
- Verify sleep settings were saved
- Monitor serial output for wake events
Source
Original project by ashley15 on Hackster.io License: Open source