In dense urban environments or remote locations, standard indoor router antennas often prove ineffective. The signal attenuates as it passes through thick concrete walls, rebar, and ceilings, turning high-speed internet into an unstable connection. It's in these situations that enthusiasts and tech experts turn to so-called "wireless" antennas. Wi-Fi gun — a device that is a directional antenna with a high gain.
Creating such a device with your own hands allows you not only to save significant funds on the purchase of industrial equipment, but also to obtain a unique tool for wireless diagnostics or communications at remote sites. The operating principle is based on the physics of radio wave propagation, where the shape and size of the emitter play a decisive role in focusing the signal energy into a narrow beam.
In this article, we'll cover the theoretical foundations, materials needed, and step-by-step process for assembling an effective directional antenna. You'll learn how to calculate the antenna's geometry, the tools needed for soldering and assembly, and the safety precautions to take when working with RF equipment.
Operating principle and theoretical basis
Any Wi-Fi gun, whether homemade or industrial, operates on the principle of directional radiation of electromagnetic waves. Unlike omnidirectional antennas, which radiate a signal in all directions (often wasting energy on walls and ceilings), a directional antenna focuses the radiation in a specific area. This allows for a significant increase in range of action and the stability of the connection at a particular reception point.
The design of such devices is based on the wavelength at which the wireless network operates. For the 2.4 GHz standard, the wavelength is approximately 12.5 cm, and for 5 GHz, it is approximately 6 cm. Manufacturing precision is a critical parameter: deviations of even a few millimeters can lead to impedance mismatch and a sharp drop in device efficiency.
There are many schemes for constructing directional antennas, but the most accessible and effective for home production is considered to be the “double square” antenna or the modified Bikvik antenna (BiQuad). These designs are relatively easy to replicate and provide a decent gain, often several times greater than standard router antennas.
Necessary materials and tools
To assemble a high-quality Wi-Fi gun, you'll need a specific set of components. The primary material is copper wire or tubing with a diameter of 2-3 mm. Copper has excellent conductivity, which minimizes signal loss. Aluminum is not recommended, as it's more difficult to solder properly, and brass has poorer conductivity.
A sheet of foil-clad PCB, a copper plate, or even the bottom of an aluminum pan, if you're making a rough prototype, would be ideal as a reflector. The key is to make sure the surface is smooth and conductive. You'll also need a connector. N-type or SMA for connection to the router and a piece of coaxial cable with a wave impedance of 50 Ohms.
- 📏 Copper wire or tube (diameter 2-3 mm) for radiating elements.
- 🛠️ Foiled textolite or copper sheet for the reflector, at least 100x100 mm in size.
- 📡 Connection connector (N-type, SMA) and RG-58 cable or equivalent.
- 🔧 Soldering iron, solder, flux, and wire stripping tools.
⚠️ Caution: When soldering copper elements, try not to overheat the joints so as not to change the geometry of the conductor, as this will affect the resonant frequency of the antenna.Calculation of geometry and dimensions of the structure
Precision is the key to success when designing an antenna. For a frequency of 2450 MHz (the center of the 2.4 GHz band), the wavelength is approximately 122 mm. Based on this, the dimensions of the square sides for the BiQuad antenna are calculated. A square side is typically equal to a quarter of the wavelength, or approximately 30.5 mm. However, given the wavelength shortening factor in the wire, a practical value of 31-32 mm is often used.
The distance between the active element (squares) and the reflector is also critical. It should be approximately 0.25 wavelengths, which is equivalent to 30 mm. Making the gap smaller increases the active component of the impedance; making it larger degrades the radiation pattern. For a frequency of 5 GHz, all dimensions are reduced by exactly half.
Parameter 2.4 GHz band 5.0 GHz band Admission Length of the side of a square 31 mm 15.5 mm ±0.5 mm Distance to reflector 30 mm 15 mm ±1 mm Conductor diameter 2-3 mm 1-2 mm - Height of the insulator 30 mm 15 mm ±1 mm Effect of wire thickness
Using a thicker wire (3-4 mm) allows you to expand the antenna's bandwidth, making it less sensitive to small errors in size, but requires a more accurate calculation of the connection point.
Dielectric stands or spacers made of PCB, plastic, or fluoroplastic are often used to precisely position the elements. Metal fasteners should not be used, as they will distort the electromagnetic field. All dimensions must be checked with calipers, as it is virtually impossible to assemble a working structure by eye.
Step-by-step instructions for assembling the antenna
The assembly process begins with preparing the reflector. If you're using foil-clad PCB, ensure the foil is undamaged. A hole must be drilled in the center of the sheet to accommodate the connector or cable outlet. Next, the active element is bent from copper wire—two squares joined at the center. The folds must be smooth and free of creases.
The next step is soldering. The cable's central core is soldered to one side of the square, and the braid (shield) is soldered to the other side at the junction of the squares. This is the zero-potential point. It's important to secure the conductors perpendicular to the reflector plane at the calculated distance. A glue gun or plastic cable ties can be used for securing, but only after testing the operation.
☑️ Antenna assembly control
Completed: 0 / 4After assembling the active part, it's necessary to protect it from moisture if the antenna is intended for outdoor use. To do this, place the structure in a plastic container or seal it with hot glue or silicone, after ensuring it's functional. The plastic container shouldn't be too thick and shouldn't contain any metallic additives.
⚠️ Caution: Using metal containers or covers to protect the antenna is strictly prohibited - this will create a Faraday shield and completely block the signal.Connecting and setting up equipment
The completed Wi-Fi gun connects to a router or access point via coaxial cable. The cable length should be kept to the minimum necessary, as signal attenuation in the cable is significant at high frequencies. For each meter of cable RG-58 At a frequency of 2.4 GHz, losses can be around 0.2-0.3 dB, which is already noticeable at a length of 10 meters.
In the router settings, you need to select the operating mode with an external antenna, if such an option is provided by the manufacturer (
External Antenna). In some cases, you may need to manually set the transmitter power to maximum, but be aware that this increases the device's heating. Point the antenna directly toward the signal source or client device.
- 🔌 Use the shortest possible cable length to reduce losses.
- 📡 Make sure that the antenna polarization matches the polarization of the router (usually vertical).
- ⚙️ Check your security settings and channels to avoid interference.
📊 What Wi-Fi band are you planning to boost?2.4 GHz (long-range)5 GHz (high-speed)Both rangesFor Bluetooth onlyTo fine-tune the direction, use signal monitoring utilities such as
inSSIDeror built-in OS diagnostic tools. While rotating the antenna, monitor the signal level (RSSI) and quality of communication (SNR). Maximum values will indicate the correct direction of the beam axis.Safety and legal aspects
Although the power of household Wi-Fi transmitters is relatively low, safety precautions should not be neglected. The directional antenna concentrates energy, so it is not recommended to stand directly in front of the transmitter at close range (less than 0.5-1 meter) when the high-power transmitter is turned on. This may cause localized tissue heating or eye damage.
From a legal point of view, in most countries the use of signal boosters in the 2.4 GHz band is only permitted if the equivalent radiated power (EIRP) does not exceed established limits (usually 100 mW or 20 dBm for point-to-multipoint). Exceeding these limits may cause interference to other services and result in penalties from the communications regulator.
⚠️ Please note: Radio frequency regulations are subject to change. Before installing a high-power directional antenna, be sure to check the current regulations in your region or country.Diagnostics and troubleshooting
If the antenna doesn't perform as expected after assembly, the problem may be misalignment. Check the soldering quality: cold soldering or excess solder bridges can change the resistance. Also, make sure the cable is free of kinks and damaged insulation, which is especially important for outdoor use.
A common mistake is incorrect polarization. If the router's whip antenna is vertical, your Wi-Fi gun should also be oriented so that the plane of the squares is perpendicular to the ground (vertical polarization). Misaligned polarization can result in a signal loss of up to 20 dB.
In challenging conditions, when the signal is very weak, it makes sense to use active amplifiers, but connecting them requires a separate power supply and proper decoupling. To begin, try simply improving the geometry of your homemade antenna and its pointing accuracy, as this often provides the biggest performance boost.
Can a Wi-Fi gun be used indoors?
Technically, it's possible, but a directional antenna will only work in a narrow area. Inside the room, the signal will be reflected off the walls, which can create interference zones. For coverage throughout the entire apartment, it's better to use omnidirectional antennas or mesh systems.
What is the maximum range of a homemade antenna?
With line-of-sight (LOS), a high-quality homemade antenna such as a BiQuad or Yagi can provide a stable link at a range of 1-3 km. In urban areas with obstacles, the range drops to several hundred meters.
Do outdoor antennas need to be grounded?
Yes, when installing an antenna on a roof or high mast, grounding and lightning protection are mandatory. This will protect your equipment from static electricity and lightning strikes near the antenna.
Will the paint on the plastic housing affect the signal?
Ordinary paint doesn't affect radio waves. However, if the paint contains metallic particles (such as hammer-on paints) or the housing is made of a material with a high carbon content, signal loss can be significant.
Does this antenna work for 5G internet?
No, the described design is designed for Wi-Fi frequencies (2.4 and 5 GHz). 5G cellular signals operate at different frequencies (e.g., 3.5 GHz, 26 GHz, etc.) and require antennas with completely different geometry and calculations.