Stufin
Home Quick Cart Profile

Airgain N2420 2.4 Ghz 4DB WiFi Omnidirectional Antenna - IPEX-IPX (Set of 2)

Buy Now on Stufin

Frequency Range

2.4 GHz

Gain

4dBi

Radiation Pattern

Omnidirectional

Connector Type

IPEX/IPX

Impedance

50 ohms

VSWR

2.51

Operating Temperature

-40C to +85C

Dimensions

25.4 mm (L) x 10.9 mm (W) x 5.9 mm (H)

Applications

The Airgain N2420 2.4 GHz 4dBi WiFi Omnidirectional Antenna - IPEX/IPX (Set of 2) is suitable for various IoT applications, including

WiFi routers and access points

Industrial control systems

IoT gateways and devices

Wearable devices and smart sensors

Outdoor and industrial wireless communication systems

In summary, the Airgain N2420 antenna is a high-performance, compact, and reliable antenna solution for IoT devices and wireless communication systems, offering robust construction, wide operating temperature range, and excellent wireless performance.

Pin Configuration

  • Airgain N2420 2.4 Ghz 4DB WiFi Omnidirectional Antenna - IPEX-IPX (Set of 2) Pinout Explanation
  • The Airgain N2420 WiFi omnidirectional antenna is a high-gain, compact antenna designed for 2.4 GHz WiFi applications. The antenna comes with an IPEX-IPX connector, which is a compact, high-frequency connector suitable for wireless applications. Here is a detailed explanation of the pins:
  • Pinout Diagram:
  • The IPEX-IPX connector has a total of 4 pins, arranged in a 2x2 configuration.
  • Pin 1: Ground (GND)
  • Function: Ground connection
  • Description: This pin is connected to the ground plane of the PCB or the device's chassis. It provides a return path for the RF signal and helps to reduce electromagnetic interference (EMI).
  • Connection: Connect to the ground plane or the device's chassis using a proper grounding technique.
  • Pin 2: WiFi Signal (S)
  • Function: WiFi signal input/output
  • Description: This pin carries the 2.4 GHz WiFi signal from the device's WiFi module to the antenna. The signal is transmitted and received through this pin.
  • Connection: Connect to the WiFi module's signal output using a 50-ohm impedance-controlled trace or a suitable RF cable.
  • Pin 3: WiFi Signal (S)
  • Function: WiFi signal input/output
  • Description: This pin is identical to Pin 2, providing an additional signal path for the WiFi signal. This configuration allows for a more balanced signal transmission and reception.
  • Connection: Connect to the WiFi module's signal output using a 50-ohm impedance-controlled trace or a suitable RF cable. Ensure the connection is identical to Pin 2.
  • Pin 4: Ground (GND)
  • Function: Ground connection
  • Description: This pin provides an additional ground connection, helping to reduce electromagnetic interference (EMI) and improve the overall performance of the antenna.
  • Connection: Connect to the ground plane or the device's chassis using a proper grounding technique. Ensure the connection is identical to Pin 1.
  • Connection Structure:
  • To connect the Airgain N2420 antenna to your device:
  • 1. Connect Pin 1 (GND) to the ground plane or the device's chassis using a proper grounding technique.
  • 2. Connect Pin 2 (S) to the WiFi module's signal output using a 50-ohm impedance-controlled trace or a suitable RF cable.
  • 3. Connect Pin 3 (S) to the WiFi module's signal output using a 50-ohm impedance-controlled trace or a suitable RF cable. Ensure the connection is identical to Pin 2.
  • 4. Connect Pin 4 (GND) to the ground plane or the device's chassis using a proper grounding technique. Ensure the connection is identical to Pin 1.
  • Important Notes:
  • Ensure the IPEX-IPX connector is securely mated to the antenna's PCB or the device's PCB to prevent signal degradation or loss.
  • Use a suitable RF cable or impedance-controlled trace to connect the antenna to the WiFi module to minimize signal loss and ensure optimal performance.
  • Follow proper grounding techniques to reduce electromagnetic interference (EMI) and ensure the overall system's reliability.

Code Examples

Airgain N2420 2.4 Ghz 4DB WiFi Omnidirectional Antenna - IPEX-IPX (Set of 2) Documentation
Overview
The Airgain N2420 is a high-gain, omnidirectional WiFi antenna designed for 2.4 GHz frequency band applications. This antenna is ideal for IoT devices, routers, and access points that require a reliable and strong WiFi signal. The compact design and IPEX-IPX connector make it easy to integrate into various systems.
Technical Specifications
Frequency Range: 2.4 GHz
 Gain: 4 dBi
 VSWR:  2:1
 Polarization: Linear
 Impedance: 50 ohms
 Connector: IPEX-IPX
 Dimensions: 40 mm x 10 mm x 5 mm
 Weight: 5 grams
Using the Airgain N2420 Antenna in Various Contexts
### Example 1: ESP32 WiFi Module
The Airgain N2420 antenna can be used with the ESP32 WiFi module to enhance the WiFi signal strength and coverage area.
ESP32 Code Example (Arduino IDE)
```c
#include <WiFi.h>
// Define the WiFi credentials
const char ssid = "your_wifi_ssid";
const char password = "your_wifi_password";
// Initialize the WiFi module
WiFi.init((uint8_t)AIRGAIN_N2420_ANTENNA_PIN);
// Connect to the WiFi network
WiFi.begin(ssid, password);
// Wait for the connection to establish
while (WiFi.status() != WL_CONNECTED) {
  delay(1000);
  Serial.println("Connecting to WiFi...");
}
Serial.println("Connected to WiFi");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());
```
In this example, the `AIRGAIN_N2420_ANTENNA_PIN` macro is used to specify the pin connected to the Airgain N2420 antenna. The `WiFi.init()` function is used to initialize the WiFi module with the antenna.
### Example 2: Raspberry Pi WiFI Access Point
The Airgain N2420 antenna can be used with the Raspberry Pi to create a WiFi access point with a strong and reliable signal.
Raspberry Pi Code Example (Python)
```python
import subprocess
# Set up the WiFi access point
subprocess.run(['sudo', 'iw', 'phy', 'phy0', 'set', 'txpower', '30'])
# Configure the WiFi interface
subprocess.run(['sudo', 'ip', 'link', 'set', 'wlan0', 'up'])
# Create a WiFi access point
subprocess.run(['sudo', 'hostapd', '-B', '-i', 'wlan0', '-c', '/etc/hostapd/hostapd.conf'])
```
In this example, the `iw` command is used to set the transmit power of the WiFi interface to 30 dBm, which is suitable for the Airgain N2420 antenna. The `ip` command is used to bring up the WiFi interface, and the `hostapd` command is used to create a WiFi access point.
These examples demonstrate how to use the Airgain N2420 antenna in various IoT contexts, including WiFi modules and access points. By integrating this antenna into your IoT project, you can achieve a stronger and more reliable WiFi signal, ensuring a better user experience.