Jielong-3 - CAMSAT CAS-5A - 2022-12-09 06:35 UTC

I replied on Twitter also:

Remove 16 byte AX.25 header, find 1st & last '03' image packets, note sequence # & add missing frames when possible. When 100%, remove INFO bytes only leaving JPG file from 'FFD8' to 'FFD9'

… and to elaborate, obviously this can be done by a programmer but I could Google until I turned blue and not find all the needed code.

Also, while you could certainly do these steps in a hex editor, I find it easier to convert to ASCII & do all the ‘cuts’ and ‘find/replace’ in a text editor or on the linux command line.

Only when I’m finished to I convert back to hex to save the complete .JPG file as binary hex.

3 Likes

I don’t have a single I/Q or KSS for image #6 because it was pieced together by grabbing frames from 4 different downloads.

And I don’t have anything on the photo catalog. When people first tried the ‘*ABC#’ command, the transmitter locked up for 12 hours or so.

So, I’ve been afraid to try that command again.

2 Likes

Thanks for sharing this IQ recording, it is however quit a challenge to replay the format without information on how it is created. I think this was created with SDR Console, that would explain the WAV64 format.

But at the end I was able to convert it to a usable file.

One final remark, but without any details on the receive chain, I think the RSP is configured with far to much gain and therefor not in its optimal dynamic range.

3 Likes

How did you convert the file?

Trying to do it now =D

VE3SVF

The converted file, it can be replayed with SDR# and SDR++

Some details:

soxi iq_500000_SP5LOT.wav

Input File     : 'iq_500000_SP5LOT.wav'
Channels       : 2
Sample Rate    : 500000
Precision      : 16-bit
Duration       : 00:11:29.94 = 344968496 samples ~ 51745.3 CDDA sectors
File Size      : 1.38G
Bit Rate       : 16.0M
Sample Encoding: 16-bit Signed Integer PCM
2 Likes

Thank you for this comment. I’m experimenting with my rspduo and actually may have chosen too much gain.

I also get the impression you have agc enabled, the gain varies when signals and noise is received. May I suggest to disable that function.

I will also create a kiss file from this recording. Follow the link to download the kiss file.

1 Like

However, I have AGC turned off. But previously I had RF Gain on 9, now I will reduce it to 8
cas4

When you replay the file, you see and experience the gain being changed, this is one of the reasons I stopped using the RSP, maybe it is a hardware setting in SDR Console.

Will try to record the next flight on pluto sdr for comparison.

Good description, Scott! I have a single addition: the strips have to be done in the raw data and must not be KISS encoded! If it is a KISS frame, one needs to “unKISS” it first, as there might be bytes escaped!

Great point - thank you!

For anyone who uses GNU Radio, here is the FIRST step that I use when starting with a KSS file saved from a CAS-5A pass. In addition to converting from KSS to normal HEX, it also removes the first 16 bytes (AX.25 header) from each packet. You are left with a file ready to check for missing image packets!

4 Likes

The IQ file from @tomasz that I converted to a kiss file is now also available as a hex file

I used Kissdump from DK3WN.

3 Likes

Looking at the hex file and the information shared by @K4KDR, this seems to be the first frame:

03 02 98 00 01 01 00 16 0C 09 0B 2E 0F 08 07 07 FF D8 FF E0 00 10 4A 46 49 46 00 01 01 00 00
01 00 01 00 00 FF DB 00 43 00 03 02 02 03 02 02 03 03 03 03 04 03 03 04 05 08 05 05 04 04 05
0A 07 07 06 08 0C 0A 0C 0C 0B 0A 0B 0B 0D 0E 12 10 0D 0E 11 0E 0B 0B 10 16 10 11 13 14 15
15 15 0C 0F 17 18 16 14 18 12 14 15 14 FF DB 00 43 01 03 04 04 05 04 05 09 05 05 09 14 0D 0B
0D 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14
14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 14 FF C0 00 11 08 03 00 04 00 03 01 22 00 02 11 01 03 11 01 FF C4 00 1F 00 00 01 05 01 01 01 01 01 01 00 00 00 00 00 00 00 00 01
02 03 04 05 06 07 08 09 0A 0B FF C4 00 B5 10 00 02 01 03 03 02 04 03 05 05 04 04 00 00 01 7D
01 02 03 00 04 11 05 12 21

This is picture 03, size 0298 and packet sequence 0001

3 Likes

Thank you!

Unfortunately, it doesn’t appear to have the latest protocol (with command A), rather using command B. I cannot decode imagery out of this, could you?

73!

VE3SVF

Maybe it is time to let go of my bias towards RSP and give a later model a try to see if things are improved. I had one of the very first models, already many years ago.

Maybe I can find one on the used market.

Where did you get the hex from?

1 Like

Some nice 40+dB decodes from my antenna!!

image

3 Likes

Unfortunately, it’s mostly telemetry