Thursday, 31 January 2013

WSJT on the RPI/Lapdock under Raspian revisited

While comissioning the Atrix Lapdock I needed to install WSJT. I had similar issues with the version currently at the trunk of the svn not installing properly, There were no clues on the SVN as to what the latest stable release was so I found out what version I had previously used (2589)and installed that as follows:-


 svn co svn://svn.berlios.de/wsjt/trunk -r2589

 cd ../trunk

./configure --with-portaudio-include-dir=/usr/include --with-portaudio-lib-dir=/usr/lib/arm-linux-gnueabihf

it did a whole load of things starting at "Compiling wsjt" and ended with "Installing into: /usr/local"

still in trunk:-:

make clean

make

after it finishes make sure you have permissions to execute  ../trunk/wsjt.py:-

sudo chmod 777 wsjt.py

Even though the serial port isnt used, WSJT still tries to talk to it so make sure /dev/ttyAMA0 permissions are set appropriately
to launch WSJT:-

./wsjt.py

Tuesday, 29 January 2013

WSPR on the RPI/Lapdock under Raspian Revisited


Having got the Lapdock working I decided to install the latest debian package and reinstall WSPR

2012-12-16-wheezy-raspbian so that was downloaded and installed. At installation time I took the opportunity to overclock the board at 1GHz and in the same menu allow the memory space to fill ALL the memory card (if you dont,  you only have 2GB to use, even on a 16GB card!


sudo apt-get update

sudo apt-get install build-essential subversion python2.7-dev python-numpy python-imaging-tk python-pmw libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 python-dev libhamlib-utils
svn co http://svn.berlios.de/svnroot/repos/wsjt/branches/wspr -r2840

(trying to load the current revision ie omitting "-r2840" software wouldnt build)
cd wspr
./configure --with-portaudio-include-dir=/usr/include --with-portaudio-lib-dir=/usr/lib/arm-linux-gnueabihf

At this point the Makefile that configure created needs to be edited so the RPI uses the hardware floating point processor

vi Makefile (edit wouldnt work on my machine on this file)
make sure line 5 reads:-
FFLAGS = -g -O2 -fno-range-check -ffixed-line-length-none -Wall -Wno-character-truncation -Wno-conversion -Wtabs -fPIC -mfloat-abi=hard

make sure line 9 reads:-
CFLAGS = -Wall -O0 -g -Wall -O0 -g -mfloat-abi=hard



sudo make install 

to launch wspr

./wspr

Again i used the imic as the audio input/output
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: system [iMic USB audio system], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: system [iMic USB audio system], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

works fine, nice to have a compact system for wspr

Monday, 28 January 2013

Raspberry Pi Laptop!

Although the RPI is small, by the time keyboard, mouse and HDMI display has been added its quite a big setup

Searching the internet I found information http://kimondo.co.uk/raspberry-pi-modmypi-case-motorola-atrix-lapdock-raspberry-pi-laptop/  on how to use a Motorola Atrix Lapdock as a display/keyboard/display for the RPI. They were originally intended as a "docking station" for the Motorola Atrix Android phone and cost around $250. They never really caught on,  so they are available on the internet for a greatly reduced price, I paid $50 (shipped) for mine.

The unit has an external charger for the onboard battery, which can be used to power the RPI. On the back panel are a pair of FEMALE type A USB connectors, a MALE micro USB connector  and a MALE micro HDMI connector.

3 cable systems are needed for the RPI:- USB, Power and HDMI

I managed to source a female to female micro HDMI adaptor and a short MALE micro HDMI to MALE regular HDMI  connector that plugs into the RPI. HDMI socket

I also obtained a FEMALE micro USB to MALE type A USB cable which allows me to take care of the RPI USB connection

I then assembled the power cable harness. I used another FEMALE  micro  USB to USB cable and spliced into it a MALE micro USB  connector cable that plugs into the RPI power connector

All was all connected together, an SD card with the latest debian release was inserted,  the Lapdock saw the HDMI activity and the display showed the RPI boot sequence. Success!

When finished booting, I then plugged in the USB wifi adaptor that normally fits into the RPI into the USB connector on the back of the Lapdock. and rebooted. It connected fine to my Wifi so we were in business

To test the Video quality i installed XBMC on an SD card and configured it




I then  looked at tidying up the cables. Accidentally I found out that if a micro female USB connected to the lapdock was connected directly to the regular sized USB port on the RPI the RPI was powered up AND it still saw the USB wifi dongle on the Lapdock




Friday, 25 January 2013

KAT500 In motion




Thanks to W5LUA I got to borrow his FT847 to try out the KAT500 with 100W drive. The FT847 cannot provide band data for the KAT500 but as it measures the incoming RF frequency it should be able to work out what band the FT847 is transmitting on

Firstly I tried it on my HF6v vertical which is resonant on 80/40/30/20/50/10m. On 80m,  the vertical , who's bandwidth is low is resonant on 3560kHz  but the KAT500 gave a good match up to 3800kHz. The KAT500 also managed to match the vertical on 17m and 12m.

The ATU is quite noisy while tuning as relays are switched in and out. Tuning is normally achieved in under 5 seconds

Secondly I tried it on my Alpha Delta DX-EE antenna which covers 160/80/40/30. It is very narrow bandwidth on the lower two bands but the ATU managed a match over a wide bandwidth. It also managed to match the antenna  on 20/17/15/12/10

The ATU needed around 9W for it to reliably autotune.

Friday, 18 January 2013

KAT500 Built



Finally got round to building the KAT500 I ordered last May, delivered at the end of December

Basically it took an hour to bolt it together, with no real issues
Just need to find an exciter that gives more than 10W to try it out.

Tuesday, 8 January 2013

MLA2500B Still works

Before returning the power attenuator to G4BVY I looked round the shack to see if anything else needed testing. Eyes fell upon the Dentron MLA2500. This was bought at a Weatherford hamfest for the sum of $100 and was restored as described at http://g4fre.com/mla2500b.htm  It was brought as checked baggage from the USA in mid2007 but has not been used since. It was turned on and left with heaters only for an hour. Then the EHT was turned on without incident. Trying it on 40m, but not pushing it too hard 60W in produced 700W of output, on 15m similar results. It still seems to work!

Friday, 4 January 2013

EU 477kHz WSPR on a non optimum antenna

I had a brief  listen on new years day on the new 477kHz band and heard M0BMU, G0MRF, on cw  but last night I decided to see what else i could find

I hooked up my Anan10 to Powersdr, set the dial to 474.2kHz USB and launched the WSPR programme and let it run. The antenna was my indoor DX-EE 40/20/50/10m dipole

The first couple of decodes took me by surprise:-

2013-01-03 22:14  DF2JP  0.475628  -27  0  JO31jg  0.5  G4FRE  IO82uc  633  282
2013-01-03 22:14  PA3FNY  0.475636  -27  0  JO22nc  0.2  G4FRE  IO82uc  506  273

Leaving it running for another hour the following new stations were identified:-

2013-01-03 23:24  G4HJW  0.475700  -22  0  JO02de  0.5  G4FRE  IO82uc  177  268
2013-01-03 23:12  G8IMR  0.475735  -16  0  IO90iv  2  G4FRE  IO82uc  151  333
2013-01-03 22:32  PA0A  0.475725  -20  0  JO33de  2  G4FRE  IO82uc  591  262
2013-01-03 22:22  G3ZJO  0.475714  -29  1  IO92ng  0.005  G4FRE  IO82uc  98  260

PA0A was still there this morning:-

 2013-01-04 11:50  PA0A  0.475700  -24  0  JO33de  2  G4FRE  IO82uc  591  262 
 2013-01-04 11:32  PA0A  0.475700  -26  0  JO33de  2  G4FRE  IO82uc  591  262 
 2013-01-04 10:54  PA0A  0.475700  -25  0  JO33de  2  G4FRE  IO82uc  591  262 
 2013-01-04 10:36  PA0A  0.475700  -19  0  JO33de  2  G4FRE  IO82uc  591  262 
 2013-01-04 10:28  PA0A  0.475700  -24  0  JO33de  2  G4FRE  IO82uc  591  262 
 2013-01-04 10:20  PA0A  0.475700  -26  0  JO33de  2  G4FRE  IO82uc  591  262 
 2013-01-04 09:36  PA0A  0.475700  -24  0  JO33de  2  G4FRE  IO82uc  591  262 
 2013-01-04 09:28  PA0A  0.475700  -25  0  JO33de  2  G4FRE  IO82uc  591  262

Time to think about a real antenna for reception.


PA checkout day

Provoked by an email by G4BVY after borrowing his 1kW 30dB Bird Tenulune I decided it was time to test out some amplifiers

First up was my Elecraft KPA500. It still had the old V1.11 software so this was upgraded to 2.23. It was then tested out and worked fine, a good tryout in preparation for this weekends ARRL RTTY contest

Next up was the 70MHz amplifier. Previously I had acquired a DEMI 48V 50MHz 300W PA. As the KPA500 gives me 500w on 6m it was decided to put it on 4m. Steve told me the only thing that would need changing is the low pass filter. Looking in the junkbox and finding some UNELCO caps and some 2mm silver plated wire one was built and installed.



Next a 48V power supply was needed. I had bought an Erskine one from Jim GI1CET on ebay (I first saw them when he had them at the EME2012 conference but was too late to get one) Unfortunately it produced 54V, bit high for the amplifier. Using the instructions provided,  the cover and sisterboard were removed and a 220k resistor put in parallel with the 22k resistor to the right of the voltage set pot. This gave me the 47-50V range which was ideal

Hooking up the PA to the output of the DEMI 70MHz xverter (configured so that whatever i did it could only run 10W maximum, rather than its normal 35W) 8W gave me 370W on 4m . A quick test showed that it still gave 400W  on 6m for 6W of drive, both of which were acceptable