Category: Hamradio

  • Chirp installation in Ubuntu

    CHIRP is a free, open-source tool for programming your amateur radio. It supports a large number of manufacturers and models, as well as provides a way to interface with multiple data sources and formats.

    This is super quick and easy if you’re running a reasonably new version of Ubuntu. Simply run the following in a terminal:

    $ sudo apt-add-repository ppa:dansmith/chirp-snapshots
    $ sudo apt-get update
    $ sudo apt-get install chirp-daily

    Look for CHIRP under your distribution’s applications menu.

    Serial port permissions

    Note that you may need to adjust permissions on the /dev/tty(something) device, or add your users who want to use Chirp to the “dialout” group in order to let non-privileged users access the serial device.

    This issue is often indicated by an “access denied” error when accessing serial port.

    On Ubuntu, for example, this is accomplished with:

    $ sudo usermod -aG dialout (username)
    
    Home the Chirp project page
  • Raspberry RTL-SDR RX-Igate

    With help from this manual you can make your own APRS Igate with a Raspberry Pi and RTL-SDR dongle.

    If you find any incorrect information or you have additional info, please leave a comment!

    Offcourse change some of the commands to your personal settings like Callsign, gain, correction factor etc.

    Installation

    Warning, don´t put the RTL-SDR in your Raspberry Pi yet. Wait till the installation is complete.

    Raspbian

    Install Raspian operation system to your Raspberry Pi. See: Installation manual
    My advice is to let the system boot to termial in stead of the graphical user interface (GUI). This will keep as much as possibile processor power and memory free.

    Update your Raspberry:

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get dist-upgrade
    sudo raspi-config
    mkdir ~/src

    Prevent the default RTL-SDR drivers from being loaded automatically. Open the file raspi-blacklist.

    sudo nano /etc/modprobe.d/raspi-blacklist.conf

    Add the next lines to the file:

    blacklist dvb_usb_rtl28xxu
    blacklist dvb_usb_v2
    blacklist rtl_2830
    blacklist rtl_2832
    blacklist r820t

    Reboot the Raspberry PI.

    sudo reboot

    Install driver for RTL-SDR dongle

    cd ~/src
    sudo apt-get install git build-essential cmake libusb-1.0-0-dev
    git clone git://git.osmocom.org/rtl-sdr.git
    cd rtl-sdr
    mkdir build
    cd build
    cmake ../ -DDETACH_KERNEL_DRIVER=ON -DINSTALL_UDEV_RULES=ON
    make
    sudo make install
    sudo ldconfig

    Connect RTL-SDR dongle to Raspberry Pi.

    Install MultimonNG decoder

    cd ~/src
    sudo apt-get install qt4-qmake qt4-default libpulse-dev libx11-dev patch pulseaudio
    git clone https://github.com/EliasOenal/multimonNG.git
    cd multimonNG
    mkdir build
    cd build
    qmake ../multimon-ng.pro
    make
    sudo make install

    Install calibratie tool

    cd ~/src
    sudo apt-get install libtool autoconf automake libfftw3-dev
    git clone https://github.com/asdil12/kalibrate-rtl.git
    cd kalibrate-rtl
    git checkout arm_memory
    ./bootstrap
    ./configure
    make
    sudo make install

    Calibration example of a RTL-SDR dongle (write down PPM value for later)

    kal -s GSM900
    kal -c 36

    (Channel 36 was strongest at my place. You may find another channel to be stronger)

    Install APRS IGate software

    cd ~/src
    sudo apt-get install python2.7 python-pkg-resources
    git clone https://github.com/asdil12/pymultimonaprs.git
    cd pymultimonaprs
    sudo python2 setup.py install

    Make bootscript

    sudo cp pymultimonaprs.init /etc/init.d/pymultimonaprs
    sudo chmod +x /etc/init.d/pymultimonaprs
    sudo update-rc.d pymultimonaprs defaults

    Generate APRS-IS password for your callsign

    (If you allready have a APRS password, you can use that offcourse.)
    Change ‘CALLSIGN’ to your own callsign. Don´t add the SSID like CALLSIGN-10. That would give you another (wrong) key.

    cd ~/src/pymultimonaprs
    ./keygen.py CALLSIGN
    Key for CALLSIGN: 12345

    Change the configfile (Call, password, position, gain, ppm, etc.)

    sudo nano /etc/pymultimonaprs.json

    Test system

    Start system to test funtionallity. (Ctrl+C for stop)

    rtl_fm -f 144800000 -s 22050 -p 18 -g 42.0 - | multimon-ng -a AFSK1200 -A -t raw -

    The -p 18 is correction in PPM, -g 42.0 is one of the possible gain factors. You have to make a choice from the following supported values:

    Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6

    Start Igate

    Start pymultimonaprs

    sudo /etc/init.d/pymultimonaprs start

    Troubleshooting

    USB_open error -3

    See which USB number the RTL-SDR dongle has:

    lsusb

    Check by USB number if the group by RTL-SDR device is ‘input’. ls –lR /dev/bus/usb

    For example: If RTL-SDR device is in (group) Bus 001 and Device 004:

    cd /dev/bus/usb/001
    sudo chgrp input 004

    Source: https://yd0nxx.wordpress.com/2013/04/30/aprs-igate-using-raspberry-pi-board/

  • Linking Tytera DMR to APRS

    Linking Tytera DMR to APRS

    This is a walk-through to get APRS working on your Tytera radio. It is only possible to send APRS packets if you are directly connected to a ‘real’ DMR repeater. Connections like via DV4mini do not support the packets.

    Radio configuration MD-380/390 GPS

    The starting point is that you programmed the latest version code plug.

    Use the appropriate CPS program, for example, CPS MD390

    Load the configuration from the radio to your PC.

    Open window ‘General Setting’

    Fill in the ‘Radio Name’ field with your callsign.
    Fill in the ‘Radio ID’ field with your DMR ID.

    Open window ‘Menu Item’

    Open window ‘Digital contacts’

    Add a new contact, call this GPS with call type ‘privat’ and ID 5057.

    Open window ‘GPS System’

    Use tab 1 and set the following:
    – GPS revert channel: Current CH
    – Default GPS Report Interval (s): 60 (if everything works, please increase interval to avoid inconvenience to other users)
    – Destination ID: GPS (is Digital Contact added in previous step)

    Open window ‘Channel Information’

    At GPS, select option ‘1’.

    Programming

    In the CPS program, everything is now set up. Download the data to the radio.

    Setup Brandmeister Self-care

    Log on to the Brandmeister website
    https://brandmeister.network/

    Enter the information as shown in the image below

    Chinese Radio
    60 sec
    APRS Callsign: your callsign supplemented by -7
    APRS Text: your callsign

    Save the modification

    Testing

    If everything is configured correctly, you can begin testing.
    Make sure you set a zone that contains the channel that was customized with option GPS = 1.
    If all goes well, you will now see a globe at the top of the screen. In the beginning there will be a red cross.
    When reception is good, the cross will disappear and your position will be transmitted every minute.

    It is also possible to activate GPS manually via the menu for each channel.
    Make sure you have selected GPS setting 1.

    Congratulations, you are now visible in the aprs network!