Definition
ESP32 is a low-cost, Wi-Fi-enabled microcontroller from Espressif that acts as the “brain” of open-source single-ASIC Bitcoin miners such as the Bitaxe and the NerdAxe family. It does not hash Bitcoin itself; instead it talks to a mining pool, builds the work, feeds it to the SHA-256 ASIC chip, and reports results back.
Also known as: the controller MCU, the AxeOS host chip (the variant used on most modern boards is the ESP32-S3).
What the ESP32 actually does in a miner
In a desktop ASIC like an S19 or S21, a Linux control board orchestrates the hashboards. On an open-source Bitaxe or NerdAxe, that whole job falls to a single ESP32. The firmware running on it (ESP-Miner, exposed through the AxeOS web interface) connects to a pool over the Stratum protocol, receives a block template, and assembles the block header the chip will grind on.
That assembly is real work: the ESP32 generates the extranonce, hashes the coinbase, walks the merkle branches to compute the merkle root, and then dispatches the job to the ASIC. When the chip finds a candidate nonce, the ESP32 validates it, checks it against the share difficulty, and submits passing shares upstream. It is the difference between a bare SHA-256 engine and a self-contained miner you can plug into the wall.
How it talks to the ASIC
The ESP32 communicates with the BM-series ASIC (BM1397, BM1366, BM1368, or BM1370) over a simple serial UART link, typically at 115200 baud on startup before negotiating a faster rate. It sends framed command packets to assign chip addresses, set the difficulty mask, configure the PLL clock, and ramp the operating frequency up in small steps. On multi-chip boards like the NerdQaxe family, several ASICs are daisy-chained on one UART line and the ESP32 addresses each chip individually.
Crucially, the ESP32 also manages power and tuning. It drives the board’s voltage regulator (a TPS546 buck converter or a DAC like the DS4432U) over I2C to set core voltage, and it programs the ASIC’s PLL to set clock frequency. This is what lets you experiment with undervolting, overclocking, and underclocking from a web page. Worth remembering: voltage is applied per power domain on the chip, not per individual core, so the ESP32 sets one core-voltage target for the whole ASIC rather than tuning each hashing core separately.
Why a home miner should care
If you are running a Bitaxe for solo mining or lottery mining, the ESP32 is the part you actually interact with. It hosts the AxeOS dashboard, stores your pool credentials, applies over-the-air firmware updates, and reports hashrate, temperature, and power so you can dial in efficiency. When a unit will not connect to a pool, gets stuck during a firmware flash, or refuses to detect its chip, the fault usually lives on the ESP32 side (Wi-Fi, firmware, serial link) rather than the silicon. Our ASIC troubleshooting resources walk through these checks.
Because the ESP32 is cheap, well-documented, and the firmware that runs on it is open source, it has become the decentralizing force behind the home-mining movement. Anyone can read the code, build a board, or write their own tuning stack on top of it. That open foundation is exactly the ground D-Central’s own custom firmware work stands on. The DCENT_axe firmware targets these same ESP32-class boards and is GPL-3.0 and in closed beta, with a public beta planned for summer 2026 — one more layer built in the open, on the shoulders of the projects that came before it. You can explore the broader open-source landscape on our Bitaxe hub.
Related terms: Bitaxe, AxeOS, BM1370, ASIC chip, Control board, Open-source firmware
In Simple Terms
A low-cost microcontroller powering open-source miners like Bitaxe. Handles WiFi, firmware, and chip control.
ESP32 is a low-cost, Wi-Fi-enabled microcontroller from Espressif that acts as the "brain" of open-source single-ASIC Bitcoin miners such as the Bitaxe and the NerdAxe family. It does not hash Bitcoin itself; instead it talks to a mining pool, builds the work, feeds it to the SHA-256 ASIC chip, and reports results back.
Also known as: the controller MCU, the AxeOS host chip (the variant used on most modern boards is the ESP32-S3).
What the ESP32 actually does in a miner
In a desktop ASIC like an S19 or S21, a Linux control board orchestrates the hashboards. On an open-source Bitaxe or NerdAxe, that whole job falls to a single ESP32. The firmware running on it (ESP-Miner, exposed through the AxeOS web interface) connects to a pool over the Stratum protocol, receives a block template, and assembles the block header the chip will grind on.
That assembly is real work: the ESP32 generates the extranonce, hashes the coinbase, walks the merkle branches to compute the merkle root, and then dispatches the job to the ASIC. When the chip finds a candidate nonce, the ESP32 validates it, checks it against the share difficulty, and submits passing shares upstream. It is the difference between a bare SHA-256 engine and a self-contained miner you can plug into the wall.
How it talks to the ASIC
The ESP32 communicates with the BM-series ASIC (BM1397, BM1366, BM1368, or BM1370) over a simple serial UART link, typically at 115200 baud on startup before negotiating a faster rate. It sends framed command packets to assign chip addresses, set the difficulty mask, configure the PLL clock, and ramp the operating frequency up in small steps. On multi-chip boards like the NerdQaxe family, several ASICs are daisy-chained on one UART line and the ESP32 addresses each chip individually.
Crucially, the ESP32 also manages power and tuning. It drives the board's voltage regulator (a TPS546 buck converter or a DAC like the DS4432U) over I2C to set core voltage, and it programs the ASIC's PLL to set clock frequency. This is what lets you experiment with undervolting, overclocking, and underclocking from a web page. Worth remembering: voltage is applied per power domain on the chip, not per individual core, so the ESP32 sets one core-voltage target for the whole ASIC rather than tuning each hashing core separately.
Why a home miner should care
If you are running a Bitaxe for solo mining or lottery mining, the ESP32 is the part you actually interact with. It hosts the AxeOS dashboard, stores your pool credentials, applies over-the-air firmware updates, and reports hashrate, temperature, and power so you can dial in efficiency. When a unit will not connect to a pool, gets stuck during a firmware flash, or refuses to detect its chip, the fault usually lives on the ESP32 side (Wi-Fi, firmware, serial link) rather than the silicon. Our ASIC troubleshooting resources walk through these checks.
Because the ESP32 is cheap, well-documented, and the firmware that runs on it is open source, it has become the decentralizing force behind the home-mining movement. Anyone can read the code, build a board, or write their own tuning stack on top of it. That open foundation is exactly the ground D-Central's own custom firmware work stands on. The DCENT_axe firmware targets these same ESP32-class boards and is GPL-3.0 and in closed beta, with a public beta planned for summer 2026 — one more layer built in the open, on the shoulders of the projects that came before it. You can explore the broader open-source landscape on our Bitaxe hub.
Related terms: Bitaxe, AxeOS, BM1370, ASIC chip, Control board, Open-source firmware
