Bitcoin Entrepreneurship

How to setup a Bitcoin Miner with a Raspberry Pi

This is a tutorial on how to setup a Bitcoin miner with a Raspberry Pi computer.  It requires a combination on the following hardware and software:

Raspberry Pi + Raspian Software on SD Card + WiFi connection + cgminer + USB powered hub + USB ASIC Miners


First things first you are going to need to buy the essentials to make a Raspberry Pi computer. This is a ARM computer board that operates on Linux. The following is hardware you can buy off Amazon and will need to make a Raspberry Pi Bitcoin Miner:

Setting up your Raspberry Pi is not too difficult.

First you need to download Raspbian Operating System to your SD Card. You need an SD card with at least 8 GB. For windows this can be done using win32diskimager, a program that can be downloaded to write images to SD cards.

You will need to visit the RaspbianImages site 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 software pre installed on it from above, either way will work fine.

Next plug in your keyboard and mouse, your Raspbian SD Card into the Pi, your HDMI cord from the Raspberry Pi to your TV, and lastly plug in the micro USB power cord.

You will see your Raspberry Pi boot up and it will ask your 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 the wall 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 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 cgminer and join a mining pool.

CGminer runs a command line mining software. Instructions on how to install and configure cgminer on 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 math problems and 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 . I probably will able to troubleshoot what you’re having difficulty with.

5 replies on “How to setup a Bitcoin Miner with a Raspberry Pi”

I like the valuable information you provide for your articles.
I will bookmark your blog and take a look at again right here regularly.
I am moderately certain I’ll be informed plenty of new
stuff proper here! Best of luck for the next!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s