DR-1X and AllStarLink
Connecting a Yaesu DR-1X to AllStarLink is no as simple as with other radios or repeaters. The easiest way to do it is using a DMK Engineering URIxB card.
The DR-1X needs an external tone generator connected when used in BASE station mode while using the accessory port.
Audio and signaling Cable
First thing you have to do is a cable to connect DR-1X and the URIxB as follows.
DR-1X to URIxB | |||
---|---|---|---|
DR-1X | URIxB | ||
Pin | Use | Pin | Use |
1 - 5 | Mode (Connect to pin 5) | ||
2 | PTT | 1 | |
3 | CTCSS_DET | 7 | |
4 | COS_DET | 8 | |
5 | Gnd (Connect to pin 5) | N/C | |
6 | Tone In | 23 | Right Audio Out |
7 | Audio In | 22 | Left Audio Out |
9 | Audio Out | 21 | Mic In |
10 | Gnd | 13 | Gnd |
Connect your repeater, custom cable, URIxB, USB cable and Raspberry Pi or AllStarLink computer to be used.
Repeater Configuration
Configure your repeater with the frequency you are going to use, Rx tone and do not set/enable a Tx tone (even if you setup one, it will not work on BASE mode), set deviation to Wide and disable Remote.
AllStarLink Configuration
It is assumed that you are familiar with AllStarLink ssh logging and menu. So I will not explain that here.
sudo asl-menu
Select Node Setting, next AllStar Node Setup Menu Add Node or Update Node xxxxxx and set your Node Number, Node Password, Node Callsign, for Radio interface select USB Radio (DSP driver), and Duplex Type 2.
If asked to restar Asterisk go ahead.
Exit the Interface Tune CLI, we are not using it at this time.
Apply changes, and next go to the Expert Configuration Menu and Edit usbradio.conf file adding the following parameters to your node stanza (here I use node 123456). I do not like templates from ASL3 as with multiple nodes, if you do not track your node differences, you can mess with other nodes, so I make a full stanza for each node.
[123456](node-main) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;; ASL3 Tune settings ;;;;; ;devstr = 1-1.5:1.0 rxmixerset = 629 ; This need to be set using a service monitor, but it could be a good starting point for your repeater. txmixaset = 830 ; This need to be set using a service monitor, but it could be a good starting point for your repeater. txmixbset = 765 ; This need to be set using a service monitor, but it could be a good starting point for your repeater. rxvoiceadj = 0.880000 rxctcssadj = 0.500000 txctcssadj = 765 ; This need to be set using a service monitor, but it could be a good starting point for your repeater. rxsquelchadj = 500 fever = 1 eeprom = 0 ; EEPROM installed: 0,1 ; 0 = no (default) ; 1 = yes hdwtype = 0 ; Leave this set to 0 for USB sound fobs modified using ; the instructions from usbfob.pdf. Use a setting of ; 1 is for Dingotel/Sph interfaces. rxboost = yes ; no - 20db attenuator inserted ; yes - 20db attenuator removed ; Set to yes for additonal gain if using a low-level receiver output ; CM119B devices are hard coded to rxboost 20dB attenuator removed rxctcssrelax = 1 ; reduce talkoff from radios w/o CTCSS TX HPF ; Do not change this, leave this as a 1 rxsqhyst = 3000 ; Setting Squelch Hysteresis ; 3000 is the default amount. ; An amount of 500 seems good. ; Then set the squelch to the highest number revealed when doing a "radio ; tune rxsquelch" - running the command multiple (like 20) times in a row.
Here, replace 100.0 with your repeater Tx tone.
txctcssdefault = 100.0 ; default TX CTCSS frequency, any frequency permitted rxctcssfreqs = 100.0 ; RX CTCSS frequencies list in floating point. must be in table txctcssfreqs = 100.0 ; TX CTCSS frequencies list. any frequency permitted. will follow RX CTCSS frequency rxctcssoverride = no ; Set to yes to start out in carrier squelch mode carrierfrom = usbinvert ; no,usb,usbinvert,dsp,vox ; no - no carrier detection at all ; usb - from the COR line on the USB sound fob (Active high) ; usbinvert - from the inverted COR line on the USB sound fob (Active low) ; dsp - from RX noise using DSP techniques ; vox - voice activated from RX audio ; pp - from parallel port (Active high) ; ppinvert - from the inverted parallel port (Active low) voxhangtime = 2000 ; If carrierfrom=vox, mS to wait detecting RX audio before setting rxcarrierdetect=0 ; 2000 is the default but results in 2 seconds of silence added after RX unkey. ; 500 seems more optimal. Lower values may result in unintended drops in RX CD. ctcssfrom = usbinvert ; no,usb,usbinvert,dsp ; no - no CTCSS decoding, system will be carrier squelch ; usb - from the CTCSS line on the USB sound fob (Active high) ; usbinvert - from the inverted CTCSS line on the USB sound fob (Active low) ; dsp - CTCSS decoding using RX audio in DSP. ; rxdemod option must be set to flat for this to work. ; pp - from parallel port (Active high) ; ppinvert - from the inverted parallel port (Active low) rxdemod = flat ; input type from radio: no,speaker,flat ; no - RX audio input not used ; flat - Use RX audio from discriminator (before de-emphasis) ; speaker - use de-emphasized audio rxsquelchdelay = 30 ; delayline in ms carrier squelch tail eliminator rxondelay = 0 ; Number of 20mSec intervals following the release of PTT. ; Uncomment and/or adjust for simplex nodes to eliminate "Ping Ponging" ; or "Relay Racing". A positive value here will instruct the usbradio ; driver to ignore the COR line for a specified number of 20mSec ; intervals following the release of PTT. Use this ONLY on simplex ; nodes, and leave commented out for repeaters or other full duplex nodes. txoffdelay = 0 ; Ignore the reciever for a specified number of 20 millisecond ; intervals after the transmitter unkeys. ; This is useful when setting up a half-duplex link with an existing ; repeater, where you need to ignore the repeater's hangtime. txboost = no ; Add transmitter audio gain boost: no,yes txprelim = yes ; Audio processing on left output channel: no,yes ; no - Audio is not pre-emphasized and limited. ; (suitable for use on a microphone input) ; yes - Audio is pre-emphasized and limited. ; (suitable for direct connection to an FM modulator) txlimonly = yes ; Audio limiting with no pre-emphasis on output channel: no,yes ; no - Audio is not limited. ; yes - Audio is limited. ; Suitable for transmitters with no limiting but with pre-emphasis. txtoctype = tone ; Transmit tone control type: no,phase,notone ; no - CTCSS tone encoding with no hang time ; phase - encode CTCSS and reverse phase ; AKA ("reverse burst") before unkeying TX ; notone - encode CTCSS and stop sending tone before unkeying TX ; AKA ("chicken burst") txmixa = voice ; Left channel output: no,voice,tone,composite,auxvoice ; no - Do not output anything ; voice - output voice only ; tone - CTCSS tone only ; composite - voice and tone ; auxvoice - auxiliary voice output at headphone level for monitoring txmixb = tone ; Right channel output: no,voice,tone,composite, auxvoice ; no - Do not output anything ; voice - output voice only ; tone - CTCSS tone only ; composite - voice and tone ; auxvoice - auxiliary voice output at headphone level for monitoring ; Audio filters rxlpf = 0 ; Receiver Audio Low Pass Filter 0,1 2 ; 0 - 3.0 kHz cutoff (Default) value for reduced noise and increased intelligibility. ; 1 - 3.3 kHz cutoff for increased high end, sibilance and brightness. ; 2 - 3.5 kHz cutoff for even more high end, sibilance and brightness. rxhpf = 0 ; Receiver Audio High Pass Filter 0,1 ; 0 - 300 Hz cutoff. (Default) value to reduce sub-audible signals for retransmission and in the receiver speaker. ; 1 - 250 Hz cutoff for additional received and retransmitted bass response. ; recommend using this filter with a CTCSS tone no higher than 186.2 Hz. txlpf = 0 ; Transmitter Audio Low Pass Filter 0,1 ; 0 - 3.0 kHz cutoff. (Default) value. ; 1 - 3.3 kHz cutoff for increased high end, sibilance and brightness. txhpf = 0 ; Transmitter Audio High Pass Filter 0,1,2 ; 0 - 300 Hz cutoff. (Default) value to reduce interference between voice and sub-audible signaling tones and codes. ; 1 - 250 Hz cutoff for increased bass response in transmitted audio. ; 2 - 120 Hz cutoff for special applications requiring additional bass response in transmitted audio. ; Not recommended due to the increased possibility of voice energy interfering with sub-audible signaling invertptt = no ; Invert PTT: no,yes ; no - ground to transmit ; yes - open to transmit duplex = 1 ; Duplex 0,1 ; 0 - half duplex ; 1 - full duplex duplex3 = 0 ; duplex 3 gain setting (0 to disable) ??? clipledgpio = 0 ; Enable ADC Clip Detect feature to use a GPIO output (0 to disable). ; Supports URI Clip LED by setting a GPIO (if available) high for 500mS ; when clipping detected. Value = GPIO# to use (GPIO1 recommended) legacyaudioscaling = no ; If yes, continue to do raw audio sample scaling and clipping, resulting in Tx audio levels increasing ; by 0.83dB and Rx audio levels decreasing by 1.94dB. Should be set to no unless you have an existing ; node with precisely adjusted audio levels and are unable to adjust them. This parameter and associated ; scaling/clipping code will be deleted once existing installs have been able to verify their audio levels
Save your file.
Restart Asterisk.
Thats all, have fun.
Notes
Pre-Emphasys does not work as expected, still looking for a workarround for this issue.
Credits
Fernando XE1FVS and Juan Carlos _XE1F, spent a whole day figuring out the best way to achieve the best configuration , testing other cards like R1-2023 and tracing some bad files on our rpt.conf test file.