In dense urban areas or remote suburban areas, standard routers often prove ineffective, failing to penetrate thick walls or reach neighboring buildings. It's in these situations that a homemade router comes in handy. Wi-Fi gun — a device consisting of a high-gain directional antenna connected to an access point. Creating such a gadget not only allows for significant savings on industrial equipment but also provides unique features unavailable in off-the-shelf solutions.
In this guide, we'll detail the physics behind the process, examine the necessary components, and step-by-step assemble a device capable of receiving signals over distances of several kilometers. You don't need to be a certified radio engineer to build a working prototype, but understanding the basic principles of radio wave propagation will significantly simplify the task and improve the effectiveness of the final product.
Before you start soldering and assembling, it is important to understand that Wi-Fi gun It's not just an amplifier, but a complex impedance matching system. Incorrect assembly can lead not to improved communication, but to burnout of the router's receiving module due to reflected waves. Therefore, every stage, from material selection to final setup, requires careful attention and precise dimensional accuracy.
Operating principle and design selection
The basic idea behind the device is to concentrate electromagnetic energy into a narrow beam. While a standard router antenna radiates a signal in all directions (horizontally), a directional antenna focuses it, similar to how a lens focuses light. This allows for penetration. radio noise and cover long distances by sacrificing angle of coverage in exchange for range.
There are many designs that can be built at home, from simple wave channels (Yagi antennas) to more complex parabolic reflectors and biquads. For a beginner, the most accessible and effective option is an antenna of the type Bi-Quad Or a parabolic satellite dish with a converter installed inside. The choice depends on the available materials and the desired operating frequency.
⚠️ Attention: The manufacture and use of high-power transmitting devices may be regulated by laws in your country. Ensure that the output power of your transmitter does not exceed permitted limits (usually 100 mW or 20 dBm for the 2.4 GHz band) to avoid interfering with communications services and risking fines.
The key parameter here is the gain, measured in dBi. The higher this value, the narrower the beam and the greater the range, but the more precisely the antenna must be aimed at the signal source. For home-made designs, it's possible to achieve gains of 15–24 dBi, which is comparable to professional equipment.
Necessary materials and tools
To build a high-quality Wi-Fi gun, you'll need a set of readily available materials, often found in your garage or purchased at your local hardware store. Accurate measurements are key, so be sure to have a pair of calipers or at least a ruler with millimeter markings.
Here is a basic list of components needed to build a parabolic antenna with a feed horn:
- 📡 Satellite dish (offset or prime focus) - the more intact the enamel, the better.
- 🔌 Wi-Fi router with the ability to connect an external antenna (SMA or RP-SMA connector).
- 🧵 Coaxial cable with a wave impedance of 50 Ohms (such as RG-58 or RG-213) - length no more than 3-5 meters.
- 🔩 Copper wire or tube with a diameter of 2-3 mm for making the emitter.
- 🛠 Soldering iron, solder, flux, and cable stripping tools.
Pay special attention to the choice of cable. Using a TV cable with an impedance of 75 ohms (for example, RG-6) is possible, but will result in signal loss due to mismatch. For the 2.4 GHz band, using a cable is critical. 50 Ohm, since at high frequencies, losses in a low-quality cable can "eat up" all the gain from the antenna.
You'll also need an N-connector or SMA connector to connect to the router. If you're using a router with non-removable antennas, you'll have to carefully open the case and solder the cable directly to the standard antenna contacts, which requires microscopic soldering skills.
Manufacturing of an emitter (irradiator)
The heart of our Wi-Fi gun is the feed, which is installed at the focal point of the parabola. The simplest and most effective option for replicating this is a loop radiator or a simple dipole. Let's look at the process of creating a classic dipole for the 2.4 GHz band.
The wavelength for a frequency of 2400 MHz is approximately 12.5 cm. To create a half-wave vibrator, we need a piece of copper wire half the length of a wavelength, or about 6.2 cm. However, given the shortening factor of copper, a practical length is usually around 58-60 mm.
The manufacturing process is as follows:
- Take a piece of copper wire with a diameter of 2-3 mm.
- Bend it into a "U" shape, where the crossbar is about 31 mm long and the "legs" are 15-17 mm long.
- Strip the end of the coaxial cable: solder the central core to one leg, and the braid (shield) to the other.
- Carefully insulate the soldering area with heat shrink to avoid short circuit and oxidation.
It's important to maintain symmetry. If one side of the vibrator is longer than the other, radiation pattern will be distorted, and some of the energy will go into the sky or the ground, and not towards the receiver. To check, you can use SWR meter (standing wave ratio meter), although in home conditions it is replaced by the "best reception" method.
What is SWR and why is it important?
SWR (Standing Wave Ratio) indicates how well the antenna is matched to the cable. An ideal SWR is 1. If the SWR is high (greater than 2-3), a significant portion of the transmitter power is reflected back to the router, which can cause it to overheat and fail, and also reduces transmission efficiency.
Assembly and installation of the structure
Once the emitter is manufactured, it must be secured at the focal point of the satellite dish. The focal length depends on the dish's geometry and is usually specified in the dish's documentation or calculated using a formula. For standard offset dishes measuring 0.6–0.8 m, the focal point is 30–40 cm from the dish's center.
To mount the emitter, you can use a piece of dielectric material (plastic, PCB, or a block of wood) secured to the converter bracket. Metal mounting elements near the emitter should not be used, as they will shield the signal. The entire structure must be rigid to prevent wind from shaking the system and disrupting its tuning.
The table below shows the approximate correspondence between the plate diameter and the expected gain:
| Plate diameter (m) | Frequency (GHz) | Theoretical gain (dBi) | Actual range (km) |
|---|---|---|---|
| 0.55 - 0.60 | 2.4 | 18 - 20 | 1 - 2 |
| 0.80 - 0.90 | 2.4 | 22 - 24 | 2 - 4 |
| 1.10 - 1.20 | 2.4 | 25 - 27 | 4 - 6 |
| 1.50+ | 2.4 | 28+ | 6+ |
When installing the cable, try to avoid sharp bends. The bending radius should be at least 5-6 times the cable diameter. Where the cable enters the building, be sure to install a "drip catcher"—a loop below the entry level to allow rainwater to flow downwards rather than back into the building.
⚠️ Attention: When installing an antenna at a high altitude (roof, mast), be sure to use lightning protection. A direct lightning strike or induced discharge can damage not only the router but also all other appliances in the house.
Antenna setup and alignment
The most critical step is aiming the Wi-Fi gun at the base station or a nearby router. Since the beam is very narrow (especially with large dishes), a deviation of a few degrees can completely disrupt the connection. It's best to do this with two people: one person smoothly moves the antenna, while the other monitors the signal strength.
To control the router, use the built-in tools or special utilities. In Windows, you can use the command netsh wlan show interfaces, which will show the current signal level as a percentage. On Linux, the utility iwlist or wavemon.
☑️ Antenna Setup Checklist
Move the antenna very slowly, pausing for 2-3 seconds at each point, as there's a delay before statistics are updated in the router interface. Once you find the maximum point, secure the antenna as firmly as possible. Even slight play in the wind will cause connection instability and ping spikes.
Alternative options and modernization
If using a satellite dish seems cumbersome to you, you can consider assembling an antenna. Bi-Quad (double biquad). It consists of two squares of copper wire, one above the other, and a reflector made of a metal plate (for example, a system case cover or foil-clad PCB).
The advantage of a biquad is its compactness and ease of fabrication, although its gain is typically lower (around 11-14 dBi). To create one, you'll need a piece of PCB, copper wire, and a can or sheet metal for shielding. The dimensions of a biquad for 2.4 GHz are approximately 31 mm.
Advanced users can upgrade the router firmware. Alternative operating systems, such as OpenWrt or DD-WRT, allows you to unlock hidden transmitter power settings. However, keep in mind that increasing the power without corresponding antenna gain (on the receiving side) will only provide an illusion of improvement: the router will "shout" louder, but will not "hear" the return signal any better.
⚠️ Attention: Hardware specifications and software are subject to update. Configuration interfaces and available options in new router models may differ from those described. Always consult the manufacturer's official documentation before making firmware changes.
Frequently Asked Questions (FAQ)
Can I use a Wi-Fi gun to share internet from my phone?
Yes, it's possible. You'll need a router with 3G/4G modem support (or a smartphone with modem mode) connected to your antenna system. However, most smartphones don't have an external antenna port, so you'll have to pick up the signal on the phone itself, and use the Wi-Fi hotspot only for indoor signal distribution, which reduces the overall effectiveness.
Will putting foil on a router help boost the signal?
The foil attached to the router acts as a simple reflector, slightly altering the beam pattern of the standard antenna. It can direct the signal in the desired direction, but it won't boost its power. The effect will only be noticeable over very short distances and is not comparable to a full-fledged external antenna.
Why did Wi-Fi disappear after connecting a homemade antenna?
Most likely, there was an impedance mismatch or short circuit at the solder joint. It's also possible that you used a 75 ohm cable instead of a 50 ohm cable, which caused strong signal reflection. Check the integrity of the connections and ensure the center conductor isn't touching the braid.
What cable is best to use for a Wi-Fi antenna?
The optimal choice is a cable with a characteristic impedance of 50 ohms, for example, RG-58, RG-213 or specialized HCF-400The cable should be as short as possible, since at frequencies of 2.4 GHz and 5 GHz the signal attenuation in the cable is very high.
Does the Wi-Fi gun work at 5 GHz?
Yes, the operating principle is the same, but the component sizes are reduced by approximately 2.4 times (since the frequency is higher and the wavelength is shorter). 5 GHz requires more precise dimensions and higher-quality materials, as connection and cable losses are significantly higher at this frequency.