Skip to main content

Long range WiFi antenna from Illy coffee can

I have a stack of half finished projects that I'm trying to complete. Happily, the first one was finished late last night: a long range WiFi antenna made using an empty coffee can. Working from the ideas here I made an antenna from the following:

1. An empty 250g Illy Espresso ground coffee can

2. A Type N bulkhead socket and a Type N plug

3. A piece of WiFi antenna extension cable with a reverse SMA connector on the end.

4. A short piece of coat hanger for the active element of the antenna

Here's a shot inside the can showing the antenna element and the Type H bulkhead socket screwed into place. I simply drilled five holes in the can using a HSS drill.

And from the outside:

The active part of the antenna is made by soldering a piece of coat hanger into the Type N bulkhead connector.

For testing I'm using a USB WiFi adapter that has a reverse SMA connector on the side:

The cable was pretty simple to make, all that was needed was connecting the Type N connector on one end:

And the coffee can lid proves handy because the adapter and cable can all be stored inside the can when not in use. I made a little cover for the bulkhead socket using the neck of a balloon that I tied and turned inside out:

Testing using a combination of iwlist and Kismet showed that the antenna was both directional (as would be expected from its design) and more sensitive than the little whip antenna.

From the top room in my house I could see 58 networks using the standard antenna and 97 using the can pointing in one direction. The received power was on average between 3 and 9 dB better with the antenna for distant networks and had much greater range (that's between 2x and 8x better).

About 1/4 mile from my house (actually 423m or 0.26 mile or 1386 feet) is a business hotel that offers its guests free WiFi. Pointing the antenna in its direction I was able to connect to the hotel WiFi (which doesn't have a WEP or WPA password) and then reach a screen where I had to agree to the hotel's terms and conditions for use of their network.

Looks like I've got a backup connection if my home broadband goes down.

PS There are lots of details missing from this blog post because I linked above to a very detailed explanation of the whys and wherefores of building a can antenna.  Look there for critical details on picking a can size (the Illy can is a good size for the frequency of WiFi), the length of the active element, and the position within the can.   The other thing that's worth noting is that I shortened the cable going to the antenna as it was too long: the longer the cable the worse the loss.


Unknown said…
Could you explain a bit more on what the coat hanger piece is for? What do you mean by 'active' for instance? Is it linked from the top to the side?
Ceno said…
Did you have direct line of sight to the hotel?
Ceno said…
Did you have direct line of sight to the hotel in question?
Unknown said…
This is possibly misleading information, the pigtail cable you used is way too long to use to add any sort of boost to your signal.
Unknown said…
my wifi card has two outputs for the antenna. would it be be possible to do this but only plug into one side? If not, does a dual cable that goes down to a single SMA exist? Thanks
Anonymous said…
How long is the piece of coat hanger wire inside the can? I imagine that is important to pick-up the right frequencies.
gerryk said…
Agreed. The losses in (for example) 10m of RG174 @ 2.4GHz would be nearly 20dB. For every mW of signal out, you would lose 99mW warming the cable.
TheBog said…
Used these directions years ago, works perfectly!
ACR said…
That length of coax is likely incredibly lossy.
Unknown said…
What is reverse SMA connector....???
ColiN said…
There is a hole in the little socket connected to the can. And what he means by active is that it's the piece receiving the signal and transporting it to the coaxial cable.
ColiN said…
Idk if this will work but u may be able to strip the wire near the adapter down to the small copper wire and "create" two coax cables by adding male ends to each side and then putting an amplifier in between to make the signal stronger. I do it for my antenna TV all the time

Popular posts from this blog

How to write a successful blog post

First, a quick clarification of 'successful'. In this instance, I mean a blog post that receives a large number of page views. For my, little blog the most successful post ever got almost 57,000 page views. Not a lot by some other standards, but I was pretty happy about it. Looking at the top 10 blog posts (by page views) on my site, I've tried to distill some wisdom about what made them successful. Your blog posting mileage may vary. 1. Avoid using the passive voice The Microsoft Word grammar checker has probably been telling you this for years, but the passive voice excludes the people involved in your blog post. And that includes you, the author, and the reader. By using personal pronouns like I, you and we, you will include the reader in your blog post. When I first started this blog I avoid using "I" because I thought I was being narcissistic. But we all like to read about other people, people help anchor a story in reality. Without people your bl

Your last name contains invalid characters

My last name is "Graham-Cumming". But here's a typical form response when I enter it: Does the web site have any idea how rude it is to claim that my last name contains invalid characters? Clearly not. What they actually meant is: our web site will not accept that hyphen in your last name. But do they say that? No, of course not. They decide to shove in my face the claim that there's something wrong with my name. There's nothing wrong with my name, just as there's nothing wrong with someone whose first name is Jean-Marie, or someone whose last name is O'Reilly. What is wrong is that way this is being handled. If the system can't cope with non-letters and spaces it needs to say that. How about the following error message: Our system is unable to process last names that contain non-letters, please replace them with spaces. Don't blame me for having a last name that your system doesn't like, whose fault is that? Saying "Your

The Elevator Button Problem

User interface design is hard. It's hard because people perceive apparently simple things very differently. For example, take a look at this interface to an elevator: From flickr Now imagine the following situation. You are on the third floor of this building and you wish to go to the tenth. The elevator is on the fifth floor and there's an indicator that tells you where it is. Which button do you press? Most people probably say: "press up" since they want to go up. Not long ago I watched someone do the opposite and questioned them about their behavior. They said: "well the elevator is on the fifth floor and I am on the third, so I want it to come down to me". Much can be learnt about the design of user interfaces by considering this, apparently, simple interface. If you think about the elevator button problem you'll find that something so simple has hidden depths. How do people learn about elevator calling? What's the right amount of