full screen background image
Search
Saturday 23 September 2017
  • :
  • :

Set Up a Bitcoin Miner with Raspberry Pi

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.

Hardware

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.

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.

Login: Pi

Password: Raspberry

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.

Software

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: dominicsteil@hotmail.com. I will probably be able to troubleshoot what you’re having difficulty with.



Dom Steil

Dom Steil is an entrepreneur from the Silicon Valley. He is well versed in a variety of technological fields and has experience as a business analyst at the international enterprise level. For more information, visit his blog at http://www.dominicsteil.wordpress.com. Dom also accepts Bitcoin tips to: 1FiYresjQP7GV9EUxr9fudWm3Xz7WC2VMC