Wednesday, May 1, 2013

Mining Bitcoins with a Raspberry Pi


Bitcoin logo.svg
Last weeks, cryptocurrencies were under media attention because of the recent Bitcoin price volatility. It gives me an idea: to test on my spare Raspberry Pi how it can be used to mine BitCoin.

Because of Bitcoin generation difficulty,  I decided to have a look on an alternative cryptocurrency called Litecoins. To be sure to obtain results, I also decided to join a mining pool, with the "cpuminer" software wich can mine Bitcoins and Litecoins.

Litecoin Logo




Downloading dependencies

"
sudo apt-get update
sudo apt-get install make automake build-essential git
sudo apt-get install libcurl4-openssl-dev
"

Downloading and compiling cpuminer:
"
git clone git://github.com/pooler/cpuminer.git
cd cpuminer/
 ./autogen.sh
./configure CFLAGS="-O3"
make
 "

Using cpuminer with a pool :
"./minerd --url adressedupool.org:portdupool --userpass user:motdepasse"

Exemple
"./minerd --url pool.org:8337 --userpass error418.pi:toto"

I also made some Litecoin mining test with the Raspberry Pi at each overclocking choice of Raspbian, with the actual mining difficulty (wich can change):


Overclocking
Speed
Temperature
None
0,32 khash/s
43,3°C / 109.94°F

Modest
0,37 khash/s
45,5°C / 113.9°F
Medium
0,41 khash/s
46,5°C / 115.7
°F
High
0,42 khash/s
47,1°C / 116.78°F (crash after one day)
Turbo
0,46 khash/s
51,9°C / 125.42°F (quick crash)


1 comment: