Most ESP32 camera projects put capture, compression and networking on one chip. A new open-source build from maker Mengdu, published on GitHub as the D2 5 GHz Hallway Camera, splits them across two. The ESP32-P4 in a Seeed reTerminal D1001 handles the camera and display. A Seeed Studio XIAO ESP32-C5 running ESPHome handles the radio and holds a 5 GHz Wi-Fi 6 connection to Home Assistant. A plain three-wire UART connects the two.
Adafruit's blog featured the project on December 2, 2026. The post describes a 5 GHz Home Assistant camera built from the two Seeed boards and says the C5 "sweeps both bands" and reports congestion. Below we cover how the pieces fit, using the project README and Seeed's own documentation.
Why use two chips?
The split follows from what each chip is good at. The ESP32-P4 has a MIPI-CSI camera interface and a hardware JPEG encoder, and the D1001 uses both. The radio side is where this build departs from the stock hardware. According to the README, the D1001 carries an onboard 2.4 GHz ESP32-C6, and the project firmware drives GPIO13 low at boot to hold that C6 in reset. The design leaves the built-in companion radio idle and moves Wi-Fi to an external board.
That external board is the XIAO ESP32-C5. Seeed's getting-started page lists an ESP32-C5 RISC-V 32-bit core at 240 MHz, 2.4 GHz and 5 GHz dual-band Wi-Fi 6, Bluetooth 5 (LE), 8 MB of PSRAM and 8 MB of flash, with I2C, UART and SPI. The 5 GHz band is the reason for the project. Per the README, builders snap a U.FL dual-band antenna onto the C5 before powering it on.
What does the data path look like?
As the README describes it:
- Capture: The D1001 reads an SC2356 image sensor over MIPI-CSI.
- Encode: The P4's hardware JPEG block compresses the frames.
- Local display: The D1001 also runs a 1280x800 diagnostics dashboard built with LVGL 9.3. The resolution quoted is the dashboard's, not the camera stream's.
- Transport: The JPEG frames go out wrapped in a framing format the project calls D2JF, over a 3-wire UART at 2.0 Mbaud through the D1001's J5 header.
- Back-channel: Once per second (1 Hz), the C5 sends a 28-byte status packet, called D2CS, back to the D1001 with link and RF information. The P4-side dashboard can therefore show radio health even though the P4 has no active Wi-Fi of its own.
- Network: The C5 runs ESPHome and exposes the camera and link metrics to Home Assistant through the ESPHome API.
The UART is the narrowest link in the chain. A 2.0 Mbaud serial line carries far less than a 5 GHz Wi-Fi 6 link, so the end-to-end video rate is limited by the wire between the boards, not by the radio. That probably explains the modest stream size. Adafruit's write-up gives the video as 320 by 240. The README material we reviewed does not state a stream resolution or frame rate, and we have not seen a measured frame rate from either source, so we aren't quoting one.
What is the "5 GHz sensor" part?
The project folder is named D2-HA-5GHz-Sensor, and the camera is only part of it. The build also acts as a band-congestion probe. Adafruit's post says the C5 surveys channels across both 2.4 GHz and 5 GHz and reports how crowded each band is. Those link and RF metrics reach Home Assistant alongside the camera entity and also feed the D2CS packets that drive the D1001's local dashboard.
For a home lab, that turns a hallway camera into a passive spectrum spot-check. You can see whether the 2.4 GHz band at that spot is crowded enough to justify moving devices to 5 GHz, using a board that is already on the network for another purpose.
What's in the repository?
Per the README, the repo includes three parts:
- An ESPHome configuration for the XIAO ESP32-C5.
- ESP-IDF host firmware for the reTerminal D1001's ESP32-P4, with prebuilt binaries, so you can flash it without setting up the full IDF toolchain.
- Home Assistant dashboard YAML to show the camera and link metrics.
The XIAO ESP32-C5's Home Assistant side follows the path Seeed documents in its XIAO ESP32-C5 Home Assistant guide, which connects the board through ESPHome using the Grove Base for XIAO. The D2 project uses the C5 for a different job, as a UART-fed network bridge rather than a Grove sensor node.
The Adafruit post also mentions a Hackster write-up. We haven't reviewed it, and nothing in this article is drawn from it.
How does this differ from a normal ESP32 camera?
Single-chip camera boards keep everything on one die, which is simple and cheap but ties the camera to that chip's radio. This design treats the radio as a swappable peripheral on a serial bus. The camera host doesn't need to know anything about Wi-Fi, and the radio board doesn't need a camera interface. Each can be updated separately: the C5 through the usual ESPHome workflow and the P4 through ESP-IDF.
The two-chip design has costs: an extra board, a slow serial link between them, and a custom framing protocol (D2JF and D2CS) to maintain. Holding the D1001's own ESP32-C6 in reset also means the build adds a second radio module to a device that already has one. The project shows a working pattern, but it isn't a cost-optimized camera.
What It Means for Makers
Who it's for: Home Assistant users who already own, or plan to buy, a reTerminal D1001 and want a wall-mounted touchscreen that also works as a camera and Wi-Fi diagnostic node. It also suits ESP32-P4 developers looking for a worked example of pairing a P4 with a separate radio MCU over UART, with both ends of the protocol available as source.
What it enables: 5 GHz Wi-Fi 6 for a P4-based camera through ESPHome, without writing a Wi-Fi stack on the P4 side. It also adds an ongoing 2.4 vs 5 GHz congestion readout inside Home Assistant. The UART framing is a reusable pattern for anyone who wants to keep a P4 design radio-agnostic.
What it doesn't replace: A dedicated security camera. Adafruit describes the video as 320 by 240, and the 2.0 Mbaud UART limits how much bandwidth the design can carry. Treat it as a status camera, not a recording camera.
Price and availability: The project is open source and published on GitHub as of early December 2026, with prebuilt binaries for the D1001 host firmware. None of the sources we reviewed state a price for the reTerminal D1001 or the XIAO ESP32-C5, so we aren't quoting one. Check Seeed's current listings before buying. The project is a published maker build rather than a commercial product.