Bitcoin Mining on Raspberry Pi2

by robertlee0707 in Circuits > Raspberry Pi

251331 Views, 1148 Favorites, 0 Comments

Bitcoin Mining on Raspberry Pi2

20150821_185408.jpg

Gather The Parts.

You will need a Raspberry Pi 2

A powered USB hub ( Please do not cheap out on this)

Antminer U1/U2/U3

USB Fan

Raspberry pi heatsink with fan

Credit

20150821_185601.jpg

http://bitcoin.stackexchange.com/questions/38225/o...

Credit goes to jfoo

I really built this though

Setup USB and Heatsink

20150821_185618.jpg
20150822_143102.jpg
20150822_143052.jpg

Setup with the USB bitcoin miner to the USB powered hub with fan.

USB hub must be at lest 1.5 - 2.0 amps.

Also the Rpi heatsink and fan. You need this heatsink and cooling fan if you are overclocking the Rpi for maximum mining capability and planning to keep the raspberry pi up 24/7 without burning the core processor.

SD Card Setup and Putty

20150821_185733.jpg
20150821_185845.jpg

Install fresh Raspian on your SD card with a minimum of 8gb.

Install Putty software and get into the terminal.

As for all Linux machines, update and upgrade.

Installation

sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev screen libtool automake pkg-config libjansson-dev screen

Use this code to use to install independencies.

git clone https://github.com/bitmaintech/cgminer

cd cgminer
sudo ./autogen.sh export LIBCURL_CFLAGS=’-I/usr/include/curl’ sudo ./configure --enable-bmsc sudo make

sudo ./cgminer --bmsc-options 115200:0.57 -o POOL -u USERNAME -p PASSWORD --bmsc-voltage 0800 --bmsc-freq 1286

Paste this code in every time you need to reboot the raspberry pi.

Pools

You can solo mine or pool mine. I made 20 bucks in 3 days. I recommend Bitminter because of its easy gui.