Bauanleitung einfaches Interface über GPIO

Audio galvanische Trennung

Interface Funkgateway

PTT über GPIO

Schaltrelais PTT Steuerung

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Kondensator

    Stück 4x Kondensator (10nf)

 

 

 

 

 

Widerstand

2 Stück Widerstand (5 KiloOhm)

 

 

 

 

 

 

NF Übertrager

 

2 Stück NF Übertrager 1:1 600 Ohm

 

 

 

 

 

 

Relais

1 Kanal Relais 5V/230V Raspberry Pi Modul Channel Relay

 

 

 

 

 

GPIO Konfiguration Svxlink

in der Datei /etc/svxlink/gpio.conf

###############################################################################
#
# Configuration file for the SvxLink server GPIO Pins
#
###############################################################################

# GPIO system pin path
# RPi/odroid/nanopi/pine64 = /sys/class/gpio, orangpi = /sys/class/gpio_sw
GPIO_PATH=/sys/class/gpio

# Space separated list of GPIO pins that point IN and have an
# Active HIGH state (3.3v = ON, 0v = OFF)
GPIO_IN_HIGH=““

# Space separated list of GPIO pins that point IN and have an
# Active LOW state (0v = ON, 3.3v = OFF)
GPIO_IN_LOW=““

# Space separated list of GPIO pins that point OUT and have an
# Active HIGH state (3.3v = ON, 0v = OFF)
GPIO_OUT_HIGH=“gpio4″

# Space separated list of GPIO pins that point OUT and have an
# Active LOW state (0v = ON, 3.3v = OFF)
GPIO_OUT_LOW=““

# User that should own the GPIO device files
GPIO_USER=“root“

# Group for the GPIO device files
GPIO_GROUP=“gpio“

# File access mode for the GPIO device files
GPIO_MODE=“0666″

TX Abschnitt in der /etc/svxlink/svxlink.conf

[Tx1]
TYPE = Local
TX_ID = T
AUDIO_DEV = alsa:plughw:1
AUDIO_CHANNEL = 0
PTT_PIN = gpio4
PTT_TYPE = GPIO
GPIO_PTT_PIN = gpio4
GPIO_PATH = /sys/class/gpio
TX_DELAY = 500
PREEMPHASIS = 0
DTMF_TONE_LENGTH = 100
DTMF_TONE_SPACING = 50
DTMF_DIGIT_PWR = -15
MASTER_GAIN = 0.0

WordPress Cookie Plugin von Real Cookie Banner