Adding more stuff to the web

Getting started with the Pluto SDR

Tags: hardware, software, linux

I’ve been interested in Software Defined Radio (SDR) for a while, and after tinkering with an RTL-SDR for a while decided to get something with a larger tuning range and transmit capability. Although I was originally planning to buy a HackRF One because of the well-established community around it, I ended up going with the Analog Devices ADALM-PLUTO as I was able to get it for significantly cheaper (approximately NZ$100 including shipping - the HackRF is easily NZ$500+).

My plan is to work through Michael Ossman’s SDR with HackRF, which uses GNU Radio. The Analog Devices Wiki recommends using PyBOMBS, but that doesn’t seem to be working on Ubuntu 18.04 and their alternative, building from source, is something I try to avoid if possible because I almost always make a mistake somewhere. If anyone else is in a similar situation, the myriadrf ppa has all of the packages you need. Since I was also looking to use Gqrx, the commands below include that as well.

Add the repositories to the package manager:

sudo add-apt-repository ppa:myriadrf/drivers
sudo add-apt-repository ppa:myriadrf/gnuradio
sudo add-apt-repository ppa:gqrx/gqrx-sdr        # Leave out if you don't want Gqrx.
sudo apt update

Then you just need to install GNU Radio, the gr-iio drivers and gqrx.

sudo apt install gnuradio gr-iio gqrx-sdr

Faster sampling over USB

I found a page on the Wiki that compares throughput between the USB and network backends (since the Pluto uses RNDIS to provide a virtual ethernet link). Playing around with a simple GNU Radio FM receiver seemed to give similar results as those on the Wiki, as I was able to push the sample rate to 5.25 MHz over USB without buffer underruns, compared with around 4 MHz over the network interface. I’m sure there’s a standard Linux tool to find it, but I used iio_info from the iio_utils package. That gave me a URI in the form of [usb:x.x.x], which replaced pluto.local in the Device URI field of the PlutoSDR block.

Update (21 August 2018) to add performance improvement.

Posting from multiple computers

Tags: site, jekyll

One of the issues with my current Jekyll/NearlyFreeSpeech.NET setup is that I haven’t been able to post if I’m not working on my laptop which has the only copy of the site’s git repository. That’s not been a problem previously, but lately I’ve been working from my desktop a bit more and have a project on that machine that I’d like to write up. My goal with this little tweak was to migrate the repository to a server, though setting this up has been more useful than I expected.

Full post →

Building a Bus Pirate

Tags: electronics, hardware

Back at the end of January, I entered one of the Dangerous Prototypes free PCB giveaways, and was luck enough to win a code. I’ve thought about getting a Bus Pirate for flashing microcontrollers etc., and building one seemed like a good project that would net me something useful at the end. So, here’s the two-month-long saga of how I ended up with two Bus Pirates.

Full post →

Older posts