Showing posts with label ARISS. Show all posts
Showing posts with label ARISS. Show all posts

Saturday, 7 July 2018

GPredict - Radio Control FT991A (via RigCtld)

G'Day Guys,

Since getting hooked on monitoring ARISS and other satellites (aka "birds") I quickly discovered several bits of software for predicting the satellite pass and ability to control your radio to account for doppler shift in both the uplink and downlink frequencies.

The bit of software I've quickly come to enjoy is called GPredict for the following reasons:
  • Easy to Use
  • Available for multiple platforms
  • Computes and visualises multiple satellites passes
  • Ability to control radio to account for doppler shift
  • Ability to control antenna azimuth and elevation for controlling the antenna beam direction and tracking the satellite as we go from AOS to LOS
I downloaded the binary for windows and within a few minutes I had downloaded the latest  TLE and Transponder data from the internet. Out of the box it comes with a simple module with a few satellites that amateur operators can monitor and make contact through.

Next was to have GPredict control the radio uplink and downlink to account for doppler shift.  GPredict can be configured to update the TX/RX frequencies of the rig via sending "Rig Control" commands to a "Rig Control Daemon". By heading over to Rigctld you will find instruction on Downloading and compiling the Rigctrld code. However I took the easy path and downloaded the latest Windows Platform binaries.   There is further good information found at the "Hamlib Rigctld FAQ"

After downloading the binaries and installing (making sure the PATH was pointing to the bin folder) I was ready to start up an instance of RigCtld using the following command with the appropriate serial settings that suit my setup:


       
rigctld.exe -vvvvv -r \\.\com11 -m 135 -s 38400 -t 4532 -C "serial_speed=38400,stop_bits=2,rts_state=ON,dtr_state=OFF,serial_handshake=None"
       
 

!! Important Note!! when using COM PORTs above COM9 you can no longer use the syntax "-r COM10" but instead to "-r \\.\com11" as you can see I did. 

To test the ability to control the rig we can use the "rigclt" command line tool. The following example will query the rig to determine what "MODE" VFO A is in:

       
rigctl.exe -m 2 -r localhost:4532 m
       
 


Before we move on, one of the little limitation / feature lack of GPredict is when you select the different "transponder" to monitor and have GPredict track it only tracks the up and downlink frequencies. It DOES NOT automatically select / change the rig modes for both RX and TX.

To overcome this I created 3 simple commands which I run as needed to changes the modes quickly:

       
# For Voice
rigctl.exe -m 2 -r localhost:4532 M USB 0 X LSB 0
rigctl.exe -m 2 -r localhost:4532 M FM 0 X FM 0
rigctl.exe -m 2 -r localhost:4532 M USB 0 X USB 0

# For Digital Mode (ie APRS, etc)
rigctl.exe -m 2 -r localhost:4532 M PKTUSB 0 X PKTLSB 0
rigctl.exe -m 2 -r localhost:4532 M PKTFM 0 X PKTFM 0
rigctl.exe -m 2 -r localhost:4532 M PKTUSB 0 X PKTUSB 0
       
 

You will need to research the transponder for the requires mode on both up/downlink. But for the 1st command you can see I set the uplink to LSB and downlink to USB. This is for those linear transponders that each you to operation in this mode.

With RigCtrld now configured and running, we can now add a Interface to integrate with this Rigctrld instance.
  1. GPredict via Edit->Preferences->Interface add new interface and give it appropriate name (ie "FT991A")  
  2. Once saved then via Module "Down Down" Select Radio Control, Select the satellite and the transponder you wish to track.
  3. Then Click on "Track" and "Engage"
  4. You should see the frequencies start to adjust up / down accounting for doppler and be sent to the radio.

That's All Folks!!!!

73
de VK4TMZ (Mark)

Friday, 15 June 2018

PCSAT (NO-84) - Successfully Digipeated (Worked)

Guys,

So after setting up the monitoring of the Satellite APRS/Packet @ 145.825 MHz, I hadn't heard anything in almost 24hrs. My reading indicated that ISS  (ARISS) may be non-operational but there were a few other satellites such as NO-44 (PCSAT) and NO-84 (PSAT) that also provide APRS / Packet digipeating.

So last night I was just before shutting down for the night I took a look at the pass predictions for NO-44 and NO-84 satellites and luckily the NO-84 was about to have a great night pass right over head north - south direction @ 10:35pm  so thought lets see if I can beacon NO-84 and see if anyone is listening and can pick up my digipeated beacon.

Items needed for this little experiment:
  1. Thermal mug of coffee
  2. Android Phone running APRSDroid
  3. Handheld (BaoFeng uv-5rtp) using the vehicle antenna Diamond SG7400 
  4. Warm Jumper and Socks as in OZ is winter and a Low was making its way up from south so it was a little chilli.
Tune Handheld to 145.825 MHz

Setting up APRSDroid for Satellite Digipeating requires that you set the "path" to:
ARISS,WIDE1-1
Interfacing Android Phone to the BaoFeng can easily be done using the "APRS-K2 TRRS CABLE" which adapts the accessory jack on your BaoFeng (or similar) radio to a 3.5MM TRRS (Tablet, Phone, Computer)".   If you wanted to home brew your own take a look at Will Bradley's blog post "Cable for connecting APRSdroid to a Baofeng UV-82 Radio (APRS via RF)".

However!! since my cable is on order from BTECH, I used the coupling method of placing the phones external speaker on top of the Baofeng's mic port, set APRSDroid to use "Ringtone" output and set the ringtone level to about 3/4 volume (IMPORTANT!! use ringtone as this will provide louder audio as to activate the VOX which is set to level 1). This is not optimal as you now have to listen to the Packet burst, but small price to pay to have a little fun.

So all setup in the car @10:30pm on a cold Brisbane evening and waiting!!  Via tablet I was monitoring the pass via "Satellite Tracking for NO-84" and @ 10:35p started sending out manual beacon bursts every 45-60s. During the pass I did not hear anything from the NO-84.  So once LOS was reached I packed heading back into the warm house.

 Once back in the house went to see all "APRS Traffic Heard by NO-84"  and BAM!!!  there I was "VK4TMZ-9" listed as being heard by "VK3KAW-4"

One very happy Camper!! and my very first deliberate RF traffic to and through a Satellite!!!

That's all Folks!!!

73 de VK4TMZ

PS I've include snapshots of the sites showing my call and the raw decode traffic:




Thursday, 14 June 2018

Setting up Satellite APRS/Packet IGate - with OpenWebRx, Direwolf and CDR - Linux

We'll I wanted to see if the ISS APRS / Packet radios actually in operation and being actively used. Based on the information @ ARISS Home Site there is activity in the last 3-7 days.
2018-Jun-25 - In the last 24 hrs I've been reading that there are in fact several other satellites that provide APRS / Packet Digipeater via same frequency 145.825 MHz. Also its looking more and more like the ISS is not functioning correctly or at all. So I'll continue to monitor and see what I can hear.  For now have rename the title of this post from "ISS APRS/Packet IGate" to hopefully more generic "Satellite APRS/Packet IGate"
So with the same method I'm monitoring our local APRS @ 145.175 NFM (see "Setting up an APRS IGate with OpenWebRx, Direwolf and CDR - Linux" ) I've set up the following monitoring of Satellite APRS / Package activity on 145.825 MHz NFM:
       

export SDR_SAMPLE_RATE=5000000
export SDR_GAIN=IFGR=35,RFGR=2
export AUDIO_SAMPLE_RATE=48000
export AUDIO_GAIN=0.32
export FREQ_CENTER=145500000
export FREQ_MON=145825000
export FREQ_MON_BW=12000
export FIR_DISC_FACTOR=`python -c "print float($SDR_SAMPLE_RATE)/float($AUDIO_SAMPLE_RATE)"`
export FIR_DISC_TRANS_BW=`python -c "print float($FREQ_MON_BW)/float($SDR_SAMPLE_RATE)"`
export SHFT_ADD=`python -c "print float($FREQ_CENTER-$FREQ_MON)/$SDR_SAMPLE_RATE"`
export DW_HOME=/home/drifter/sdr/aprs/sat
export DW_CFG=$DW_HOME/direwolf-sat.conf
export DW_LOG=$DW_HOME/logs
 
nc -v 127.0.0.1 4951 | csdr shift_addition_cc $SHFT_ADD | csdr fir_decimate_cc $FIR_DISC_FACTOR $FIR_DISC_TRANS_BW HAMMING | csdr fmdemod_quadri_cf | csdr limit_ff | csdr deemphasis_nfm_ff $AUDIO_SAMPLE_RATE | csdr fastagc_ff | csdr gain_ff $AUDIO_GAIN | csdr convert_f_s16 |  direwolf -c $DW_CFG -l $DW_LOG -a 10 -t 1 -n 1 -r $AUDIO_SAMPLE_RATE -b 16 -d aupim -

       
 

Lets see how it goes over the next week or so

73 de VK4TMZ