So, a couple of questions,
What is the pinout for the com port?
First you say
-Serial cable connected to TX radio (audio, PTT, gnd).
Than you say
This application has currently been tested with the following setup: -Radioshack pro-95 disc tap > laptop line in (48khz) > Laptop audio out > 9600bps data input of Yaesu FT-7800R.
Which pin carries audio? The second seems to indicate that Audio is from the soundcard out, and not the serial line.
Hi There,
I don't think I typed the "serial cable (audio, ptt, ground)" correctly. There are two seperate cable
The setup I tested uses audio directly from a discriminator tap port I wired into my old Pro-95 scanner. It is simply a 3.5mm audio cable from the scanner disc tap to the line in my laptop.
From the laptop, i have a 3.5mm audio cable wired to a small project board. The project board is also wired to a 6-pin mini-din connector that plugs into data port of the FT-7800R.
If memory serves correctly, I believe the tip of the audio cable is wired to the project board, and then to the 9600bps IN on the FT-7800R. The ring is wired to nothing, and the sleeve is wired to ground on the project board, and then to the ground on the FT-7800R.
The USB -> Serial adapter is also wired to Ground on the project board (whatever pin that is on a 9 pin serial cable), and the RTS is wired to the project board, and the to the PTT pin on the FT-7800R.
So for a mini-recap:
Audio in from disc tap audio source -> line in on PC
Audio output from PC:
Tip -> project board -> Correct pin on 6-pin mini-din connector (9600BPS INPUT)
Ring -> not used
Sleeve -> project board (ground)-> Correct pin on 6-pin mini-din connector (GROUND)
USB->Serial Connector
Ground Pin -> project board (ground)
RTS pin -> project board -> Correct pin on 6-pin mini-din connector (PTT)
The 6-pin mini-din is connected to the back of the FT-7800R and contains audio, ptt, and ground.
Hopefully that helps a bit. Audio out is a seperate cable from the laptop and doesn't run through the serial cable. The serial cable is only for PTT control.
Can you change the RTS pin to ground instead of +5 when PTT. Maybe make that selectable.
I can certainly give it a shot! If I can, making it selectable is trivial.
Can you explain a little what the latency and buffer settings do. Of course, I understand what latency and buffer mean, but what do they affect when running the application.
Really the only thing that the latency setting does is tell the application how long to delay the replay of the input audio.
So if you leave it at 200ms and the program detects audio to TX, it will store the input audio for 200ms (giving the TX radio a moment to key up) and then replay the audio through the soundcard.
I left the buffer settings in for advanced users that may care to tweak the buffer size. I haven't found any reason to do so as of yet.
And last, perhaps the option for multiple NACs, perhaps 2 or 3, would be nice.
Sounds like an easy request!
If you are still waiting for some DSD logs for NXDN and DMR, let me know. I can capture some tonight. I am in a dense radio jungle, with lots to choose from.
If you could send a few of each my way i'd appreciate it. Something with voice and color/ran codes in use.
I'll post a new version as soon as I can. Probably tomorrow night.
Thanks!
-Ryan KC9GMY