Showing posts with label ax25. Show all posts
Showing posts with label ax25. Show all posts

Wednesday, February 5, 2014

New Amateur radio Cubesats will be launched from the International Space Station on Thursday, February 6, 2014.

New Amateur radio Cubesats will be launched from the International Space Station on Thursday, 6 February 2014. ( 18:07 UTC) new date (February 28 at 07:30 UTC)

1) LituanicaSat-1 (

  • Onboard VGA camera
  • GPS receiver.
  • UHF CW beacon 100mW, 9k6 AX25 FSK telemetry TX 2 watts.
  • FM Mode V/U transponder 150mW Voice Repeater.
  • 145.950 Mhz Uplink FM transponder.
  • 435.180 MHz Downlink FM.
  • 145.850 MHz AX25 Uplink.
  • 437.550 MHz AX25 Downlink.
  • 437.275 MHz CW Beacon .
  • https://www.facebook.com/Lituanicasat1
2) LitSat-1


  • Beacon/TLM down link 145.850 MHz
  • Beacon RF packets are AX.25 UI frames https://www.tapr.org/pub_ax25.html Main parameters of the beacon frames are: TX baud rate 9600 bps (G3RUH), repetition period ~4.5s, beacon duration ~0.5 s, source call address – TNC, destination call address – LY1LS.
Linear Transponder details
  • Uplink 435.150 MHz LSB 
  • Downlink  145.950 MHz USB 
  • Bandwidth ±15 kHz from centre
  • CW beacon   435.1375 MHz (LY1LS/B)
  • Normal mode – transponder, beacon OFF
  • 437.550 MHz AX25 Uplink.
  • 145.850 MHz MHz AX25 Downlink.
  • LitSat-1 on Facebook https://www.facebook.com/palydovas

3) UAPSAT



4) ArduSat-2



5) UKube-1
The Ukube-1 Satellite was lunched on 8 July at 18:32:42 UTC. kep details at http://www.dk3wn.info/p/?p=46812UKube-1 CW was confirmed over Europe ;-)


UKube-1 communications subsystem:
• Telemetry downlink 145.840 MHz
• FUNcube subsystem beacon 145.915 MHz
• 400 mW inverting linear transponder for SSB and CW
- 435.080 -435.060 MHz Uplink
- 145.930 -145.950 MHz Downlink
• 2401.0 MHz S Band Downlink
• 437.425-437.525 MHz UKSEDS myPocketQub Downlink



Thursday, December 26, 2013

New Satellite planed for Launch in January 2014 from ISS

LituanicaSAT-1 with amateur radio FM transponder to deploy from ISS.
( Launch at 1:32 pm EST on Wednesday, January 8 2014)
You should be able to here this satellite on the webSDR http://zr6aic.giga.co.za:8902


This satellite will be the first Lithuanian satellite.
Payload
1) VGA camera.
2) GPS receiver.
3) UHF CW beacon 100mW.
4) 9k6 AX25 FSK telemetry TX 2 watts.
5) FM Mode V/U transponder 150mW Voice Repeater.

  • FM Transponder Uplink 145.950 MHz Downlink 435.180 MHz 
  • AX25 Uplink 145.850 MHz AX25 Downlink 437.550 MHz 
  • CW Beacon 437.275 MHz 

 Read more at http://amsat-uk.org/2013/04/12/lituanicasat-1/  , http://ly3h.epalete.com/?p=371 and here http://www.kosmonautai.lt/en/

Tuesday, May 7, 2013

How to do AFSK, PSK DTMF demodulation on Linux / Raspberry Pi using your RTL dongle

How to do AX25, AFSK, DTMF, POCSAG and PSK demodulation on Linux.

(RTL 2832U  receiver) Where can I get a RTL dongle http://www.giga.co.za


RTL 2832U


Using the programs multimon, sox, mkfifo, rtl_fm, git and RTL 2832U receiver you can demodulate the following modulations.

AX.25 (https://github.com/EliasOenal/multimon-ng/blob/master/README.md)
  • 1200 Baud AFSK
  • 2400 Baud AFSK (2 variants)
  • 4800 Baud HAPN
  • 9600 Baud FSK (G3RUH)
POCSAG
  • 512 Baud
  • 1200 Baud
  • 2400 Baud
Miscellaneous
  • DTMF
  • ZVEI
  • SCOPE

1) Download the following Library by using git
git clone https://github.com/EliasOenal/multimon-ng.git

cd to the multimon directory
cd multimon-ng
run the command make
mkdir build
cd build
qmake ../multimon-ng.pro
make
sudo make install

If you want to get this working on Raspberry pi you need to use the following

qmake --version qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory 
alias qmake="$(find /usr -name qmake | grep qt5)" 
qmake --version QMake version 3.0 Using Qt version 5.3.2 in /usr/lib/x86_64-linux-gnu


Command line options. (here is the help file) multimon-ng [options] [input_file]

sudo sudo multimon-ng -h
multimon-ng  (C) 1996/1997 by Tom Sailer HB9JNX/AE4WA
             (C) 2012-2014 by Elias Oenal
available demodulators: POCSAG512 POCSAG1200 POCSAG2400 FLEX EAS UFSK1200 CLIPFSK FMSFSK AFSK1200 AFSK2400 AFSK2400_2 AFSK2400_3 HAPN4800 FSK9600 DTMF ZVEI1 ZVEI2 ZVEI3 DZVEI PZVEI EEA EIA CCIR MORSE_CW DUMPCSV SCOPE

Usage: multimon-ng [file] [file] [file] ...
  If no [file] is given, input will be read from your default sound
  hardware. A filename of "-" denotes standard input.
  -t <type>  : Input file type (any other type than raw requires sox)
  -a <demod> : Add demodulator
  -s <demod> : Subtract demodulator
  -c         : Remove all demodulators (must be added with -a <demod>)
  -q         : Quiet
  -v <level> : Level of verbosity (e.g. '-v 3')
               For POCSAG and MORSE_CW '-v1' prints decoding statistics.
  -h         : This help
  -A         : APRS mode (TNC2 text output)
  -m         : Mute SoX warnings
  -r         : Call SoX in repeatable mode (e.g. fixed random seed for dithering)
  -n         : Don't flush stdout, increases performance.
  -e         : POCSAG: Hide empty messages.
  -u         : POCSAG: Heuristically prune unlikely decodes.
  -i         : POCSAG: Inverts the input samples. Try this if decoding fails.
  -p         : POCSAG: Show partially received messages.
  -f <mode>  : POCSAG: Disables auto-detection and forces decoding of data as <mode>
                       (<mode> can be 'numeric', 'alpha' and 'skyper')
  -b <level> : POCSAG: BCH bit error correction level. Set 0 to disable, default is 2.
                       Lower levels increase performance and lower false positives.
  -o         : CW: Set threshold for dit detection (default: 500)
  -d         : CW: Dit length in ms (default: 50)
  -g         : CW: Gap length in ms (default: 50)
  -x         : CW: Disable auto threshold detection
  -y         : CW: Disable auto timing detection
   Raw input requires one channel, 16 bit, signed integer (platform-native)
   samples at the demodulator's input sampling rate, which is
   usually 22050 Hz. Raw input is assumed and required if piped input is used.


how to decode a wav file

sudo ./multimon-ng -s SCOPE -t wav /tmp/message.wav (to read wav file) How to convert a wav file to row file using sox sudo sox foo.wav foo.raw
Now we want to take the received signal from rtl_fm and pyp it to the multimon
Create a fifo Pyp 
sudo mkfifo soundfifo.raw 
ls -al 
prw-r--r--  1 anton anton     0 2013-05-07 22:35 soundfifo.raw

You will see its not a normal file its got a prw in front of the file definition when you list the files.
Lets get multimon to start receiving audio from soundfifo.raw pyp.
sudo multimon-ng -a AFSK1200 -a SCOPE -t raw soundfifo.raw
 
And now send the audio from rtl_fm to the soundfifo.raw
Decoding live data from rtl receiver. (Tuning receiver to 144.800 Mhz packet frequency and demodulate that to 22.05kHz audio)
 sudo rtl_fm -f 144800000 -s 22050 ./soundfifo.raw (read my section on rtl if you want to install rtl utilities)


You should then see the scope screen below.
 

Multimon Scope Display
And your afsk1200 decoding will start in console and the scope display will show your audio.
Here is an example of hot to decode directly from rtl dongle sudo rtl_fm -d0 -f 144800000 -s 22050 - | multimon-ng -a AFSK1200 -t raw /dev/stdin

Hope this help...
REF: www.baycom.org/~tom/ham/linux/multimon.html, http://www.youtube.com/watch?v=GBmli8Vflig and http://www.ultratechie.com/2012/10/pigate/
https://github.com/EliasOenal/multimon-ng/blob/master/README.md

Tuesday, February 19, 2013

Android in Space Mission. Plans for Launch on February 25 (STRaND-1)

And we're in orbit!  At 785km altitude moving at 7km/s. The question remains: can anyone hear you (12:59 GMT 25 Feb 2013)(STRaND-1)
Estimated time off view 26 Feb at 70cm Receiver SSB/AM only(no FM).

More info at http://amsat-uk.org/satellites/strand-1/strand-1-telemetry/



Here is a Receiver in South of Johannesburg in South Africa if you want to listen to  STRaND-1 on the scheduled times. 

UK Space Mission - STRaND-1 Plans for Launch on February 25

STRaND-1




A UK mission, jointly developed by the University of Surrey's Sur-
rey Space Centre (SSC) and Surrey Satellite Technology Limited
(SSTL), to send the world's first smartphone satellite into orbit,
is due to launch on February 25 from India on PSLV-C20. This launch
will also carry the ocean study spacecraft SARAL as well as satel-
lites carrying amateur radio payloads.

STRaND-1 will be the first UK CubeSat to be launched and has been
developed by talented space engineers and researchers at Surrey with
the majority of the design and developmental work being carried out
in their spare time. The build and test phase of the project has
been completed in just three months. At the heart of STRaND-1 is a
Google Nexus One smartphone with an Android operating system.

During the first phase of the mission, STRaND-1 will use a number of
experimental 'Apps' to collect data while a high-speed linux-based
CubeSat computer developed by SSC takes care of the satellite. During
phase two, the STRaND-1 team plan to switch the satellite's in-orbit
operations to the smartphone, testing the capabilities of a number of
standard smartphone components for a space environment. The satellite
will be commissioned and operated from the Surrey Space Centre's
ground station at the University of Surrey.

Being the first smartphone satellite in orbit is just one of many
'firsts' that STRaND-1 is hoping to achieve. It will also fly inno-
vative new technologies such as a 'WARP DRiVE' (Water Alcohol Resist-
ojet Propulsion Deorbit Re-entry Velocity Experiment) and electric
Pulsed Plasma Thrusters (PPTs); both 'firsts' to fly on a nanosatel-
lite. It is also flying a 3D printed part - believed to be the first
to fly in space!

A software-based speech synthesiser will be included to pay homage
to the UOSAT family of satellites OSCAR 9 and 11, that were launched
in 1980 & 1982. There will be an amateur radio AX.25 packet radio
downlink on 437.575 MHz using data rates of 9k6 or 19k2 bps.

On-line articles of the STRaND-1 mission can be found at:
http://www.amsat-uk.org/
http://spaceref.com/news/viewsr.html?pid=43314

[ANS thanks AMSAT-UK and Spaceref.com fo
r the above information]

Live launch broadcast 25 Feb 2013 from about 12:00 GMT http://www.webcast.gov.in/live/

Thursday, February 16, 2012

Packet Radio on Ubuntu using Soundmodem

Packet Radio on Ubuntu using Soundmodem (144.800Mhz)











I got my ax25 configuration working with soundmodem on Ubuntu.


1) Install soundmodem and all ax25 options with Synaptic Package Manager or with (apt-get)
1.1)The list of apps I installed. ax25-apps, ax25-tools, ax25-xtools, ax25mail-utils, ax25spyd, soundmodem,

sudo apt-get install ax25-apps
sudo apt-get install ax25-tools
sudo apt-get install ax25-xtools
sudo apt-get install ax25mail-utils
sudo apt-get install ax25spyd
sudo apt-get install soundmodem

1.2) I found this script EasyPacket (install it) http://www.w1hkj.com/EasyPacket.html .
It consist of a series of scipts to simplify the process of starting and configerating a user packet node, see documentation in /usr/share/doc/easypacket (after instillation) for mode details.
1.3) The document was in Spanish and I had to translate it with google. Here is the content.
****************************************************
README
Greetings, My name is Pavel and I am CO7WTCosta Milanes, a Cuban Amateur Radio

This packete software was created to provide aconfiguration standard in mind to facilitate the assembly of apacket station in GNU / Linux, is expected to be as automatic as possible throughout their development.

The ideas or main bases of this software are:

- Used to create 3 soundmodem software modems simultaneous / Individual
- Create three ports of packet: 1k2, 9k6 and 4K8,which correspond to the speed AFSK 1200, 4800 and 9600 AFSK FSK,or all together or each individually.
- As a GNU / Linux has to assign an IP address toScholarly interface, suggests the use of AMPR declared 44.128.xxsegment test for each of the interfaces on different network segments, you must reset the IP address what proveea your local coordinator, allocation is as follows:
IP Address Mode Speed ​​port interface
1200 baud AFSK 1k2 44.128.0.1 x0
4K8 AFSK
4800 baud ax1 44.128.1.1
9600 baud FSK 9k6 44.128.2.1 ax2
- Only taken into account the connections AX25;NETROSE BPQ and others are referred
- Default incoming connections to ttylinkd enrrutanis not actualemnte functional.
- The indicative NOCALL default and is configured using the packetconfig script.
*********************************************
I found the README a bit cryptic.

2) I did the following.


2.1)I run soundmodemconfig  you will need X window server if you are doing this remotely via ssh

sudo soundmodemconfig

Soundmodem config screen













2.2) Configure the sound modem as in the pictures above. ( it will save the config when you exit the app)

plughw0.0 could be different for your Linux depending how many Audio sound cards you have in your ALSA configuration.  

sudo arecord -l will list your device's

**** List of CAPTURE Hardware Devices ****
xcb_connection_has_error() returned true
Home directory /home/anton not ours.
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: V10 [FUNcube Dongle V1.0], device 0: USB Audio [USB Audio]
  Subdevices: 1/1

  Subdevice #0: subdevice #0

plughw0.0  will be card 0


2.3) I connected the external speaker sound plug on Radio to laptop line in and tuned VHF radio to 144.800Mhz FM to see some local packet traffic.






























2.4) Select new configuration in file menu and then sound card.
On the older Ubuntu it was /dev/dsp (soundcard) new Ubuntu its (alsa and plughw:0,0) and your serial port (my port was /dev/ttyS0) for your PTT (I am using ZS1I radio interface between radio and laptop)

to see what is the list of serial devices run the command ls -al /dev/* | grep ttyS

crw-rw----  1 root dialout   4,  64 Sep  4 17:42 /dev/ttyS0
crw-rw----  1 root dialout   4,  65 Sep  4 17:42 /dev/ttyS1
crw-rw----  1 root dialout   4,  74 Sep  4 17:42 /dev/ttyS10
crw-rw----  1 root dialout   4,  75 Sep  4 17:42 /dev/ttyS11
crw-rw----  1 root dialout   4,  76 Sep  4 17:42 /dev/ttyS12

U can use the terminal program to see if its the correct serial port.
Install minicom serial terminal program.

sudo apt-get install minicom

sudo minicom

Welcome to minicom 2.5

OPTIONS: I18n
Compiled on May  2 2011, 00:39:27.
Port /dev/tty8

Press CTRL-A Z for help on special keys

Press [ctrl]A and then Z

You should then get this menu

    +-------------------------------------------------------------------+
     |                                  Minicom Command Summary                       |
     |                                                                                                      |
     |          Commands can be called by CTRL-A <key>                       |
     |                                                                                                      |
     |               Main Functions                  Other Functions                     |
     |                                                                                                      |
     | Dialing directory..D  run script (Go)....G        | Clear Screen.......C  |
     | Send files.........S  Receive files......R         | cOnfigure Minicom..O  |
     | comm Parameters....P  Add linefeed.......A | Suspend minicom....J  |
     | Capture on/off.....L  Hangup.............H          | eXit and reset.....X  |
     | send break.........F  initialize Modem...M      | Quit with no reset.Q |
     | Terminal settings..T  run Kermit.........K      | Cursor key mode....I  |
     | lineWrap on/off....W  local Echo on/off..E      | Help screen........Z  |
     | Paste file.........Y                                            | scroll Back........B   |
     |                                                                                                      |
     |      Select function or press Enter for none.                                     |
     |                                                                                                      |
     |             Written by Miquel van Smoorenburg 1991-1995               |
     |             Some additions by Jukka Lahtinen 1997-2000                  |
     |             i18n by Arnaldo Carvalho de Melo 1998                           |
     +-------------------------------------------------------------------+

Select option  O

+-----[configuration]------+
 | Filenames and paths      |
 | File transfer protocols    |
 | Serial port setup            |
 | Modem and dialing        |
 | Screen and keyboard     |
 | Save setup as dfl           |
 | Save setup as..              |
 | Exit                               |
+--------------------------+

Select Serial port setup

Change your comm port by selecting A

and then edit your port  /dev/ttyS0  ??

Save and exit to get back to terminal and send some characters and check your serial port TX pins for data.
select  X to exit


2.5) Then select file new channel in the soundmodemconfig ( Select modulator and demodulator afsk the rest of the defaults should be ok.)
Change your cal-sign in Packet IO tab.

2.6) Select Channel menu on left and the click on Diagnostics menu and click on scope. You should see your audio from your radio ext speaker. ( if you get an error you have the wrong audio device change it until it work)




Set the volume on receiver for reasonable level (You might have to set the level with sudo alsamixer)


Sudo alsamixer

Use the F5 and F6 keys to select the sound card and input M also selects options

2.7) Exit the soundmodem config program. ( it will save the config on exit)

2.8) There should be a config file in /etc/ax25/soundmodem.conf

2.9) make a copy and rename it to soundmodem.9k6.conf

3) you can now start the easypacket script (sudo packeton 9k6)

3.1) you should see something like (The following interfaces are ready to rock: sm0 ZR6AIC)
hi......
Almost done.
you could now monitor packet in listening mode with the following commands. (sudo ax25spy or sudo  listen  has changed to sudo axlistin -c -a).



I will continue next time how to connect using the ax25 tools ....

here is the list of commands that manages your AX25 connections.
CommandDescription
mheard
Mheard  displays information about most recently heard AX.25 callsigns, the interface upon which they were heard, the total packets heard,  the time  at  which  the  last one was heard and other information.  Mheard displays different information, in different orders  depending  on  the settings  of  the  arguments. Information on specific ports can be displayed by giving the port names as arguments.
ax25d
Ax25d  is  a  general purpose server daemon that listens on a number of AX.25, NET/ROM and Rose ports and offers different  services  depending upon port, callsign and other parameters.
axctl
The axctl commands to be issued to the Linux AX.25 protocol layer for existing AX.25 connections. The connection is uniquely  identified  via  the  combination  of port, destination callsign and source callsign, with that information the kernel is able to change the parameters, or abort the connection. .
axparms
Configure AX.25 interfaces
axspawn
Allow automatic login to a Linux system
beacon
Transmit periodic messages on an AX.25 port
bpqparms
Configure BPQ ethernet devices
mheardd
Collect information about packet activity
rxecho
Route AX.25 packets between ports transparently
sethdlc
Get/set Linux HDLC packet radio modem driver port information
smmixer
Get/set Linux soundcard packet radio modem driver mixer
smdiag
Linux soundcard packet radio modem driver diagnostics utility
kissattach
Attach a KISS or 6PACK interface
kissnetd
Create a virtual network
kissparms
Configure KISS TNCs
net2kiss
Convert a network AX.25 driver to a KISS stream on a pseudo-tty
mkiss
Attach a multi KISS interface
nodesave
Saves NET/ROM routing information
nrattach
Start a NET/ROM interface
nrparms
Configure the NET/ROM interface
nrsdrv
KISS to NET/ROM serial converter
netromd
Send and receive NET/ROM routing messages
rsattach
Start a ROSE interface
rsdwnlnk
User exit from the ROSE network
rsparms
Configure the ROSE interface
rsuplnk
User entry into the ROSE network
ttylinkd
TTYlink daemon for AX.25, NET/ROM, ROSE and IP
rip98d
Send and receive RIP98 routing messages
ax25_call
Make an AX.25, NET/ROM, ROSE or TCP connection
netrom_call
Make an AX.25, NET/ROM, ROSE or TCP connection
rose_call
Make an AX.25, NET/ROM, ROSE or TCP connection
tcp_call
Make an AX.25, NET/ROM, ROSE or TCP connection
yamcfg
Configure YAM driver parameters
dmascc_cfg
Configure dmascc devices
ax25ipd
AX.25 into IP Encapsulator
ax25rtd
AX.25 routing daemon
ax25rtctl
AX.25 routing daemon control utility
call > now axcall
Make an AX.25, NET/ROM or ROSE connection
listen
Monitor AX.25 traffic
ax25mond
Dump the AX.25 network traffic and and provide sockets where the received data will be retransmitted
soundmodem
Soundcard modem driver
soundmodemconfig
Soundcard modem configuration utility
aprsd
APRS daemon
aprspass
APRS passcode generator
aprsdigi
APRS digipeater
aprsmon
Monitor APRS AX.25 traffic for JavAPRS

More info is avalable here http://www.tldp.org/HOWTO/AX25-HOWTO/index.html