OC
OceanRemote
Low-code IoT platform
Back to Troubleshooting Hub

WiFi Interference from Other Devices

Your ESP32, ESP8266, or Pico W experiences intermittent disconnections, slow response, or complete WiFi drops. Other devices in your environment are causing RF interference on the 2.4GHz band. This guide covers identifying interference sources, changing channels, and optimizing your network for IoT devices.

Last updated: April 22, 2026 | 10 min read

Symptoms

  • Device connects to WiFi but has high latency
  • Intermittent disconnections, especially during certain times of day
  • Serial Monitor shows "WiFi disconnected" followed by automatic reconnection
  • RSSI signal strength is good but connection still unstable
  • Device works fine when close to router but fails at distance
  • Connection drops when microwave, cordless phone, or Bluetooth device is active
  • Multiple ESP devices interfere with each other

Common Causes

  1. Neighboring WiFi Networks Overlapping channels from nearby routers
  2. Microwave Ovens 2.4GHz leakage when operating
  3. Bluetooth Devices Speakers, headphones, mice, keyboards sharing 2.4GHz spectrum
  4. Cordless Phones Some models operate in 2.4GHz band
  5. USB 3.0 Devices Unshielded USB 3.0 generates 2.4GHz noise
  6. Baby Monitors Many operate on 2.4GHz frequency hopping
  7. Zigbee/Z-Wave Devices Smart home hubs and sensors on same spectrum
  8. Multiple ESP Devices Too many devices on same channel causing contention

2.4GHz Channel Reference

Channel Frequency Overlaps With Recommendation
12.4122, 3, 4, 5 Non-overlapping
22.4171, 3, 4, 5, 6 Avoid
32.4221, 2, 4, 5, 6, 7 Avoid
42.4272, 3, 5, 6, 7, 8 Avoid
52.4323, 4, 6, 7, 8, 9 Avoid
62.4374, 5, 7, 8, 9, 10 Non-overlapping
72.4425, 6, 8, 9, 10, 11 Avoid
82.4476, 7, 9, 10, 11, 12 Avoid
92.4527, 8, 10, 11, 12, 13 Avoid
102.4578, 9, 11, 12, 13 Avoid
112.4629, 10, 12, 13 Non-overlapping
122.46710, 11, 13 Not allowed in US
132.47211, 12 Not allowed in US

Only channels 1, 6, and 11 are non-overlapping. Use these for best performance.

Common 2.4GHz Interference Sources

Device Interference Level Duration Solution
Microwave Oven Severe Minutes Keep ESP device away from microwave
Bluetooth Speakers Moderate Continuous Use 5GHz for Bluetooth, move ESP away
USB 3.0 Drives Moderate While active Use shielded USB cables, keep distance
Neighboring WiFi Moderate Continuous Change channel, reduce TX power
Baby Monitors Moderate Continuous Switch to 900MHz or 1.9GHz model
Cordless Phones Moderate During calls Use DECT 6.0 instead

Step-by-Step Fixes

1. Scan for Nearby WiFi Networks

Use your phone or laptop to identify crowded channels:

  • Android: WiFi Analyzer app
  • Windows: WiFi Analyzer or inSSIDer
  • macOS: Wireless Diagnostics
  • Linux: `sudo iwlist wlan0 scan | grep -E "Channel|ESSID"`
  • Identify the least crowded channel among 1, 6, or 11
  • Note signal strengths of neighboring networks

2. Change Router WiFi Channel

Switch to a non-overlapping channel with least interference:

// Router configuration steps :
// 1. Log into router admin panel 
// 2. Navigate to Wireless Settings  2.4GHz
// 3. Change channel from "Auto" to one of: 1, 6, or 11
// 4. Save and reboot router

// After changing, test ESP connection stability
// Use ping test to verify improvement:
// ping -t 192.168.1.xxx  
// ping 192.168.1.xxx      

3. Reduce WiFi Transmit Power

Lowering TX power reduces interference with neighbors:

// In your Arduino sketch 
#include 

void setup() {
  WiFi.begin(ssid, password);
  
  // Reduce TX power to 10dBm 
  esp_wifi_set_max_tx_power;  // 40 = 10dBm 
  
  // Options: 20 = 5dBm , 40 = 10dBm, 78 = 19.5dBm 
  // Lower power = less interference, but shorter range
}

4. Move Devices Away from Interference Sources

Physical distance is the best interference filter:

  • Keep ESP devices at least 2 meters from microwave ovens
  • Maintain 1 meter distance from USB 3.0 devices and cables
  • Separate ESP devices by at least 0.5 meters from each other
  • Position router away from walls, metal objects, and fish tanks
  • Avoid placing ESP device near refrigerator compressor or large motors

5. Use 20MHz Channel Width

Narrower channels are more resistant to interference:

  • Log into router admin panel
  • Find 2.4GHz channel width setting
  • Change from "Auto" or "40MHz" to "20MHz"
  • 40MHz doubles throughput but is twice as vulnerable to interference
  • ESP devices work perfectly with 20MHz

6. Enable WiFi Auto-Reconnect in Firmware

OceanRemote firmware already includes auto-reconnect, but verify:

// Add this to your loop() if not present
void loop() {
  if  != WL_CONNECTED) {
    Serial.println;
    WiFi.reconnect();
    delay;
  }
  // Rest of your code...
}

// OceanRemote firmware v5.0+ includes this automatically
// Check Serial Monitor for:
// [WiFi] Connection lost! Status: 0
// [WiFi] Reconnecting... Connected!

7. Consider Switching to 5GHz

5GHz band has less interference but shorter range:

  • ESP32 supports 5GHz
  • 5GHz band has 23 non-overlapping channels vs only 3 on 2.4GHz
  • Less interference from microwaves, Bluetooth, neighbors
  • Disadvantage: Shorter range, worse wall penetration
  • To use 5GHz, modify WiFi.begin() with 5GHz SSID

Diagnostic Tools for Interference

Tool Platform What It Shows
WiFi AnalyzerAndroidChannel utilization, signal strength graph
inSSIDerWindows/MacDetailed channel analysis, AP list
WiresharkAll platformsPacket capture, retransmission rate
ESP32 RSSIArduinoWiFi.RSSI() for signal strength

Prevention Tips

  • Use only channels 1, 6, or 11 for 2.4GHz networks
  • Set channel width to 20MHz for better interference immunity
  • Position router centrally and elevated
  • Keep ESP devices away from microwaves, USB 3.0 ports, and large metal objects
  • For apartments with dense WiFi, consider using ESP32 on 5GHz band
  • Use WiFi auto-reconnect in firmware
  • Schedule ESP devices to reboot daily to clear any accumulated issues

Related Issues

Frequently Asked Questions

Q: Why does my ESP32 disconnect when I use the microwave?

A: Microwave ovens operate at 2.45GHz, very close to WiFi channels . Older or poorly shielded microwaves leak RF energy that overwhelms WiFi signals. Keep ESP devices at least 2 meters away from the microwave or use ESP32 on 5GHz band.

Q: Will changing WiFi channel fix all interference problems?

A: Not all, but most. Channel 1, 6, or 11 are your only non-overlapping options. Use a WiFi analyzer app to see which channel is least crowded in your area. If all three are crowded, consider reducing transmit power or moving to 5GHz .

Q: Can multiple ESP devices interfere with each other?

A: Yes. Each ESP device shares the WiFi channel. Too many devices on the same channel can cause contention and packet loss. Space devices apart and ensure good signal strength. Use different channels for different routers if possible.

Still having interference issues? Contact Support or return to the Troubleshooting Hub.