README.md aktualisiert

This commit is contained in:
Jörg Deckert 2024-06-26 19:23:05 +02:00
parent ff99222c91
commit ba741ec2fe
1 changed files with 97 additions and 1 deletions

View File

@ -14,7 +14,7 @@ Für dieses Projekt wird während der Testphase die folgende, vorhandene Hardwar
* Raspberry Pi 3B+ 2MB mit 8GB SD-Card
* LoRa Raspberry Pi HAT der SWISS-ARTG
* PicoAPRS v4 als KISS TNC und 2m Transceiver
* SHARI PiHat Mod2 Board
Sobald alles wie gewünscht funktioniert, wird auf passendere Hardware umgestellt (z.B. Raspberry Pi Zero W, einfacher 2m Transceiver)
@ -53,6 +53,10 @@ Die folgenden Anpassungen werden mit dem Tools "raspi-config" vorgenommen, welch
* Komplette SD-Card nutzen:
* 6 Advanced Options
A1 Expand Filesystem
* 3 Interface Options
I5 Serial Port
login shell: none
serial port enable: yes
Um dem Benutzer aprsadmin Zugriff auf einen möglicherweise per USB angeschlossenen KISS-TNC zu geben, wird er zur Gruppe dialout hinzugefügt:
@ -66,6 +70,98 @@ Alle wesentlichen Anpassungen aus Betriebssystem-Ebene können mitels RasPi-Conf
So können z.B. das Betriebssystem aktualisiert oder die WLAN-Zugangsdatenm geändert werden.
## Konfiguration SHARI PiHat
Der SHARI PiHat besteht im Wesentlichen aus dem Transceiver-Modul SA818 und einem Soundkarten-Chip von C-Media (CM119A). Das Transceiver-Modul SA818 muß programmiert werden, die Programmierung wird im einem Flash gespeichert, muß also nicht bei jedem Start wiederholt werden. Die Programmierung erfolgt über die serielle Schnittstelle des RaspBerry mittels eines speziellen Python-Programmes, SA818-prog2.01.py. Das kann unter [https://groups.io/g/SHARI/files](https://groups.io/g/SHARI/files) heruntergeladen werden, dazu ist aber leider eine Anmeldung erforderlich. Nach dem Download wird SA818-prog2.01.py auf dem RaspBerry unter ~/SHARI plaziert. Zusätzlich wird noch das Python-Modul pyserial benötigt, welches wie folgt installiert wird:
```
sudo apt install python3-serial
```
Die Konfiguration wird nun gestartet:
```
python ~/SHARI/SA818-prog2.01.py
```
```
No previous programming data available.
------------------------------------------------------
SA818-prog, Version 2.01
Programing SHARI PiXX / SHARI PiHat / SA818(U/V) Module
Programming Device name:
/dev/ttyS0
------------------------------------------------------
Testing serial communications
Serial communications with the SA818 module are OK
What are you programming?
Enter 1,2 or 3 where SHARI PiXX=1, SHARI PiHat=2, SA818 Module=3: 2
Programming a SHARI PiHat
Wide channel spacing
Enter band (VHF=1, UHF=2): 1
You chose VHF
Enter transmit frequency in MHz (xxx.xxxx): 144.8000
The transmit frequency is 144.8000 MHz
Enter receive frequency in MHz (xxx.xxxx): 144.8000
The receive frequency is 144.8000 MHz
Do you want to use a sub audible tone? (0 = No, 1 = CTCSS, 2= DCS): 0
You chose No SubAudible Tone
Enter Squelch Value (0-8): 0
Squelch is set to 0
Enter Volume (1-8): 5
Volume is set to 5
Enable Pre/De-Emphasis (y/[n]): n
Pre/De-Emphasis is not enabled
Enable High Pass Filter (y/[n]): n
High Pass Filter is not enabled
Enable Low Pass Filter (y/[n]): n
Low Pass Filter is not enabled
Verify:
------------------------------------------------------
Channel Spacing: 1
Tx Frequency: 144.8000
Rx Frequency: 144.8000
Tx CTCSS code: 0000
Rx CTCSS code: 0000
Reverse Burst: n
Squelch Value: 0
Volume Value: 5
PreEmphasis Enabled: n
High Pass Enabled: n
Low Pass Enabled: n
------------------------------------------------------
Is this correct ([y]/n) ?y
Sending Frequency, Sub Audible Tone, and Squelch Information...
Frequency, Sub Audible Tone, and Squelch information correct
Setting Volume - 5
Setting Reverse Burst
Setting Filters
Programming Successful
Configuration log written to /home/aprsadmin/.SA818.log
```
## Installation dxlAPRS
Ein möglicher Weg zur Installation wäre die Nutzung der fertigen Archive von DL1NUX, welche hier verfügbar sind: [dl1nux/dxlAPRS](https://github.com/dl1nux/dxlAPRS). Das Selbst-Compilieren aus den Original-Quellen ist aber auch nicht viel schwerer, wenn man das direkt auf dem Raspberry macht (unter dem Nutzer "aprsadmin"):