GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rats-ry/HamTetra: TETRA infrastructure for amateur radio applications

BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
install
install
 
 
libosmocore @ 1f48b93
libosmocore @ 1f48b93
 
 
liquid-dsp @ 00e92db
liquid-dsp @ 00e92db
 
 
osmo-tetra-dmo @ c630336
osmo-tetra-dmo @ c630336
 
 
suo @ 0349b91
suo @ 0349b91
 
 
.gitmodules
.gitmodules
 
 
README.md
README.md
 
 

Repository files navigation

HamTetra

This is a repository for an implementation of Terrestrial Trunked Radio (TETRA) using software defined radios. The goal is to implement a direct-mode (DMO) repeater and a trunked-mode (TMO) base station.

The system consists of multiple pieces from different repositories, which are pulled in here as git submodules.

Supported platforms

Supported radios are those providing a SoapySDR module, full duplex capability and timestamp support. This includes at least the LimeSDR, LimeSDR Mini, SXceiver, XTRX, BladeRF and various USRP models. Most experimentation so far has happened on various LimeSDR models, so that's recommended.

Due to the lack of full duplex and/or transmit timestamp support, devices such as ADALM-PLUTO and HackRF are not guaranteed to work properly.

Recommended operating system is Ubuntu Linux running on any laptop, server or desktop computer. Raspberry Pi 3 or 4 running Raspberry Pi OS or other single-board computers running Armbian can be used as well. Several other platforms may work but have not been tested.

Installation for SXceiver on Raspberry Pi OS

Tested on Raspberry Pi OS version 12.

Install the SXceiver driver module (SoapySX). This can be skipped if you have already installed the latest version.

sudo apt-get install -y --no-install-recommends git make g++ cmake libsoapysdr-dev libasound2-dev libgpiod-dev
cd
git clone "https://github.com/tejeez/sxxcvr.git"
cd sxxcvr/SoapySX
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig
# Only needed on desktop systems running PipeWire:
systemctl --user restart wireplumber

Install the rest:

cd
git clone https://github.com/OH2NXX/HamTetra.git
cd HamTetra
git submodule init
git submodule update
 
install/suo_dependencies.sh
install/build_liquiddsp.sh
install/build_suo.sh
 
install/osmo_dependencies.sh
install/build_osmocore.sh
install/build_osmotetra.sh

Installation for LimeSDR on Ubuntu

The following steps have been tested to work on a fresh installation or a container based on Ubuntu 18.04.

sudo apt install git
cd
git clone https://github.com/OH2NXX/HamTetra.git
cd HamTetra
git submodule init
git submodule update
 
# Skip install_limesdr.sh if LimeSDR drivers and SoapySDR are installed
# already. Avoid installing a mixture of multiple versions.
install/install_limesdr.sh
 
install/suo_dependencies.sh
install/build_liquiddsp.sh
install/build_suo.sh
 
install/osmo_dependencies.sh
install/build_osmocore.sh
install/build_osmotetra.sh

The installation scripts will occasionally ask for your password in order to use sudo. On distributions other than Ubuntu or Debian, try to find the equivalent packages for the dependencies and install them manually.

If you just installed LimeSuite, it's a good idea to make sure the LimeSDR firmware and gateware versions are up to date. Do:

LimeUtil --update

Running it

To run a DMO repeater, start:

osmo-tetra-dmo/src/hamtetra_main2

It should print a help for command line parameters. Fill in your SDR hardware and TETRA frequency and it should start transmitting. If changes to some other configuration is needed, edit the source code.

Alternative platforms

So, LimeSDR is too expensive or you can't wait for one to arrive? No worries! There's also some experimental support for traditional sound-card based SDRs. Depending on your hardware, it may or may not work properly. ALSA snd_pcm_link call is used to synchronize record and playback streams, which seemed to work well enough on one tested motherboard integrated sound chip, but not so well on one tested USB sound card.

Connect Line Out and Line In to I/Q mixers, use some signal generator as a local oscillator and tune it 12 kHz below the desired center frequency. Start something like ./hamtetra_main2 alsa:hw:0,0 0 and use alsamixer -c 0 to adjust the mixer settings. Replace hw:0,0 and -c 0 with the correct sound card number if needed.

About

TETRA infrastructure for amateur radio applications

groups.io/g/HamTetra

Resources

Readme
Activity
Custom properties

Stars

82 stars

Watchers

18 watching

Forks

11 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.