Skip to main content

Raspberry Pi 5 (Gateway)

The Raspberry Pi 5 serves as the main gateway of the mesh network.

Specifications​

ComponentDetails
ModelRaspberry Pi 5 8GB
Storage64GB microSD
OSRaspberry Pi OS Lite (64-bit)
IP192.168.68.127

Functions​

  1. LoRa Gateway - Connects LoRa module to IP network
  2. MQTT Broker - Runs Mosquitto for internal messaging
  3. Meshtastic Daemon - Manages LoRa communication

Connected Hardware​

  • Heltec ESP32 LoRa V3 via USB
  • Power: Official 27W USB-C power supply

Installed Services​

Meshtastic​

# Check status
sudo systemctl status meshtastic

# View logs
journalctl -u meshtastic -f

# Restart
sudo systemctl restart meshtastic

Mosquitto (MQTT)​

# Check status
sudo systemctl status mosquitto

# Test connection
mosquitto_sub -h localhost -t "test"

Access​

SSH​

ssh pi@192.168.68.127

Web Interface​

http://192.168.68.127

Useful Commands​

View connected nodes​

meshtastic --nodes

View node info​

meshtastic --info

Send test message​

meshtastic --sendtext "Test message"

Listen to messages​

meshtastic --listen

Maintenance​

Check disk space​

df -h

Check memory​

free -h

Check temperature​

vcgencmd measure_temp

Update system​

sudo apt update && sudo apt upgrade -y