Date   

Re: Setup split-channels #ax25 #hfmodes

 

Basil:
I thought it would just be easier if one connector had ax25 and the other did not. Just flip a switch over to whatever mode you want without have to do any commands too change over. The switch accepts 2 different 6 pin mini dins with a common output which would go to 6 pin mini din on back of icom 706. I mean, there are 2 connectors on the Draws board and I'd use them. Throwing a simple switch is easy. 
That's what I'd like to setup. Your switch channel script should be what I need to separate (0,1) left/right. 
Thx, Todd
AL7PX


Re: Setup split-channels #ax25 #hfmodes

Basil Gunn
 

Todd,
Could you please explain what you would like to do in more detail.

If you have a single radio then you probably do not need to use
split-channel. You can just use scripts to accomplish what you want.

If you want to go between packet & some HF mode say using FLdigi then:

ax25-stop

# run fldigi

a25-start

# do some packet thing.


Todd via groups.io <ic7461=yahoo.com@groups.io> writes:

Basil:
I'm not going to use 2 radios. I have a switch box to transfer
left/right channels. One side will be ax25 and the other for non ax25
programs. I'm a little confused with these procedures. Do I do either
one? Is that correct? I like the second one and would work best for
me. Also, I see the files/home/pi/n7nix/splitchan already.
My question is how do I initiate the function of split on boot up?
Most things that can be started at boot up are started from systemd
service files which my script sets up during configuration. Split-channel
is just a special case of running packet on a single audio channel
leaving the other channel available for HF.

I am completely new at initiating scripts. Thx Todd AL7PX


Re: Setup split-channels #ax25 #hfmodes

 

Basil:
I'm not going to use 2 radios. I have a switch box to transfer left/right channels. One side will be ax25 and the other for non ax25 programs. I'm a little confused with these procedures. Do I do either one? Is that correct? I like the second one and would work best for me.  Also, I see the files /home/pi/n7nix/splitchan already. My question is how do I initiate the function of split on boot up? I am completely new at initiating scripts. Thx
Todd
AL7PX


Re: Setup split-channels #ax25 #hfmodes

Basil Gunn
 

What 2 radios will you be using?
I will write a script so that you can easily set the ALSA controls for
both radios.

There are two ways to approach setting up split channel operation. I
recommend reading both README.md files.

1. Manual
Look at this repository README.md & follow instructions

https://github.com/nwdigitalradio/split-channels

2. N7NIX repository script: Use the n7nix/splitchan repository script
split_ctrl.sh to install & control split channel configuration. This
script sets up left channel as AX.25/direwolf channel & right channel
for HF, which is opposite of Manual approach.

https://github.com/nwdigitalradio/n7nix/tree/master/splitchan

I haven't used a split channel configuration for a while so I will
verify the setup sometime today.

/Basil n7nix

Todd via groups.io <ic7461=yahoo.com@groups.io> writes:

I'd like to setup split-channels for both Direwolf/ax25 and HF programs. Is there a easy way to accomplish that?
Todd
AL7PX


Setup split-channels #ax25 #hfmodes

 

I'd like to setup split-channels for both Direwolf/ax25 and HF programs. Is there a easy way to accomplish that? 
Todd
AL7PX


Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Basil Gunn
 

Mark J Culross <mjculross@sbcglobal.net> writes:

Basil (n7nix):
Thanks for your most recent post. I am in a training class all week so
I won't be able to get back to tinkering with my DRAWS until this
weekend, but I'll definitely try to duplicate your setup.
Have fun in your training class.

As a side note, I have used my IC-7000 successfully for PSK31 (a
loooong time ago, using a BUXCOMM RASCAL i/f), but I don't remember if
that was thru the miniDIN6 or ACC port. If I have a 13-pin ACC cable,
it's probably buried in some unmarked box somewhere with my RASCAL i/f
!!
I was trying to qualify your cable and I don't think that is where the
problem lies. After verifying that my IC-706 can hear packets with a
default setup (without touching ALSA settings) I believe it's down to
either the IC-7000 config or a DRAWS hardware problem.

Not wanting to be the victim of any ASSumptions, I did try my second
miniDIN6 cable (I ordered two with my DRAWS board), but still no
difference.
Yep, confirmed, not a cable issue.

Unfortunately, the IC-7000 is my only VHF/UHF radio with
miniDIN6, so I have only the one set of hardware (radio, DRAWS, 2
miniDIN6 cables) to test with.
Do you have an HT? Would be useful to listen for output during transmit
config.

On the TX side, I noted in an earlier message that I initiated a test
position message transmission (using btest to verify PTT
functionality) & I was able to confirm externally with my SDR that the
DRAWS is putting out modulated data. I have not done any "tuning" of
this TX data (levels, etc.), as I want to concentrate strictly on
verifying the RX path first !! Correct me if I am mistaken in thinking
that the RX & TX paths are independent.
Yes, independent. With transmit need to verify PTT works and set up of
deviation.

I'll forward the result of running "showudrc.sh" when I get back to it
this weekend.
OK, I'm not going anywhere.

One question: in your description, you mention using nwdr17. I've been
starting with current_image.img.xz. Is there any difference ?? Maybe I
should try nwdr17.img.xz instead ??
current_image.img.xz and nwdr17.img.xz are the same file symbolically
linked.

ls -l
lrwxrwxrwx 1 www-data www-data 13 Aug 22 11:07 current_image.img.xz -> nwdr17.img.xz
-rw-r--r-- 1 www-data www-data 1974364348 Aug 22 11:02 nwdr17.img.xz

Thanks again for your assistance !!
Thanks for hanging in there !!

Mark J CulrossKD5RXT


Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Mark J Culross
 

Basil (n7nix):

Thanks for your most recent post.  I am in a training class all week so I won't be able to get back to tinkering with my DRAWS until this weekend, but I'll definitely try to duplicate your setup.

As a side note, I have used my IC-7000 successfully for PSK31 (a loooong time ago, using a BUXCOMM RASCAL i/f), but I don't remember if that was thru the miniDIN6 or ACC port.  If I have a 13-pin ACC cable, it's probably buried in some unmarked box somewhere with my RASCAL i/f !!

Not wanting to be the victim of any ASSumptions, I did try my second miniDIN6 cable (I ordered two with my DRAWS board), but still no difference.  Unfortunately, the IC-7000 is my only VHF/UHF radio with miniDIN6, so I have only the one set of hardware (radio, DRAWS, 2 miniDIN6 cables) to test with.

On the TX side, I noted in an earlier message that I initiated a test position message transmission (using btest to verify PTT functionality) & I was able to confirm externally with my SDR that the DRAWS is putting out modulated data.  I have not done any "tuning" of this TX data (levels, etc.), as I want to concentrate strictly on verifying the RX path first !!  Correct me if I am mistaken in thinking that the RX & TX paths are independent.

I'll forward the result of running "showudrc.sh" when I get back to it this weekend.

One question:  in your description, you mention using nwdr17.  I've been starting with current_image.img.xz.  Is there any difference ??  Maybe I should try nwdr17.img.xz instead ??

Thanks again for your assistance !!

Mark J Culross
KD5RXT


On Monday, September 14, 2020, 10:58:24 AM CDT, Basil Gunn <basil@...> wrote:



> Tomorrow I will try to replicate from a fresh install.

Just finished a fresh install of nwdr17.

Using the default ALSA settings, did not run any setalsa- script (ADC
Level L:[0.00dB]), I was able to receive APRS packets on 2M using the
mDin6 cable to the IC-706.

I know it is a big assumption that the ic-706 & ic-7000 operate with
digital modes in a similar way but they both have a 13 pin ACC port & a
mDin6 Data port both of which work with DRAWS using an appropriate
cable. Do you have a cable that plugs into the ACC port?
https://hammadeparts.com/shop-for-cables/ols/products/icom-13-pin-din-acc-port-to-nw-digital-draws-hat-6-pin-mini-din-packet-port-plug

Which version of DRAWS hat & RPi are you running?
Could you please send me the output of showudrc.sh

$ udrcver.sh

Product ID:  0x0004
Product ver: 0x0108

$ piver.sh
Pi 4 Model B, Rev 1.1, 4GB mem, Mfg by Sony UK with WiFi

I think we should focus on the cable you are using and DRAWS hardware.
Do you have another vhf/uhf radio with a mini Din6 connector?
Could you please run the measure_deviate.sh script to verify you can
hear a tone in another radio.

Basil Gunn <basil@...> writes:

> I just did a verification using 2M (144.390) APRS on my IC-706MkIIG.
> I used both the 13 pin Aux socket & 6 pin miniDin socket connected to
> the left mDin6 connector on the DRAWS hat.
> I was able to receive APRS packets on both sockets.
>
> direwolf was reporting that the receive signal was a little hot so I
> dialed ADC Level down to 0.0dB
>
> Make sure squelch is off.
>
> This is my DRAWS hat version
> $ udrcver.sh
> Found a DRAWS
>
>      HAT ID EEPROM
> Name:        hat
> Product:    Digital Radio Amateur Work Station
> Product ID:  0x0004
> Product ver: 0x0108
> UUID:        ca33c9d0-765a-434b-870a-0dbebedf01f4
> Vendor:      NW Digital Radio
>
> Tomorrow I will try to replicate from a fresh install.
>
> Basil Gunn <basil@...> writes:
>
>> Mark J Culross <mjculross@...> writes:
>>
>>>  Basil (n7nix):
>>> Thanks for your advice. I believe that I understand all of your
>>> instructions & have executed them as directed, but APRS RX is still
>>> not working.
>>
>> In a console run this command:
>>
>> tail -f /var/log/direwolf/direwolf.log
>>
>> In another window run alsamixer for the udrc sound device
>> Increase the ADC level control until you see packets arriving in
>> direwolf.log
>>
>> If you are NOT able to see packets in the direwolf log file then confirm
>> that BOTH your radio & DRAWS hat are using pin 5 (AF) of the mDin6 connector,
>> ie. 1200 baud receive.
>>
>> To confirm the DRAWS hat config assuming you are using the left mDin6
>> connector run 'alsa-show.sh'. You should see:
>>
>> IN1 L:[Off]
>> IN2 L:[10 kOhms]
>>
>>
>>>I did find that I could make quicker modifications of the
>>>connections/resistors using the DRAWS Manager selection for the desired
>>>audio pin . . . does that have the same effect as the changes you
>>>described & is it OK to use the DRAWS Manager to switch between
>>>resistors connected to IN1_L & IN2_L ??
>>
>> As long as you confirm changes with alsa-show.sh
>>
>>> As Corky suggested, I tested the receive path using fldigi (after
>>> stopping AX25/direwolf) & BTW, I also had to manually install libjpeg
>>> for fldigi to work,
>>
>> libjpeg is installed on the image. If you ever run 'sudo apt autoremove'
>> it will be removed and you will have to reinstall it.
>>
>>> even though I am using the latest image (I found your reply with
>>> instructions elsewhere on the forum). Using the waterfall display in
>>> fldigi (with the radio still on 144.390), I did confirm that audio is
>>> present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM
>>> mode. Using either pin (4/5), I see the waterfall change whenever I
>>> hear a packet on the radio & the waterfall goes completely blank as
>>> expected when I select "OFF" for the left side DIN6 audio pin (udr0).
>>
>>> As I mentioned to Corky, I have not yet done anything with the
>>> transmit path, other than cause a test position message to be sent to
>>> verify PTT functionality. For now, I'm just concentrating on trying to
>>> get RX of APRS to work, since I really thought that would be the easy
>>> case !!
>>
>> It should be easy. But each radio needs to be configured and the ALSA
>> settings need to match and that, I think, is where your problem lies.
>>
>> You also might change your DAC Playback PT back to default.
>> DAC Playback PT    L:[P3]        R:[P3]
>>
>> Make sure the radio receive preamp is turned off.
>> P.AMP/ATT button to left of screen
>>
>>> Mark J CulrossKD5RXT
>>>    On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@...> wrote:
>>>
>>>
>>> First thanks for all the console output.
>>>
>>>> The radio (IC-7000) is attached to the left side DIN6 connector
>>>> (udr0). I also ran the "setalsa-ic7000.sh" setup script.
>>>
>>> This could be your problem since that script tries to set up deviation
>>> for the HF radio. You need to set deviation for the VHF/UHF radio in the
>>> IC-7000. I would turn off discriminator receiver routing and turn on
>>> compensated audio. I am not sure if the IC-7000 radio supports
>>> discriminator out for vhf.
>>>
>>> This is what you currently have, set by the setalsa script.
>>>
>>> IN1  L:[10 kOhm] R:[10 kOhm]
>>> IN2  L:[Off]  R:[Off]
>>>
>>> You want to flip these controls for Left channel manually. ie. turn off
>>> IN1 & have 10 kOhm for IN2.
>>>
>>> Run alsamixer from a console
>>> press F6, select sound card
>>>  - select udrc
>>> scroll to the right until you find:
>>> IN1_L to Left Mixer Positive Resistor [10 kOhm]
>>>  - turn that off by typing <down-arrow>
>>>
>>> Continue scrolling to the right until you find:
>>> IN2_L to Left Mixer Positive Resistor [10 kOhm]
>>>  - turn that ON by typing <up-arrow> once only
>>>
>>> exit to save new settings
>>>
>>> Be aware that there are both positive & negative resister controls ie.
>>>  IN1_L to Left Mixer Positive Resistor [Off]
>>>  IN1_L to Right Mixer Negative Resistor [Off]
>>>
>>> You only want to set Left Mixer Positive Resistor control.
>>>
>>> Verify by running alsa-show.sh
>>>
>>> You need to confirm your deviation.
>>>
>>> Go to this link
>>> https://github.com/nwdigitalradio/n7nix/tree/master/deviation
>>>
>>> This will lead you through how to output a steady audio tone that you will
>>> monitor with an HT or some other radio in your shack.
>>> Be sure to read the John Ackermann N8UR link.
>>>
>>> /Basil n7nix




Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Mark J Culross
 

Corky (AF4PM):

Thanks for your most recent post.  I am in a training class all week so I won't be able to get back to tinkering with my DRAWS until this weekend, but I'll definitely try to duplicate your setup & I will also post my direwolf.conf contents.

Thanks again for your assistance !!

Mark J Culross
KD5RXT


On Monday, September 14, 2020, 10:27:25 PM CDT, Corky Searls <af4pm@...> wrote:


Mark, I hooked up the IC-7000 to the DRAWS today and tested the system for ax25 packet with Direwolf. I am using the radio on the right-hand miniDIN connector with the setalsa-ic7000.sh settings, which is the same setup that I use for HF. Other than getting the squelch set properly, I was able to decode both APRS traffic and ax25 packet. Since you are able to hear the APRS packets, I do not believe this is a squelch problem.

There are two differences in the alsa settings from yours below:
     1) The DAC playback is set to [P1] as the in the script, and
     2) the Receive IN2 R is set to [10 kOhm] instead of being off.

The radio is set for 1200 Baud data.

Can you attach a copy of /etc/direwolf.conf to make sure something is not amiss there?

Thanks and 73,
-Corky, AF4PM
On 9/13/20 4:25 PM, Mark J Culross wrote:
Basil (n7nix):

Thanks again for your reply.  I am definitely using alsa-show.sh to confirm the settings as I make changes, both with alsamixer as well as with the DRAWS Manager.



Here's the current capture from alsa-show.sh:

= = = = = = = = = = = = =   start snippet   = = = = = = = = = = = = =

root@drawsMJC:/home/pi# /home/pi/bin/alsa-show.sh
 ===== ALSA Controls for Radio Transmit =====
LO Driver Gain  L:[-6.00dB]    R:[-6.00dB]
PCM            L:[-26.50dB]    R:[-26.50dB]
DAC Playback PT    L:[P3]        R:[P3]
LO Playback CM    [Full Chip]

 ===== ALSA Controls for Radio Receive =====
ADC Level    L:[-2.00dB]    R:[-2.00dB]
IN1        L:[Off]        R:[Off]
IN2        L:[10 kOhm]    R:[Off]
CM        L:[10 kOhm]    R:[10 kOhm]

= = = = = = = = = = = = =    end snippet    = = = = = = = = = = = = =



As I mentioned to Corky in an earlier post, I open several terminals & have used "tail -f /var/log/direwolf/direwolf.log", "mheard", & "listen -a -h -i -p udr0 -r -t" (each in separate terminals) to try to detect any successful APRS receptions.



Here's the current capture from the direwolf.log:

= = = = = = = = = = = = =   start snippet   = = = = = = = = = = = = =

root@drawsMJC:/home/pi# !tail
tail -f /var/log/direwolf/direwolf.log
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set TXtail = 10 (*10mS units = 100 mS), port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set Persistence = 32, port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set SlotTime = 20 (*10mS units = 200 mS), port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set FullDuplex = 0, port 1
Sep 13 16:17:11 drawsMJC direwolf[526]: Can't get address for IGate server noam.aprs2.net, Temporary failure in name resolution
Sep 13 16:17:16 drawsMJC direwolf[526]: Can't get address for IGate server noam.aprs2.net, Temporary failure in name resolution
Sep 13 16:17:21 drawsMJC direwolf[526]: Now connected to IGate server noam.aprs2.net (173.242.239.3)
Sep 13 16:17:21 drawsMJC direwolf[526]: Check server status here http://173.242.239.3:14501
Sep 13 16:17:26 drawsMJC direwolf[526]: [ig] # aprsc 2.1.8-gf8824e8
Sep 13 16:17:26 drawsMJC direwolf[526]: [ig] # logresp KD5RXT verified, server T2NALA

= = = = = = = = = = = = =    end snippet    = = = = = = = = = = = = =



The IC-7000 radio has "9600" mode turned off & the pre-amp is also turned off.  I am using the left side DIN6 on the DRAWS.

As you requested, I ran the "ADC Level" control across the entire range, from -12.00dB to +20.00dB (in 0.5dB steps), allowing two "packet sounds" per setting to see if anything was received.  When done, I left it back at the -2.00dB level (as you see in the alsa-show.sh report above).  Unfortunately, still no APRS RX at any level.

BYW, you nailed it on the "apt-get autoremove" causing libjpeg to be removed: GUILTY AS INDICATED !!

I just have to be missing something stupidly simple !!

Mark J Culross
KD5RXT


On Sunday, September 13, 2020, 4:55:40 PM CDT, Basil Gunn <basil@...> wrote:



Mark J Culross <mjculross@...> writes:

>  Basil (n7nix):
> Thanks for your advice. I believe that I understand all of your
> instructions & have executed them as directed, but APRS RX is still
> not working.

In a console run this command:

tail -f /var/log/direwolf/direwolf.log

In another window run alsamixer for the udrc sound device
Increase the ADC level control until you see packets arriving in
direwolf.log

If you are NOT able to see packets in the direwolf log file then confirm
that BOTH your radio & DRAWS hat are using pin 5 (AF) of the mDin6 connector,
ie. 1200 baud receive.

To confirm the DRAWS hat config assuming you are using the left mDin6
connector run 'alsa-show.sh'. You should see:

IN1 L:[Off]
IN2 L:[10 kOhms]


>I did find that I could make quicker modifications of the
>connections/resistors using the DRAWS Manager selection for the desired
>audio pin . . . does that have the same effect as the changes you
>described & is it OK to use the DRAWS Manager to switch between
>resistors connected to IN1_L & IN2_L ??

As long as you confirm changes with alsa-show.sh

> As Corky suggested, I tested the receive path using fldigi (after
> stopping AX25/direwolf) & BTW, I also had to manually install libjpeg
> for fldigi to work,

libjpeg is installed on the image. If you ever run 'sudo apt autoremove'
it will be removed and you will have to reinstall it.

> even though I am using the latest image (I found your reply with
> instructions elsewhere on the forum). Using the waterfall display in
> fldigi (with the radio still on 144.390), I did confirm that audio is
> present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM
> mode. Using either pin (4/5), I see the waterfall change whenever I
> hear a packet on the radio & the waterfall goes completely blank as
> expected when I select "OFF" for the left side DIN6 audio pin (udr0).

> As I mentioned to Corky, I have not yet done anything with the
> transmit path, other than cause a test position message to be sent to
> verify PTT functionality. For now, I'm just concentrating on trying to
> get RX of APRS to work, since I really thought that would be the easy
> case !!

It should be easy. But each radio needs to be configured and the ALSA
settings need to match and that, I think, is where your problem lies.

You also might change your DAC Playback PT back to default.
DAC Playback PT    L:[P3]        R:[P3]

Make sure the radio receive preamp is turned off.
P.AMP/ATT button to left of screen

> Mark J CulrossKD5RXT
>    On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@...> wrote:
>
>
> First thanks for all the console output.
>
>> The radio (IC-7000) is attached to the left side DIN6 connector
>> (udr0). I also ran the "setalsa-ic7000.sh" setup script.
>
> This could be your problem since that script tries to set up deviation
> for the HF radio. You need to set deviation for the VHF/UHF radio in the
> IC-7000. I would turn off discriminator receiver routing and turn on
> compensated audio. I am not sure if the IC-7000 radio supports
> discriminator out for vhf.
>
> This is what you currently have, set by the setalsa script.
>
> IN1  L:[10 kOhm] R:[10 kOhm]
> IN2  L:[Off]  R:[Off]
>
> You want to flip these controls for Left channel manually. ie. turn off
> IN1 & have 10 kOhm for IN2.
>
> Run alsamixer from a console
> press F6, select sound card
>  - select udrc
> scroll to the right until you find:
> IN1_L to Left Mixer Positive Resistor [10 kOhm]
>  - turn that off by typing <down-arrow>
>
> Continue scrolling to the right until you find:
> IN2_L to Left Mixer Positive Resistor [10 kOhm]
>  - turn that ON by typing <up-arrow> once only
>
> exit to save new settings
>
> Be aware that there are both positive & negative resister controls ie.
>  IN1_L to Left Mixer Positive Resistor [Off]
>  IN1_L to Right Mixer Negative Resistor [Off]
>
> You only want to set Left Mixer Positive Resistor control.
>
> Verify by running alsa-show.sh
>
> You need to confirm your deviation.
>
> Go to this link
> https://github.com/nwdigitalradio/n7nix/tree/master/deviation
>
> This will lead you through how to output a steady audio tone that you will
> monitor with an HT or some other radio in your shack.
> Be sure to read the John Ackermann N8UR link.
>
> /Basil n7nix
>
>
>
>
>
>





Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Corky
 

Mark, I hooked up the IC-7000 to the DRAWS today and tested the system for ax25 packet with Direwolf. I am using the radio on the right-hand miniDIN connector with the setalsa-ic7000.sh settings, which is the same setup that I use for HF. Other than getting the squelch set properly, I was able to decode both APRS traffic and ax25 packet. Since you are able to hear the APRS packets, I do not believe this is a squelch problem.

There are two differences in the alsa settings from yours below:
     1) The DAC playback is set to [P1] as the in the script, and
     2) the Receive IN2 R is set to [10 kOhm] instead of being off.

The radio is set for 1200 Baud data.

Can you attach a copy of /etc/direwolf.conf to make sure something is not amiss there?

Thanks and 73,
-Corky, AF4PM
On 9/13/20 4:25 PM, Mark J Culross wrote:

Basil (n7nix):

Thanks again for your reply.  I am definitely using alsa-show.sh to confirm the settings as I make changes, both with alsamixer as well as with the DRAWS Manager.



Here's the current capture from alsa-show.sh:

= = = = = = = = = = = = =   start snippet   = = = = = = = = = = = = =

root@drawsMJC:/home/pi# /home/pi/bin/alsa-show.sh
 ===== ALSA Controls for Radio Transmit =====
LO Driver Gain  L:[-6.00dB]    R:[-6.00dB]
PCM            L:[-26.50dB]    R:[-26.50dB]
DAC Playback PT    L:[P3]        R:[P3]
LO Playback CM    [Full Chip]

 ===== ALSA Controls for Radio Receive =====
ADC Level    L:[-2.00dB]    R:[-2.00dB]
IN1        L:[Off]        R:[Off]
IN2        L:[10 kOhm]    R:[Off]
CM        L:[10 kOhm]    R:[10 kOhm]

= = = = = = = = = = = = =    end snippet    = = = = = = = = = = = = =



As I mentioned to Corky in an earlier post, I open several terminals & have used "tail -f /var/log/direwolf/direwolf.log", "mheard", & "listen -a -h -i -p udr0 -r -t" (each in separate terminals) to try to detect any successful APRS receptions.



Here's the current capture from the direwolf.log:

= = = = = = = = = = = = =   start snippet   = = = = = = = = = = = = =

root@drawsMJC:/home/pi# !tail
tail -f /var/log/direwolf/direwolf.log
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set TXtail = 10 (*10mS units = 100 mS), port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set Persistence = 32, port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set SlotTime = 20 (*10mS units = 200 mS), port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set FullDuplex = 0, port 1
Sep 13 16:17:11 drawsMJC direwolf[526]: Can't get address for IGate server noam.aprs2.net, Temporary failure in name resolution
Sep 13 16:17:16 drawsMJC direwolf[526]: Can't get address for IGate server noam.aprs2.net, Temporary failure in name resolution
Sep 13 16:17:21 drawsMJC direwolf[526]: Now connected to IGate server noam.aprs2.net (173.242.239.3)
Sep 13 16:17:21 drawsMJC direwolf[526]: Check server status here http://173.242.239.3:14501
Sep 13 16:17:26 drawsMJC direwolf[526]: [ig] # aprsc 2.1.8-gf8824e8
Sep 13 16:17:26 drawsMJC direwolf[526]: [ig] # logresp KD5RXT verified, server T2NALA

= = = = = = = = = = = = =    end snippet    = = = = = = = = = = = = =



The IC-7000 radio has "9600" mode turned off & the pre-amp is also turned off.  I am using the left side DIN6 on the DRAWS.

As you requested, I ran the "ADC Level" control across the entire range, from -12.00dB to +20.00dB (in 0.5dB steps), allowing two "packet sounds" per setting to see if anything was received.  When done, I left it back at the -2.00dB level (as you see in the alsa-show.sh report above).  Unfortunately, still no APRS RX at any level.

BYW, you nailed it on the "apt-get autoremove" causing libjpeg to be removed: GUILTY AS INDICATED !!

I just have to be missing something stupidly simple !!

Mark J Culross
KD5RXT


On Sunday, September 13, 2020, 4:55:40 PM CDT, Basil Gunn <basil@...> wrote:



Mark J Culross <mjculross@...> writes:

>  Basil (n7nix):
> Thanks for your advice. I believe that I understand all of your
> instructions & have executed them as directed, but APRS RX is still
> not working.

In a console run this command:

tail -f /var/log/direwolf/direwolf.log

In another window run alsamixer for the udrc sound device
Increase the ADC level control until you see packets arriving in
direwolf.log

If you are NOT able to see packets in the direwolf log file then confirm
that BOTH your radio & DRAWS hat are using pin 5 (AF) of the mDin6 connector,
ie. 1200 baud receive.

To confirm the DRAWS hat config assuming you are using the left mDin6
connector run 'alsa-show.sh'. You should see:

IN1 L:[Off]
IN2 L:[10 kOhms]


>I did find that I could make quicker modifications of the
>connections/resistors using the DRAWS Manager selection for the desired
>audio pin . . . does that have the same effect as the changes you
>described & is it OK to use the DRAWS Manager to switch between
>resistors connected to IN1_L & IN2_L ??

As long as you confirm changes with alsa-show.sh

> As Corky suggested, I tested the receive path using fldigi (after
> stopping AX25/direwolf) & BTW, I also had to manually install libjpeg
> for fldigi to work,

libjpeg is installed on the image. If you ever run 'sudo apt autoremove'
it will be removed and you will have to reinstall it.

> even though I am using the latest image (I found your reply with
> instructions elsewhere on the forum). Using the waterfall display in
> fldigi (with the radio still on 144.390), I did confirm that audio is
> present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM
> mode. Using either pin (4/5), I see the waterfall change whenever I
> hear a packet on the radio & the waterfall goes completely blank as
> expected when I select "OFF" for the left side DIN6 audio pin (udr0).

> As I mentioned to Corky, I have not yet done anything with the
> transmit path, other than cause a test position message to be sent to
> verify PTT functionality. For now, I'm just concentrating on trying to
> get RX of APRS to work, since I really thought that would be the easy
> case !!

It should be easy. But each radio needs to be configured and the ALSA
settings need to match and that, I think, is where your problem lies.

You also might change your DAC Playback PT back to default.
DAC Playback PT    L:[P3]        R:[P3]

Make sure the radio receive preamp is turned off.
P.AMP/ATT button to left of screen

> Mark J CulrossKD5RXT
>    On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@...> wrote:
>
>
> First thanks for all the console output.
>
>> The radio (IC-7000) is attached to the left side DIN6 connector
>> (udr0). I also ran the "setalsa-ic7000.sh" setup script.
>
> This could be your problem since that script tries to set up deviation
> for the HF radio. You need to set deviation for the VHF/UHF radio in the
> IC-7000. I would turn off discriminator receiver routing and turn on
> compensated audio. I am not sure if the IC-7000 radio supports
> discriminator out for vhf.
>
> This is what you currently have, set by the setalsa script.
>
> IN1  L:[10 kOhm] R:[10 kOhm]
> IN2  L:[Off]  R:[Off]
>
> You want to flip these controls for Left channel manually. ie. turn off
> IN1 & have 10 kOhm for IN2.
>
> Run alsamixer from a console
> press F6, select sound card
>  - select udrc
> scroll to the right until you find:
> IN1_L to Left Mixer Positive Resistor [10 kOhm]
>  - turn that off by typing <down-arrow>
>
> Continue scrolling to the right until you find:
> IN2_L to Left Mixer Positive Resistor [10 kOhm]
>  - turn that ON by typing <up-arrow> once only
>
> exit to save new settings
>
> Be aware that there are both positive & negative resister controls ie.
>  IN1_L to Left Mixer Positive Resistor [Off]
>  IN1_L to Right Mixer Negative Resistor [Off]
>
> You only want to set Left Mixer Positive Resistor control.
>
> Verify by running alsa-show.sh
>
> You need to confirm your deviation.
>
> Go to this link
> https://github.com/nwdigitalradio/n7nix/tree/master/deviation
>
> This will lead you through how to output a steady audio tone that you will
> monitor with an HT or some other radio in your shack.
> Be sure to read the John Ackermann N8UR link.
>
> /Basil n7nix
>
>
>
>
>
>





Re: Baofeng UV-5R PTT won't turn off?

Andrew Malota
 

Howdy AF4PM -
Thanks for the reply.

I tried with a choke, and again with a choke + antenna outside the house, but got the same behavior.

For another test, I grabbed by Kenwood TH-D74A (cable is the same,) and it works correctly even with the rubber ducky antenna right next to the pi and no choke.

I'll try to do more reading to understand how some of the other arduino-based projects are keying this radio.

Thanks
KF5WOR


Re: Baofeng UV-5R PTT won't turn off?

Corky
 

Biggest problem with using an HT is RF feedback into the pi from the cable which causes exactly the symptoms you are seeing. This is not unique to the Baofeng radio, but seems to be worse there.

You will likely need to use a good choke on the cable close to the pi or a remote antenna (best option) to get this to really work.

Thanks and 73,
-Corky, AF4PM


On Mon, Sep 14, 2020, at 7:30 AM, Andrew Malota wrote:
Howdy All -
I'm having a bit of trouble getting a cheap chinese handy to play nice with the DRAWS hat. (I understand that these types of teething pains are why they are avoided by most, but hey, I already had the radio...)

I am using a cable from Ham Made Parts.

ptt_ctrl.sh -l on results in LED on DRAWS on, the HT starting to transmit 
ptt_ctrl.sh -l off results in LED on DRAWS off, but does NOT unkey the radio - it continues to transmit

pin 1 and 4 on the ps2 connector appear to be the sleeves for the large and small TRS connectors going into the HT

with the radio connected and PTT engaged, i see 3-ish volts on pin 1. the 3-ish volts remains when I turn PTT off until I unplug or power-cycle the radio.

Has anyone else hit this? Is it as simple as a pulldown between pin 1 and ground?

Thanks!
KF5WOR


Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Basil Gunn
 

Tomorrow I will try to replicate from a fresh install.
Just finished a fresh install of nwdr17.

Using the default ALSA settings, did not run any setalsa- script (ADC
Level L:[0.00dB]), I was able to receive APRS packets on 2M using the
mDin6 cable to the IC-706.

I know it is a big assumption that the ic-706 & ic-7000 operate with
digital modes in a similar way but they both have a 13 pin ACC port & a
mDin6 Data port both of which work with DRAWS using an appropriate
cable. Do you have a cable that plugs into the ACC port?
https://hammadeparts.com/shop-for-cables/ols/products/icom-13-pin-din-acc-port-to-nw-digital-draws-hat-6-pin-mini-din-packet-port-plug

Which version of DRAWS hat & RPi are you running?
Could you please send me the output of showudrc.sh

$ udrcver.sh

Product ID: 0x0004
Product ver: 0x0108

$ piver.sh
Pi 4 Model B, Rev 1.1, 4GB mem, Mfg by Sony UK with WiFi

I think we should focus on the cable you are using and DRAWS hardware.
Do you have another vhf/uhf radio with a mini Din6 connector?
Could you please run the measure_deviate.sh script to verify you can
hear a tone in another radio.

Basil Gunn <basil@pacabunga.com> writes:

I just did a verification using 2M (144.390) APRS on my IC-706MkIIG.
I used both the 13 pin Aux socket & 6 pin miniDin socket connected to
the left mDin6 connector on the DRAWS hat.
I was able to receive APRS packets on both sockets.

direwolf was reporting that the receive signal was a little hot so I
dialed ADC Level down to 0.0dB

Make sure squelch is off.

This is my DRAWS hat version
$ udrcver.sh
Found a DRAWS

HAT ID EEPROM
Name: hat
Product: Digital Radio Amateur Work Station
Product ID: 0x0004
Product ver: 0x0108
UUID: ca33c9d0-765a-434b-870a-0dbebedf01f4
Vendor: NW Digital Radio

Tomorrow I will try to replicate from a fresh install.

Basil Gunn <basil@pacabunga.com> writes:

Mark J Culross <mjculross@sbcglobal.net> writes:

Basil (n7nix):
Thanks for your advice. I believe that I understand all of your
instructions & have executed them as directed, but APRS RX is still
not working.
In a console run this command:

tail -f /var/log/direwolf/direwolf.log

In another window run alsamixer for the udrc sound device
Increase the ADC level control until you see packets arriving in
direwolf.log

If you are NOT able to see packets in the direwolf log file then confirm
that BOTH your radio & DRAWS hat are using pin 5 (AF) of the mDin6 connector,
ie. 1200 baud receive.

To confirm the DRAWS hat config assuming you are using the left mDin6
connector run 'alsa-show.sh'. You should see:

IN1 L:[Off]
IN2 L:[10 kOhms]


I did find that I could make quicker modifications of the
connections/resistors using the DRAWS Manager selection for the desired
audio pin . . . does that have the same effect as the changes you
described & is it OK to use the DRAWS Manager to switch between
resistors connected to IN1_L & IN2_L ??
As long as you confirm changes with alsa-show.sh

As Corky suggested, I tested the receive path using fldigi (after
stopping AX25/direwolf) & BTW, I also had to manually install libjpeg
for fldigi to work,
libjpeg is installed on the image. If you ever run 'sudo apt autoremove'
it will be removed and you will have to reinstall it.

even though I am using the latest image (I found your reply with
instructions elsewhere on the forum). Using the waterfall display in
fldigi (with the radio still on 144.390), I did confirm that audio is
present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM
mode. Using either pin (4/5), I see the waterfall change whenever I
hear a packet on the radio & the waterfall goes completely blank as
expected when I select "OFF" for the left side DIN6 audio pin (udr0).
As I mentioned to Corky, I have not yet done anything with the
transmit path, other than cause a test position message to be sent to
verify PTT functionality. For now, I'm just concentrating on trying to
get RX of APRS to work, since I really thought that would be the easy
case !!
It should be easy. But each radio needs to be configured and the ALSA
settings need to match and that, I think, is where your problem lies.

You also might change your DAC Playback PT back to default.
DAC Playback PT L:[P3] R:[P3]

Make sure the radio receive preamp is turned off.
P.AMP/ATT button to left of screen

Mark J CulrossKD5RXT
On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@pacabunga.com> wrote:


First thanks for all the console output.

The radio (IC-7000) is attached to the left side DIN6 connector
(udr0). I also ran the "setalsa-ic7000.sh" setup script.
This could be your problem since that script tries to set up deviation
for the HF radio. You need to set deviation for the VHF/UHF radio in the
IC-7000. I would turn off discriminator receiver routing and turn on
compensated audio. I am not sure if the IC-7000 radio supports
discriminator out for vhf.

This is what you currently have, set by the setalsa script.

IN1 L:[10 kOhm] R:[10 kOhm]
IN2 L:[Off] R:[Off]

You want to flip these controls for Left channel manually. ie. turn off
IN1 & have 10 kOhm for IN2.

Run alsamixer from a console
press F6, select sound card
- select udrc
scroll to the right until you find:
IN1_L to Left Mixer Positive Resistor [10 kOhm]
- turn that off by typing <down-arrow>

Continue scrolling to the right until you find:
IN2_L to Left Mixer Positive Resistor [10 kOhm]
- turn that ON by typing <up-arrow> once only

exit to save new settings

Be aware that there are both positive & negative resister controls ie.
IN1_L to Left Mixer Positive Resistor [Off]
IN1_L to Right Mixer Negative Resistor [Off]

You only want to set Left Mixer Positive Resistor control.

Verify by running alsa-show.sh

You need to confirm your deviation.

Go to this link
https://github.com/nwdigitalradio/n7nix/tree/master/deviation

This will lead you through how to output a steady audio tone that you will
monitor with an HT or some other radio in your shack.
Be sure to read the John Ackermann N8UR link.

/Basil n7nix


Baofeng UV-5R PTT won't turn off?

Andrew Malota
 

Howdy All -
I'm having a bit of trouble getting a cheap chinese handy to play nice with the DRAWS hat. (I understand that these types of teething pains are why they are avoided by most, but hey, I already had the radio...)

I am using a cable from Ham Made Parts.

ptt_ctrl.sh -l on results in LED on DRAWS on, the HT starting to transmit 
ptt_ctrl.sh -l off results in LED on DRAWS off, but does NOT unkey the radio - it continues to transmit

pin 1 and 4 on the ps2 connector appear to be the sleeves for the large and small TRS connectors going into the HT

with the radio connected and PTT engaged, i see 3-ish volts on pin 1. the 3-ish volts remains when I turn PTT off until I unplug or power-cycle the radio.

Has anyone else hit this? Is it as simple as a pulldown between pin 1 and ground?

Thanks!
KF5WOR


Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Basil Gunn
 

I just did a verification using 2M (144.390) APRS on my IC-706MkIIG.
I used both the 13 pin Aux socket & 6 pin miniDin socket connected to
the left mDin6 connector on the DRAWS hat.
I was able to receive APRS packets on both sockets.

direwolf was reporting that the receive signal was a little hot so I
dialed ADC Level down to 0.0dB

Make sure squelch is off.

This is my DRAWS hat version
$ udrcver.sh
Found a DRAWS

HAT ID EEPROM
Name: hat
Product: Digital Radio Amateur Work Station
Product ID: 0x0004
Product ver: 0x0108
UUID: ca33c9d0-765a-434b-870a-0dbebedf01f4
Vendor: NW Digital Radio

Tomorrow I will try to replicate from a fresh install.

Basil Gunn <basil@pacabunga.com> writes:

Mark J Culross <mjculross@sbcglobal.net> writes:

Basil (n7nix):
Thanks for your advice. I believe that I understand all of your
instructions & have executed them as directed, but APRS RX is still
not working.
In a console run this command:

tail -f /var/log/direwolf/direwolf.log

In another window run alsamixer for the udrc sound device
Increase the ADC level control until you see packets arriving in
direwolf.log

If you are NOT able to see packets in the direwolf log file then confirm
that BOTH your radio & DRAWS hat are using pin 5 (AF) of the mDin6 connector,
ie. 1200 baud receive.

To confirm the DRAWS hat config assuming you are using the left mDin6
connector run 'alsa-show.sh'. You should see:

IN1 L:[Off]
IN2 L:[10 kOhms]


I did find that I could make quicker modifications of the
connections/resistors using the DRAWS Manager selection for the desired
audio pin . . . does that have the same effect as the changes you
described & is it OK to use the DRAWS Manager to switch between
resistors connected to IN1_L & IN2_L ??
As long as you confirm changes with alsa-show.sh

As Corky suggested, I tested the receive path using fldigi (after
stopping AX25/direwolf) & BTW, I also had to manually install libjpeg
for fldigi to work,
libjpeg is installed on the image. If you ever run 'sudo apt autoremove'
it will be removed and you will have to reinstall it.

even though I am using the latest image (I found your reply with
instructions elsewhere on the forum). Using the waterfall display in
fldigi (with the radio still on 144.390), I did confirm that audio is
present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM
mode. Using either pin (4/5), I see the waterfall change whenever I
hear a packet on the radio & the waterfall goes completely blank as
expected when I select "OFF" for the left side DIN6 audio pin (udr0).
As I mentioned to Corky, I have not yet done anything with the
transmit path, other than cause a test position message to be sent to
verify PTT functionality. For now, I'm just concentrating on trying to
get RX of APRS to work, since I really thought that would be the easy
case !!
It should be easy. But each radio needs to be configured and the ALSA
settings need to match and that, I think, is where your problem lies.

You also might change your DAC Playback PT back to default.
DAC Playback PT L:[P3] R:[P3]

Make sure the radio receive preamp is turned off.
P.AMP/ATT button to left of screen

Mark J CulrossKD5RXT
On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@pacabunga.com> wrote:


First thanks for all the console output.

The radio (IC-7000) is attached to the left side DIN6 connector
(udr0). I also ran the "setalsa-ic7000.sh" setup script.
This could be your problem since that script tries to set up deviation
for the HF radio. You need to set deviation for the VHF/UHF radio in the
IC-7000. I would turn off discriminator receiver routing and turn on
compensated audio. I am not sure if the IC-7000 radio supports
discriminator out for vhf.

This is what you currently have, set by the setalsa script.

IN1 L:[10 kOhm] R:[10 kOhm]
IN2 L:[Off] R:[Off]

You want to flip these controls for Left channel manually. ie. turn off
IN1 & have 10 kOhm for IN2.

Run alsamixer from a console
press F6, select sound card
- select udrc
scroll to the right until you find:
IN1_L to Left Mixer Positive Resistor [10 kOhm]
- turn that off by typing <down-arrow>

Continue scrolling to the right until you find:
IN2_L to Left Mixer Positive Resistor [10 kOhm]
- turn that ON by typing <up-arrow> once only

exit to save new settings

Be aware that there are both positive & negative resister controls ie.
IN1_L to Left Mixer Positive Resistor [Off]
IN1_L to Right Mixer Negative Resistor [Off]

You only want to set Left Mixer Positive Resistor control.

Verify by running alsa-show.sh

You need to confirm your deviation.

Go to this link
https://github.com/nwdigitalradio/n7nix/tree/master/deviation

This will lead you through how to output a steady audio tone that you will
monitor with an HT or some other radio in your shack.
Be sure to read the John Ackermann N8UR link.

/Basil n7nix






Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Mark J Culross
 

Basil (n7nix):

Thanks again for your reply.  I am definitely using alsa-show.sh to confirm the settings as I make changes, both with alsamixer as well as with the DRAWS Manager.



Here's the current capture from alsa-show.sh:

= = = = = = = = = = = = =   start snippet   = = = = = = = = = = = = =

root@drawsMJC:/home/pi# /home/pi/bin/alsa-show.sh
 ===== ALSA Controls for Radio Transmit =====
LO Driver Gain  L:[-6.00dB]    R:[-6.00dB]
PCM            L:[-26.50dB]    R:[-26.50dB]
DAC Playback PT    L:[P3]        R:[P3]
LO Playback CM    [Full Chip]

 ===== ALSA Controls for Radio Receive =====
ADC Level    L:[-2.00dB]    R:[-2.00dB]
IN1        L:[Off]        R:[Off]
IN2        L:[10 kOhm]    R:[Off]
CM        L:[10 kOhm]    R:[10 kOhm]

= = = = = = = = = = = = =    end snippet    = = = = = = = = = = = = =



As I mentioned to Corky in an earlier post, I open several terminals & have used "tail -f /var/log/direwolf/direwolf.log", "mheard", & "listen -a -h -i -p udr0 -r -t" (each in separate terminals) to try to detect any successful APRS receptions.



Here's the current capture from the direwolf.log:

= = = = = = = = = = = = =   start snippet   = = = = = = = = = = = = =

root@drawsMJC:/home/pi# !tail
tail -f /var/log/direwolf/direwolf.log
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set TXtail = 10 (*10mS units = 100 mS), port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set Persistence = 32, port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set SlotTime = 20 (*10mS units = 200 mS), port 1
Sep 13 16:17:06 drawsMJC direwolf[526]: KISS protocol set FullDuplex = 0, port 1
Sep 13 16:17:11 drawsMJC direwolf[526]: Can't get address for IGate server noam.aprs2.net, Temporary failure in name resolution
Sep 13 16:17:16 drawsMJC direwolf[526]: Can't get address for IGate server noam.aprs2.net, Temporary failure in name resolution
Sep 13 16:17:21 drawsMJC direwolf[526]: Now connected to IGate server noam.aprs2.net (173.242.239.3)
Sep 13 16:17:21 drawsMJC direwolf[526]: Check server status here http://173.242.239.3:14501
Sep 13 16:17:26 drawsMJC direwolf[526]: [ig] # aprsc 2.1.8-gf8824e8
Sep 13 16:17:26 drawsMJC direwolf[526]: [ig] # logresp KD5RXT verified, server T2NALA

= = = = = = = = = = = = =    end snippet    = = = = = = = = = = = = =



The IC-7000 radio has "9600" mode turned off & the pre-amp is also turned off.  I am using the left side DIN6 on the DRAWS.

As you requested, I ran the "ADC Level" control across the entire range, from -12.00dB to +20.00dB (in 0.5dB steps), allowing two "packet sounds" per setting to see if anything was received.  When done, I left it back at the -2.00dB level (as you see in the alsa-show.sh report above).  Unfortunately, still no APRS RX at any level.

BYW, you nailed it on the "apt-get autoremove" causing libjpeg to be removed: GUILTY AS INDICATED !!

I just have to be missing something stupidly simple !!

Mark J Culross
KD5RXT


On Sunday, September 13, 2020, 4:55:40 PM CDT, Basil Gunn <basil@...> wrote:



Mark J Culross <mjculross@...> writes:

>  Basil (n7nix):
> Thanks for your advice. I believe that I understand all of your
> instructions & have executed them as directed, but APRS RX is still
> not working.

In a console run this command:

tail -f /var/log/direwolf/direwolf.log

In another window run alsamixer for the udrc sound device
Increase the ADC level control until you see packets arriving in
direwolf.log

If you are NOT able to see packets in the direwolf log file then confirm
that BOTH your radio & DRAWS hat are using pin 5 (AF) of the mDin6 connector,
ie. 1200 baud receive.

To confirm the DRAWS hat config assuming you are using the left mDin6
connector run 'alsa-show.sh'. You should see:

IN1 L:[Off]
IN2 L:[10 kOhms]


>I did find that I could make quicker modifications of the
>connections/resistors using the DRAWS Manager selection for the desired
>audio pin . . . does that have the same effect as the changes you
>described & is it OK to use the DRAWS Manager to switch between
>resistors connected to IN1_L & IN2_L ??

As long as you confirm changes with alsa-show.sh

> As Corky suggested, I tested the receive path using fldigi (after
> stopping AX25/direwolf) & BTW, I also had to manually install libjpeg
> for fldigi to work,

libjpeg is installed on the image. If you ever run 'sudo apt autoremove'
it will be removed and you will have to reinstall it.

> even though I am using the latest image (I found your reply with
> instructions elsewhere on the forum). Using the waterfall display in
> fldigi (with the radio still on 144.390), I did confirm that audio is
> present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM
> mode. Using either pin (4/5), I see the waterfall change whenever I
> hear a packet on the radio & the waterfall goes completely blank as
> expected when I select "OFF" for the left side DIN6 audio pin (udr0).

> As I mentioned to Corky, I have not yet done anything with the
> transmit path, other than cause a test position message to be sent to
> verify PTT functionality. For now, I'm just concentrating on trying to
> get RX of APRS to work, since I really thought that would be the easy
> case !!

It should be easy. But each radio needs to be configured and the ALSA
settings need to match and that, I think, is where your problem lies.

You also might change your DAC Playback PT back to default.
DAC Playback PT    L:[P3]        R:[P3]

Make sure the radio receive preamp is turned off.
P.AMP/ATT button to left of screen

> Mark J CulrossKD5RXT
>    On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@...> wrote:
>
>
> First thanks for all the console output.
>
>> The radio (IC-7000) is attached to the left side DIN6 connector
>> (udr0). I also ran the "setalsa-ic7000.sh" setup script.
>
> This could be your problem since that script tries to set up deviation
> for the HF radio. You need to set deviation for the VHF/UHF radio in the
> IC-7000. I would turn off discriminator receiver routing and turn on
> compensated audio. I am not sure if the IC-7000 radio supports
> discriminator out for vhf.
>
> This is what you currently have, set by the setalsa script.
>
> IN1  L:[10 kOhm] R:[10 kOhm]
> IN2  L:[Off]  R:[Off]
>
> You want to flip these controls for Left channel manually. ie. turn off
> IN1 & have 10 kOhm for IN2.
>
> Run alsamixer from a console
> press F6, select sound card
>  - select udrc
> scroll to the right until you find:
> IN1_L to Left Mixer Positive Resistor [10 kOhm]
>  - turn that off by typing <down-arrow>
>
> Continue scrolling to the right until you find:
> IN2_L to Left Mixer Positive Resistor [10 kOhm]
>  - turn that ON by typing <up-arrow> once only
>
> exit to save new settings
>
> Be aware that there are both positive & negative resister controls ie.
>  IN1_L to Left Mixer Positive Resistor [Off]
>  IN1_L to Right Mixer Negative Resistor [Off]
>
> You only want to set Left Mixer Positive Resistor control.
>
> Verify by running alsa-show.sh
>
> You need to confirm your deviation.
>
> Go to this link
> https://github.com/nwdigitalradio/n7nix/tree/master/deviation
>
> This will lead you through how to output a steady audio tone that you will
> monitor with an HT or some other radio in your shack.
> Be sure to read the John Ackermann N8UR link.
>
> /Basil n7nix
>
>
>
>
>
>




Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Corky
 

Looking at Basil's response, I think he found the problem. With the IC-7000 the audio is very sensitive, but the HF and VHF paths are very different. The gain setting for HF will likely not provide sufficient audio for direwolf, so indeed it may need to return to P3 when using VHF.

Thanks and 73,
-Corky, AF4PM

On 9/13/20 2:55 PM, Basil Gunn wrote:
Mark J Culross <mjculross@sbcglobal.net> writes:

Basil (n7nix):
Thanks for your advice. I believe that I understand all of your
instructions & have executed them as directed, but APRS RX is still
not working.
In a console run this command:

tail -f /var/log/direwolf/direwolf.log

In another window run alsamixer for the udrc sound device
Increase the ADC level control until you see packets arriving in
direwolf.log

If you are NOT able to see packets in the direwolf log file then confirm
that BOTH your radio & DRAWS hat are using pin 5 (AF) of the mDin6 connector,
ie. 1200 baud receive.

To confirm the DRAWS hat config assuming you are using the left mDin6
connector run 'alsa-show.sh'. You should see:

IN1 L:[Off]
IN2 L:[10 kOhms]


I did find that I could make quicker modifications of the
connections/resistors using the DRAWS Manager selection for the desired
audio pin . . . does that have the same effect as the changes you
described & is it OK to use the DRAWS Manager to switch between
resistors connected to IN1_L & IN2_L ??
As long as you confirm changes with alsa-show.sh

As Corky suggested, I tested the receive path using fldigi (after
stopping AX25/direwolf) & BTW, I also had to manually install libjpeg
for fldigi to work,
libjpeg is installed on the image. If you ever run 'sudo apt autoremove'
it will be removed and you will have to reinstall it.

even though I am using the latest image (I found your reply with
instructions elsewhere on the forum). Using the waterfall display in
fldigi (with the radio still on 144.390), I did confirm that audio is
present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM
mode. Using either pin (4/5), I see the waterfall change whenever I
hear a packet on the radio & the waterfall goes completely blank as
expected when I select "OFF" for the left side DIN6 audio pin (udr0).
As I mentioned to Corky, I have not yet done anything with the
transmit path, other than cause a test position message to be sent to
verify PTT functionality. For now, I'm just concentrating on trying to
get RX of APRS to work, since I really thought that would be the easy
case !!
It should be easy. But each radio needs to be configured and the ALSA
settings need to match and that, I think, is where your problem lies.

You also might change your DAC Playback PT back to default.
DAC Playback PT L:[P3] R:[P3]

Make sure the radio receive preamp is turned off.
P.AMP/ATT button to left of screen

Mark J CulrossKD5RXT
On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@pacabunga.com> wrote:


First thanks for all the console output.

The radio (IC-7000) is attached to the left side DIN6 connector
(udr0). I also ran the "setalsa-ic7000.sh" setup script.
This could be your problem since that script tries to set up deviation
for the HF radio. You need to set deviation for the VHF/UHF radio in the
IC-7000. I would turn off discriminator receiver routing and turn on
compensated audio. I am not sure if the IC-7000 radio supports
discriminator out for vhf.

This is what you currently have, set by the setalsa script.

IN1 L:[10 kOhm] R:[10 kOhm]
IN2 L:[Off] R:[Off]

You want to flip these controls for Left channel manually. ie. turn off
IN1 & have 10 kOhm for IN2.

Run alsamixer from a console
press F6, select sound card
- select udrc
scroll to the right until you find:
IN1_L to Left Mixer Positive Resistor [10 kOhm]
- turn that off by typing <down-arrow>

Continue scrolling to the right until you find:
IN2_L to Left Mixer Positive Resistor [10 kOhm]
- turn that ON by typing <up-arrow> once only

exit to save new settings

Be aware that there are both positive & negative resister controls ie.
IN1_L to Left Mixer Positive Resistor [Off]
IN1_L to Right Mixer Negative Resistor [Off]

You only want to set Left Mixer Positive Resistor control.

Verify by running alsa-show.sh

You need to confirm your deviation.

Go to this link
https://github.com/nwdigitalradio/n7nix/tree/master/deviation

This will lead you through how to output a steady audio tone that you will
monitor with an HT or some other radio in your shack.
Be sure to read the John Ackermann N8UR link.

/Basil n7nix






Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Corky
 

Update on discriminator below.

Thanks,
-Corky

On 9/13/20 12:08 PM, Basil Gunn wrote:

Thanks and 73,
-Corky, AF4PM

First thanks for all the console output.

The radio (IC-7000) is attached to the left side DIN6 connector
(udr0). I also ran the "setalsa-ic7000.sh" setup script.
This could be your problem since that script tries to set up deviation
for the HF radio. You need to set deviation for the VHF/UHF radio in the
IC-7000. I would turn off discriminator receiver routing and turn on
compensated audio. I am not sure if the IC-7000 radio supports
discriminator out for vhf.
 (it does)
This is what you currently have, set by the setalsa script.

IN1 L:[10 kOhm] R:[10 kOhm]
IN2 L:[Off] R:[Off]

You want to flip these controls for Left channel manually. ie. turn off
IN1 & have 10 kOhm for IN2.

Run alsamixer from a console
press F6, select sound card
- select udrc
scroll to the right until you find:
IN1_L to Left Mixer Positive Resistor [10 kOhm]
- turn that off by typing <down-arrow>

Continue scrolling to the right until you find:
IN2_L to Left Mixer Positive Resistor [10 kOhm]
- turn that ON by typing <up-arrow> once only

exit to save new settings

Be aware that there are both positive & negative resister controls ie.
IN1_L to Left Mixer Positive Resistor [Off]
IN1_L to Right Mixer Negative Resistor [Off]

You only want to set Left Mixer Positive Resistor control.

Verify by running alsa-show.sh

You need to confirm your deviation.

Go to this link
https://github.com/nwdigitalradio/n7nix/tree/master/deviation

This will lead you through how to output a steady audio tone that you will
monitor with an HT or some other radio in your shack.
Be sure to read the John Ackermann N8UR link.

/Basil n7nix


Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Basil Gunn
 

Mark J Culross <mjculross@sbcglobal.net> writes:

Basil (n7nix):
Thanks for your advice. I believe that I understand all of your
instructions & have executed them as directed, but APRS RX is still
not working.
In a console run this command:

tail -f /var/log/direwolf/direwolf.log

In another window run alsamixer for the udrc sound device
Increase the ADC level control until you see packets arriving in
direwolf.log

If you are NOT able to see packets in the direwolf log file then confirm
that BOTH your radio & DRAWS hat are using pin 5 (AF) of the mDin6 connector,
ie. 1200 baud receive.

To confirm the DRAWS hat config assuming you are using the left mDin6
connector run 'alsa-show.sh'. You should see:

IN1 L:[Off]
IN2 L:[10 kOhms]


I did find that I could make quicker modifications of the
connections/resistors using the DRAWS Manager selection for the desired
audio pin . . . does that have the same effect as the changes you
described & is it OK to use the DRAWS Manager to switch between
resistors connected to IN1_L & IN2_L ??
As long as you confirm changes with alsa-show.sh

As Corky suggested, I tested the receive path using fldigi (after
stopping AX25/direwolf) & BTW, I also had to manually install libjpeg
for fldigi to work,
libjpeg is installed on the image. If you ever run 'sudo apt autoremove'
it will be removed and you will have to reinstall it.

even though I am using the latest image (I found your reply with
instructions elsewhere on the forum). Using the waterfall display in
fldigi (with the radio still on 144.390), I did confirm that audio is
present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM
mode. Using either pin (4/5), I see the waterfall change whenever I
hear a packet on the radio & the waterfall goes completely blank as
expected when I select "OFF" for the left side DIN6 audio pin (udr0).
As I mentioned to Corky, I have not yet done anything with the
transmit path, other than cause a test position message to be sent to
verify PTT functionality. For now, I'm just concentrating on trying to
get RX of APRS to work, since I really thought that would be the easy
case !!
It should be easy. But each radio needs to be configured and the ALSA
settings need to match and that, I think, is where your problem lies.

You also might change your DAC Playback PT back to default.
DAC Playback PT L:[P3] R:[P3]

Make sure the radio receive preamp is turned off.
P.AMP/ATT button to left of screen

Mark J CulrossKD5RXT
On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@pacabunga.com> wrote:


First thanks for all the console output.

The radio (IC-7000) is attached to the left side DIN6 connector
(udr0). I also ran the "setalsa-ic7000.sh" setup script.
This could be your problem since that script tries to set up deviation
for the HF radio. You need to set deviation for the VHF/UHF radio in the
IC-7000. I would turn off discriminator receiver routing and turn on
compensated audio. I am not sure if the IC-7000 radio supports
discriminator out for vhf.

This is what you currently have, set by the setalsa script.

IN1 L:[10 kOhm] R:[10 kOhm]
IN2 L:[Off] R:[Off]

You want to flip these controls for Left channel manually. ie. turn off
IN1 & have 10 kOhm for IN2.

Run alsamixer from a console
press F6, select sound card
- select udrc
scroll to the right until you find:
IN1_L to Left Mixer Positive Resistor [10 kOhm]
- turn that off by typing <down-arrow>

Continue scrolling to the right until you find:
IN2_L to Left Mixer Positive Resistor [10 kOhm]
- turn that ON by typing <up-arrow> once only

exit to save new settings

Be aware that there are both positive & negative resister controls ie.
IN1_L to Left Mixer Positive Resistor [Off]
IN1_L to Right Mixer Negative Resistor [Off]

You only want to set Left Mixer Positive Resistor control.

Verify by running alsa-show.sh

You need to confirm your deviation.

Go to this link
https://github.com/nwdigitalradio/n7nix/tree/master/deviation

This will lead you through how to output a steady audio tone that you will
monitor with an HT or some other radio in your shack.
Be sure to read the John Ackermann N8UR link.

/Basil n7nix






Re: Fans, Pi4, and the DRAWS case

Kevin K. - N7KJK
 

Tim, 
Not sure this is what you're looking for.   I've created something here for my two DRAWS implementations. 
One is a PI 3 running an RMS Gateway.  The other is a PI 4 that I am going to use for APRS tracking and beacon. 

The image is kind of at a weird angle because I wanted to show the DRAWS connections, the PI 4 connections, and one of the FANs..  (yes dual fan.. spared no expense. :)

I purchase two of the stacked acrylic PI case kits for each project  (about $15 each with fan, no power supply). 
I added a separator to the GPIO so that the DRAWs stands away from the PI but almost a full inch.  This allows me to put all the heat syncs on the PI.  Put a fan just above the PI,  connect the DRAWS and put a second fan above it (visible in the picture).   It takes some patients, and a little skill with a dremel tool. I just customized the layers of the second case as I assembled it to accommodate the DRAWS.  Then I go buy some longer screws to bolt it all together.  The modifications, and various openings in the layers allow for sufficient air flow.

I also made a watch battery replacement connector out of a thumb tack, and washer, so that I could set up a  pair of AAA batteries to the DRAWS clock (I didn't want to risk soldering on the DRAWS).
  
Both systems seem to be working just fine.   I connect the two fans to the 5 V offered on Pins 1 and 8 on that connector next to the power input.  NOTE:   I'm using two .10 amp fans to stay under the limit of the 5 v power which is .25  (250mA).

Hope this gives you something to consider.

Kevin

On Sun, Sep 13, 2020 at 11:24 AM Tim Huffaker <thuffaker@...> wrote:

I want to move to the RPi4 for its much better Bluetooth operations along with more memory. The heat is a real problem that is worse in outdoor operation and in go boxes. A temperature controlled fan with heatsyncs will allow it to work. The question is how to let this work with the draws board?  

I hope we can find a solution. 

Tim



--
Kevin J. Kutzera CISSP, CISM, CEH
Cell: 206-850-7762


Re: DRAWS - not able to receive APRS #aprs #ax25 #direwolf

Mark J Culross
 

Basil (n7nix):

Thanks for your advice.  I believe that I understand all of your instructions & have executed them as directed, but APRS RX is still not working.  I did find that I could make quicker modifications of the connections/resistors using the DRAWS Manager selection for the desired audio pin . . . does that have the same effect as the changes you described & is it OK to use the DRAWS Manager to switch between resistors connected to IN1_L & IN2_L ??

As Corky suggested, I tested the receive path using fldigi (after stopping AX25/direwolf) & BTW, I also had to manually install libjpeg for fldigi to work, even though I am using the latest image (I found your reply with instructions elsewhere on the forum).  Using the waterfall display in fldigi (with the radio still on 144.390), I did confirm that audio is present on both pins (4/DISC & 5/AF) from the IC-7000 in VHF/FM mode.  Using either pin (4/5), I see the waterfall change whenever I hear a packet on the radio & the waterfall goes completely blank as expected when I select "OFF" for the left side DIN6 audio pin (udr0).

As I mentioned to Corky, I have not yet done anything with the transmit path, other than cause a test position message to be sent to verify PTT functionality.  For now, I'm just concentrating on trying to get RX of APRS to work, since I really thought that would be the easy case !!

Mark J Culross
KD5RXT

On Sunday, September 13, 2020, 2:08:08 PM CDT, Basil Gunn <basil@...> wrote:



First thanks for all the console output.

> The radio (IC-7000) is attached to the left side DIN6 connector
> (udr0). I also ran the "setalsa-ic7000.sh" setup script.

This could be your problem since that script tries to set up deviation
for the HF radio. You need to set deviation for the VHF/UHF radio in the
IC-7000. I would turn off discriminator receiver routing and turn on
compensated audio. I am not sure if the IC-7000 radio supports
discriminator out for vhf.

This is what you currently have, set by the setalsa script.

IN1        L:[10 kOhm]    R:[10 kOhm]
IN2        L:[Off]        R:[Off]

You want to flip these controls for Left channel manually. ie. turn off
IN1 & have 10 kOhm for IN2.

Run alsamixer from a console
press F6, select sound card
  - select udrc
scroll to the right until you find:
IN1_L to Left Mixer Positive Resistor [10 kOhm]
  - turn that off by typing <down-arrow>

Continue scrolling to the right until you find:
IN2_L to Left Mixer Positive Resistor [10 kOhm]
  - turn that ON by typing <up-arrow> once only

exit to save new settings

Be aware that there are both positive & negative resister controls ie.
IN1_L to Left Mixer Positive Resistor [Off]
IN1_L to Right Mixer Negative Resistor [Off]

You only want to set Left Mixer Positive Resistor control.

Verify by running alsa-show.sh

You need to confirm your deviation.

Go to this link
https://github.com/nwdigitalradio/n7nix/tree/master/deviation

This will lead you through how to output a steady audio tone that you will
monitor with an HT or some other radio in your shack.
Be sure to read the John Ackermann N8UR link.

/Basil n7nix



801 - 820 of 5976