¿ªÔÆÌåÓý

Help with TNC-Pi9k6 serial0 in YAAC


 

Hello!

? Trying to get YAAC up and running on a TNC-Pi:

Hardware:
* Raspberry Pi 4 8G
* 7" Touchscreen screen
* TNC-Pi9K6 (G8BPQ v2 board, Teensy 3.6)
* IC-7100 (6 pin DIN cable)

Software:
* Raspberry Pi OS (latest - full) (Jul2020)

I turned on serial in raspi-config, and I am able to get up and running with pitnc_getparams /dev/serial0 0 returning:

pitnc_getparams Version 0.0.0.5

Using Serial port /dev/serial0

? ? ?TNC Software Version? ? ? ? ? ? ? ? ? ?6
01 TXDelay - Zero means use ADC 30
02 Persistance? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 160
03 Slottime (in 10 mS)? ? ? ? ? ? ? ? ? ? ? 30
04 TXTail? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4
05 Full Duplex - Not used? ? ? ? ? ? ? ? ? 0
06 Our Channel (Hex)? ? ? ? ? ? ? ? ? ? ? ?ff
07 I2C Address (0 = async) Hex? ? ? ?ff
08 Mode Speed? ? ? ? ? ? ? ? ? ? ? ? ? ?1200
09 RX Level (Config)? ? ? ? ? ? ? ? ? ? ? ? ?0
10 TX Level? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?4
11 RX Level (Actual)? ? ? ? ? ? ? ? ? ? ? ? ?0
13 Centre Freq? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 100
8 6 1e a0 1e 4 0 ff ff c 0 4 0 a a8 c0 sum 0

But, when I try to set up YAAC, I do not see /dev/serial0 in the list of ports.? I only see /dev/ttyS0 and /dev/ttyAMA0, and either of those produce a blank screen when I press "test".

I read something about editing an ax25 configuration file that is supposed to be included with buster, but I don't see an ax25 folder in /etc/ or in /etc/default/.? I can continue with the YAAC setup using ttyS0 or ttyAMA0 and get the radio to transmit, but I don't see my beacon showing up on the APRS map, so I don't think YAAC is communicating, so the "mic is on but no one's talking".? It seems like YAAC can't see serial0.

Any help would be appreciated.

73,
Richard
KJ7DDV


 

what do you get with "sudo ls -al /dev | grep serial"


On Sat, Jul 11, 2020 at 10:57 AM <richard.overman@...> wrote:
Hello!

? Trying to get YAAC up and running on a TNC-Pi:

Hardware:
* Raspberry Pi 4 8G
* 7" Touchscreen screen
* TNC-Pi9K6 (G8BPQ v2 board, Teensy 3.6)
* IC-7100 (6 pin DIN cable)

Software:
* Raspberry Pi OS (latest - full) (Jul2020)

I turned on serial in raspi-config, and I am able to get up and running with pitnc_getparams /dev/serial0 0 returning:

pitnc_getparams Version 0.0.0.5

Using Serial port /dev/serial0

? ? ?TNC Software Version? ? ? ? ? ? ? ? ? ?6
01 TXDelay - Zero means use ADC 30
02 Persistance? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 160
03 Slottime (in 10 mS)? ? ? ? ? ? ? ? ? ? ? 30
04 TXTail? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 4
05 Full Duplex - Not used? ? ? ? ? ? ? ? ? 0
06 Our Channel (Hex)? ? ? ? ? ? ? ? ? ? ? ?ff
07 I2C Address (0 = async) Hex? ? ? ?ff
08 Mode Speed? ? ? ? ? ? ? ? ? ? ? ? ? ?1200
09 RX Level (Config)? ? ? ? ? ? ? ? ? ? ? ? ?0
10 TX Level? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?4
11 RX Level (Actual)? ? ? ? ? ? ? ? ? ? ? ? ?0
13 Centre Freq? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 100
8 6 1e a0 1e 4 0 ff ff c 0 4 0 a a8 c0 sum 0

But, when I try to set up YAAC, I do not see /dev/serial0 in the list of ports.? I only see /dev/ttyS0 and /dev/ttyAMA0, and either of those produce a blank screen when I press "test".

I read something about editing an ax25 configuration file that is supposed to be included with buster, but I don't see an ax25 folder in /etc/ or in /etc/default/.? I can continue with the YAAC setup using ttyS0 or ttyAMA0 and get the radio to transmit, but I don't see my beacon showing up on the APRS map, so I don't think YAAC is communicating, so the "mic is on but no one's talking".? It seems like YAAC can't see serial0.

Any help would be appreciated.

73,
Richard
KJ7DDV


 

Hi there, thanks for the reply.? That gives me:

lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0
lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0

So it looks like ttyS0?is serial0.? Cool.? I can even use getparams on ttyS0 and it gives me the same list of parameters.

I tried using ttyS0 in YAAC and still I get a blank screen when I press "test"? and still can't see my beacon on the APRS map.

Cheers,
Richard


 

just set it with? pitnc_setparams /dev/serial0 10 255


On Sat, Jul 11, 2020 at 12:41 PM <richard.overman@...> wrote:
Hi there, thanks for the reply.? That gives me:

lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0
lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0

So it looks like ttyS0?is serial0.? Cool.? I can even use getparams on ttyS0 and it gives me the same list of parameters.

I tried using ttyS0 in YAAC and still I get a blank screen when I press "test"? and still can't see my beacon on the APRS map.

Cheers,
Richard


 

OK I tried that, Tx is set to 255 now, but I'm still seeing the same condition, blank screen on testing the port ttyS0.


 

Looking in your getparams output, your txlevel was only 4.? I'd set it to 255


On Sat, Jul 11, 2020 at 12:41 PM <richard.overman@...> wrote:
Hi there, thanks for the reply.? That gives me:

lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0
lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0

So it looks like ttyS0?is serial0.? Cool.? I can even use getparams on ttyS0 and it gives me the same list of parameters.

I tried using ttyS0 in YAAC and still I get a blank screen when I press "test"? and still can't see my beacon on the APRS map.

Cheers,
Richard


 

OK tried setting the TX to 255, still getting a blank window when I test the port.


Mark Griffith
 

A TX level of 255 will put 3 volts peak to peak on that line.? That is pretty high and that will probably overdrive his radio.?

Mark
KD0QYN


On Saturday, July 11, 2020, 4:08:41 PM CDT, N5XMT <dacooley@...> wrote:


Looking in your getparams output, your txlevel was only 4.? I'd set it to 255


On Sat, Jul 11, 2020 at 12:41 PM <richard.overman@...> wrote:
Hi there, thanks for the reply.? That gives me:

lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0
lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0

So it looks like ttyS0?is serial0.? Cool.? I can even use getparams on ttyS0 and it gives me the same list of parameters.

I tried using ttyS0 in YAAC and still I get a blank screen when I press "test"? and still can't see my beacon on the APRS map.

Cheers,
Richard


 

So far I've tried TX levels of 4, 255, and 128.? Still nothing.? Am I supposed to get something other than a blank window when I push "test" on the port tab?


 

I used YAAC with the Pi9k6 some time ago. I never had any luck with the test window.


 

What baud rate have you set YAAC to, to communicate with the tnc?? ?Should be 19200.

Mat

On Sat, Jul 11, 2020, 3:08 PM N5XMT <dacooley@...> wrote:
Looking in your getparams output, your txlevel was only 4.? I'd set it to 255

On Sat, Jul 11, 2020 at 12:41 PM <richard.overman@...> wrote:
Hi there, thanks for the reply.? That gives me:

lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0
lrwxrwxrwx? ?1 root root? ? ? ? ? 5 Jul 11 11:33 serial0 -> ttyS0

So it looks like ttyS0?is serial0.? Cool.? I can even use getparams on ttyS0 and it gives me the same list of parameters.

I tried using ttyS0 in YAAC and still I get a blank screen when I press "test"? and still can't see my beacon on the APRS map.

Cheers,
Richard


 

It's at 19200.? I'm using the HamPi image now, and after disabling SSH serial, I can talk to the TNC-pi9k6 and I believe I'm transmitting something based on looking at the signal with an RTL-SDR.? One thing that is odd, is that there is no change in either the pulse of the ammeter on the radio power supply or how the waterfall looks no matter what I set the transmit power to on the IC-7100.? I set it at both extremes of low and high power and it looks like the same power level.? I switched the jumper from 1200 to 9600 and I get a much flatter line, so it looks like I'm transmitting something, just maybe not enough power?? Does the TNC control transmit power through the radio?? Also, I am not using GPS (arrives tomorrow), so I have manually entered in my coordinates.? Thanks for all the help!? HamPi is awesome!

73'
KJ7DDV


 

¿ªÔÆÌåÓý

The drive level from TNC to radio is set by setting the TX Level value using pitnc_setparams.

Assuming you are using the 6 pin DIN connector on the 7100 the manual suggests 100mV for 1200 or 0.2 to 0.5 V p-p for 9600. I assume 100mV is the rms value. The peak to peak output from the TNC is approximately 3000/256 times the TX Level setting so a value of around 25 should be about right. There are also level settings in the 7100.

If you are running at 1200 you will probably be best off with the TNC jumper set to 1200 and 9600 mode in the 7100 turned off.

73,
John G8BPQ

On 12/07/2020 07:59, richard.overman@... wrote:

It's at 19200.? I'm using the HamPi image now, and after disabling SSH serial, I can talk to the TNC-pi9k6 and I believe I'm transmitting something based on looking at the signal with an RTL-SDR.? One thing that is odd, is that there is no change in either the pulse of the ammeter on the radio power supply or how the waterfall looks no matter what I set the transmit power to on the IC-7100.? I set it at both extremes of low and high power and it looks like the same power level.? I switched the jumper from 1200 to 9600 and I get a much flatter line, so it looks like I'm transmitting something, just maybe not enough power?? Does the TNC control transmit power through the radio?? Also, I am not using GPS (arrives tomorrow), so I have manually entered in my coordinates.? Thanks for all the help!? HamPi is awesome!

73'
KJ7DDV


 



Woohoo!

Was using a TX level of 0 when that one came through from my antenna on a plastic bucket.? Since then I put my antenna on my metal PC case to use as a ground plane and my SWR went down, the ALC meter went down... everything is working!? Now I'm getting pings using a TX level of 25 with better antenna placement.? 7100 was doing what it's supposed to do and protecting itself.? Joys of the apartment ham shack.? Thanks for the guidance!

73,
Richard KJ7DDV


Jason A. Powell
 

I'm in the same position as Richard (KJ7DDV)¡ªblank screen in YACC when testing during YACC setup.

Any thoughts?

Jason
KD8FMR