2.4 GHz
2.4 GHz
4dBi
Omnidirectional
IPEX/IPX
50 ohms
| 2.5 | 1 |
-40C to +85C
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.
Airgain N2420 2.4 Ghz 4DB WiFi Omnidirectional Antenna - IPEX-IPX (Set of 2) DocumentationOverviewThe 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 SpecificationsFrequency 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 gramsUsing the Airgain N2420 Antenna in Various Contexts### Example 1: ESP32 WiFi ModuleThe 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 PointThe 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.