ESP32 Workshop

What is ESP32

The ESP32 Workshop tools all run on ESP32-S3 development boards. Before you buy a board, learn what it is, what it can do and which one to pick.

A microcontroller with Wi-Fi and Bluetooth

A microcontroller is a small chip that puts a processor, memory and various interfaces together. You find them in home appliances, toys and sensors. It has no operating system: once powered, it runs the one program flashed onto it. So it starts in a second or two, uses very little power and can go anywhere on a power bank.

ESP32 is a family of microcontrollers made by Espressif Systems in Shanghai. Wi-Fi and Bluetooth are on the same chip, it is cheap, its documentation is public and its development tools are open source. A device built on it can receive Bluetooth advertisements around it, scan Wi-Fi access points and also open a hotspot of its own, so a phone can connect to it and control it.

Compared with a phone, it lacks a lot: no screen (you can add a small OLED), no GPS, no mobile data and no way to install apps. For a privacy tool, less is an advantage. The board only does what was flashed onto it, and the source is public, so anyone can check what it sends and what it records.

The community uses the ESP32-S3

There are several ESP32 models, and the community’s tools are all built on the ESP32-S3. It has both Wi-Fi and Bluetooth, can receive the Bluetooth Low Energy advertisements that trackers like AirTag, SmartTag and Tile use, and has enough speed and memory to hold the phone panel and the logs.

When buying, pick a board whose model name ends in N16R8, which means it has enough memory: 16 MB stores the firmware and logs and keeps them when the power is off, and 8 MB holds data temporarily while it runs. Boards with less memory (for example N8R2, or versions without PSRAM) cannot fit Pocket Detector.

The ESP32-S3’s Wi-Fi supports 2.4 GHz only. To update over the internet it has to connect to a 2.4 GHz Wi-Fi network, and most home routers offer both bands.

Chip, module and board

Product names often mention ESP32-S3, WROOM-1 and DevKitC-1 together. They are three layers, from small to large:

  • Chip: the ESP32-S3 itself is a chip 7 mm square, with the processor, Wi-Fi and Bluetooth inside
  • Module: the chip plus flash, antenna and other parts under a metal shield. It is the piece on the left of the photo printed with ESPRESSIF and ESP32-S3-WROOM-1. The chip is inside the shield and cannot be seen from outside
  • Development board: the module soldered onto a circuit board, with USB ports, two buttons (BOOT and RESET), lights and two rows of header pins. Plug in a USB cable and it is ready to use
Photo of the Espressif ESP32-S3-DevKitC-1 development board, with English labels pointing to each part: the ESP32-S3-WROOM-1 module on the left, the RGB LED in the middle, the two USB ports and the Reset and Boot buttons on the right, and the two rows of header pins along the top and bottom
Espressif’s own ESP32-S3-DevKitC-1. The part labeled ESP32-S3-WROOM-1 on the left is the module (photo from Espressif’s documentation).

What you buy is the development board. The memory size is part of the module’s model name: in ESP32-S3-WROOM-1-N16R8, N16 means 16 MB of flash and R8 means 8 MB of PSRAM. Board product names carry the same code, so look for N16R8 when choosing.

Choosing a board

The photo above shows Espressif’s own board. The compatible boards the community commonly uses look the same, with USB-C connectors instead.

  • The model states ESP32-S3 and N16R8. Product names are often written as “ESP32-S3-DevKitC-1 N16R8” or “ESP32-S3 N16R8 development board”
  • Choose a version with two USB-C ports: one marked COM (UART on Espressif’s board), which you plug into when installing firmware, and one marked USB
  • A 44-pin DevKitC-compatible board is best. If you want to add a buzzer or a small screen (OLED) without soldering, you can also buy an expansion board it plugs into. For wiring, see For developers
  • Also get a USB-C cable that can carry data. A charge-only cable cannot flash firmware

Other models

Only the ESP32-S3 N16R8 is supported for now. Other models (ESP32-C3, the original ESP32, ESP32-C6 and so on) have not been tested on real boards yet, so don’t buy them for now.

For developers: specifications

From Espressif’s published specifications:

Item Specification
Processor Dual-core Xtensa LX7, up to 240 MHz, with vector instruction extensions that speed up signal processing and neural network computation
Memory 512 KB SRAM and 384 KB ROM on chip, with support for external flash and PSRAM
Wi-Fi 2.4 GHz, 802.11 b/g/n, no 5 GHz
Bluetooth Bluetooth 5 Low Energy (Bluetooth LE), no Classic Bluetooth
USB Built-in full-speed USB OTG and USB Serial/JTAG controller
Pins 45 programmable GPIOs

Other chips: the ESP32-C3, the original ESP32 and the ESP32-C6 were test-compiled with a 4 MB flash partition table but have not been run on real hardware. Chips with Bluetooth but no Wi-Fi cannot provide the panel or updates from a URL, so they are not supported.

N16R8 memory

Boards with the same chip come with different amounts of memory. The N16R8 at the end of the model name means 16 MB of flash and 8 MB of PSRAM (Octal SPI interface):

  • flash: stores the firmware and data, and keeps them when the power is off. Pocket Detector divides it into two 3 MB app slots and a data area of about 9.9 MB. An update is first written to the other app slot and switched to only after it checks out, so a failed update will not brick the board. The data area stores the alert history and logs
  • PSRAM: extra working memory, cleared when the power is off. It holds the encrypted connection when downloading an update, the probe request statistics and the temporary data of the meeting room check

References