mirror of
https://github.com/skot/bitaxe.git
synced 2025-03-18 13:51:42 +01:00
added VIN spade connectors for #6. moved the 5V pinheader around the corner. fixed the part numbers on R19-R22. Switched to in-stock LDOs for IC4 and IC5
EEP! pin pitch on the BM1387 footprint is wrong!! Don't make this board until this gets sorted. see issue #5
The bitaxe
an experimental bitcoin mining machine. Uses 2x Bitmain BM1387 ASICs. Should be able to hash at around 130GH/s. Needs a lot of work!
BM1387
- The BM1387 is a undocumented SHA256 mining ASIC from Bitmain. It's mostly used in the Antminer S9
- Bitmain claims the BM1387 has 0.098j/Gh efficiency
- The BM1387 is available for around $1-2 each in low quantities from Aliexpress
Current Status
- I have built 2 of these.
- I can't get any response over serial from the BM1387s yet.
- The current comsumption does change like I would expect when I send a serial command to change the frequency.
Hardware
- BM1387B from random AliExpress seller. Do these work?? Who knows!
- 40x40mm heatsink and 5V fan from a random AliExpress seller. At least half of these arrived broken in some way. But they are cheap and the working ones do keep the BM1387's nice and cool when used with some thermal compound.
- The serial port is 1.8V. The FTDI TTL-232RG-VREG1V8-WE USB adapter does the trick, although it's pretty expensive.
- KiCad 6 design files
- All of the parts on the board are listed in the KiCad BOM
Software
Check my BM1387 Scripts!
Connections
Pin Name | Description |
---|---|
VIN | ASIC VIN - powers both ASICs in series. Should be around 1.6V for 0.8V at each ASIC. Will need at least 3A, maybe more! This needs more experimentation. |
+5V | 5V input gets regulated to 1.8V and 0.8V for the BM1387. Also 5V for Fan output. Not much current required. |
+5V (Fan) | 5V output for fan |
SPD (Fan) | Speed input from fan. Doesn't currently go anywhere |
1V8 | 1.8V output. regulated from 5V. Use as a IO reference, or leave unconnected. |
RXI | 1.8V Serial input |
TXO | 1.8V Serial output |
RST | Inverted reset pin to the first BM1387. Unsure what to use this for. |
GND | Common ground |
Goals
- Figure out the BM1387 communication and put all of that in an onboard microcontroller like the ESP32-C3 (RISC-V, yum).
- Connect up the BM1387 internal temperature to the onboard microcontroller.
- Connect up the fan speed sensor to the onboard microcontroller.
- Develop some software in Rust to getblocktemplate from a bitcoin node and communicate work to a fleet of bitaxes.
- add an onboard power sensor
Languages
KiCad Layout
100%