DIY WiFi Radar: Signal Boosting and Network Analysis

In dense urban areas or in a private home with thick walls, a standard wireless signal is often insufficiently strong. Users experience slow speeds or complete loss of connection in remote rooms. The solution may involve not only purchasing expensive equipment but also creating a WiFi radar with your own hands, which will allow you to both enhance reception and conduct a detailed analysis of the broadcast.

The concept of the homemade device is based on the physics of radio wave propagation and the use of directional antennas. Unlike standard omnidirectional antennas included with routers, these homemade designs allow for the signal energy to be focused in a specific direction. This makes it possible catch remote access points or, conversely, transmit a signal over long distances with high accuracy.

Building such a gadget is a great way to immerse yourself in the world of RF engineering and understand the principles of wireless communications. You don't need a complex lab environment; just basic tools and an understanding of how things work. electromagnetic fieldIn this article, we'll cover the theoretical foundations, necessary materials, and step-by-step process for assembling an effective transceiver.

Operating principle and physical principles

At the heart of any radio wave receiver or transmitter is a law of physics describing the interaction of conductors with an electromagnetic field. When a radio wave emitted by a router reaches an antenna, it induces an alternating electric current in the metal conductor. The job of an engineer (or enthusiast) is to make this process as efficient as possible by selecting the correct geometry and dimensions of the design elements.

The key parameter here is resonant frequencyAn antenna will only perform most efficiently when its physical dimensions match the wavelength of the transmitted signal. For the WiFi standard (2.4 GHz frequency), the wavelength is approximately 12.5 cm, and for 5 GHz, it is approximately 6 cm. Any deviation in the calculations will result in a decrease in gain.

⚠️ Attention: When working with radio frequency equipment, remember that using power amplifiers (PA) beyond their permitted limits may cause interference to aviation and special communications, which is punishable by law. Use only passive antennas or certified PAs.

Directionality is another important aspect. A standard router radiates a signal in all directions, like a light bulb illuminating a room. The directional antenna we'll be building functions like a flashlight or satellite dish, concentrating the energy into a narrow beam. This allows it to penetrate obstacles and reach points inaccessible to standard equipment.

The concept of SWR (Standing Wave Ratio). A value of 1.0 is considered ideal, indicating perfect matching between the antenna and feeder (cable). A high SWR indicates that a significant portion of the energy is reflected back into the transmitter, which can lead to overheating or failure.

📊 Which WiFi band are you most interested in?
2.4 GHz (long-range)
5 GHz (high-speed)
Both ranges
I only need Bluetooth

Necessary materials and tools

Assembling a high-quality device requires a specific set of components. Avoid skimping on cables or connectors, as at high frequencies, losses in low-quality materials can negate the antenna's effectiveness. The core of the design will be copper wire, a length of coaxial cable, and connectors.

You'll need a soldering iron with a fine tip, as you'll be working with delicate components. You'll also need a cable stripper, a ruler or caliper for precise measurements, and heat-shrink tubing for insulating the connections. Millimeter accuracy is crucial here.

  • 🔌 Coaxial cable (RG-6 or RG-58) with a wave impedance of 75 or 50 Ohms, respectively.
  • 📡 N-type connectors or SMA for connecting to a WiFi adapter or router.
  • 🧵 Copper wire 2-3 mm in diameter for making vibrators.
  • 🛠️ Tools: soldering iron, solder, flux, nippers, pliers.

Pay special attention to cable selection. For frequencies above 1 GHz, standard TV cables may have too high attenuation. It's better to use specialized cables, such as RG-213 or LMR-400, although high-quality RG-6 is suitable for short connections (up to 1 meter). The cable length should be kept to the minimum necessary to avoid unnecessary signal loss.

Directional antennas are often based on metal cans or beer cans, or assembled from sheet metal (a reflector). This creates a shield that reflects the signal in the desired direction, increasing the device's efficiency severalfold.

☑️ Check before assembly

Completed: 0 / 4

Manufacturing of a Biquadrat antenna

One of the most popular and effective designs for DIY projects is the Kharchenko antenna, also known as biquadraticIt's easy to manufacture, has good gain (around 8-10 dBi), and a wide bandwidth. Its design consists of two squares of copper wire connected at the center.

First, we need to calculate the length of the square's side. For a frequency of 2.4 GHz, the wavelength is 125 mm. The square's side should be equal to a quarter of the wavelength, or approximately 31 mm. However, given the shortening factor for copper wire, the optimal side size would be 30.5 mm.

Calculation for 2.4 GHz:

Wavelength = 300 / 2.4 = 125 mm

Side of square = 125 / 4 = 31.25 mm

Recommended length (with adjustment) = 30.5 mm

Bend the copper wire to form two square frames connected at the corners. In the center, where the inner corners of the squares meet, make a gap for the cable connection. One end connects to the cable's core, the other to the braid. This is the point of maximum stress, and the quality of the soldering is critical here.

A metal reflector should be installed at the rear of the structure, approximately 15-18 mm (a quarter wavelength). This can be a sheet of copper, brass, or even the bottom of an aluminum pan of the appropriate size. The reflector directs the energy forward and protects against interference from behind.

Why biquadratic?

The Kharchenko antenna has a wideband capability, allowing it to operate effectively not only on a single frequency but also to cover the entire WiFi channel range, ensuring a stable signal even with small dimensional errors.

Assembling a wave channel (Yagi) for long range

If your goal is maximum communication range with a specific remote point, then an antenna of the type Yagi (wave channel) is the best choice. It consists of an active vibrator, a reflector, and several directors strung on a single boom. This design provides a narrow polar pattern and high gain.

In this case, the active element (vibrator) is most often looped for better matching with the cable. The directors located in the front and the reflector in the rear must be strictly parallel to each other. The distance between the elements is calculated using special tables and depends on the desired gain.

Element Quantity Length (mm) Distance from active (mm)
Reflector 1 65 25 (back)
Active vibrator 1 61 0
Director 1 1 58 20
Director 2 1 56 35

Yagi elements are typically made of aluminum tube or wire, as they are lightweight and conduct electricity well. The rod to which the elements are attached is best made of a dielectric material (plastic or wood) to avoid distorting the radiation pattern. If a metal mast is used, the elements should be insulated from it.

Assembly requires high positioning precision. Even a slight misalignment of the directors can cause the antenna to point in the wrong direction or lose significant gain. Plastic grommets or clamps can be used to secure the components.

⚠️ Attention: Yagi antennas have a very narrow beam pattern. To operate effectively, they must be precisely aimed at the signal source. The slightest wind shift or mast vibration can disrupt the connection.

Setting up software for analysis

Once the hardware is ready, it's time to ensure it works properly from the software side. To turn your computer or laptop into a fully-fledged WiFi radar, specialized software will be required. Standard operating system tools will not provide full control over the adapter.

The most powerful tool for these purposes is the operating system. Kali Linux or distributions based on it. They contain a set of utilities aircrack-ng, which allow you to put your WiFi adapter into monitor mode. In this mode, the card stops filtering packets intended only for it and begins to "hear" the entire airwaves.

The utility is great for data visualization and network search. Kismet or graphical interface WifiteThey display not only network SSIDs but also signal strength (RSSI), channel, encryption, and even connected clients. This allows you to create a coverage heatmap or find the least congested channel.

The setup process is as follows: connect a homemade antenna, launch the terminal, find the name of your interface (for example, wlan0) and switch it to monitor mode with the command airmon-ng start wlan0After this, you can start scanning.

Example command for scanning:

airodump-ng wlan0mon

It's important to understand that using these tools to analyze other people's networks without the owner's permission may violate the laws of your country. Use the acquired knowledge and equipment solely for diagnosing your own network, training, or participating in legitimate CTF competitions.

Testing and calibrating the device

The assembled device must be tested in real-world conditions. Don't expect instant miracles if your calculations were inaccurate or the soldering was sloppy. The first step in testing is measuring the signal strength (RSSI) from a known source at a fixed distance.

Compare the readings with those of a factory antenna and your homemade one. A signal increase of 3-6 dBm is considered normal for simple designs and up to 15-20 dBm for complex directional antennas. If there is no increase or the signal has deteriorated, check the SWR (if you have a meter) or recheck the length of the elements.

Pay attention to the polarization of the waves. The antennas must be oriented identically: if the transmitting antenna is vertical, the receiving antenna must also be vertical. Misaligned polarization can result in a signal loss of up to 20 dB, which is equivalent to a complete loss of communication.

  • 📉 Stability check: Observe the link for an hour. There shouldn't be any sudden signal fluctuations.
  • 🌡️ Temperature test: During long-term operation, the elements should not become very hot (especially at the soldering points).
  • 🔄 Rotation: For directional antennas, check how the signal changes when turning by 10-15 degrees.

If you're using the device for point-to-point communication (for example, between two houses), alignment is necessary. One person slowly rotates the antenna, while the other monitors the signal strength on a laptop screen. The goal is to find the "sweet spot" where the signal is strongest and lock the device in that position.

How often should I re-tune my antenna?

Fixed antennas mounted on the roof require inspection every six months or after severe storms. Wind can imperceptibly change the antenna's tilt angle, which is critical for highly directional systems. Visually inspect the mounting hardware and cable integrity.

Is it possible to use a homemade antenna for 5GHz?

Yes, the principle is the same, but the element sizes must be exactly half those for the 2.4 GHz band. Also, the requirements for manufacturing precision and cable quality are significantly higher for the 5 GHz band due to higher attenuation.

Why does the antenna get hot?

The antenna itself shouldn't heat up; it's passive. If the solder point or the cable near the connector heats up, it means there's a poor connection (high resistance) or a significant mismatch (high SWR), and the energy is being reflected, heating the conductor. Immediately disconnect the power and redo the connection.