Topics

Seeking insights -- trying to get IC7300 to transmit Ardop via PAT

Jonathan Scherch
 

Hello from Seattle. I am running Ardop and Pat on a RPi3B+ / Buster, and cant seem to get my 7300 to transmit.

Ardop is sending KeyPTT commands (True and False), and listening on local 8515. I see waterfall action via ArdopGUI, but rig does not trigger for transmit. I can share my PAT configure file if helpful. I am running FLrig in background as well.

I found this link for more info: http://www.cantab.net/users/john.wiseman/Documents/ARDOPC.html
 
Note this section (about halfway down):

"The TNC supports a number of options for PTT. When using the TCP interface it will send commands to the host to allow it to contol PTT. This is most useful when the host program is running more than one sound card mode (eg ARDOP and WINMOR). The TNC can also key the radio via a hardware or software (CAT) interface. There are a number of optional command line parameters to control like this: "

-p device or --ptt device         Device to use for PTT control using RTS or GPIO Pin (Raspbery Pi only)
-c device or --cat device         Device to use for CAT Control

I am trying to use "--ptt" or "--cat" like this: "./piardopc 8515 plughw:1,0 plughw:1,0 --cat device" but I cant figure ourt what "device" should be.

Any advice is welcome. Thanks and 73.

Jonathan, KK7PW


Michael Dunn
 

Hi Jonathan,

The device the command line is referring to is a 'tty' device that the OS creates when you plug your 7300 into the Pi.  If you unplug your 7300 and then plug it back into the Pi, you can run an 'ls -lrt /dev' and the device should show up at the end of the list.  It will probably be /dev/tty.USB0.

I haven't used Ardop in a while, but this is how I was able to get PTT working with my 7300/Pi:

piardopc 8515 IC7300 IC7300 --cat /dev/tty.IC7300:115200 -k FEFE94E01C0001FD -u FEFE94E01C0000FD

Note that /dev/tty.IC7300 is a udev rule, linking /dev/tty.IC7300 to /dev/tty.USB0 .  Don't use that device unless you have the same rule.  Like wise 'IC7300' is my ALSA alias, so continue to use the plughw references if they are working for you.  I can't remember how the '-k' and '-u' arguments work, but they somehow change the payload of the CAT command to allow the 7300 to PTT.  Hope this helps.

  Cheers
  Mike

Mark Griffith
 

I should point out that /dev/tty[dot]USB0 is not correct.  /dev/ttyUSB0 would be.

Just to clarify and avoid confusion.

Mark
KD0QYN

On Wednesday, January 8, 2020, 4:34:16 PM CST, Michael Dunn <ml000-0013@...> wrote:


Hi Jonathan,

The device the command line is referring to is a 'tty' device that the OS creates when you plug your 7300 into the Pi.  If you unplug your 7300 and then plug it back into the Pi, you can run an 'ls -lrt /dev' and the device should show up at the end of the list.  It will probably be /dev/tty.USB0.

I haven't used Ardop in a while, but this is how I was able to get PTT working with my 7300/Pi:

piardopc 8515 IC7300 IC7300 --cat /dev/tty.IC7300:115200 -k FEFE94E01C0001FD -u FEFE94E01C0000FD

Note that /dev/tty.IC7300 is a udev rule, linking /dev/tty.IC7300 to /dev/tty.USB0 .  Don't use that device unless you have the same rule.  Like wise 'IC7300' is my ALSA alias, so continue to use the plughw references if they are working for you.  I can't remember how the '-k' and '-u' arguments work, but they somehow change the payload of the CAT command to allow the 7300 to PTT.  Hope this helps.

  Cheers
  Mike

Michael Dunn
 

  You are absolutely correct, thanks for catching that Mark.

  Cheers
  Mike

Jonathan Scherch
 

On Wed, Jan 8, 2020 at 02:34 PM, Michael Dunn wrote:
piardopc 8515 IC7300 IC7300 --cat /dev/tty.IC7300:115200 -k FEFE94E01C0001FD -u FEFE94E01C0000FD
Thanks, Mike. Here is the script that I have been trying:

./piardopc 8515 plughw:1,0 plughw:1,0 -p device

The 7300 transmits, but does not alternate to RX (so that the target station reply could be heard). It simply stays in transmit and sends transmission every few seconds. I have to use Control-C to interrupt.

Any ideas how to make the TX alternate with RX?

BTW, here is my rigctld script:

rigctld -m 373 -r /dev/ttyUSB0 -s 9600

Thanks again.

Jonathan, KK7PW


Ray Adkins
 

Check the unlinked from remote in the ci-v section. I think I had to change this to get it to work correctly.

Ray

John Wiseman
 

I assume you've replaced device in the command line with your device name (/dev/ttyUSB0).

Also make sure your 7300 is configured to allow PTT using the RTS signal on the control port.

I don't think it will work if you also have rigctld running.

The alternative, using --cat and k FEFE94E01C0001FD -u FEFE94E01C0000FD should also work.

73,
John G8BPQ


On 14/01/2020 23:35, Jonathan Scherch wrote:
On Wed, Jan 8, 2020 at 02:34 PM, Michael Dunn wrote:
piardopc 8515 IC7300 IC7300 --cat /dev/tty.IC7300:115200 -k FEFE94E01C0001FD -u FEFE94E01C0000FD
Thanks, Mike. Here is the script that I have been trying:

./piardopc 8515 plughw:1,0 plughw:1,0 -p device

The 7300 transmits, but does not alternate to RX (so that the target station reply could be heard). It simply stays in transmit and sends transmission every few seconds. I have to use Control-C to interrupt.

Any ideas how to make the TX alternate with RX?

BTW, here is my rigctld script:

rigctld -m 373 -r /dev/ttyUSB0 -s 9600

Thanks again.

Jonathan, KK7PW