Setup a Raspiberry Pi to mine cryptocurrency
I’ve been mining since May 2015, with 3 Rockminer R-BOX giving a total of 300Gh/s, although it sounds like a lot of speed, I wouldn’t recommend you to mine Bitcoins as that requires much more hash rate to be processed, and you will be spending more money in electricity than getting any Bitcoins. You should assume that at this moment mining should be seen as non-profitable hobby, my main goal was just to fulfill my curiosity.
The hardware I used:
- 1 raspberry pi (Quad Core), I used other models but they crashed after a few hours…
- 1 usb hub
- 1 corsair CX 600M Power Supply
- 3 Rockminer R-BOX
Assuming you already have the operating system Raspbian, open the command line (Terminal) and type the following:
When you finished updating and installing the needed packages go ahead and download cgminer (that’s the latest stable version at the moment of my writing)
And then “unzip” it
Enter cgminer directory:
After installing it all you need to do is to find a mining pool to join. And the stratum url will be given to you, make sure you setup a worker and a password for it.
Then all you need to do is:
When you see that everything is up and running I recommend you to write that command in /etc/rc.local so it starts mining on startup, avoiding you to have to write it all the time you restart your raspberry pi.
Have fun, enjoy the noise :D
David Silva