# skot/bitaxe architecture

> Architecture diagram of the GitHub repository skot/bitaxe, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/skot/bitaxe
- Repository: https://github.com/skot/bitaxe

## Overview

This repository is the hardware design for the Bitaxe Ultra, a standalone BM1366 Bitcoin miner. Its product workflow is a 5V-powered board using an ESP32-S3 to mine over Wi-Fi, with adjustable ASIC power and active cooling; the README identifies ESP-Miner as external firmware. The repository also supplies PCB design and manufacturing outputs. Relationships below are based on README documentation only; there are no source excerpts, so component-level implementation details are not inferred.

Main entry points: [`bitaxeUltra.kicad_sch`](https://github.com/skot/bitaxe/blob/master/bitaxeUltra.kicad_sch) (BM1366 ASIC), [`esp32.kicad_sch`](https://github.com/skot/bitaxe/blob/master/esp32.kicad_sch) (ESP32-S3), [`power.kicad_sch`](https://github.com/skot/bitaxe/blob/master/power.kicad_sch) (TPS40305 regulator), [`fan.kicad_sch`](https://github.com/skot/bitaxe/blob/master/fan.kicad_sch) (EMC2101 fan controller)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_compute["Mining and control"]
  node_asic["BM1366 ASIC"]
  node_esp["ESP32-S3<br/>[esp32.kicad_sch]"]
  node_firmware["ESP-Miner firmware"]
end

subgraph group_power["Power and measurement"]
  node_supply["5V supply"]
  node_buck["TPS40305 regulator<br/>[power.kicad_sch]"]
  node_current_dac["DS4432U current DAC<br/>[power.kicad_sch]"]
  node_power_meter["INA260 power meter<br/>[power.kicad_sch]"]
end

subgraph group_thermal["Cooling and display"]
  node_fan_controller["EMC2101 fan controller<br/>[fan.kicad_sch]"]
  node_fan["5V fan"]
  node_display["SSD1306 OLED"]
end

subgraph group_design["Hardware design"]
  node_pcb["PCB layout"]
  node_manufacturing["Manufacturing outputs"]
end

node_operator(("Miner operator"))
node_pool(("Mining pool"))

node_operator -->|"powers with"| node_supply
node_supply -->|"feeds 5V"| node_buck
node_buck -->|"powers"| node_asic
node_current_dac -->|"adjusts voltage"| node_asic
node_power_meter -->|"measures input"| node_operator
node_firmware -->|"runs on"| node_esp
node_esp -->|"mines over Wi-Fi"| node_pool
node_fan_controller -->|"controls PWM"| node_fan
node_fan -->|"cools"| node_asic
node_operator -.->|"views status"| node_display
node_pcb -->|"produces Gerbers"| node_manufacturing

click node_buck "https://github.com/skot/bitaxe/blob/master/power.kicad_sch"
click node_asic "https://github.com/skot/bitaxe/blob/master/bitaxeUltra.kicad_sch"
click node_current_dac "https://github.com/skot/bitaxe/blob/master/power.kicad_sch"
click node_power_meter "https://github.com/skot/bitaxe/blob/master/power.kicad_sch"
click node_esp "https://github.com/skot/bitaxe/blob/master/esp32.kicad_sch"
click node_fan_controller "https://github.com/skot/bitaxe/blob/master/fan.kicad_sch"
click node_display "https://github.com/skot/bitaxe/blob/master/bitaxeUltra.kicad_sch"
click node_pcb "https://github.com/skot/bitaxe/blob/master/bitaxeUltra.kicad_pcb"
click node_manufacturing "https://github.com/skot/bitaxe/tree/master/Manufacturing%20Files"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_asic,node_esp,node_firmware toneBlue
class node_supply,node_buck,node_current_dac,node_power_meter toneAmber
class node_fan_controller,node_fan,node_display toneMint
class node_pcb,node_manufacturing toneRose
class node_operator,node_pool toneIndigo
```

## Components

### Mining and control

- [BM1366 ASIC](https://github.com/skot/bitaxe/blob/master/bitaxeUltra.kicad_sch): `bitaxeUltra.kicad_sch`
- [ESP32-S3](https://github.com/skot/bitaxe/blob/master/esp32.kicad_sch): `esp32.kicad_sch`
- **ESP-Miner firmware**

### Power and measurement

- **5V supply**
- [TPS40305 regulator](https://github.com/skot/bitaxe/blob/master/power.kicad_sch): `power.kicad_sch`
- [DS4432U current DAC](https://github.com/skot/bitaxe/blob/master/power.kicad_sch): `power.kicad_sch`
- [INA260 power meter](https://github.com/skot/bitaxe/blob/master/power.kicad_sch): `power.kicad_sch`

### Cooling and display

- [EMC2101 fan controller](https://github.com/skot/bitaxe/blob/master/fan.kicad_sch): `fan.kicad_sch`
- **5V fan**
- [SSD1306 OLED](https://github.com/skot/bitaxe/blob/master/bitaxeUltra.kicad_sch): `bitaxeUltra.kicad_sch`

### Hardware design

- [PCB layout](https://github.com/skot/bitaxe/blob/master/bitaxeUltra.kicad_pcb): `bitaxeUltra.kicad_pcb`
- [Manufacturing outputs](https://github.com/skot/bitaxe/tree/master/Manufacturing%20Files): `Manufacturing Files`

### Other components

- **Miner operator**
- **Mining pool**

## Connections

- Miner operator → 5V supply: powers with (evidence: `readme.md`)
- 5V supply → TPS40305 regulator: feeds 5V (evidence: `readme.md`)
- TPS40305 regulator → BM1366 ASIC: powers (evidence: `readme.md`)
- DS4432U current DAC → BM1366 ASIC: adjusts voltage (evidence: `readme.md`)
- INA260 power meter → Miner operator: measures input (evidence: `readme.md`)
- ESP-Miner firmware → ESP32-S3: runs on (evidence: `readme.md`)
- ESP32-S3 → Mining pool: mines over Wi-Fi (evidence: `readme.md`)
- EMC2101 fan controller → 5V fan: controls PWM (evidence: `readme.md`)
- 5V fan → BM1366 ASIC: cools (evidence: `readme.md`)
- Miner operator → SSD1306 OLED: views status
- PCB layout → Manufacturing outputs: produces Gerbers (evidence: `readme.md`)
