Topics

Raspberry PI won’t TX Direwolf


iknight@...
 

Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


David Ranch
 


Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--




Isaiah Knight <iknight@...>
 

David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--




John Tetreault (WA1OKB)
 

What gpio pin on the pi are you using for PTT?


On Sun, Apr 12, 2020, 1:15 PM Isaiah Knight <iknight@...> wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


John Tetreault (WA1OKB)
 

If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--




Isaiah Knight <iknight@...>
 

It’s down ATM so I can’t check as I’m adding some other stuff to this unit - but I know it does have permission because it’s using a GPIO port to light to indicate its processing a message.

I’ve also set it to activate for voice for testing purposes and it won’t send anything. 

On Sun, Apr 12, 2020 at 20:52 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


Isaiah Knight <iknight@...>
 

GPIO 16 for PTT and GPIO 26 for DCD which is fully operational.



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:49 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
What gpio pin on the pi are you using for PTT?

On Sun, Apr 12, 2020, 1:15 PM Isaiah Knight <iknight@...> wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


David Ranch
 


Since you were using a relay before, were you connecting that directly to the Raspberry Pi?  If so, it's possible you drew too much current on that GPIO pin and fried it.  Try connecting a volt meter to that GPIO pin and see if it's going LOW when PTT is supposed to assert.  Also consider trying a different GPIO pin and see if anything changes.

--David
KI6ZHD


On 04/12/2020 06:21 PM, Isaiah Knight wrote:
GPIO 16 for PTT and GPIO 26 for DCD which is fully operational.

Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:49 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
What gpio pin on the pi are you using for PTT?

On Sun, Apr 12, 2020, 1:15 PM Isaiah Knight <iknight@...> wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



Isaiah Knight <iknight@...>
 

So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:52 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--




Isaiah Knight <iknight@...>
 

This is what it says when transmitting - perhaps something here says what is wrong?

[0L] KO4CZA-1>APDW15,WIDE1-1,WIDE2-1:!3721.61NS07916.42W-PHG3610Raspberry Pi Project. qsl@...



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 11:44 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:52 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--




John Tetreault (WA1OKB)
 

No those screens aren't going to tell you what is going on behind the scenes.... You need to get into the system logs to see if it's having an authorization problem accessing the gpio pin


On Sun, Apr 12, 2020, 11:48 PM Isaiah Knight <iknight@...> wrote:
This is what it says when transmitting - perhaps something here says what is wrong?

[0L] KO4CZA-1>APDW15,WIDE1-1,WIDE2-1:!3721.61NS07916.42W-PHG3610Raspberry Pi Project. qsl@...



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 11:44 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:52 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--




John Tetreault (WA1OKB)
 

It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:52 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--




Isaiah Knight <iknight@...>
 

It must because Direwolf is using GPIO to trigger an LED for DCD. 

On Mon, Apr 13, 2020 at 08:18 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:52 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


John Tetreault (WA1OKB)
 

It can do both... I use gpio 4 for PTT and gpio 17 for dcd


On Mon, Apr 13, 2020, 8:41 AM Isaiah Knight <iknight@...> wrote:
It must because Direwolf is using GPIO to trigger an LED for DCD. 

On Mon, Apr 13, 2020 at 08:18 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:52 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


Isaiah Knight <iknight@...>
 

Right. But that’s how I know it has permission to use GPIO because it already is using it. But there’s no audio output. 

On Mon, Apr 13, 2020 at 09:27 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It can do both... I use gpio 4 for PTT and gpio 17 for dcd

On Mon, Apr 13, 2020, 8:41 AM Isaiah Knight <iknight@...> wrote:
It must because Direwolf is using GPIO to trigger an LED for DCD. 

On Mon, Apr 13, 2020 at 08:18 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:52 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.

--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


John Tetreault (WA1OKB)
 

Okay.... So at that point.... Are you sure if PTT needs high or low signal?    Have you tried setting it to -4 instead of 4 (or whatever one you're using) in your config?


On Mon, Apr 13, 2020, 9:29 AM Isaiah Knight <iknight@...> wrote:
Right. But that’s how I know it has permission to use GPIO because it already is using it. But there’s no audio output. 

On Mon, Apr 13, 2020 at 09:27 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It can do both... I use gpio 4 for PTT and gpio 17 for dcd

On Mon, Apr 13, 2020, 8:41 AM Isaiah Knight <iknight@...> wrote:
It must because Direwolf is using GPIO to trigger an LED for DCD. 

On Mon, Apr 13, 2020 at 08:18 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 8:52 PM John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
If it's not even attempting to trigger the gpio, there are a couple possibilities....

What does 'systemctl status direwolf' show you?   If it's not running as root, it may not have access to the gpio pins

Could also be an error in your config file.

I run mine as a non-priviledged user, and to I had to add an entry to my sisters file so it could access the gpio pins

On Sun, Apr 12, 2020, 2:44 PM Isaiah Knight <iknight@...> wrote:
David,

Thanks for the response.

I have the input and output wired directly to each other with a Baofeng as the transceiver. I simply have two RCA plugs that go to a dismantled baofeng handheld microphone cable. The PTT works by applying the PTT line to ground, that's what's connected to the relay (I'll upgrade this). I certainly can improve the connection as you've suggested but it isn't attempting to output at all nor trying to trigger the GPIO. That's what's strange.

I have an ICOM IC-7100 with Direwolf connected and it works flawlessly with reception, decoding, and transmission - but this won't attempt to transmit.

Isaiah
KO4CZA



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



On Sun, Apr 12, 2020 at 1:54 PM David Ranch <rpi4hamradio-groupsio@...> wrote:

Hello Isaiah,

Thank you for closing that Direwolf Github issue and coming here (or the Direwolf list).  Few things here:

   1. Don't use a relay for PTT as you will dramatically impact your packet performance.  Just use a simple transistor circuit like this one: http://www.dunmire.org/projects/DigitalCommCenter/soundmodem/mySoundCardInterface.png .  There are literally 100s of examples out there on the web:  https://www.google.com/search?q=baofeng+radio+connection+to+soundcard+with+"PTT"+circuit .  Just make you use one that uses a transistor for PTT and has capacitors to isolate any microphone DC bias voltage.

   2. How else have you connected your radio to the soundcard?  It's worth mentioning that the above circuit is missing a capacitor on the "Speaker out" line.

--David
KI6ZHD



On 04/12/2020 10:13 AM, Isaiah Knight wrote:
Good afternoon,

I’m have Direwolf set up on my raspberry pi and it will not tx audio. I have the PTT configured with a relay and that will not fire either when I see the magenta text appear. It IS receiving and decoding signals, and is indicating so on the light I configured so I know GPIO is functional. Thoughts?

Isaiah
KO4CZA 
--



--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.

--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


David Ranch
 


I would recommend to move the DCD LED over to the GPIO pin being used for PTT and see if the LED lights up when you send a beacon or other packet transmission.  If that doesn't light up, there is something wrong.  Also consider running Direwolf with debugging turned on:

   #Debugging for output controls (PTT, DCD, etc)
   direwolf -do

--David
KI6ZHD


On 04/13/2020 06:31 AM, John Tetreault (WA1OKB) wrote:
Okay.... So at that point.... Are you sure if PTT needs high or low signal?    Have you tried setting it to -4 instead of 4 (or whatever one you're using) in your config?


On Mon, Apr 13, 2020, 9:29 AM Isaiah Knight <iknight@...> wrote:
Right. But that’s how I know it has permission to use GPIO because it already is using it. But there’s no audio output. 

On Mon, Apr 13, 2020 at 09:27 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It can do both... I use gpio 4 for PTT and gpio 17 for dcd

On Mon, Apr 13, 2020, 8:41 AM Isaiah Knight <iknight@...> wrote:
It must because Direwolf is using GPIO to trigger an LED for DCD. 

On Mon, Apr 13, 2020 at 08:18 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA


Isaiah Knight <iknight@...>
 

So that worked! Now once it activates PTT it won’t close. I’m thinking RF is getting back into the PI. Would a diode help?

Isaiah
KO4CZA 

On Mon, Apr 13, 2020 at 12:25 David Ranch <rpi4hamradio-groupsio@...> wrote:

I would recommend to move the DCD LED over to the GPIO pin being used for PTT and see if the LED lights up when you send a beacon or other packet transmission.  If that doesn't light up, there is something wrong.  Also consider running Direwolf with debugging turned on:

   #Debugging for output controls (PTT, DCD, etc)
   direwolf -do

--David
KI6ZHD


On 04/13/2020 06:31 AM, John Tetreault (WA1OKB) wrote:
Okay.... So at that point.... Are you sure if PTT needs high or low signal?    Have you tried setting it to -4 instead of 4 (or whatever one you're using) in your config?


On Mon, Apr 13, 2020, 9:29 AM Isaiah Knight <iknight@...> wrote:
Right. But that’s how I know it has permission to use GPIO because it already is using it. But there’s no audio output. 

On Mon, Apr 13, 2020 at 09:27 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It can do both... I use gpio 4 for PTT and gpio 17 for dcd

On Mon, Apr 13, 2020, 8:41 AM Isaiah Knight <iknight@...> wrote:
It must because Direwolf is using GPIO to trigger an LED for DCD. 

On Mon, Apr 13, 2020 at 08:18 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA

--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


David Ranch
 


Hey Isaiah,

Please be specific, WHAT worked?  You put an LED on the PTT GPIO pin and now it lights up when Direwolf wants to send something?  If that's true, your radio's PTT shouldn't be connected or did you connect both at the same time?
If it's the later, it's critical that you get the antenna away from the overall Raspberry Pi system.  For now, lower the power to the lowest level, etc.  Btw.. a diode won't help here.. you'll need to figure out how to keep the RF out of the system using shielding, ferrite chokes, etc.

--David
KI6ZHD


On 04/13/2020 09:41 AM, Isaiah Knight wrote:
So that worked! Now once it activates PTT it won’t close. I’m thinking RF is getting back into the PI. Would a diode help?

Isaiah
KO4CZA 

On Mon, Apr 13, 2020 at 12:25 David Ranch <rpi4hamradio-groupsio@...> wrote:

I would recommend to move the DCD LED over to the GPIO pin being used for PTT and see if the LED lights up when you send a beacon or other packet transmission.  If that doesn't light up, there is something wrong.  Also consider running Direwolf with debugging turned on:

   #Debugging for output controls (PTT, DCD, etc)
   direwolf -do

--David
KI6ZHD


On 04/13/2020 06:31 AM, John Tetreault (WA1OKB) wrote:
Okay.... So at that point.... Are you sure if PTT needs high or low signal?    Have you tried setting it to -4 instead of 4 (or whatever one you're using) in your config?


On Mon, Apr 13, 2020, 9:29 AM Isaiah Knight <iknight@...> wrote:
Right. But that’s how I know it has permission to use GPIO because it already is using it. But there’s no audio output. 

On Mon, Apr 13, 2020 at 09:27 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It can do both... I use gpio 4 for PTT and gpio 17 for dcd

On Mon, Apr 13, 2020, 8:41 AM Isaiah Knight <iknight@...> wrote:
It must because Direwolf is using GPIO to trigger an LED for DCD. 

On Mon, Apr 13, 2020 at 08:18 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA

--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.



Isaiah Knight <iknight@...>
 

David,

Sorry, changing the pin worked. I also switched it to a transistor and that made a significant improvement over the relay. 

What’s happening now is it transmits, and then the PTT won’t close. 

On Mon, Apr 13, 2020 at 13:52 David Ranch <rpi4hamradio-groupsio@...> wrote:

Hey Isaiah,

Please be specific, WHAT worked?  You put an LED on the PTT GPIO pin and now it lights up when Direwolf wants to send something?  If that's true, your radio's PTT shouldn't be connected or did you connect both at the same time?
If it's the later, it's critical that you get the antenna away from the overall Raspberry Pi system.  For now, lower the power to the lowest level, etc.  Btw.. a diode won't help here.. you'll need to figure out how to keep the RF out of the system using shielding, ferrite chokes, etc.

--David
KI6ZHD


On 04/13/2020 09:41 AM, Isaiah Knight wrote:
So that worked! Now once it activates PTT it won’t close. I’m thinking RF is getting back into the PI. Would a diode help?

Isaiah
KO4CZA 

On Mon, Apr 13, 2020 at 12:25 David Ranch <rpi4hamradio-groupsio@...> wrote:

I would recommend to move the DCD LED over to the GPIO pin being used for PTT and see if the LED lights up when you send a beacon or other packet transmission.  If that doesn't light up, there is something wrong.  Also consider running Direwolf with debugging turned on:

   #Debugging for output controls (PTT, DCD, etc)
   direwolf -do

--David
KI6ZHD


On 04/13/2020 06:31 AM, John Tetreault (WA1OKB) wrote:
Okay.... So at that point.... Are you sure if PTT needs high or low signal?    Have you tried setting it to -4 instead of 4 (or whatever one you're using) in your config?


On Mon, Apr 13, 2020, 9:29 AM Isaiah Knight <iknight@...> wrote:
Right. But that’s how I know it has permission to use GPIO because it already is using it. But there’s no audio output. 

On Mon, Apr 13, 2020 at 09:27 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It can do both... I use gpio 4 for PTT and gpio 17 for dcd

On Mon, Apr 13, 2020, 8:41 AM Isaiah Knight <iknight@...> wrote:
It must because Direwolf is using GPIO to trigger an LED for DCD. 

On Mon, Apr 13, 2020 at 08:18 John Tetreault (WA1OKB) <john.h.tetreault@...> wrote:
It's not an issue with alsa settings at this point since it's not even trying to key the transmitter.... And you tried a different gpio with the same result.... This really leads me to think 1 of 2 things

1.   Are you sure you PTT line is connected to the correct pin on the pi
2.  Are you sure Direwolf has access to the gpio pins at it's security level


On Sun, Apr 12, 2020, 11:45 PM Isaiah Knight <iknight@...> wrote:
So I tried moving it to GPIO 17, no change. I see the magenta text, but no transmission. Yet it receives audio perfectly fine and the light turns on for DCD.

Here's the output for arecord -l

**** List of CAPTURE Hardware Devices ****

card 1: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]

  Subdevices: 0/1

  Subdevice #0: subdevice #0


and here's what the config is set to:

ADEVICE  plughw:1,0

ACHANNELS 1

CHANNEL 0

MYCALL KO4CZA-1

MODEM 1200

PTT GPIO 17

DCD GPIO 26

AGWPORT 8000

KISSPORT 8001


PBEACON delay=1  every=30 overlay=S symbol="house" lat=37^21.61N long=079^16.42W power=8 height=840 gain=1 comment="Raspberry Pi Project. qsl@..." via=WIDE1-1,WIDE2-1



I'm scratching my head...probably something I'm going to be embarrassed about later on. What am I missing? 

Isaiah
KO4CZA

--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.


--



Isaiah “Izzy” Knight
President
The Yummy Potato, LLC

 

V: 434-229-4680
F: 434-509-1241 

 

TYP - a head for marketing and a heart for the community.