Important: Use only Compass Linux images. They contain support specific to the UDRC™. Source is available for review on GitHub.
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
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. The full version has graphic interface and is recommended if you plan to have a GUI application running.
- 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
- Using the micro USB port next to the HDMI port
- There are solder pads to apply 12 vdc to the UDRC if that is more convenient
- 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.)
- 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
- To preset the pins and levels on the UDRC™ for direwolf we provide a script. Execute the following
curl -L -s https://goo.gl/7rXUFJ | 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 sudo halt
Build and Install Direwolf
apt-get install libasound2-dev
sudo make install
Read the README
Download the User's Guide
Peruse other documents on the WB2OSZ Github for ideas and troubleshooting -- however, you do not need to perform the items in Raspberry Pi document. The UDRC only needs a few edits in direwolf.conf
Use your favorite editor, e.g. nano or vi to edit file direwolf.conf
Follow the directions in the file for setting up MYCALL, PBEACON, DIGIPEATER, and IGSERVER/IGLOGIN
Set the following parameters
# THE UDRC MUST ALWAYS BE ADDRESSED AS A STEREO DEVICE ALTHOUGH WE ARE ONLY USING ONE CHANNEL
Under CHANNEL 0 -- Choose MODEM (1200 and 9600 for VHF/UHF) and set the PTT
PTT GPIO 12
If you are using 9600 (Discriminator Audio), also setup CHANNEL 1 with
Attach Radio and Start Direwolf
Use the Mini Din-6 connector to attach a radio with a 9600 baud packet port. Many radios have a Mini Din-6 socket specifically for this purpose, use a straight through male to male Mini Din-6 cable. If you selected Mini Din-6 when ordering the UDRC, use that cable. If you need a specialized cable to go to another radio, you can build one or see Cable and Connectors on the NW Digital Radio blog.
The values set by the script should be sufficient, but controls exist in the alsamixer program to adjust PCM (modulation for TX) and ADC (receive), after selecting the UDRC as the sound device. Use them judiciously and save changes with the command
sudo alsactl store
You may wish to save the initial script and change the db values you pick in alsamixer.
cd ~Use your favorite editor modify the new shell script. You can execute it any time
curl -L -s https://goo.gl/7rXUFJ > my-udrc-setup.sh
chmod +x my-udrc-setup.sh
Many applications can be used with direwolf
One quick application is Xastir for APRS.
apt-get install xastir
NW Digital Radio is in the process of setting up various community groups at Groups.io Please create a personal account at Groups.io Join the main NW Digital group by sending an email from your registered email account to firstname.lastname@example.org and then send an email to email@example.com Please use the group for questions and to share your experiences, so that all UDRC™ users can benefit from the replies.
Please share your solutions at https://nw-digital-radio.groups.io/g/udrc