Meshtastic Raspberry Pi Zero 2 W based node, with GPS
Meshtastic stationary node:
Raspberry Pi Zero 2 W (soldered longer gold pins — 17mm; regular are too short)
Waveshare SX1262 LoRaWAN Node Module Expansion Board ( https://www.waveshare.com/sx1262-lorawan-hat.htm )
Waveshare 1.44" LCD hat ( https://www.waveshare.com/1.44inch-lcd-hat.htm )
GPS antenna (like from https://s.click.aliexpress.com/e/_DCeU5lh )
UFL — SMA female connector ( https://s.click.aliexpress.com/e/_DlYPJT9 )
Sirio SO 868-915-2 W/Cable antenna ( https://www.sirioantenne.it/en/products/uhf/so-868-915-2 )
Printed from PETG, no supports. Print 8x between-boards-pin.
GPS antenna mounted with double sided tape.
Fusion source file is available.
raspberry pi /boot/firmware/config.txt:
dtparam=spi=on
dtoverlay=spi0-0cs
enable_uart=1
Config pieces (config.yaml):
Lora:
Module: sx1262 # Waveshare SX126X XXXM
DIO2_AS_RF_SWITCH: true
CS: 21
IRQ: 16
Busy: 20
Reset: 18
GPIO:
User: 5
GPS:
SerialPath: /dev/ttyS0
Display:
### Waveshare 1.44inch LCD HAT
Panel: ST7735S
CS: 8 #Chip Select
DC: 25 # Data/Command pin
Backlight: 24
Width: 128
Height: 128
Reset: 27
OffsetX: 2
OffsetY: 30
Also a bit of swap tweaking on raspberry pi (optional):
### disable swapfile
sudo dphys-swapfile swapoff
sudo dphys-swapfile uninstall
sudo systemctl disable dphys-swapfile
sudo systemctl mask dphys-swapfile
### enable zram
sudo apt-get install zram-tools
### /etc/default/zramswap
SIZE=384
ALGO=lz4
### PERCENT= commented out
### force more zswap swap usage
# cat /etc/sysctl.d/99-local.conf
vm.swappiness = 80
vm.page-cluster = 0
- Комментарии
Ссылка появится после регистрации





























