Parts:
- Raspberry Pi Zero
- Adafruit LoRa RFM9x (we use a 900mhz model)
- GPS Module (we used a UBLOX NEO-6M)
Use raspi-config to enable SPI
LoRa Pin | Pi Zero | Pi Header |
---|---|---|
VCC | 5v | 1 |
GND | GND | 6 |
D0 | GPIO25 | 22 |
SCK | GPIO-11 | 23 |
MISO | GPIO-9 | 21 |
MOSI | GPIO-10 | 19 |
CS | GPIO-8 | 24 |
RST | GPIO-24 | 18 |
GPS | Pi Zero | Pi Header |
---|---|---|
VCC | 3v | 17 |
GND | GND | 6 |
RX | TX | 8 |
TX | RX | 10 |
- npm i -g forever
- crontab -u pi -e
- Add this line
@reboot /usr/bin/sudo -H /usr/local/bin/forever start /home/pi/asan/asan-flight-js/forever/start.json