Monday, July 7, 2014

A set of wideband antennas for the FunCube Dongle Pro(+), hackRF, bladeRF and RTL-SDR

When I got my Funcube Dongle Pro, I was looking for a suitable set of antennas.

Since it covers such a wide bandwidth, finding a single antenna that covers the entire bandwidth is hard.

Log-periodic antennas seem to be the most suitable wideband antennas. (They are however directional, which can be good or bad, depending on the application) However, they get impractically large, and as a result unobtainable for frequencies below about 400MHz. For these frequencies, the only practical options seem to be telescopic antennas (which can be tuned for a frequency by differing the length that is expanded) or scanner antennas.

I ended up ordering this set:

I have since acquired a RTL-SDR dongle. The dongle that I have has a TV-style 75-ohm input connector, as opposed to the 50-ohm SMA connector on the Funcube dongle. Ideally, a balun would be used to match the impedance, but as a minimum, some cables can be made up with the relevant connectors at the ends. I found this video with information on building your own, if you need the increased sensitivity that a properly matched antenna provides. Some other dongles, like the one from hakshop, a random one from Amazon and the NooElec one has MCX connectors, which seem to mostly be 50-ohm.

I have also ordered a hackRF, which has a higher maximum frequency, which requires another antenna. I'm planning to acquire this one. (The ANT500 antenna that is available for it seems like a suitable replacement for the telescopic antenna). My planned antenna set for it:

Another transceiver that is available is the bladeRF. It covers 300MHz - 3.8GHz, but it has a higher sampling rate than the hackRF (and a FPGA). An upconverter that allows for lower frequencies are also available. A nice antenna set for it is:
For the low end of the range, if you have the space, also look at the scantenna. It covers 30MHz - 1.3GHz (with several gaps). (It might not be safe for transmitting (bladeRF and hackRF)). (Full specs)

This discone also seems like a great antenna if you can install an outdoor antenna. It can handle transmitting up to 200W on the 6m, 2m, 70cm, ~1.3GHz ham bands. Reception is listed as 25MHz - 1.3GHz


I would also recommend a full set of converters, covering different types of antennas. Some examples:

Monday, December 2, 2013

KiCAD schematic for the Arduino Leonardo

I wanted to design a compatible board in KiCAD. The orgiinal design is in EAGLE format.

I redrew it in KiCAD.

Uses symbols from http://smisioto.no-ip.org/elettronica/kicad/kicad-en.htm

Completely fails ERC. Blame my rough ATMEGA32U4 component.

Original design by Arduino. Errors are probably mostly mine....

Download (Use "Save" from the file menu)

Alternative link

Monday, November 5, 2012

Sourcing RepRap extruder springs in South Africa

Several RepRap extruders use compression coil springs to provide tension on the idler. While some companies exist that manufacture springs locally, they are not really conveniently located and might charge a lot if you are only interested in small quantities.

After search the internet and fastener / hardware stores unsuccessfully, I happened to notice that certain clothes-pegs have springs that seem perfect for the job.

Sourcing the clothes-pegs turned out to be relatively easy....

The ones that I found are:
Barcode: 6009695720525
Branded as: "You Save"
Pack size: 48 pegs (with one spring each) (Can't find it on their online shopping page)
Sources: Pick 'n Pay (~R26 per pack of 48)
Free length: 16mm
Wire thickness: 0.9mm
Turns: 9 (first and last one flattened)
Outside diameter: ~6.4mm (Fits M4 / M3 screws)
Turn "pitch" (relaxed): ~ 1.9mm (including 1 wire thickness)
Spring coefficient: Unknown
Material: Unknown ("rust free", looks like it might be zinc coated steel)
Image:


The pegs themselves seem to be made from PE and might be recyclable into filament with a filament extruder.

This thread on the RepRap forums seem to mention the same springs.

Tuesday, February 7, 2012

BitBurner - Download HTTP links using BitTorrent

BurnBit has a handy service that allows you to generate torrents for any directly accessible HTTP link.

They have some nice instructions to integrate it into your site. However, almost no big sites use these.

In order to easily use it for downloading Linux distributions (which are well mirrored, making BurnBit useful, even if just easily download from multiple mirrors simultaneously and to check that the file is not corrupted) I wrote a small GreaseMonkey script that injects their download buttons in some of the more obvious mirror sites / HTTP accessible FTP sites.

It is somewhat crude currently, but works well on sites that just contain directory listing.

Tuesday, January 17, 2012

Compiling CMake 2.8.7 on Solaris 10

Building CMake might fail due to incorrect environment variables.

If you already attempted to compile CMake, delete the directory and start again. It caches its variables for its own build all over the place.

A full Solaris 10 install has everything you need to compile CMake.

I bootstrapped it using as much system libraries as possible and assumed 4 CPUs / cores and set it to install to /usr.

Set up envirnment:
$ PATH=/usr/sfw/bin:/usr/ccs/bin:/usr/bin; export PATH
$ CC=gcc;export CC

Bootstrap:
$ ./bootstrap --parallel=4 --system-libs --no-system-curl --no-system-libarchive --no-system-expat --prefix=/usr

Compile according to Readme.txt:
$ gmake -j4
To install:
Change to root
# gmake install

To package:
$ bin/cpack
The generated package can the be installed as per the instructions on the download page.
The package will only work on other Solaris 10 (and possible newer) system running the same CPU architecture. Solaris 9 misses some of the libraries that it expects to find.

These instructions do not work on Solaris 9, due to the lack of a compiler in the default install. Installing Solaris Studio might work, but was not tested.

Update: I have a prebuilt version available here.

Wednesday, May 5, 2010

Disabling Caps lock in Ubuntu 9.10

Mac OS has a nice and easy option under "Modifier keys" where you can easily disable the Caps Lock key. (I never use it and it just gets in the way) Disabling Caps Lock under Ubuntu (and possibly other distributions using recent Gnome versions?) is possible, but not as obvious. If you go to System > Preferences > Keyboard > Layouts, Caps Lock's behaviour can be modified from the "Layout Options" (The button to open it is name just "Options" under Ubuntu 10.04) window
To open Layout option, click the button near the bottom left
The layout Options window has some related settings:
Default options for Caps Lock behaviour doesn't allow it to be disabled (before Ubuntu 10.04)
Unfortunately, all of the options just change an accidental press's side-effects. (The options for Ubuntu 10.04 includes an otion to disable Caps lock) Luckily, another option exist.... The Compose key has no side-effects when accidentally pressed and might actually be useful at times... Ubuntu allows you to set the Caps Lack key to act as a Compose key. To find this option, open the "Compose key position" option and select Caps Lock. Caps Lock can be configured to function as a compose key
Caps lock should now function as a Compose key (which need to be held with multiple other keys to have an effect) and stop interfering with your typing if you accidentally hit it. (I actually find this better than completely disabling it)

Update: This works under Ubuntu 10.04 as well. In addition, Ubuntu 10.04 has a "Caps Lock is disabled" option in the second dialog.

Wednesday, April 28, 2010

Facebook chat on your phone with Lampiro 10.4.1

Lampiro 10.4.1 has been released. It specifically improves support for Facebook chat.

This post describes how to set up Facebook chat on your phone.

Requirements:
  • A phone supporting MIDP 2.0 Java applications (If it runs Opera Mini 5 and is not an iPhone / Android phone, you should be fine)
  • Working internet on your phone
  • About 500KB of free space for Java applications
  • A Facebook username. Set it up here: http://www.facebook.com/username/
How to set up Lampiro for Facebook chat on your phone:
  • Download and install Lampiro on your phone. You can go here: http://lampiro.bluendo.com/get on your phone and get the base or TLS version (Don't bother with the non-TLS unless you have space issues on your phone)
  • Follow the instructions when you open Lampiro
  • Choose "Yes" when asked if you have an existing Jabber/XMPP account
  • Login with your Facebook username and password. Use johndoe@chat.facebook.com as username and your normal Facebook password if your Facebook username is "johndoe".
  • Wait for the list of online friends to load
  • Expand a group, choose a friend and start chatting. Left and right switches tabs (between chats / friend list)
About Lampiro
Lampiro is a free software / open-source Jabber/XMPP client for phones supporting Java ME. Its Google code page can be found at http://code.google.com/p/lampiro/ and its website can be found at http://lampiro.bluendo.com/ In addition to Facebook chat, its TLS version also support Google Talk's non-voice chat and other XMPP/Jabber servers.

Share this with your friends: