Important: Use only Compass Linux images and dstarrepeater packages. They contain support specific to the UDRC™. Source is available for review on GitHub.
During initial startup do not modify the basic Raspberry Pi setup. For example, do not overclock the Raspberry Pi, it is not needed as performance is more than adequate, and doing so can change clocking values on busses used by the UDRC™ causing it to either not function or be unstable. If you make any changes not listed in these instructions, and your UDRC™ does not function, return to the original settings.
Please verify your DR-1X has recent firmware installed. For analog and D-STAR with no Fusion Digital, the UDRC™ has been tested against versions 1.00m and 1.00t (no further testing will be performed on the 1.00 series firmware). For D-STAR, Fusion Digital, and analog, the UDRC™ has been tested on 1.10D and 1.10J. We recommend that you upgrade to 1.10 series firmware.
Mount your UDRC™ on a Raspberry Pi 2 or 3
Make sure the pins are properly aligned and use the supplied standoffs to support the board above the HDMI port.
Universal Digital Radio Controller
A video tutorial is available on YouTube
Now is a good time to register a unique callsign for your repeater at ircDDB.net. In the United States this needs to be a club callsign, in other countries a secondary callsign is necessary. If you want to use your personal call sign, you will be able to run the repeater and perform linking to repeaters and reflectors, but will be unable to do callsign routing including STARnet Digital groups.
If you already have an ircddbgateway registered, you can just add this repeater to it via configuration.
Create the Boot Image
- Obtain a high quality microSD card. A Class-10 card of 8GB or more is recommended.
- Download a Compass Linux image from archive.compasslinux.org
- The 'lite' version is without a GUI and will require hand editing of the dstarrepeater configuration file. The full version has graphic configuration tools for those new to setting up dstarrepeater and ircddbgateway.
- Unzip and copy the uncompressed image to the SD card using the procedure outlined on the Raspberry Pi site.
Boot for the First Time
- Place the microSD card in the Raspberry Pi.
- Attach a monitor and keyboard/mouse to the Raspberry Pi
- Attach Ethernet via the RJ-45 jack to your network.
- Apply power via one of these methods
- Using the microUSB port next to the HDMI port (good if you are not at the repeater site)
- Through the 15-Pin connector while attached to the DR-1X repeater (Power down the repeater while installing the supplied 15-Pin cable)
- Allow the Raspberry Pi to boot up
- Login (User: pi, Password: raspberry)
- From a terminal command line, verify that the UDRC™ is recognized by typing the command aplay -l (that's a lowercase l) and observe that udrc is listed as a card. If you do not see it listed, power down and remount the UDRC™.
- Perform any Linux configuration specific to your installation, e.g. assign specific network addresses, install favorite tools, etc. (This is beyond the scope of NW Digital Radio support, please use Linux support resources for assistance.)
Note: DO NOT RUN raspi-update - it will break your install
- You may wish to edit the /etc/hosts file and add reference to the hostname, for example if you keep the default 'compass' hostname, add a line
If you want to change the computer hostname use the command:
sudo raspi-configThen select "Advanced Options" -> "Hostname" and follow the instructions. It will update the hostname for your Raspberry Pi and will make the change in /etc/hosts
- To preset the pins and levels on the UDRC™ we provide a script. Execute the following:
curl -L -s https://goo.gl/h04nla | sudo sh(the 'pipe' or | is usually above the \ key on most keyboards -- if you want to see what the script does, leave off '| sudo sh')
- To gracefully shutdown the Raspberry Pi, you may use the command:
You may install any mix of GUI and non-GUI versions of the repeater and gateway software. Use the following commands on the command line.
For the GUI tools:
sudo apt-get install dstarrepeater ircddbgateway
If you want a set of desktop Icons to start the GUI applications, see:
and download file icons.tgz to the 'pi' user home directory /home/pi then
tar -xzvf icons.tgz
For the non-GUI tools:
sudo apt-get install dstarrepeaterd ircddbgatewayd
If you are running ircddbgateway on another computer, there is no need to install it on the Pi. You will configure dstarrepeater to access the ircddbgateway.
Prepare the DR-1X
The repeater must be set for remote mode.
Be sure to use CTCSS on RX/TX in analog, avoid 100.0 Hz as that can false on a GMSK signal.
User radios should use CTCSS or DCS squelch on TX and RX. Also, recommend to your users to activate BCLO (Busy Channel Lock Out) on their radios to help avoid stepping on transmissions in a different mode.
Configuration of dstarrepeater
Download the seed file for the dstarrepeater
sudo curl -L -s -o /etc/opendv/dstarrepeater_1 https://goo.gl/w3rm3a
If using the GUI install, you can edit the file with:
sudo -E dstarrepeaterconfig 1
If non-GUI, use an editor like nano or vi to edit, e.g.
sudo nano /etc/opendv/dstarrepeater_1
You will need to change the repeater callsign and gateway callsign to your system. If you are doing a 70cm repeater these are the only settings that need changed for initial configuration. Only adjust other settings if you understand their effect.
If you are using a 2 meter configuration, you will need to change the Sound Card Modem RX to 0 or not inverted.
The repeater will switch to D-STAR upon receiving D-STAR traffic and return to the configuration set for the UDRC™ (serialConfig in dstarrepeater_1)
Configuration Choices are:
- Auto RX / Fixed FM TX
- Auto RX / Auto TX (Default in the seed file)
- Fusion Digital Fixed RX / Fusion Digital Fixed TX
- Fixed FM RX / Fixed FM TX
(Use this if you are not on DR-1X firmware 1.10D or 1.10J)
- Is used for simplex access points (hotspots) and non DR-1X repeaters attached to the Mini DIN-6 connector
If you powered the Raspberry Pi using the micro USB port, shutdown and remove the USB cable.
Make sure the UDRC™ is connected to the DR-1X using the provided 15 pin cable. This should power up the Raspberry Pi.
NOTE: Many standard VGA Cables do not have all of the pins wired and will not work!
Login to the Raspberry Pi and issue the command:
sudo systemctl start dstarrepeaterd@1
The repeater should now repeat D-STAR signals received on the repeater's input. Test by keying up and watching the D-STAR radio's display.
The code gives preference to local traffic over D-STAR network traffic, regardless of mode.
If you want to run WIRES-X use a separate node radio attached to the HRI-200. You cannot use the HD-15 and mini DIN-10 at the same time.
If you want to see a GUI, run the commands:
sudo systemctl stop dstarrepeaterd@1
sudo dstarrepeater 1
Logs for troubleshooting are at /var/log/opendv
If you want the dstarrepeaterd daemon to start on reboot, issue the command:
sudo systemctl enable dstarrepeaterd@1
A video of hints for management of the daemon.
Since there are no special instructions for ircDDBGateway for the UDRC™, please refer to the documentation in the files section of the Yahoo Group ircDDBGateway
If you would like a web based dashboard for ircDDBGateway, check out the real time dashboard at ircNodeDashboard
Visit our quick startup Wiki page for ircDDBGateway.