Skip to content
Web app (opens in a new tab)Get the kit
Web app (opens in a new tab)Get the kit

ESP32 Guides

ESP32 WiFi Explained: Station Mode, Access Point and Why It Is 2.4 GHz Only

The ESP32 can join your Wi-Fi as a station, make its own network as an access point, or do both. Learn how each mode works, why the chip only uses 2.4 GHz, and how a real kit uses both during setup.

A purple router linked to an internet cloud, an ESP32 board in the middle joining it as a station (STA) on 2.4 GHz, and orange access point (AP) waves from the board reaching a phone whose Wi-Fi list shows MakerBuddy_XXXX and the address 192.168.4.1.
A purple router linked to an internet cloud, an ESP32 board in the middle joining it as a station (STA) on 2.4 GHz, and orange access point (AP) waves from the board reaching a phone whose Wi-Fi list shows MakerBuddy_XXXX and the address 192.168.4.1.

ESP32 WiFi is a 2.4 GHz Wi-Fi radio built into the ESP32 chip. It works in two main ways. In station mode, the ESP32 joins an existing network, like your home router or a phone hotspot, and gets an address from it. In access point mode, the ESP32 makes its own small network that phones and laptops can join directly. It can also do both at once. The original ESP32 cannot use 5 GHz networks at all, because its radio only covers the 2.4 GHz band.

If you are new to the chip itself, start with our ESP32 guide for beginners, then come back here.

What ESP32 WiFi can and cannot do

The ESP32 has its Wi-Fi radio on the chip. You do not add a separate module. Espressif's ESP32 datasheet (opens in a new tab) sets out what that radio can do. The numbers below all come from it.

WhatESP32 figureWhat it means for you
Wi-Fi standards802.11 b/g/nWorks with routers that offer 2.4 GHz b, g or n
Frequency range2412 to 2484 MHzThe 2.4 GHz band only. No 5 GHz
Top data rateUp to 150 MbpsFar more than sensor readings need
Transmit powerUp to 20.5 dBmThe radio's loudest "voice"
Current while transmitting (802.11b)About 240 mAThe highest current in the datasheet's radio table
Current while receivingAbout 95 to 100 mAEven listening uses real power
Modes at the same timeStation, SoftAP and promiscuousIt can be a client and a network at once
What
Wi-Fi standards
ESP32 figure
802.11 b/g/n
What it means for you
Works with routers that offer 2.4 GHz b, g or n
What
Frequency range
ESP32 figure
2412 to 2484 MHz
What it means for you
The 2.4 GHz band only. No 5 GHz
What
Top data rate
ESP32 figure
Up to 150 Mbps
What it means for you
Far more than sensor readings need
What
Transmit power
ESP32 figure
Up to 20.5 dBm
What it means for you
The radio's loudest "voice"
What
Current while transmitting (802.11b)
ESP32 figure
About 240 mA
What it means for you
The highest current in the datasheet's radio table
What
Current while receiving
ESP32 figure
About 95 to 100 mA
What it means for you
Even listening uses real power
What
Modes at the same time
ESP32 figure
Station, SoftAP and promiscuous
What it means for you
It can be a client and a network at once

Table note: figures from the ESP32 datasheet (sections 4.6.4, 5.4 and 5.6, tables 5-4 and 5-6). The datasheet measures the transmit currents at a 50% duty cycle.

Two points stand out. First, the radio is fast enough for anything a student project sends. A temperature reading is a few bytes. Second, Wi-Fi costs power. That matters when you run a board from a weak USB port or plan a battery project.

The ESP32 also has Bluetooth, but that is a separate topic. Our comparison of Wi-Fi, Bluetooth, Zigbee and LoRa for IoT projects covers when each one fits.

Station mode: the ESP32 joins your Wi-Fi

Station mode is the one you will use most. "Station" is the Wi-Fi name for any device that joins a network: your phone, your laptop and your smart TV are all stations. The Arduino-ESP32 Wi-Fi API page (opens in a new tab) describes it simply: station mode connects the ESP32 to a Wi-Fi network provided by an access point.

Here is what happens when an ESP32 joins in station mode.

  1. It looks for the network.

    The ESP32 listens for the network name (the SSID) you gave it.

  2. It proves it may join.

    It sends the password. The router checks it.

  3. It gets an address.

    The router hands the ESP32 an IP address, such as 192.168.1.100. This is how other devices on the network find it.

  4. It talks.

    Now a laptop, phone or another board on the same network can send it requests, and the ESP32 can reach the internet through the router if the router allows it.

The big benefit is that everything on your network can reach the board, and your laptop keeps its internet connection at the same time. The catch is that the board depends on the router. If the router is off, out of range or refuses the board, nothing works.

The address is the part beginners lose. The router picks it, so it can differ from one network to the next. Our guide to finding a device's IP address and .local name shows several ways to find it.

Side by side: in station mode an ESP32, a laptop and a phone all join a router that links to the internet; in access point mode the ESP32 is the network at 192.168.4.1 and a phone joins it directly, with no router and no internet.
Side by side: in station mode an ESP32, a laptop and a phone all join a router that links to the internet; in access point mode the ESP32 is the network at 192.168.4.1 and a phone joins it directly, with no router and no internet.

Access point mode: the ESP32 makes its own network

In access point mode, the ESP32 is the network. It broadcasts a name, and other devices join it the same way they would join a router. Espressif calls this SoftAP, short for software access point.

A few facts from the documentation shape how you use it.

  • Expect the address `192.168.4.1`. The Arduino-ESP32 access point example (opens in a new tab) tells you to point your browser at http://192.168.4.1/H to switch its LED on, and the MakerBuddy board uses the same address. Your own code can read the real address with WiFi.softAPIP().
  • The password needs at least 8 characters. The same example's code notes that a valid password must have more than 7 characters.
  • A few devices at a time. In Arduino-ESP32, softAP() allows 4 connections by default, according to the Wi-Fi API page (opens in a new tab). Espressif's Wi-Fi driver overview (opens in a new tab) says the ESP32's access point can allow up to 15 stations.
  • Sharing internet takes extra work. A phone that joins the ESP32's network talks to the board. Passing traffic between the board's two networks needs a feature called NAPT, which Espressif's lwIP notes (opens in a new tab) say must be enabled on the interface that leads to the target network.

Access point mode is a good fit when there is no router: a field trip, a science fair hall, or the first minute of setting up a new board. It is a poor fit for everyday use, because every device has to leave its normal Wi-Fi to join the board, and loses internet while it is there.

Station and access point at the same time

The ESP32 can run both modes together. Espressif's Wi-Fi driver overview (opens in a new tab) lists station-only, AP-only and station/AP coexistence modes. In Arduino code this is WiFi.mode(WIFI_AP_STA).

There is one rule to know. The same overview says that in coexistence mode, the home channel of the AP and the station must be the same. The ESP32 has one radio, so it cannot sit on two channels at once. Its own network moves to whatever channel your router uses.

The datasheet adds a related warning: when the ESP32 runs a scan in station mode, the SoftAP channel will be changed. A phone joined to the board's own network can drop off during a scan. Scanning before you start the access point avoids this. The MakerBuddy firmware scans first, as you will see below.

Station vs access point vs both: which to use

This table compares the three choices on the things you actually decide on.

Station (STA)Access point (AP)Both (AP+STA)
Needs a routerYesNoYes, for the station side
Who can reach the boardEverything on the same networkOnly devices joined to the boardBoth groups
Your laptop keeps internetYesNo, while joined to the boardYes, if it stays on the router
Board's addressChosen by the router, changes between networksFixed, usually 192.168.4.1One address on each side
ChannelThe router's channelAny channel you setForced to match the router
Best forEveryday use, dashboards, sending data onlineSetup, no-router demos, field workSetup pages that stay up while joining, bridges
Main catchYou must find the IP addressDevices lose their normal Wi-FiMore complex, the AP channel can jump
Needs a router
Station (STA)
Yes
Access point (AP)
No
Both (AP+STA)
Yes, for the station side
Who can reach the board
Station (STA)
Everything on the same network
Access point (AP)
Only devices joined to the board
Both (AP+STA)
Both groups
Your laptop keeps internet
Station (STA)
Yes
Access point (AP)
No, while joined to the board
Both (AP+STA)
Yes, if it stays on the router
Board's address
Station (STA)
Chosen by the router, changes between networks
Access point (AP)
Fixed, usually 192.168.4.1
Both (AP+STA)
One address on each side
Channel
Station (STA)
The router's channel
Access point (AP)
Any channel you set
Both (AP+STA)
Forced to match the router
Best for
Station (STA)
Everyday use, dashboards, sending data online
Access point (AP)
Setup, no-router demos, field work
Both (AP+STA)
Setup pages that stay up while joining, bridges
Main catch
Station (STA)
You must find the IP address
Access point (AP)
Devices lose their normal Wi-Fi
Both (AP+STA)
More complex, the AP channel can jump

For most student projects, the pattern is simple. Use access point mode once, to tell the board which network to join. Then use station mode for everything else. That is how the MakerBuddy kit works.

Why the ESP32 is 2.4 GHz only (2.4 GHz vs 5 GHz)

The ESP32 cannot join a 5 GHz network because its radio is not built for that band. The ESP32 datasheet (opens in a new tab) gives its operating frequency range as 2412 to 2484 MHz. That is all inside the 2.4 GHz band. No setting or library changes it.

Newer chips are different. Espressif describes the ESP32-C5 (opens in a new tab) as a 2.4 and 5 GHz dual-band Wi-Fi 6 chip. If you need 5 GHz, you need a different chip, not a different sketch. Our guide to ESP32, ESP8266, ESP32-S3 and ESP32-C3 compares the common family members.

For small sensor projects, 2.4 GHz is not a weakness. Here is how the two bands compare.

2.4 GHz5 GHz
CoverageWiderShorter
Through walls and floorsBetterWorse
SpeedSlowerFaster
CrowdingMore devices share itUsually less crowded
Non-overlapping channelsThreeMany more
Fits a sensor boardYes, readings are tinySpeed is wasted on a few bytes
Coverage
2.4 GHz
Wider
5 GHz
Shorter
Through walls and floors
2.4 GHz
Better
5 GHz
Worse
Speed
2.4 GHz
Slower
5 GHz
Faster
Crowding
2.4 GHz
More devices share it
5 GHz
Usually less crowded
Non-overlapping channels
2.4 GHz
Three
5 GHz
Many more
Fits a sensor board
2.4 GHz
Yes, readings are tiny
5 GHz
Speed is wasted on a few bytes

Table note: coverage, walls, speed and crowding from NETGEAR's support article on the difference between 2.4 GHz, 5 GHz and 6 GHz (opens in a new tab). Channel counts from Intel's page on Wi-Fi protocols and data rates (opens in a new tab), which lists three non-overlapping channels at 2.4 GHz and 12 for 802.11a at 5 GHz.

NETGEAR explains that higher frequencies cannot get through solid objects such as walls and floors as well. A sensor board often sits in a corner, a greenhouse or a hallway. Reaching further matters more than speed there.

The cost of 2.4 GHz is crowding. NETGEAR notes that many household devices use the band, with microwaves and garage door openers as its examples. In a classroom with thirty boards and thirty laptops, this is the band that fills up first.

What to do if your router is 5 GHz only

A dual-band router broadcasts both bands, sometimes under one name. The ESP32 can only use the 2.4 GHz side, so that band must be switched on. If the board cannot find or join your network:

  1. Open the router's settings, or ask whoever runs it, and switch the 2.4 GHz band on.

  2. If the router uses one name for both bands and the board still will not join, give the 2.4 GHz band its own name for a test.

  3. If you cannot change the router, use a phone hotspot. If your phone's hotspot settings offer a band choice, pick 2.4 GHz. MakerBuddy's setup guide confirms a phone hotspot works.

Two house cross-sections: 2.4 GHz waves from a router pass through two walls and reach an ESP32 in the far room (wider coverage, better through walls, slower), while 5 GHz waves fade after one wall (shorter coverage, faster), and the ESP32 cannot use 5 GHz at all.
Two house cross-sections: 2.4 GHz waves from a router pass through two walls and reach an ESP32 in the far room (wider coverage, better through walls, slower), while 5 GHz waves fade after one wall (shorter coverage, faster), and the ESP32 cannot use 5 GHz at all.

How MakerBuddy uses both modes: ESP32 WiFi setup step by step

The MakerBuddy IoT Kit V1.0 is built around a 30-pin ESP32 DevKit, and it shows both modes in action. A new board starts in access point mode so you can tell it about your Wi-Fi. After that it runs in station mode, and the browser dashboard talks to it over your network. Lesson 3, Powering Up and Connectivity, teaches this in class. The full guide is in the MakerBuddy first-time setup steps.

Part 1: the board makes its setup network (access point)

When the board has no saved Wi-Fi, it does this, in this order:

  1. It works out its own name.

    It starts its Wi-Fi in station mode, reads its hardware (MAC) address, and builds a network name from it: MakerBuddy_ followed by 4 letters or numbers (0 to 9, A to F). Every board gets a different name, which matters in a room full of them.

  2. It scans first.

    While still in station mode, it scans for nearby networks and stores the list, with the signal strength of each one in dBm. The firmware's own notes say scanning once the access point is running is not supported on the ESP-IDF version it uses, so it scans first.

  3. It becomes an access point.

    It starts the MakerBuddy_XXXX network at the address 192.168.4.1. The text screen shows the network name with 192.168.4.1 underneath.

  4. It points every web address at itself.

    A small DNS service answers every address with 192.168.4.1, so the setup page may open by itself when you join.

Now you join it:

  1. On your computer, iPhone or iPad, open the Wi-Fi list and join MakerBuddy_XXXX. The password is 12345678. Every board uses this same password, so finish setup soon after you start it.

  2. If the setup page does not open by itself, type 192.168.4.1 in the browser's address bar.

  3. Pick your 2.4 GHz Wi-Fi from the list, or type its name, and type its password. Give the board a name, such as makerbuddy-01. The name is required.

Part 2: the board joins your Wi-Fi (station)

The screen shows "WiFi Saved!" and the board restarts. This time it has saved details, so it skips the access point and joins your network as a station.

  1. It tries to connect.

    It makes up to 3 attempts, each lasting about 10 seconds.

  2. It shows its address.

    On success, the screen shows the Wi-Fi name and the board's IP address (for example 192.168.1.100) for 5 seconds, then the board's name for 5 seconds. Write the IP address down.

  3. It announces its name.

    It also answers to its name followed by .local, such as makerbuddy-01.local. Not every device can use these names, so keep the IP address too.

  4. You connect the dashboard.

    Put your computer, phone or tablet back on the same Wi-Fi as the board, open the dashboard (on Android, the free MakerBuddy app) and type the address.

If all 3 attempts fail, the screen shows "Not Connected to" and the network name, and the board switches its Wi-Fi off. It does not go back to setup mode by itself. If your router was only switched off, restart the board once the router is back on.

Part 3: the 10-second button reset

To set up Wi-Fi again, hold the board's push button for 10 seconds. You can do it in the first 3 seconds after switching on, when the screen counts down "WiFi Reset: 10 seconds", or at any time while the board runs. Either way it then shows "WiFi Reset!" and "Restarting...". The board comes back in setup mode with its MakerBuddy_XXXX network.

The reset clears only the saved Wi-Fi name and password, and sets the screen back to its normal display. The board's name, its rules and its soil sensor settings stay saved. Do this when you change routers, change the Wi-Fi password or take the board to school.

Flowchart of a MakerBuddy board's Wi-Fi start-up: power on, a 3-second button window, then saved Wi-Fi? No leads to a scan, the MakerBuddy_XXXX network at 192.168.4.1, the setup page and a restart; yes leads to up to 3 tries of about 10 seconds, then either the IP address and board name or Wi-Fi off until you hold the button for 10 seconds.
Flowchart of a MakerBuddy board's Wi-Fi start-up: power on, a 3-second button window, then saved Wi-Fi? No leads to a scan, the MakerBuddy_XXXX network at 192.168.4.1, the setup page and a restart; yes leads to up to 3 tries of about 10 seconds, then either the IP address and board name or Wi-Fi off until you hold the button for 10 seconds.

Worked example: a sketch that scans, joins and falls back to its own network

The MakerBuddy firmware does all of this for you, with no code. If you program your own ESP32, though, writing this logic once is the best way to understand the two modes. The sketch below does three things:

  1. Scans and prints every network it can see, with signal strength and channel.

  2. Tries to join your network in station mode for 10 seconds.

  3. If that fails, starts its own access point so you can still reach it.

It uses the standard WiFi.h library that comes with the Arduino-ESP32 core (opens in a new tab). Our step-by-step guide to programming an ESP32 with the Arduino IDE covers installing it.

cpp
#include <WiFi.h>

// Your router's details (it must be a 2.4 GHz network)
const char* HOME_SSID = "YourNetworkName";
const char* HOME_PASS = "YourPassword";

// The board's own fallback network
const char* AP_SSID = "MyESP32-Setup";
const char* AP_PASS = "learn1234";   // 8 characters or more

void listNetworks() {
  WiFi.mode(WIFI_STA);          // scanning works in station mode
  WiFi.disconnect();
  delay(100);
  int n = WiFi.scanNetworks();  // waits until the scan finishes
  Serial.printf("Found %d networks\n", n);
  for (int i = 0; i < n; i++) {
    Serial.printf("%2d  %-24s  %4d dBm  channel %2d\n",
                  i + 1,
                  WiFi.SSID(i).c_str(),
                  WiFi.RSSI(i),
                  WiFi.channel(i));
  }
  WiFi.scanDelete();            // free the memory the list used
}

bool joinHomeWifi() {
  WiFi.mode(WIFI_STA);
  WiFi.begin(HOME_SSID, HOME_PASS);
  for (int tries = 0; tries < 20; tries++) {   // 20 x 500 ms = 10 seconds
    if (WiFi.status() == WL_CONNECTED) {
      return true;
    }
    delay(500);
    Serial.print(".");
  }
  return false;
}

void startOwnNetwork() {
  WiFi.mode(WIFI_AP);
  WiFi.softAP(AP_SSID, AP_PASS);
  Serial.print("Access point on. Join ");
  Serial.print(AP_SSID);
  Serial.print(" and open http://");
  Serial.println(WiFi.softAPIP());
}

void setup() {
  Serial.begin(115200);
  delay(500);

  listNetworks();

  if (joinHomeWifi()) {
    Serial.println();
    Serial.print("Station mode. IP address: ");
    Serial.println(WiFi.localIP());
    Serial.print("Signal strength: ");
    Serial.print(WiFi.RSSI());
    Serial.println(" dBm");
  } else {
    Serial.println();
    Serial.println("Could not join. Starting my own network instead.");
    startOwnNetwork();
  }
}

void loop() {
  delay(1000);   // nothing to do here yet
}

What each part teaches

  • The scan proves the 2.4 GHz point. Every network in the list is one the ESP32's radio can hear. If your home network is missing but your phone can see it, the network is probably 5 GHz only, or too far away.
  • RSSI is signal strength. The sketch prints it in dBm, the same unit the MakerBuddy setup list shows. Random Nerd Tutorials' ESP32 Wi-Fi functions guide (opens in a new tab) puts it simply: a lower absolute value means a stronger connection. So a network at −55 dBm is stronger than one at −80 dBm. Move the board and watch the number change.
  • The channel column shows crowding. It tells you which nearby networks share your router's channel.
  • The 10-second limit stops a hang. A plain while (WiFi.status() != WL_CONNECTED) loop waits forever when the password is wrong. A counted loop gives up and does something useful instead.
  • The fallback keeps the board reachable. When the board cannot join, you can still join its own network and reach it at the address it prints, usually 192.168.4.1.

Open the Serial Monitor at 115200 baud after uploading to see the output.

From here, the natural next step is serving a web page from the board. Our guide to building an ESP32 web server picks up exactly where this sketch stops.

What Wi-Fi changes inside the ESP32

Turning Wi-Fi on is not free. It changes how two other parts of the chip behave.

Some analog pins stop working

The ESP32 has two analog-to-digital converters, ADC1 and ADC2. Espressif's GPIO reference (opens in a new tab) is clear: ADC2 pins cannot be used when Wi-Fi is used. A sensor wired to an ADC2 pin will read fine in a sketch with no Wi-Fi, then fail as soon as you add WiFi.begin(). This catches many students.

The fix is to use ADC1 pins for analog sensors in any Wi-Fi project. The MakerBuddy board does this: its four analog sensor pins, 32 to 35, are all on ADC1, so they keep working while Wi-Fi is on. Our guide to which ESP32 GPIO pins are safe to use lists the rest.

The board needs more power

The ESP32 datasheet (opens in a new tab) lists about 240 mA while transmitting in 802.11b mode, and about 95 to 100 mA just receiving. Espressif's esptool troubleshooting guide (opens in a new tab) warns that the chip's 3.3 V supply has to deliver large amounts of current and cope with large spikes of demand. If a board behaves well until Wi-Fi starts, suspect the power first. The MakerBuddy board takes 5 V over micro-USB from a 5 V USB source, such as a USB charger.

Common ESP32 WiFi problems, with causes and fixes

Each problem below gives the symptom you see, the cause behind it and the fix.

My network is not in the list

  • Symptom: your phone sees the network, but the ESP32's scan or the MakerBuddy setup page does not.
  • Cause: the network is 5 GHz only, or the 2.4 GHz band is switched off, or the board is too far from the router.
  • Fix: switch on the router's 2.4 GHz band or use a phone hotspot. Then move the board closer and scan again.

It joins at home but not at school

  • Symptom: the board connects fine at home. On school Wi-Fi it never gets an address.
  • Cause: many school networks show a sign-in web page (a captive portal) or ask for a username as well as a password (enterprise Wi-Fi). The MakerBuddy network requirements say both will not work.
  • Fix: ask IT for a network that needs only a name and a password, or use a separate classroom network or a phone hotspot.

Connected, but the dashboard cannot reach the board

  • Symptom: the board shows its IP address, yet the dashboard on your laptop says it cannot connect.
  • Cause: the laptop and the board are on different networks, or the network stops devices from talking to each other. Guest networks often do this. IT staff call it "client isolation".
  • Fix: put both on the same Wi-Fi. Ask IT to turn off client isolation for the boards, or use another network.

The .local name does not work

  • Symptom: makerbuddy-01.local does not open, but the board is clearly online.
  • Cause: not every device and system can look up .local names.
  • Fix: type the IP address from the board's screen instead.

The board will not join after the Wi-Fi password changed

  • Symptom: the screen shows "Not Connected to" and your network name.
  • Cause: the board still has the old password saved. After 3 failed attempts it turns Wi-Fi off and does not reopen setup by itself.
  • Fix: hold the push button for 10 seconds, then run the setup again with the new password.

An analog sensor reads 0 or nonsense once Wi-Fi is on

  • Symptom: your own sketch reads a sensor fine until you add Wi-Fi.
  • Cause: the sensor is on an ADC2 pin, which cannot be used while Wi-Fi runs.
  • Fix: move the sensor to an ADC1 pin.

The MakerBuddy troubleshooting section covers more board-specific problems.

Using ESP32 WiFi in a classroom

A room of ESP32 boards is a small network of its own. Three habits keep it calm.

  1. Name every board.

    A MakerBuddy board's name becomes its .local name, so names like table3-01 tell you which board is which. The first-time setup page can make a numbered list of names for up to 40 boards and print a board sheet.

  2. Write the IP address on a sticky note.

    The router chooses each board's address, and it can change. A note on each table saves time at the start of the next lesson.

  3. Check the network before the lesson.

    Make sure it is 2.4 GHz, needs only a name and a password, and lets devices talk to each other. Five minutes with IT the week before beats twenty minutes of confused students.

Teachers planning a whole class set can see what each kit includes and how schools order on the MakerBuddy buying page. For more ESP32 topics, browse the MakerBuddy blog.

FAQ

Does the ESP32 have Wi-Fi?

Yes. The ESP32 has a 2.4 GHz Wi-Fi radio built into the chip, supporting 802.11 b/g/n, according to the ESP32 datasheet (opens in a new tab). You do not need a separate Wi-Fi module. It also has Bluetooth, which is a separate radio feature.

How do I connect an ESP32 to Wi-Fi?

In your own code, put the ESP32 in station mode and call WiFi.begin() with the network name and password, then wait until WiFi.status() reports WL_CONNECTED. The board's IP address is then in WiFi.localIP(). On a MakerBuddy board you need no code: join its MakerBuddy_XXXX setup network, open 192.168.4.1, pick your Wi-Fi and type its password.

Can an ESP32 connect to 5 GHz Wi-Fi?

No. The ESP32 datasheet (opens in a new tab) gives the original ESP32's radio a range of 2412 to 2484 MHz, which is the 2.4 GHz band only. No library or setting adds 5 GHz. Newer chips such as the ESP32-C5 (opens in a new tab) support both bands, but that is a different chip.

Can an ESP32 be used as a Wi-Fi router?

Only with extra work. In access point mode it makes a small network for a few devices, 4 by default according to the Arduino-ESP32 Wi-Fi API page (opens in a new tab). Passing internet on to them needs NAPT, which Espressif's lwIP notes (opens in a new tab) say must be enabled. In most projects the access point is for talking to the board itself.

How far can ESP32 Wi-Fi reach?

It depends on walls, the antenna on your board, other radios nearby and the router at the other end, so there is no single number. Test it: print WiFi.RSSI() and move the board. A number closer to zero means a stronger signal. NETGEAR's guide to the Wi-Fi bands (opens in a new tab) says 2.4 GHz gives more coverage, because higher frequencies get through walls and floors less well.

Can an ESP32 be updated over Wi-Fi?

Yes. Espressif's OTA (over-the-air) update system (opens in a new tab) lets a running ESP32 update itself with data received over Wi-Fi. On a MakerBuddy board, the dashboards can install updates over Wi-Fi only from plain http:// links, and firmware 2.10 currently needs a manual install from the Arduino IDE. An update over Wi-Fi also erases the board's saved settings first.

Does the ESP32 need internet to work over Wi-Fi?

No. Station mode needs a router, but not internet. The board and your laptop can talk across a local network with no internet link. MakerBuddy works this way: once the dashboard is open, readings and commands stay on your own Wi-Fi, and there are no accounts.

Will a phone hotspot work with an ESP32?

Usually, yes, as long as the hotspot uses 2.4 GHz. If your phone's hotspot settings offer a band choice, pick 2.4 GHz. MakerBuddy's setup guide lists a phone hotspot as a working option when school Wi-Fi is not suitable.

Sources

From the blog

Keep reading

ESP32 Guides

ESP32 Pinout Explained: Which GPIO Pins Are Safe to Use

Most ESP32 pins are free to use, but a few are wired to the flash chip, some can only read, five decide how the board starts, and the ADC2 analog pins stop working when Wi-Fi is on. This guide sorts every pin into safe, careful and avoid, then shows a real board's pin map as a worked example.

20 min read

ESP32 Guides

Arduino vs Raspberry Pi vs ESP32: Which Board for Which Project?

An Arduino and an ESP32 are microcontroller boards that run one program, while a Raspberry Pi is a small computer with an operating system. See them side by side, then match five classroom projects to the right board.

19 min read

Learn with MakerBuddy

Start building today.

Every part in these guides has its own lesson. Read them free, or get a kit for your class.