Ah, ok.  That makes sense.   I assume the DigiRig is partly a USB sound card, and I can use the computer sound card for Rx input.  BTW, is this "DigiRig Mobile".  That seems to be the product I can find with Google.
73,

Burns Fisher, WB1FJ
AMSAT(R) Engineering -- Flight Software


On Tue, May 9, 2023 at 10:39 AM Chris Thompson <chrisethompson@gmail.com> wrote:
Use two radios if yours is not full duplex.  Only the TX needs to be keyed of course.  The other is just listening on receive.  It can also be an sdr if the latency is kept low.

You can test initially just with a receiver of course.


73
Chris 

On Tue, May 9, 2023, 10:27 Burns Fisher (AMSAT) <wb1fj@fisher.cc> wrote:
When you said setting DireWolf to "full duplex", is a full duplex radio needed?  (Not many of those around anymore!)
73,

Burns Fisher, WB1FJ
AMSAT(R) Engineering -- Flight Software


On Tue, May 9, 2023 at 9:23 AM Chris Thompson <chrisethompson@gmail.com> wrote:
DireWolf uses a config file.  A template is supplied with the installation.  It looks very complicated but you only have to change a very small amount.  If you are using DireWolf in KISS mode you do not even need to set your callsign or Full Duplex.  The ground station will do that when it connects to DireWolf.

You do need to set the speed to 1200 or 9600, but I do that from the command line.  I run DireWolf like this:
direwolf -q d -B 9600

The -q d stops it printing APRS.  The -B is the speed and can also be 1200.

That means the only things you must set in the config file are the sound card and how to key the radio.  When you run direwolf for the first time it prints out all the sound cards it can see and gives each a number.  Note which numbers you want to use for Receive/Transmit.  Then open the config file and edit the section labeled FIRST AUDIO DEVICE.  Set the line ADEVICE to have the two sound card numbers after it.  I have:
ADEVICE 0 3
Which means sound card 0 for receive and soundcard 3 for transmit.

You might be able to key the radio with VOX for testing.  But I recommend keying it with a serial line.  I use a DigiRig sound card that comes with a built in serial line setup to key the radio.  But I have also used a serial line and a single transistor to key the radio.  One advantage of the DigiRig is that he sells cables ready made for many radios.

If you want to transmit outside of the shack then go into config.h in the PACSAT code and put in your own callsign.  Also remember that it is transmitting and receiving 9600 bps packet on 70cms.  This is currently hard coded but we should add a command to switch modes no doubt.  If you want to change this then modify deviceSupport/ax5043-access.c - ax5043StartTx()/ax5043StartRx() to pass RATE_1200 vs RATE_9600 
and update deviceSupport/ax5043-ax25.c - start_ax25_rx() - where the band is overridden to 70cms for receive.  2m will work for 1200bps but is very deaf for 70cms.  Jim has solved this but the code fixes still need to be applied.

73
Chris


On Mon, May 8, 2023 at 8:17 PM Burns Fisher (AMSAT) via pacsat-dev <pacsat-dev@amsat.org> wrote:
Ok, thanks.  I saw a video about hooking up DireWolf to a BaoFeng radio, and I have exactly that radio.  I'm not sure about the PTT though.  I could also use my Kenwood D72--it does APRS, so it may even have a builtin TNC for other purposes.

73,

Burns Fisher, WB1FJ
AMSAT(R) Engineering -- Flight Software


On Mon, May 8, 2023 at 8:15 PM Chris Thompson via pacsat-dev <pacsat-dev@amsat.org> wrote:
Yes, DireWolf to a sound card and then to a radio.  You could test receive with an sdr as long as you can get the audio into DireWolf.

I can provide details on DireWolf setup tomorrow.

73
Chris 

On Mon, May 8, 2023, 17:06 Burns Fisher (AMSAT) <wb1fj@fisher.cc> wrote:
I assume you need to connect DireWolf through a sound card to a radio too.  Or am I not following somthing?  Your software does not do SDR like FoxTelem, right?
73,

Burns Fisher, WB1FJ
AMSAT(R) Engineering -- Flight Software


On Mon, May 8, 2023 at 1:41 PM Chris Thompson via pacsat-dev <pacsat-dev@amsat.org> wrote:

If you have received a PACSAT Booster Board from Jim, then here are some instructions for testing/using it.


First make sure you have followed Burns instructions to install the IDE and flash the launchpad.  You know this has worked when you have the console up and can type commands.  When it tells you to type a command in these instructions, it means on the PACSAT Console.  You can type help to show a list of commands.

 

I suggest installing DireWolf on the same or another computer.  You need to set it up to operate in full duplex at 9600bps.  Initially you can use DireWolf to see you are receiving packets.  Then you need to connect the ground station software by telling Pac Sat Ground that the TNC is connected to TCP port 8001, using the File > Settings screen.

 

In the console type:

send pb status 

 

This will transmit a packet and it should say PB Empty in DireWolf. 

 

Then type:

ls 

 

This should show there are no files on the sat.  If this does not work then type: 

unmount fs

format fs

mount fs 

 

In the console type: 

make psf 


This will create a set of test files 

 

Type:

ls 

 

To list them.  We now need to set the time before we load them into the directory.  We dont have a real time clock so it needs to be set manually.

 

Look up the current Unix time on the web.  I use https://www.unixtimestamp.com/ 

Type:

set unix time <value> 

 

Then you can type: 

load dir 

 

This will load the files into the directory and set their upload time.  In the future PACSAT will load the directory at boot.  Probably once we have a real time clock in place.

Type :

list dir 

 

This will list all the files in the directory.  Now when you reset the satellite the files will still be in the file system with the correct upload time, but the directory will be empty.  You can type: 

load dir 

 

Without having to set the Unix Time, and it will load the files and remember their upload time. 

 

In the Pacsat ground station you can press the DIR button if the PB is available, i.e. you are not already on the PB.  If it thinks you are on the PB then you can type this on the console: 

send pb status 

 

If you press  the DIR button it should request the directory and download all the headers.  If you interrupt the download then subsequent requests will ask for the holes in the directory. 

 

You can press the FILE button to download a file .  Either type the file number you want in the box or click on the file in the directory to populate the box.  You can also give a file a download priority by pressing numbers 1-9.  See the manual for Details. 



Feel free to ask any questions.


73

Chris


--

-----------------------------------------------------------

pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org

-----------------------------------------------------------

pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org

-----------------------------------------------------------

pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org


--