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.