How To Make Your Own Bitcoin USB Miner

Bitcoin mining is the process of competing to add the next block of transactions to the blockchain. Miners run special chips that guess numbers billions of times a second, and the winner earns newly created bitcoin plus fees. Today it is a thin-margin industrial business, and a home USB miner will almost certainly cost you more than it earns.
Still, people are drawn to it. According to Investopedia, “entrepreneurial types see mining as pennies from heaven, like California gold prospectors in 1849.” If you are new to all this, it helps to first understand what Bitcoin is and how it works.
How does bitcoin mining work?
Every ten minutes or so, miners bundle recent transactions into a candidate block. They run the block’s data through a hash function (SHA-256) over and over, changing a number called a nonce each time, until the output falls below a target set by the network.
It is a lottery, not a puzzle you can reason your way through. More guesses per second means more lottery tickets. The winner broadcasts the block, other computers check it in a split second, and the winner collects the block subsidy plus the transaction fees in that block.
That effort is what secures the network. To rewrite history, an attacker would have to redo all that work faster than everyone else combined, which is why the cost of mining is also the cost of attacking Bitcoin.
What is hash rate, and what is difficulty?
Hash rate is how many guesses are made per second, by one machine or by the whole network. Difficulty is how hard the target is. The protocol re-sets it every 2,016 blocks (roughly two weeks) so blocks keep arriving about every ten minutes: if miners speed up, difficulty rises; if they leave, it falls.
That is why buying more hardware does not make everyone richer. Your share of the rewards is your hash rate divided by everyone else’s.
| Term | Plain meaning | Figure (period) |
|---|---|---|
| Network hash rate | Total guesses per second | Roughly 1,000 EH/s in early November 2026; estimates vary by tracker |
| Difficulty | How tough the target is | 134.82T after the 14 November 2026 adjustment (−9.1%); next one expected around 26 November 2026 |
| Block subsidy | New bitcoin per block | 3.125 BTC since the April 2024 halving, halving again every 210,000 blocks |
| Hashprice | Revenue per unit of hash power per day | About $30.45 per PH/s per day on 16 November 2026 |
1 EH/s is a million TH/s. Those numbers shift daily, so check a live tracker before relying on them. They also depend on the bitcoin price, which was around $65,000 in mid-November 2026.
Building your own USB miner
A USB miner is a small ASIC stick (often called a block erupter) plugged into a Raspberry Pi through a powered hub. It is cheap and a good way to learn how mining software, pools and hardware fit together. Think of it as a science project. Here is the classic setup:
To build your own bitcoin miner using a Raspberry Pi, here are the things you’ll need:
- Raspberry Pi – a credit-card sized computer. A case is optional, but it protects the board from falling objects and spills.
- SD card – acts as the Pi’s hard drive. Get a class 10 card with at least 4GB, and load your mining software onto it before you start.
- Micro-USB to USB cable – powers the Pi.
- ASIC USB miner / block erupter – a chip with one job: hashing. Each model mines at a different rate, so check the spec first.
- Powered USB hub – one with its own wall adapter, so every port gets steady power. Buy a good one.
- USB fan – the sticks run 24/7 and get warm.
- Ethernet cable – connects the Pi to your router.
Then assemble it in this order:
- Put the Raspberry Pi in its case, if you use one.
- Insert the SD card with your mining software already on it.
- Plug the Pi’s power cable into one slot of the powered hub.
- Push the block erupters firmly into the remaining slots.
- Plug the fan into a slot and aim it at the erupters.
- Connect the hub’s USB 2.0 data port to one of the Pi’s USB ports, so the Pi can talk to the erupters.
- Connect the Pi to your router with the Ethernet cable. A stable connection matters.
- Power up the hub. The erupters should light up in standby.
- Open your mining software, enter your mining pool details and start. Solo mining a block is practically impossible at this scale, so use a pool.
What a USB miner earns: a rough worked example
These are our own estimates from the 16 November 2026 hashprice of about $30.45 per PH/s per day. A typical old USB stick manages roughly 0.3 GH/s, which works out to around a thousandth of a cent per day. Its electricity costs more than that, even at a few watts.
A modern 200 TH/s machine at 17 J/TH would earn about $6 a day and burn about 82 kWh. At $0.12 per kWh, power alone is nearly $10. Break-even for that machine is about $0.075 per kWh, before hardware, pool fees and heat.
Disclaimer: You will most likely spend more on electricity and parts than you earn in bitcoin. Mining income is not guaranteed and can fall to zero. Never spend money you cannot afford to lose.
Is bitcoin mining worth it?
For most people at home, no. As of November 2026, hashprice sits near the lows of the year, and mining only pays for efficient machines on cheap electricity. Older rigs and expensive power tend to lose money. Bitcoin mining isn’t as profitable as it used to be, and the halving cuts the reward every four years.
If you only want to own some bitcoin, you can buy bitcoin with credit card instead, though card purchases can carry extra fees, so compare the total cost first.
Four things decide the result:
- Electricity price – the biggest cost, by far.
- Machine efficiency – joules per terahash; lower is better.
- Bitcoin price – it can move sharply in either direction. Rewards are paid in bitcoin, but your power bill is in dollars.
- Network difficulty – a rising hash rate shrinks your share.
Then there is the energy debate. Critics say bitcoin mining is a waste of electricity. Supporters answer that the energy is what makes the network hard to attack, and that miners increasingly seek out cheap or surplus power. Both sides have a point, and you can make up your own mind.
Hobby mining is fine if you treat it as a hobby, with a fixed budget and no profit expectations. If you simply want bitcoin, buying it is simpler, and what you should know before investing in Bitcoin covers the risks. For other routes, see easy ways to earn money with Bitcoin, and how to convert Bitcoin into cash if you ever do earn some. This is general education, not financial advice.
Where the numbers come from
- Hashrate Index — Roundup, November 16, 2026 — Difficulty after the 14 November 2026 adjustment, hashprice and bitcoin price as of mid-November 2026
- CoinDesk — How Does Bitcoin Mining Work? — How block mining, the nonce search and the reward work
