Showing posts with label Elecraft. Show all posts
Showing posts with label Elecraft. Show all posts

Tuesday, March 26, 2013

KX3 IQ & Python SDR

It's a work in progress, but here's a shot of my Python / wxPython / Numpy "panadapter" display for the Electraft KX3.  The KX3 provides a very nice IQ output (wideband, quadrature audio), covering +/- 24 kHz around the VFO tuning frequency.

I have long been interested in building an SDR software backend using Python et al.   Two principles: (1) You don't understand it if you haven't coded it, and (2) Python is the quickest and often best way to put together complicated software.  It's most at home on Linux systems, but it is not hard to port most applications to Windows.  (Not quite so easy to port: hardware-oriented stuff like audio and Ethernet.)

Like most "friendly" apps, you find that 95% of the work goes into the display and user interface.  The numerical part is almost trivial, using Numpy:

    data = np.array(iqdata[::2] + iqdata[1::2]*1j)
    z = np.roll( fft.fft(data), SIZEC/2)  # place center freq in center
    pwrwork = pwrwork + np.square( np.absolute(z) )

The total code size is about 590 lines at this point.

This application (kx3iq.py) is really a remote control app.  I "beam" the IQ data from the KX3 via my Beagleboard XM and a UDP Ethernet stream to the Python app across the room, with Hamlib rigctld provide rig control.  Using 16 bit 48 kHz sampling, that's a data rate of ~200 kB/s without any compression -- doable over most ISP's these days, if you want a long distance remote.

Monday, October 22, 2012

Sic Transit Gloria Mundi

I see that the Hilberling PT-8000A has replaced my Elecraft KX-3 on the top line of the Sherwood receiver test results.

The Hilberling commands about 17x the price of the Elecraft.  On the other hand, it is provided in your choice of five designer colors.

(tks I0GEJ.)

Sunday, August 12, 2012

A New Leaf: QRP and the KX-3

The latest project is to put the Elecraft KX-3 through its paces.  The kit arrived Thursday afternoon.  Assembly was complete on Friday, and now we're on the air.  The preferred mode is 5 Watts CW, leaving a little headroom in case of "difficult conditions" (up to 12 Watts available).

The receiver is doing very well.  (See the latest Sherwood results.)  The transmitter is fine so far, but it gets some help from the 3-element SteppIR antenna upstairs.

First Q's: DK2SC (20 M), CT1EDJ (15 M)

It's very impressive how much functionality is compressed into this little box.  I calculate its volume is about 1/20th of the Ten-Tec Orion on the main desk. The Orion does deliver 8X the power, and it has a few other nice features, but I'm thinking how I could better use that desk space.