This is a tutorial on how to set up a Bitcoin miner with a Raspberry Pi computer. The combination of hardware and software will allow you to make a miner yourself.
First, you’re going to need to buy the essentials to make a Raspberry Pi computer. This starts with the base of the Pi, an ARM computer board that operates on Linux and is available on Amazon and from other retailers.
ARM is a microprocessor architecture, different from Intel’s x86. The Raspberry Pi is an ARM-powered (as in it has an ARM chip inside) kit computer, i.e., designed for projects rather than day-to-day computing, that is rather popular and is available from online retailers.
- Raspberry Pi
- Powered USB Hub * USB 3.0 Hubs are not compatible with the Raspberry Pi
- Micro USB power cord
- SD Card + Raspian OS Software
- Wireless Keyboard + Mouse
- ASICMiner Block Erupters – they run ~ 333 MH/S
- Edimax EW-7811un WiFi Nano Adapter
- HDMI Cord
Setting up your Raspberry Pi is not too difficult. First, you need to write the Raspbian Operating System to your SD Card. For Microsoft Windows this can be accomplished by using win32diskimager. Do note that you will also need an SD card with at least 8 GB.
You will need to visit the Raspbian OS Images website and extract the image. Insert the SD card into your PC and write the image to the SD card. You can buy the SD card with the Raspbian software pre-installed on it from above, or write the image yourself – either of these options will work fine.
Next plug in the USB dongle for your wireless keyboard and mouse, your Raspbian SD Card into the Pi, your HDMI cord from the Raspberry Pi to your TV, and then lastly plug in the micro USB power cord. You will see your Raspberry Pi boot up and it will ask you for the login, the password, and the command to start up the OS.
Then in the command line: startx
You should see the Raspberry Pi Desktop. You now have a functioning Raspberry Pi computer.
Next plug in your USB powered hub into a power outlet and into the USB port of the Raspberry Pi. You will then need to set up your Edimax EW-7811Un WiFi if you want your miner to run without an Ethernet cord. Instructions on how to configure the WiFi dongle can be found here.
Plug in the WiFi dongle into the other USB port on the Raspberry Pi. You should see a blue light blinking meaning it is connected to the WiFi.
You can also use an Ethernet cord and connect it to the Pi.
After your WiFi/Internet is set up you are ready to set up your miner.
Now you have to: Download mining software (cgminer) and join a mining pool.
Cgminer runs a command line mining software. Instructions on how to install and configure cgminer on a Raspberry Pi can be found here.
Next you will need to join a Mining pool.
A mining pool is group of Bitcoin miners that are all combining their computing power to solve the algorithm discover a block. When a block is discovered by your pool you are rewarded for your contribution. People join pools because it is more lucrative than mining on your own unless you have a ton of computing power.
I recommend joining Slush’s pool. You just have to setup an account by email.
After you have downloaded cgminer and configured it to your mining pool plug in your ASIC Miner Block Erupters into your powered USB hub.
You should see the idle green led lights on. Start the cgminer program and the idle green lights will go off which means they are now mining bitcoins.
If you have any questions, contact me by email: firstname.lastname@example.org. I will probably be able to troubleshoot what you’re having difficulty with.