Coin Mining With Raspberry Pi And Gridseed 5 Mini Part 1

While researching bitcoin mining hardware and was considering purchasing the Antminer U3 as I liked it’s apparent ease of setup and higher hash rate then a usb asic I stumbled upon the Gridseed 5 Chip Dual ASIC Miner GC3355. The Gridssed had similar form factor but the added bonus that it is a dual miner and can do either SHA-256 (Bitcoin) OR Scrypt (i.e litecoin) and even both simultaneously.

Specifications

Dimensions
9.5cm x 7cm
Weight
418 grams
Power input
12v DC input
Cooling
Large heatsink and fan ensure it runs cool
Hashing Speed
Mode SHA256 (Bitcoin) Scrypt (Litecoin/Dogecoin) Power Consumtion (watts)
Dual Mode 8 gh/s 300 kh/s 60 watts
Scrypt Only Mode OFF 330 kh/s 7 watts

Software

As it was always the intention to use my spare Pi B as the controller I spent some time looking for suitable compatible software. One thing I wanted specifically was a web based control panel so I could setup monitoring on a seperate screen and for the ease of learning what all the differnet numbers mean.
I cam across this useful blog post on cryptomining-blog I narrowed my choice down to Scripta and Hashra. On the post they gave the highest props to Scripta however a downside is that it supports SHA-256 (Botcoin) mining only. While this is new to me I didn’t want to limit myself to just Bitcoin so the obvious choice was Hashra as it supports scrypt only (bfgminer), SHA-256 (cgminer) only or dual-mining mode (cpuminer + cgminer).

After managing to win one on ebay I obviously decided to drop my previous BTC/Minepoen project.

How To

Download and install Win32 disk imager

Hashra, they have different images on their site to use depending on your hardware choice. As I will be using the Gridseed 5 Mini I downloaded the following image HASHRA MINI CONTROLA FIRMWARE DOWNLOAD I have also hosted it on theoutpost as an alternative location. sha256sum 7FC32B10DD6CC9B1046954159E9808DB356112A7D686C9597178873F546D1A0E

Extract the image file

Insert SD card into your reader

Run Win32 disk imager

Select your sd card device on the right i.e [H\] WARNING make sure you choose the correct drive letter or you may end up erasing the wrong drive!

Click the folder icon and browse to the image file you extracted earlier.

Check the destination drive letter is right!

Check the destination drive letter is right!

Click ‘Write’

Once the image has been written stick it in your pi

Connect pi to a monitor and ethernet port on your router

Switch on the pi, the boot screen will load and it will try and obtain an ip via dhcp, once it’s finished booting just before the login prompt it should display it’s ip address.

Put the ip into your browser i.e http://192.168.1.211/ and you should get the login page

hashraloginpagefull

Login with

Username: hashra

Password: hashra

You should then see the main dashboard.

hashradashboard

The settings menu allows you to change your password, restart miner ever x hours, define SHA cores on dual mode and specify update url.

The help menu unfortunately only displays “Work in progress”

Update allows you to update Hashra, when I clicked on it it stated “A newer version is available, do you want to Update?” but I have decided not to do this for now.

Back on the dashboard I ntoced that it said “Running in SCRYPT mode” obviously if your only wanting to mine Litecoin for example you can leave it set to this. Below are some mining stats/hash rate etc.

On the right are boxes for you to set your mining pools and adjust the clock rate of your miners.

The final selectable options are Scrypt SHA256 and Dual which you’ll need to set depending on what you want to mine, after choosing you will need to ‘Save and restart’.
After this I logged into the pi via ssh using

User: pi

Password: 3K4Hb8FMeZjQZJEX6scYzZa

I was happy to find that it was running Raspbian GNU/Linux 7 \n \l with apt-get etc installed as well as sudo.

You may also like

2 Comments

    1. I gave up on the pi as only used it to test out mining plus you need a whole load of gridseeds to get anywhere as the difficulty goes up. I now do solely cpu mining.

Leave a Reply to Aqeel Cancel reply

Your email address will not be published. Required fields are marked *