The ARRL Handbook for radio communications 2014速報

arrl2014

 

上月中,終於收到了從Amazon pre-order2014年度的ARRL Handbook

對上一次訂購這本厚厚的handbook已是1996年的事了。今次再訂購,原因:

  1. 原來2014年就是ARRL100周年誌慶了。支持一下。
  2. blog需要新靈感新題材,閱讀是很重要的來源,事隔18年,不知多了什麼。

剛好是100周年,打頭陣的當然是回顧百年歷史,有珍貴照片,ARRL Handbook 陳年封面照等。

叫得hand book,書中大部份篇幅也是電子基礎理論,通訊原理。這對新入門檻,需考取牌照的同好是一本完整的參考書。

但對我這一把年紀,温故不來,急需新知的人來說,還是較留意有什麼新的資訊可提供給我。

對我來說,較有興趣的有三個課題: 各類電池應用,digital mode 通訊,DSP於通訊的應用。

電池的應用,近年很多通訊器材也起用了鋰電池。但其實鋰電池也細分幾種組合,特性,電壓也有異。書中除了其他種類電池的特性有詳細介紹,還詳細講解各類鋰電池的特性。雖則這些資料可在網上找到,但始終分散在不同web site,較難集中比較優劣。

有關Portable通訊中,鋰電池的應用,我會在跟後的Project詳談。

數碼通訊方面,內容我是不滿足的。這可能因ARRL有另一本書專注於這個topic有關。不過,她有一個大表記載了不同制式的資料,我想這也是handbook的一大好處。

至於DSP,大家相信不會陌生。內置DSP的器材,一般也願意附出較高價錢去購買。但DSP對通訊應用的好處或限制,相信認真了解的人不多。書中很詳細解釋。

 

後記

以上書評很精簡,其實不值得作為一獨立文章發表。事出有因。

話說收到該handbook後,發現沒有隨書附送的CD-ROM。於是向Amazon查詢,著他們補回CD了事。但他們沒有機制拆件補回。於是免費送上另一冊完整的給我。

我沒感激,只感覺好浪費資源。不需一會,backup了新收到的CD後。這一整冊對我來說是要找地方安置的又大又重的磚頭。

想到間中會收到新ham查詢考牌,aprs等事項。上網search一下,上一冊ARRL hand Book 的公共圖書館館藏也是幾年前的版本了。咁不如將之捐到公共圖書館,益下有緣人。

細看捐贈條款,需經評審委員會審批才會成為館藏。這個我接受。但另還有一條辣招,是捐出的書本如不被接納為館藏,該書將不獲退還,我的理解即係變為堆填區的垃圾。

一本2014年版的handbook有可能在2013尾被當作垃圾棄掉,我實難接受。又或評審經年後才有結果,新料都變舊聞。

於是傻仔咁email去查詢一下評審所需時間和會被接納的可能性。慘啦,被1823的官耍到頭暈,我的感覺是勞煩緊人去收留本書咁。Amateur radio is dying 的感覺再次浮起。事件擾釀了個多星期,得到的終極回覆是:

”香港公共圖書館已經訂購中,暫時毋須添置。對於未能接受您的厚意,我們深表抱歉。”

唔使抱歉,我如釋重負開心都嚟唔切。可馬上close filePlan B 將書轉送 Ham 友。

如官方答案屬實,我想好快大家可在public library見到採購回來的 2014 ARRL Handbook,到時可再借閱。

Posted in 評論, 開箱文 | Tagged , , | 2 Comments

Dixprs in Raspberry Pi – A next generation iGate solution

image

 

This article is the English Edition of my Blog article; hope to share my experience to the ham all over the world.

It describes the next generation iGate – Dixprs install in a Raspberry Pi.

 

APRS4R vs Dixprs

Why Dixprs

I had proceeded testing on Dixprs in RPi since last November. The performance is stable. While compare with APRS4r, the key benefit is the configuration saved on a plain text file. Here is the table shows the different between them:

iGate SolutionAPRS4rDixprs
privilegePiRoot
PlatformDebian/WRTWin/Mac/linux/WRT
LogPlain TextSqlite
Prog. Lang.RubyPython
Statusseems discontinuestill active
SupportGerman ForumGoogle Forum, handled by the developer
Config. FileGerman interface/ yaml fileConfig.txt
pre-request filespacked to the installation fileuser need download & install by themself
Operation modeDaemontext mode
Traffic shapeingnilYes
multi-RF Device?Yes
BlacklistnilYes
Wx supportYesNo
WebNo, unless loginPort 9999
Report Plugin supportNoMunin

According my understanding, the APRS4r is a postgraduate project which will discontinue after the team member graduation.

Dixprs was developed by Ha5di, and the programming language is Python version 2.X . Please be remind that the latest Python version 3.X is NOT compatible with 2.X .

Here is my points to introduce Dixprs as iGate:

It’s log used sqlite which may work with report plug-in munin; to generate graphical report.

It got Blacklist function. It is useful if some iGate’s coverage is duplicated.

It got a webpage to indicate the status of the iGate.

The configuration is a plain text file, as several configuration template provided.

 

Installation step

Please process a system update first

sudo apt-get update && sudo apt-get upgrade

step 1: install python-dev

sudo apt-get install python-dev

 

step 2: install database sqlite

sudo apt-get install sqlite

 

step 3: install python serial library

wget https://pypi.python.org/packages/source/p/pyserial/pyserial-2.6.tar.gz

Untar the file to folder

tar –zxvf pyserial-2.6.tar.gz

Enter the folder to execute install

sudo python setup.py install

 

step 4: import sqlite3 and serial library to Python

Python

>>> import sqlite3

>>> import serial

Press ctl+D to leave afterward

 

step 5: install linux ax.25 library

sudo apt-get install libax25

sudo apt-get install libax25-dev

 

step 6: install python ax25 library, execute

Return to upper folder first

cd..

download python ax25

wget https://sites.google.com/site/dixprs/downloads/pyax25.tar.gz

Please untar to a folder, and compile it

tar –zxvf pyax25.tar.gz

./compile_ax25.py build

sudo ./compile_ax25.py install

 

step 7: import the ax25 library to python

Python

>>> import _ax25

Press ctl+D to leave afterward

 

The pre-request component was complete, Now we will install Dixprs

wget https://sites.google.com/site/dixprs/downloads/dixprs-2.2.2.tar.gz

Create folder /usr/locao/Dixprs first

sudo mkdir /usr/local/Dixprs

untar the file to the folder, please be remind that the –C after filename is capital letter.

sudo tar –xvzf dixprs-2.2.2.tar.gz –C /usr/local/dixprs

All the files should uncompressed to /usr/local/dixprs folder. We can edit the config.txt now.

There are 3 templates for the config file.

  • config-agwpe.txt
  • config-kiss.txt
  • config-ax25.txt

We may know the purpose by the template’s name. agwpe is used with software TNC agwpe. Kiss is used with kiss mode tnc. Ax25 is used for complete ax25 protocol decoding.

As I am using Tnc-X kiss mode modem, so I use the config-kiss.txt as configuration. Please copy it to config.txt . Do NOT overwrite the template file.

cp config-kiss.txt config.txt

Please shutdown the Rpi first

sudo shutdown -h now

Connect the KISS mode TNC and transeceiver. Then power up the Rpi, and go to the Dixprs folder

Edit the config.txt by sudo privilege:

sudo nano config.txt

The content is English plain text format. Please fill in the correspond information, such as callsign,ssid,serial port,co-ordinate and so on.

Save after editing. The installation was complete.

Testing

Dixprs request root privilege to run, which is disable default on Linux system. Please refer the following site to enable it.

http://www.instructables.com/id/Web-Control-of-Raspberry-Pi-GPIO/step2/Enable-Root-Account/

Please login as root afterward, and go to the Dixprs folder

Run the Dixprs by the command:

./dixprs.py

Dixprs runs in text mode, so you can know the running status of it. If there are no error message shown, your iGate should work. Please login to aprs.fi to counter-check. Your iGate should appear.

On the other hand, you may use a computer which on the same subnet with your RPi. Please according the format to enter the RPi address on the computer’s browser URL.

http://RPi_ipaddress:9999

You should see the Dixprs iGate status Webpage.

 

What’s more

Telemetry

Visit aprs.fi, you can view the traffic information from your iGate. This feature on APRS4r are unavailable.

clip_image001

 

munin plugin

As mentioned before, Dixprs use sqlite which support munin to generate graphical report.HG2EBH write munin scripts for the real time packet status report. However, you should modify the scripts to fulfill your local situation.

http://aprs.ham.hu/munin/ham.hu/hg1pny.ham.hu/index.html#Dixprs

clip_image002

Courtesy of Dixprs official page

You Tube Demo

Dixprs @ Raspberry Pi, demo by VR2XKP

 

Conclusion

There are many iGate solution, some by MCU project, some by PC. However, install a iGate Linux solution on a Raspberry Pi should be best choice: power consumption low, operation costs low, flexibility high.

The Dixprs is the second iGate introduced on my Blog. It’s English interface more easy to setup. It also works on various platforms. And it provides telemetry, web status page which absent on APRS4r.

Besides, the programming of Dixprs is Python, a popular programming language recently. You may found many projects which from amateur to NASA using Python.

Python is a free, easy to learn programming language. You may view the sources code files on the Dixprs folder. If you want a deep knowledge on the APRS operation, it is a very good resource.

Further Reading

My first igate article:

Use Raspberry Pi as I-Gate, a $35 solution

Posted in English Articles | Tagged , , , | 2 Comments