This repository will have the code to use rtl_sdr dongle vir reception and rpitx as transmitter
Go to file
janovskya f3356a4bd2 Merge branch 'master' of https://github.com/antonjan/svxlink_to_rpitx 2019-04-16 11:41:55 +02:00
images adding hardware diagram 2019-04-16 11:38:35 +02:00
LICENSE Initial commit 2019-04-16 10:54:31 +02:00
README.md Merge branch 'master' of https://github.com/antonjan/svxlink_to_rpitx 2019-04-16 11:41:55 +02:00
ptt.pl First Code load 2019-04-16 10:56:15 +02:00
start_echo_test.sh added echo test 2019-04-16 11:04:40 +02:00
start_tx.sh add startup script 2019-04-16 11:03:20 +02:00
stop_tx.sh adding stop script 2019-04-16 11:06:32 +02:00

README.md

svxlink_to_rpitx

This repository will have the code to use rtl_sdr dongle vir reception and rpitx as transmitter. I got insperation from the code devloped here http://www.pg540.org/wiki/index.php/RPITX_interface_to_SVXlink_using_GNUradio

Description

This project will run on a raspberry Pi and use rpitx Transmitter board from Giga Technology for TX and rtl_sdr dongle for reseption.
Gnuradio will be used to interface between svxlink and rpitx and from rtl_sdr and svxlink
Functional Description : The receiver side is all handled by allready existing functionality in SVXLink using Ddr receiver. All configuration is well documented in svxlink.conf. The transmitter part interface is made out of 3 components. The audio coming from SVXlink TX1 is routed via UDP port 1235 to GNUradio, the PTT is routed to PseudoTTY port /home/pi/ptt and the TCP output port 8011 of GNUradio IQ stream is routed to RPITX. When SVXlink wants to transmit it sends a charackter T to the PseudoTTY device ( PTT ON ), a perl script which is started after the start of SVXlink will monitor this PseudoTTY and once it will see the character T it will execute other script starting first RPITX snd then Python GNUradio script. This will switch on the transmitter and audio is routed to RPITX. When SVXlink need to stop transmitting then the character R is send by SVXlink to the PseudoTTY and received by the script monitoring the PTY. It will kill RPITX and Python GNUradio script. As it takes a bit of time to start RPITX ( initializing the PLL ) and starting the TCP listener and starting Python some extra delay is given to SVXLink in the configuration. #Dependinsies

  1. rpitx
  2. rtl_sdr
  3. svxlink
  4. gnuradio

Gnuradio Block diagram

gnuradio block diagram

Hardware

  1. Raspberry Pi hat from Giga Technology http://www.giga.co.za
  2. Raspberry Pi
  3. rtl SDR dongle Hardware diagram

Project Status

Working SVX link system.

SVX Configuration

SVXlink configuration changes are :

In [RX1] of svxlink.conf configure TYPE=Ddr, SIGLEV_DET=DDR, SIGLEV_DET=2.61, SIGLEV_OFFSET=150, FQ=433540000, WBRX=WbRX1

In [WbRX1] put TYPE=RtlUSB, DEV_MATCH=0, HOST=localhost, PORT=1234, CENTER_FQ=433540000, GAIN=3.7,PEAK_METER=1, SAMPLE_RATE=960000

In [TX1] put TYPE=LOCAL, AUDIO_DEV=udp:127.0.0.1:1235, AUDO_CHANNEL=0, PTT_TYPE=PTY, PTT_PTY=/home/pi/ptt