Bitcoin Mining on Raspberry Pi2
Intro: Bitcoin Mining on Raspberry Pi2
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
STEP 1: Credit
STEP 2: Setup USB and Heatsink
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.
STEP 3: SD Card Setup and Putty
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.
STEP 4: 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.
STEP 5: Pools
You can solo mine or pool mine. I made 20 bucks in 3 days. I recommend Bitminter because of its easy gui.
197 Comments
suryat2913 6 years ago
i have a beaglebone black, can this rig be implemented using BeagleBone Black
Your help will be deeply appreciated
JamesM323 6 years ago
I don't know much about ras pie, and I looked at this and it looks good and feasiable but then as I went down the page it became Chinese.
Can someone give me a way to work this for someone who is new to all of this?
basically step 3 and below.
thanks
JamesM323 7 years ago
can u help?
nmrobotics 6 years ago
no, because a raspberry pi is a full computer but arduino only runs code
JacoB29 6 years ago
Hey guys, I am new to bitmining and want to do it kinda on the sideline for an extra buck here and there.
I was wondering could you use this same technique for a raspberry pi 3 and use 4 usb hubs full of antminers?
Also, would the code still the same?
DennisY10 6 years ago
Hi, can you provide some guidance.
After inputting the following command................
pi@RaspPi01 ~/cgminer $ sudo ./autogen.sh export LIBCURL_CFLAGS=.-I/usr/include/curl. sudo ./configure --enable-bmsc sudo make
................ into my RPi B, I get the following errors towards the end of the output......................
ccan/Makefile.am: installing `./depcomp'
Configuring...
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: ./configure
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking build system type... Invalid configuration `export': machine `export' not recognized
configure: error: /bin/bash ./config.sub export failed
Am I missing some input parameters or doing something wrong?
Thanks,
maskofdarkness22 7 years ago
does this have to be made with antminer u1, u2, u3, or can any miner USB be used I have the latest raspberry PI 3 model b
mike2016consult 7 years ago
Hello i make everything but my raspberry pi don`t find my asci miner I use differend model miner What can I do Thank you.
RockeyDA 8 years ago
could you please make a totorial on how to do this on a pc? preferably somthing windows 64-bit? i got 2 xeon x5690's and 2 l5506's just folding at home for heat, i would rather get money out of it.
robertlee0707 8 years ago
RockeyDA 8 years ago
robertlee0707 8 years ago
If you would like to cpu mine or gpu mine, I recommend litecoin, ziftercoin, doggiecoin, or anty coin that accepts script. It will be perfect since ordinary asic hardware cant handle it. By the way, use mineral oild and a colling system for the mineral oil. It is about efficiant as water cooling but cooler as in awesome. Nice setup, don't burn the wires
JamesM323 7 years ago
robertlee0707 8 years ago
You should have titanX or gtx gforce 980ti graphics card and intel core i7 5960X with an evga titanium 1600W. That will satisfy the hungry graphics card
RockeyDA 8 years ago
oh, and if i had a core i7 i could not have 2 prossesors, and i think i could not have more than 8mb l3 cache, plus server hardwere has higher quality chips that last longer than desktop hardware. My x5690's lanch price was 1600$ a piece. i waited 2 years for the price to fall under 200$ a piece on ebay. story of my rig... ballen on a budget gathering parts over years.
robertlee0707 8 years ago
Also get them from micocenter since they gave me awesome prices. Just shoutingout. I have a custom built PC and instead of $7,000 awesome cad machine for $4,500
RockeyDA 8 years ago
oh, and the coolers were 50$ together cuz i got them on sale.
RockeyDA 8 years ago
over the years i have only sunk aobut 1200$ or so in my rig. my dad likes to spend most of my paycheck before i even know it came. so money is still tight after i got a legit job. i dropped 200$ on my gpu in 2012. 450$ on my mobo in 2013, 400$ total on my cpu's, 150$ on ram. 1300w psu was a gift from a firend. if i can find a titan x for under 200$ then its do-able.
RockeyDA 8 years ago
robertlee0707 8 years ago