开云体育

Date

Re: PTT for IC-9700 over network

 

Chris, as the IC9700 implements the Icom Remote server internally, you could connect to the radio over LAN as well instead of USB.

The commercial RS-BA1 remote control software for Windows implements the Icom remote protocol to talk with the radio's remote control sever, and there are already few open solutions which implement the same protocol where you could study how to control the radio over LAN for both PTT and audio.

Here's one to begin with;

73,
Erik OH2LAK

On Tue, 14 Jun 2022 at 06:40, David Ranch <direwolf-groupsio@...> wrote:

Hello Chris,

I'm trying to get Direwolf to transmit on my IC-9700 over a network but I can't figure out how to get the PTT to work.? Is there an easy way to do this?? Currently, I have a PC running Direwolf and the IC-9700 on a lan.? Maybe it is easier to run Direwolf off a raspberry pi with a usb connection to the ic-9700?? I'm open to suggestions.

Direwolf should be able to key your Icom IC9700 no problem by asserting PTT via CAT control.? There are a LOT of materials on the web if you search for "PTT on Icom IC9700 over USB" such as:

??
??
?? etc.


--David
KI6ZHD


Re: PTT for IC-9700 over network

 

开云体育


Hello Chris,

I'm trying to get Direwolf to transmit on my IC-9700 over a network but I can't figure out how to get the PTT to work.? Is there an easy way to do this?? Currently, I have a PC running Direwolf and the IC-9700 on a lan.? Maybe it is easier to run Direwolf off a raspberry pi with a usb connection to the ic-9700?? I'm open to suggestions.

Direwolf should be able to key your Icom IC9700 no problem by asserting PTT via CAT control.? There are a LOT of materials on the web if you search for "PTT on Icom IC9700 over USB" such as:

??
??
?? etc.


--David
KI6ZHD


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

开云体育


Hello Rick


If so, I cannot explain why Direwolf beacons would work but Direwolf digipeat packets would not.? Can you paste in your whole direwolf.conf file here?? Maybe there is something wrong in there.
The system works with a signalink, but not the USB sound card with the Baofeng on VOX.

Ok.. I think I was confused before.? So make it stupid simple:

?? Permutation #1: using the Signalink USB + Baofeng using electrically asserted PTT WORKS
?? Permutation #2: using the soundcard USB + Baofeng using VOX PTT does NOT work

I now understand only permutation #1 works and permutation #2 does NOT work at all.? Is that correct?? I was previously reading your emails saying that some types of transmissions using Permutation #2 were working which makes no sense.?

Beyond that, there is nothing in your direwolf.conf file that would create such a scenario.

--David
KI6ZHD


Re: Using GPIO pins on other SBCs

 

Yes, 1.8v, and a little while ago I ran a little test with QtTermTCP, Direwolf and a USB sound dongle connected to nothing. Set DW up with PTT GPIO 19 as that is supposed to be pin 18 on the 30 pin header, which is on the outside and easier to access. My voltmeter saw 1.79 volt pulses on that pin when I attempted to connect to a station with QtTermTCP - outstanding!

Thanks for the info on the transistor circuit.? Just found this from from you in another 2019 thread.? Using Odroid GPIO came up in a discussion about serial port pins. At that time I was having trouble getting serial port pins to work with an Easy Digi board. I eventually got that to work, but now I'm looking to add more radios and sound devices, and I don't want to keep using USB to serial adapters for PTT.? I have a DINAH that works great, but I also want to home brew a setup using an inexpensive USB to serial dongle and have access to both left and right channels (and still not use serial port pins for PTT).

given the low drive voltage, perhaps a 2k2 resistor in series with the
base of the transistor, instead of 4k7.

emitter to ground, collector to radio PTT.

the 2.2k resistor will provide (1.3 -0.65)/2200 = 295uA of base current.
you'll get a gain of 100, so that should be good for 29mA of PTT
current....enough for any radio and a small reed relay.... you could
reduce to 1k if you need to drive a relay.


Thanks again,
Lee K5DAT

Virus-free.

On Mon, Jun 13, 2022 at 8:21 PM glen english LIST <glenlist@...> wrote:
from memory they are 1.8V IOs

I used a NPN and a 2k2 resistor in series, and a 10k to ground I think
(10k to ground holds the TX OFF in case of boot up, non configuration
etc so the weak pullup doesnt turn on the TX)


Re: Using GPIO pins on other SBCs

 

from memory they are 1.8V IOs

I used a NPN and a 2k2 resistor in series, and a 10k to ground I think (10k to ground holds the TX OFF in case of boot up, non configuration etc so the weak pullup doesnt turn on the TX)

On 14/06/2022 11:15 am, Lee Bengston wrote:
Thanks Glen!? After mulling it over I thought it might work that way.? I was just setting something up so that I could test one of the pins with a voltmeter.? Sounds like all I will need to do is to put together a little transistor circuit to go between the GPIO pin and PTT on the radio.

73,
Lee K5DAT


On Mon, Jun 13, 2022 at 7:54 PM glen english LIST <glenlist@...> wrote:

Lee I use GPIO on my XU4.... and C2 , C1 etc

It seems to work exactly as written up for RASP-PI in the
documentation

-glen VK1XX


On 14/06/2022 4:01 am, Lee Bengston wrote:
> I know this is an old thread, but I have interest in using GPIO
pins
> on an Odroid XU4.? Does Direwolf use the wiringpi library for
> interfacing with GPIO pins on the RPi?? If it does I think the XU4
> version of odroid wiki page (referenced below for the C4) has
enough
> into to translate between pi pins and odroid pins.
>
> Thanks,
> Lee K5DAT
>
> On Tue, Jul 6, 2021 at 6:11 PM Rob Giuliano via groups.io
<>
> <> <kb8rco@...> wrote:
>
>? ? ?The numbering system is typically done through libraries.
>







<> Virus-free. www.avast.com <>

--
Glen English
RF Communications and Electronics Engineer

CORTEX RF

Pacific Media Technologies Pty Ltd trading as Cortex RF

ABN 40 075 532 008

PO Box 5231 Lyneham ACT 2602, Australia.
au mobile : +61 (0)418 975077


Re: Using GPIO pins on other SBCs

 

Thanks Glen!? After mulling it over I thought it might work that way.? I was just setting something up so that I could test one of the pins with a voltmeter.? Sounds like all I will need to do is to put together a little transistor circuit to go between the GPIO pin and PTT on the radio.

73,
Lee K5DAT


On Mon, Jun 13, 2022 at 7:54 PM glen english LIST <glenlist@...> wrote:
Lee I use GPIO on my XU4.... and C2 , C1 etc

It seems to work exactly as written up for RASP-PI in the documentation

-glen VK1XX


On 14/06/2022 4:01 am, Lee Bengston wrote:
> I know this is an old thread, but I have interest in using GPIO pins
> on an Odroid XU4.? Does Direwolf use the wiringpi library for
> interfacing with GPIO pins on the RPi?? If it does I think the XU4
> version of odroid wiki page (referenced below for the C4) has enough
> into to translate between pi pins and odroid pins.
>
> Thanks,
> Lee K5DAT
>
> On Tue, Jul 6, 2021 at 6:11 PM Rob Giuliano via
> <> <kb8rco=[email protected]> wrote:
>
>? ? ?The numbering system is typically done through libraries.
>







Virus-free.


Re: Using GPIO pins on other SBCs

 

Lee I use GPIO on my XU4.... and C2 , C1 etc

It seems to work exactly as written up for RASP-PI in the documentation

-glen VK1XX

On 14/06/2022 4:01 am, Lee Bengston wrote:
I know this is an old thread, but I have interest in using GPIO pins on an Odroid XU4.? Does Direwolf use the wiringpi library for interfacing with GPIO pins on the RPi?? If it does I think the XU4 version of odroid wiki page (referenced below for the C4) has enough into to translate between pi pins and odroid pins.

Thanks,
Lee K5DAT

On Tue, Jul 6, 2021 at 6:11 PM Rob Giuliano via groups.io <> <kb8rco@...> wrote:

The numbering system is typically done through libraries.


Re: PTT for IC-9700 over network

 

Are you running Windows, or linux?

Rich W6ABJ


Re: Using GPIO pins on other SBCs

 

I know this is an old thread, but I have interest in using GPIO pins on an Odroid XU4.? Does Direwolf use the wiringpi library for interfacing with GPIO pins on the RPi?? If it does I think the XU4 version of odroid wiki page (referenced below for the C4) has enough into to translate between pi pins and odroid pins.

Thanks,
Lee K5DAT

On Tue, Jul 6, 2021 at 6:11 PM Rob Giuliano via <kb8rco=[email protected]> wrote:
The numbering system is typically done through libraries.
I would assumevthat since you are usjng something other than a Pi, you are compiling Direwolf on that device.? This could/should have a cross? reference.
This site:
implies you can use the wiringpi library is used for such things.

I would give it a try with the normal designation and use a DMV to check that the proper pin is doing what you expect.

Personally, I'd go with a Pi.


On Tue, Jul 6, 2021 at 18:40, Ian (Benny) Bennett
<ibennett@...> wrote:
Thanks Robert,
??? The information you quote is specific to the RPI and I want to use the "GPIO" config command on a
Odroid-C4 (another SBC; see and
).
??? The GPIO 17 command refers to the numbering used on the RPI. i.e GPIO 17 is pin 11 on the 40 pin
header.
??? The Odroid-C4 refers to its I/O pins as GPIOX.x (where x is a number). As an example, pin 11 on the
C4's 40-pin header is referred to as GPIOX.3
??? What I need to understand is how direwolf maps the GPIO config commands to the hardware. There has
to be an OS intermediary that does this; I just need to find out what that is and adjust it to suit
the C4.
??? Regards,

Ian

On 6/7/21 10:43 pm, Rob Giuliano via wrote:
> Found more information in the manual at:
>
> Section 9.2.12 (Page 78 & 79)
> TXINH GPIO 17
> TXINH GPIO -17
> As with PTT, minus in front of the GPIO number means invert the signal.
>
> Robert Giuliano
> KB8RCO
>
>
>
> On Tuesday, July 6, 2021, 8:16:45 AM EDT, Rob Giuliano <kb8rco@...> wrote:
>
>
> If you look through the direwolf.conf file (example file) you will find examples of how to assign
> functions to pins.
> In each case, there is an example for a serial port and one for GPIO.
> Examples:
> #PTT GPIO 25
>? ??? #DCD GPIO 24
> The number is the GPIO designation (not a pin number)I can't say anything about TX INHIBIT.
> I've only seen it mentioned in the discussions
>
> Robert Giuliano
> KB8RCO
>
>
>
> On Tuesday, July 6, 2021, 4:16:33 AM EDT, Ian (Benny) Bennett <ibennett@...> wrote:
>
>
> Evening all,
>? ??? I've been reading through the direwolf RPI doco, specifically interested in the use of the GPIO
> pins for PTT, TX INHIBIT and DCD.
>? ??? I'm planning on using a different SBC (Odroid-C4) which also has exposed GPIO pins (via a 40 pin
> header) and runs (Ubuntu) Linux.
>? ??? I'm keen to understand how direwolf identifies the RPI GPIO pins so I can (hopefully) adjust the
> numbering to suit the C4.
>? ??? I did find a "wiringpi" library for the C4 but I can't find any reference to that in the direwolf
> documentation.
>? ??? I'd give it a try but the C4's are "out of stock" until mid-August, so I'm trying to get a head
> start by asking here.
>? ??? Thanks in advance.
>
> Ian
> VK1IAN
>
>
>
>
>
>






Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

On Sun, Jun 12, 2022 at 08:52 PM, David Ranch wrote:
So when you say "and transmits a signal", you mean the FM frequency goes from static to a clear but silent FM transmission ("dead air) with no modem tones ever being transmitted??
Yes.

If so, I cannot explain why Direwolf beacons would work but Direwolf digipeat packets would not.? Can you paste in your whole direwolf.conf file here?? Maybe there is something wrong in there.
The system works with a signalink, but not the USB sound card with the Baofeng on VOX.

My direwolf.conf file:

#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? Configuration file for Dire Wolf??????????? #
#?????????????????????????????????????????????????????????? #
#?????????????????? Linux version?????????????????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################
#
# Extensive documentation can be found here:
# Stable release -?????? https://github.com/wb2osz/direwolf/tree/master/doc
# Latest development -?? https://github.com/wb2osz/direwolf/tree/dev/doc
#
# The complete documentation set can also be found in
# /usr/local/share/doc/direwolf/ or /usr/share/doc/direwolf/
# Concise "man" pages are also available for Linux.
#
# This sample file does not have examples for all of the possibilities.
# Consult the User Guide for more details on configuration options.%C%#
#
# These are the most likely settings you might change:
#
#??? (1)?? ??? MYCALL ??? -? call sign and SSID for your station.
#
#??? ??? ??? Look for lines starting with MYCALL and
#??? ??? ??? change NOCALL to your own.
#
#??? (2)??? PBEACON??? -? enable position beaconing.
#
#??? ??? ??? Look for lines starting with PBEACON and
#??? ??? ??? modify for your call, location, etc.
#
#??? (3)??? DIGIPEATER? -? configure digipeating rules.
#
#??? ??? ??? Look for lines starting with DIGIPEATER.
#??? ??? ??? Most people will probably use the given example.
#??? ??? ??? Just remove the "#" from the start of the line
#??? ??? ??? to enable it.
#
#??? (4)??? IGSERVER, IGLOGIN? - IGate server and login
#
#??? ??? ??? Configure an IGate client to relay messages between
#??? ??? ??? radio and internet servers.
#
#
# The default location is "direwolf.conf" in the current working directory.
# On Linux, the user's home directory will also be searched.
# An alternate configuration file location can be specified with the "-c" command line option.
#
# As you probably guessed by now, # indicates a comment line.
#
# Remove the # at the beginning of a line if you want to use a sample
# configuration that is currently commented out.
#
# Commands are a keyword followed by parameters.
#
# Command key words are case insensitive.? i.e. upper and lower case are equivalent.
#
# Command parameters are generally case sensitive.? i.e. upper and lower case are different.
#


#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? FIRST AUDIO DEVICE PROPERTIES?????????????? #
#?????????????? (Channel 0 + 1 if in stereo)??????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

#
# Many people will simply use the default sound device.
# Some might want to use an alternative device by choosing it here.
#
# Linux ALSA is complicated.? See User Guide for discussion.
# To use something other than the default, generally use plughw
# and a card number reported by "arecord -l" command.? Example:

ADEVICE? plughw:2,0

# You can also use "-" or "stdin" to pipe stdout from
# some other application such as a software defined radio.
# "stdin" is not an audio device.? Don't use this unless you
# understand what this means.? Read the User Guide.
# You can also specify "UDP:" and an optional port for input.
# Something different must be specified for output.

# ADEVICE stdin plughw:1,0
# ADEVICE UDP:7355 default


#
# Number of audio channels for this souncard:? 1 (mono) or 2 (stereo).
# 1 is the default so there is no need to specify it.
#

#ACHANNELS 2


#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? SECOND AUDIO DEVICE PROPERTIES????????????? #
#?????????????? (Channel 2 + 3 if in stereo)??????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

#ADEVICE1? ...


#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? THIRD AUDIO DEVICE PROPERTIES?????????????? #
#?????????????? (Channel 4 + 5 if in stereo)??????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

#ADEVICE2? ...


#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? CHANNEL 0 PROPERTIES??????????????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

CHANNEL 0

#
# The following MYCALL, MODEM, PTT, etc. configuration items
# apply to the most recent CHANNEL.
#

#
# Station identifier for this channel.
# Multiple channels can have the same or different names.
#
# It can be up to 6 letters and digits with an optional ssid.
# The APRS specification requires that it be upper case.
#
# Example (don't use this unless you are me):? MYCALL??? WB2OSZ-5
#

MYCALL KK4GGL-1

#
# Pick a suitable modem speed based on your situation.
#??? 1200 ??? Most common for VHF/UHF.? Default if not specified.
#??? 2400??? QPSK compatible with MFJ-2400, and probably PK232-2400 & KPC-2400.
#??? 300??? Low speed for HF SSB.? Default tones 1600 & 1800.
#??? EAS??? Emergency Alert System (EAS) Specific Area Message Encoding (SAME).
#??? 9600??? G3RUH style - Can't use Microphone and Speaker connections.
#??? AIS??? International system for tracking ships on VHF.
#??? ??? ??? Also uses 9600 bps so Speaker connection won't work.
#
# In most cases you can just specify the speed.? Examples:
#

MODEM 1200
#MODEM 9600

#
# Many options are available for great flexibility.
# See User Guide for details.
#

#
# Uncomment line below to enable the DTMF decoder for this channel.
#

#DTMF

#
# If not using a VOX circuit, the transmitter Push to Talk (PTT)
# control is usually wired to a serial port with a suitable interface circuit.
# DON'T connect it directly!
#
# For the PTT command, specify the device and either RTS or DTR.
# RTS or DTR may be preceded by "-" to invert the signal.
# Both can be used for interfaces that want them driven with opposite polarity.
#
# COM1 can be used instead of /dev/ttyS0, COM2 for /dev/ttyS1, and so on.
#

#PTT COM1 RTS
#PTT COM1 RTS -DTR
#PTT /dev/ttyUSB0 RTS

#
# On Linux, you can also use general purpose I/O pins if
# your system is configured for user access to them.
# This would apply mostly to microprocessor boards, not a regular PC.
# See separate Raspberry Pi document for more details.
# The number may be preceded by "-" to invert the signal.
#

#PTT GPIO 25

# The Data Carrier Detect (DCD) signal can be sent to the same places
# as the PTT signal.? This could be used to light up an LED like a normal TNC.

#DCD COM1 -DTR
#DCD GPIO 24


#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? CHANNEL 1 PROPERTIES??????????????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

#CHANNEL 1

#
# Specify MYCALL, MODEM, PTT, etc. configuration items for
# CHANNEL 1.?? Repeat for any other channels.


#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? TEXT TO SPEECH COMMAND FILE???????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

#SPEECH dwespeak.sh


#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? VIRTUAL TNC SERVER PROPERTIES?????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

#
# Dire Wolf acts as a virtual TNC and can communicate with
# client applications by different protocols:
#
#??? - the "AGW TCPIP Socket Interface" - default port 8000
#??? - KISS protocol over TCP socket - default port 8001
#??? - KISS TNC via pseudo terminal?? (-p command line option)
#

AGWPORT 8000
KISSPORT 8001

#
# It is sometimes possible to recover frames with a bad FCS.
# This applies to all channels.
#
#??? 0? [NONE] - Don't try to repair.
#??? 1? [SINGLE] - Attempt to fix single bit error.? (default)
#??? ... see User Guide for more values and in-depth discussion.
#

#FIX_BITS 0

#
#############################################################
#?????????????????????????????????????????????????????????? #
#?????????? FIXED POSIION BEACONING PROPERTIES????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################


#
# Beaconing is configured with these two commands:
#
#??? PBEACON??? ??? - for a position report (usually yourself)
#??? OBEACON??? ??? - for an object report (usually some other entity)
#
# Each has a series of keywords and values for options.
# See User Guide for details.
#
# Example:
#
# This results in a broadcast once every 10 minutes.
# Every half hour, it can travel via two digipeater hops.
# The others are kept local.
#

#PBEACON delay=1? every=30 overlay=S symbol="digi" lat=42^37.14N long=071^20.83W power=50 height=20 gain=4 comment="Chelmsford MA" via=WIDE1-1,WIDE2-1
#PBEACON delay=11 every=30 overlay=S symbol="digi" lat=42^37.14N long=071^20.83W power=50 height=20 gain=4 comment="Chelmsford MA"
#PBEACON delay=21 every=30 overlay=S symbol="digi" lat=42^37.14N long=071^20.83W power=50 height=20 gain=4 comment="Chelmsford MA"
PBEACON? delay=1 every=30 overlay=D symbol="digi" lat=29^51.615N long=081^17.362W power=5 height=8 gain=1 comment="St. Augustine? FL" via=WIDE1-1,WIDE2-1

# With UTM coordinates instead of latitude and longitude.

#PBEACON delay=1 every=10 overlay=D symbol="digi" zone=19T easting=307477 northing=4720178


#
# When the destination field is set to "SPEECH" the information part is
# converted to speech rather than transmitted as a data frame.
#

#CBEACON dest="SPEECH" info="Club meeting tonight at 7 pm."

# Similar for Morse code.? If SSID is specified, it is multiplied
# by 2 to get speed in words per minute (WPM).

#CBEACON dest="MORSE-6" info="de MYCALL"


#
# Modify for your particular situation before removing
# the # comment character from the beginning of appropriate lines above.
#


#############################################################
#?????????????????????????????????????????????????????????? #
#???????????? APRS DIGIPEATER PROPERTIES??????????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

#
# For most common situations, use something like this by removing
# the "#" from the beginning of the line below.
#

DIGIPEAT 0 0 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE

# See User Guide for more explanation of what this means and how
# it can be customized for your particular needs.

# Filtering can be used to limit was is digipeated.
# For example, only weather weather reports, received on channel 0,
# will be retransmitted on channel 1.
#

#FILTER 0 1 t/wn

# Traditional connected mode packet radio uses a different
# type of digipeating.? See User Guide for details.

#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? INTERNET GATEWAY??????????????????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

# First you need to specify the name of a Tier 2 server.
# The current preferred way is to use one of these regional rotate addresses:

#??? noam.aprs2.net ??? ??? - for North America
#??? soam.aprs2.net??? ??? - for South America
#??? euro.aprs2.net??? ??? - for Europe and Africa
#??? asia.aprs2.net ??? ??? - for Asia
#??? aunz.aprs2.net??? ??? - for Oceania

IGSERVER noam.aprs2.net

# You also need to specify your login name and passcode.
# Contact the author if you can't figure out how to generate the passcode.

IGLOGIN KK4GGL-1 19362

# That's all you need for a receive only IGate which relays
# messages from the local radio channel to the global servers.

# Some might want to send an IGate client position directly to a server
# without sending it over the air and relying on someone else to
# forward it to an IGate server.? This is done by using sendto=IG rather
# than a radio channel number. Overlay R for receive only, T for two way.

#PBEACON sendto=IG delay=0:30 every=60:00 symbol="igate" overlay=R lat=42^37.14N long=071^20.83W
#PBEACON sendto=IG delay=0:30 every=60:00 symbol="igate" overlay=T lat=42^37.14N long=071^20.83W
PBEACON sendto=IG delay=0:1 every=60:00 symbol="igate" overlay=R lat=29^51.615N long=081^17.362W power=5 height=8 gain=1 comment="St. Augustine? FL"

# To relay messages from the Internet to radio, you need to add
# one more option with the transmit channel number and a VIA path.

#IGTXVIA 0 WIDE1-1


# Finally, we don't want to flood the radio channel.
# The IGate function will limit the number of packets transmitted
# during 1 minute and 5 minute intervals.?? If a limit would
# be exceeded, the packet is dropped and message is displayed in red.

IGTXLIMIT 6 10


#############################################################
#?????????????????????????????????????????????????????????? #
#?????????????? APRStt GATEWAY????????????????????????????? #
#?????????????????????????????????????????????????????????? #
#############################################################

#
# Dire Wolf can receive DTMF (commonly known as Touch Tone)
# messages and convert them to packet objects.
#
# See separate "APRStt-Implementation-Notes" document for details.
#

#
# Sample gateway configuration based on:
#
#??? http://www.aprs.org/aprstt/aprstt-coding24.txt
#??? http://www.aprs.org/aprs-jamboree-2013.html
#

# Define specific points.

#TTPOINT? B01? 37^55.37N? 81^7.86W
#TTPOINT? B7495088? 42.605237? -71.34456
#TTPOINT? B934? 42.605237? -71.34456

#TTPOINT B901? 42.661279? -71.364452
#TTPOINT B902? 42.660411? -71.364419
#TTPOINT B903? 42.659046? -71.364452
#TTPOINT B904? 42.657578? -71.364602


# For location at given bearing and distance from starting point.

#TTVECTOR? B5bbbddd? 37^55.37N? 81^7.86W? 0.01? mi

# For location specified by x, y coordinates.

#TTGRID?? Byyyxxx??? 37^50.00N? 81^00.00W? 37^59.99N? 81^09.99W

# UTM location for Lowell-Dracut-Tyngsborough State Forest.

#TTUTM? B6xxxyyy? 19T? 10? 300000? 4720000



# Location for the corral.

#TTCORRAL?? 37^55.50N? 81^7.00W? 0^0.02N

# Compact messages - Fixed locations xx and object yyy where
#? ???? Object numbers 100 - 199??? = bicycle
#??? Object numbers 200 - 299??? = fire truck
#??? Others??? ??? ??? ??? = dog

#TTMACRO? xx1yy? B9xx*AB166*AA2B4C5B3B0A1yy
#TTMACRO? xx2yy? B9xx*AB170*AA3C4C7C3B0A2yy
#TTMACRO? xxyyy? B9xx*AB180*AA3A6C4A0Ayyy#

#TTMACRO? z? Cz

# Receive on channel 0, Transmit object reports on channel 1 with optional via path.
# You probably want to put in a transmit delay on the APRStt channel so it
# it doesn't start sending a response before the user releases PTT.
# This is in 10 ms units so 100 means 1000 ms = 1 second.

#TTOBJ 0 1 WIDE1-1
#CHANNEL 0
#DWAIT 100

# Advertise gateway position with beacon.

# OBEACON DELAY=0:15 EVERY=10:00 VIA=WIDE1-1 OBJNAME=WB2OSZ-tt SYMBOL=APRStt LAT=42^37.14N LONG=71^20.83W COMMENT="APRStt Gateway"


# Sample speech responses.
# Default is Morse code "R" for received OK and "?" for all errors.

#TTERR? OK?????????????? SPEECH? Message Received.
#TTERR? D_MSG??????????? SPEECH? D not implemented.
#TTERR? INTERNAL???????? SPEECH? Internal error.
#TTERR? MACRO_NOMATCH??? SPEECH? No definition for digit sequence.
#TTERR? BAD_CHECKSUM???? SPEECH? Bad checksum on call.
#TTERR? INVALID_CALL???? SPEECH? Invalid callsign.
#TTERR? INVALID_OBJNAME? SPEECH? Invalid object name.
#TTERR? INVALID_SYMBOL?? SPEECH? Invalid symbol.
#TTERR? INVALID_LOC????? SPEECH? Invalid location.
#TTERR? NO_CALL????????? SPEECH? No call or object name.
#TTERR? SATSQ??????????? SPEECH? Satellite square must be 4 digits.
#TTERR? SUFFIX_NO_CALL?? SPEECH? Send full call before using suffix.


PTT for IC-9700 over network

 

I'm trying to get Direwolf to transmit on my IC-9700 over a network but I can't figure out how to get the PTT to work.? Is there an easy way to do this?? Currently, I have a PC running Direwolf and the IC-9700 on a lan.? Maybe it is easier to run Direwolf off a raspberry pi with a usb connection to the ic-9700?? I'm open to suggestions.

Thanks.
Chris
W6COV


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

开云体育


Hello Rick,

cannot get the level up, there might be a Microphone "boost" or "Auto Gain Control" (AGC) setting in ALSAmixer.? It should be on the sound device's "capture" screen but I've sometimes seen them on the Playback screen for some screwy reason.? I don't have any Sabrient devices here or I would give it a look.? I have had good luck with the Syba units which are very similar.
I didn't any boot or gain controls in alsa mixer.

Ok.. it's very important to look for those kind of settings and DISABLE them.? To do that in alsamixer, use the left-right curcor keys select the one control like AGC and once selected, hit the "m" key to MUTE the control.? It's kinda screwy but that's how it works.? After that, I highly recommend to use the command "sudo /usr/bin/alsactl store" to save the settings.? Now, in whatever mechanism you use to automatically start up direwolf, you will want to first run ""sudo /usr/bin/alsactl restore" to restore all the correct audio levels.? This is all covered in the Direwolf User Guide.


O can hear data packets on other radios when the system beacons, but when it digipeats, while it does key the Pi and transmits a signal, no data is transmitted. I do have it set up as a RX igate only... I hope :-)

So when you say "and transmits a signal", you mean the FM frequency goes from static to a clear but silent FM transmission ("dead air) with no modem tones ever being transmitted?? If so, I cannot explain why Direwolf beacons would work but Direwolf digipeat packets would not.? Can you paste in your whole direwolf.conf file here?? Maybe there is something wrong in there.

--David
KI6ZHD


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

On Sun, Jun 12, 2022 at 02:57 PM, Jeff KP3FT wrote:
I just saw a couple comments on the Sabrent's Amazon page you linked to, where people reported that the left/right channel outputs are swapped.? If that's the case, you probably won't get any audio out since Direwolf defaults to left-channel mono.? If you have a pair of stereo headphones, it'd be easy to test that out.

I tested that out on a W7 machine. R and L were? correct.


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

I just saw a couple comments on the Sabrent's Amazon page you linked to, where people reported that the left/right channel outputs are swapped.? If that's the case, you probably won't get any audio out since Direwolf defaults to left-channel mono.? If you have a pair of stereo headphones, it'd be easy to test that out. Pretty sure Direwolf config can be changed to use the right channel for output, but I've never done it.? I think in your Direwolf config file, near the top of the config file, you would enable a line:?? ACHANNELS 2
and in the "Channel 0 Properties" change the already enabled "CHANNEL 0" ine to "CHANNEL 1".


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

On Sun, Jun 12, 2022 at 12:00 AM, Jeff KP3FT wrote:
What David Ranch said.? Good chance Auto-Gain is enabled on your USB soundcard.? I've used a ton of Syba and other cm108-based soundcards which always have auto-gain enabled by default.? Easiest way to disable it is to run "alsamixer" in a Terminal, hit the F6 key to choose the correct soundcard, then F4 to display the Capture controls.? Then use the arrow keys to go to the auto-gain slider and hit the "M" key to toggle auto-gain off.? Now the "Capture" slider will adjust your mic-input levels.? Then hit F3 to go to Playback controls and lower any "Mic" sliders to zero.? The Playback "Mic" slider is for playing audio back thru your audio-out that is being recieved on the mic-input... not desirable for ham digi-modes.?

On a Raspberry, alsamixer will save its settings when you exit alsamixer. Some other Linux distros require running "sudo alsactl store" in a Terminal? after exiting alsamixer to save the new settings.

I'll take another look at alsamixer to see if I missed gain controls.


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

On Sat, Jun 11, 2022 at 10:46 PM, David Ranch wrote:
Hmmm.. ok.? so your local APRS "digi" is not digpeating?? Have you tried contacting the owner of the machine to let them know?
The local machine is only beaconing, not digipeating. The owner has been notified.
I would recommend to start by setting the output audio from the radio to be 50% and then set the sound device's microphone gain at 50%.? Increase each of them to hopefully no higher than 80% each to make Direwolf happy.? If you
I'll give that a try.

cannot get the level up, there might be a Microphone "boost" or "Auto Gain Control" (AGC) setting in ALSAmixer.? It should be on the sound device's "capture" screen but I've sometimes seen them on the Playback screen for some screwy reason.? I don't have any Sabrient devices here or I would give it a look.? I have had good luck with the Syba units which are very similar.
I didn't any boot or gain controls in alsa mixer.
Ok.. good though just by running Xwindows and XFCE, you've chewing up a lot of RAM.? If this is going to be a dedicated APRS setup, I usually recommend people run the Raspberry Pi OS LITE version to free up as much memory as possible.? Not required but more of a best practice.
If I get to the point of trying to run a dedicated digipeater/igate, I'll get another Pi and strip to cli.
I don't understand.? What do you mean by "not transmit APRS data packet" if Direwolf and Xastir are seemingly beaconing correctly.? When yo say Igate, I assume you mean RF->APRS-IS ... aka a RX-only iGate.? Right?
O can hear data packets on other radios when the system beacons, but when it digipeats, while it does key the Pi and transmits a signal, no data is transmitted. I do have it set up as a RX igate only... I hope :-)

I know it all comes down to budget and it's just a hobby so only you can make the best decision for you.? I will only add that Jpoles are not very good antennas as they don't offer any real gain gain.? I personally like the 2m mono-band CP22W Diamond Antennas for 2m packet and it's only $54!? That said, you're going to have a real issue with stucco dwelling as they create an EXCELLENT RF shield.? Maybe you can talk the landlord into letting you run a coax run to the roof to mount to a roof level sewer vent pipe?? If you can't get that antenna up, your station is only going to hear and be heard in the direction AWAY from the structure.

--David
I live a condo, not an apartment building. I've only been a ham for 10 years and have lived here for 27. I am well aware of my lack of signal propagation... it's a PITA :-)


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

开云体育

+1.? Maybe +1000.

I believe this Auto-gain is what bit me last year during Field Day.? I had some RF intrusion into the Raspberry Pi's audio dongle, with the net effect that keying up would cause the transmit volume to dive to zero, and apparently beyond.? Simply rebooting the Pi did NOT fix the problem nor could I even go into the Mixer to change it, as the now-negative transmit level apparently caused an internal fault of some kind.? I had to re-flash the entire SD card from a backup copy to restore the Tx audio.? Good for one short transmit, then re-flash again.? If I could catch the volume dive in the Mixer with my mouse before it got to zero, I could keep it from getting locked out.? That got old fast.

After the dust had settled I found the following commands (this from a note to self on my Field Day Pi):
In terminal, to save the current audio file settings as a file use..
"sudo alsactl --file /home/pi/alsa.backup store"

To restore...
"sudo alsactl --file /home/pi/alsa.backup restore"

If you don't need the file and just need to store and restore on the system..

"sudo alsactl store"
"sudo alsactl restore"
I've since repaired the cabling to remove the RF intrusion issue, but left the above file text and backup file in my home directory as a reminder.? Note that the typical TRRS audio dongle has the Mike-in line on the Sleeve connection, which is usually where the cable shield is connected.? Don't do that...

Fingers crossed for some FT-8 contacts this year.?

Greg? KO6TH


Jeff KP3FT via groups.io wrote:

What David Ranch said.? Good chance Auto-Gain is enabled on your USB soundcard.? I've used a ton of Syba and other cm108-based soundcards which always have auto-gain enabled by default.? Easiest way to disable it is to run "alsamixer" in a Terminal, hit the F6 key to choose the correct soundcard, then F4 to display the Capture controls.? Then use the arrow keys to go to the auto-gain slider and hit the "M" key to toggle auto-gain off.? Now the "Capture" slider will adjust your mic-input levels.? Then hit F3 to go to Playback controls and lower any "Mic" sliders to zero.? The Playback "Mic" slider is for playing audio back thru your audio-out that is being recieved on the mic-input... not desirable for ham digi-modes.?

On a Raspberry, alsamixer will save its settings when you exit alsamixer. Some other Linux distros require running "sudo alslctl store" in a Terminal? after exiting alsamixer to save the new settings.



Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 
Edited

What David Ranch said.? Good chance Auto-Gain is enabled on your USB soundcard.? I've used a ton of Syba and other cm108-based soundcards which always have auto-gain enabled by default.? Easiest way to disable it is to run "alsamixer" in a Terminal, hit the F6 key to choose the correct soundcard, then F4 to display the Capture controls.? Then use the arrow keys to go to the auto-gain slider and hit the "M" key to toggle auto-gain off.? Now the "Capture" slider will adjust your mic-input levels.? Then hit F3 to go to Playback controls and lower any "Mic" sliders to zero.? The Playback "Mic" slider is for playing audio back thru your audio-out that is being recieved on the mic-input... not desirable for ham digi-modes.?

On a Raspberry, alsamixer will save its settings when you exit alsamixer. Some other Linux distros require running "sudo alsactl store" in a Terminal? after exiting alsamixer to save the new settings.


Re: Easy digi #dra-50 #rpi4b

 

开云体育

I want to thank you for al the information and support provided. It was really helpful, i finally got the setup ?working.?

I have to admit, and once again thank you for the advise, that you were absolutely right. I borrowed a Yaesu HT and that is when everything worked.?

Receive my apologies for all the inconvenience with the pictures.?

Best Regards.?
Armando Rodriguez

On Jun 9, 2022, at 4:14 PM, David Ranch <direwolf-groupsio@...> wrote:

?
Hello Armando,

Can you please only copy/paste the text from the window itself into the emails and NOT send screen captures?? These are very hard to read which require me to save each picture as a file, then view them with another picture viewer app, and then zoom in.? Very cumbersome.? I see you're using VNC but if you copy text from your Raspberry Pi GUI window, that text should copy over to your Mac's paste clipboard which should be pasteable into your email client.


Thanks for all the advice. I just connected all again to get a screenshot of the error but didn't get one at all. This is what I got:

?? - IMG_8422.jpg did not show any errors and showed a successful IPv6 connection to a remote APRS-IS server

?? - IMG_8423.jpg also did not show any errors and showed a successful APRS-IS connection and received an APRS record

?? - IMG_8427.jpg shows that you have sent a packet (line prefixed with 0L) and a Direwolf received audio level of 0.? That low level signal is bad but it's not 100% clear what the packet is.? Your station might be hearing itself via poor wiring or more likely, the poor audio stages on inexpensive radios.? If that is a real packet, you need to slightly increase the audio level out of the radio as well as increase the microphone gain on the Raspberry Pi to give an average Direwolf audio level of around 50.? You *will* see some stations LOWER audio levels as well as? other stations HIGHER levels.? You'll just have to do your best.

?? - I did not see any transmissions from your station so you might consider setting up a OBEACON (Object beacon) so you can ensure the output audio levels are correct and ultimately remote stations will be able to decode your AX.25 packets

?? - For IMG_8426.jpg,? click on the KI5TFY-2 (R) icon.? In the popup that comes up, click on the "info" field.? In the new window that opens up, click on the "RAW" URL at the top of the screen.? That will show you all packets being heard.? If it asks you to log in and you don't have an account, I highly recommend to create one as APRS.FI is a hugely helpful tool for anyone who runs an APRS device of any kind.

?? - For IMG_8426.jpg, the KI5TFY-2 (D) icon showing up, this probaby means you're sending multiple beacons out.? That's perfectly fine but the last heard beacon will be the one shown on the screen and the others are hidden below it.? Back on the APRS "info" view on aprs.fi, the lower part of that screen will show all the beacons heard from your station.? If you want all of them to be viewable on the map, you need to change each's beacons GPS locations by a fraction be it north / south / east / west.?


I am also transmitting a package with this set up:

APRDroid is a very nice Android app but no different than the warnings with Direwolf, the use of Beofeng radios can/will have issues there too.? Your mileage will vary.



But the radio?connected to the easy digi is not showing signs of receiving or transmitting any signal.

Not true... IMG_8427.jpg shows a pink line starting with "0L" which is a sent RF packet? on Channel 0.? The "ig" means heard via Internet "IGate".? Please see the Direwolf User Guide to understand what all the text means.?? Wait longer and see if you hear other packets.?? Connect your radio to antenna that's placed outside your dwelling to lower any RF noise level and improve signal reception.? If you don't see any received RF packets, check your audio output level from the radio as well as the Rpi microphone RX gain level.

The Direwolf User Guide details this very well but you might check out my guide for audio tuning as well:

???

There are other great guides out there on the Internet as well.


--David
KI6ZHD


Re: Rasberry Pi 3, Direwolf, USB soundcard doesn't digipeat packets.

 

开云体育


Hello Rick,

I did not do rpi-update, apparently the installer thought? did not have enough HD room

I have reinstalled pulse audio.

I did not compile direwolf, I installed it from the standard repository.

Ok.. got it.


AFAIK, I am the only igate in the area and the one APRS "repeater" in our area is only beaconing, not repeating

Hmmm.. ok.? so your local APRS "digi" is not digpeating?? Have you tried contacting the owner of the machine to let them know?



I have seen the messages from direwolf to try to get the recognized audio level to 50. With he Signalink, it's not too bad to get working, the usb soundcard is a PITA. I haven't been able to get that to work.

I would recommend to start by setting the output audio from the radio to be 50% and then set the sound device's microphone gain at 50%.? Increase each of them to hopefully no higher than 80% each to make Direwolf happy.? If you cannot get the level up, there might be a Microphone "boost" or "Auto Gain Control" (AGC) setting in ALSAmixer.? It should be on the sound device's "capture" screen but I've sometimes seen them on the Playback screen for some screwy reason.? I don't have any Sabrient devices here or I would give it a look.? I have had good luck with the Syba units which are very similar.


I already have Xastir using Open Street Maps on the Pi, bit I rarely use Xastir on the Pi, and so not use it to digipeat.

Ok.. good.


The autostartup is a simple script executed from the session/startup module in XF4CE.

Ok.. good though just by running Xwindows and XFCE, you've chewing up a lot of RAM.? If this is going to be a dedicated APRS setup, I usually recommend people run the Raspberry Pi OS LITE version to free up as much memory as possible.? Not required but more of a best practice.


Of the main problems I am having is that they system does not transmit the APRS data packet. Direwolf will beacon position packets, as will Xastir. The system igates.

I don't understand.? What do you mean by "not transmit APRS data packet" if Direwolf and Xastir are seemingly beaconing correctly.? When yo say Igate, I assume you mean RF->APRS-IS ... aka a RX-only iGate.? Right?


Also. I am using a 5 watt UV5R, 5 watts into a dual band 450 jpole that is hanging inside my first floor condo which had stucco over wiring for the? outside wall covering.

I know it all comes down to budget and it's just a hobby so only you can make the best decision for you.? I will only add that Jpoles are not very good antennas as they don't offer any real gain gain.? I personally like the 2m mono-band CP22W Diamond Antennas for 2m packet and it's only $54!? That said, you're going to have a real issue with stucco dwelling as they create an EXCELLENT RF shield.? Maybe you can talk the landlord into letting you run a coax run to the roof to mount to a roof level sewer vent pipe?? If you can't get that antenna up, your station is only going to hear and be heard in the direction AWAY from the structure.

--David