Note: this is not the latest version of cgminer, at the time of this writing, the current version (3.3.1) has issues communicating with Block Erupter USB on Raspbian After the download is complete, decompress it by entering the following: tar xvf cgminer-3.1.1.tar.bz2 Once dependencies are installed, download the cgminer software using: cd ![]() Once you're logged in, ensure all preexisting software is up to date by entering the following: sudo apt-get updateĪfter the update has completed, Install the all of cgminer's software dependencies by entering: sudo apt-get install libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev To install cgminer on the Pi, we'll first need to connect to the Pi via ssh () or console cable (). Install Software cgminer Cgminer () is a cross-platform program for mining crypto-currency with support for SHA-256 () and scrypt () algorithms, as well as drivers for a broad range of mining hardware. Though this tutorial uses details specific to the Block Erupter USB, a few small modifications should make it work with any hardware compatible with cgminer v3.1.1 For this tutorial I'll be using ASICMiner Block Erupter USB devices. A number of open source projects and related info can be found in the BitcoinTalk forums (). GPIO Setup () Adafruit 16x2 Character LCD + Keypad for Raspberry Pi () When you've got all that working, come back here!Ī note about USB mining devices At the time of this writing, dedicated bitcoin mining hardware can be somewhat hard to find, but they are becoming more common as next generation ASIC-based devices are released. Preparing an SD Card for your Raspberry Pi () Lesson 2. For help with initial setup, check out the following tutorials: You can always get more hubs, one for every 4 miners! Mining Pool Account (Login/Password) Your Computer (for configuration and setup) Before you start this tutorial you'll need a fully working Pi with network setup and also an assembled Adafruit LCD Pi Plate. What you'll need: Raspberry Pi ()+ SD Card running Raspbian () configured for network access Adafruit 16x2 LCD + Keypad Kit (any color style will work) assembled & installed I2C, & Adafruit Pi Code libraries installed on Pi () USB Bitcoin Mining Device Powered USB Hub (needed for USB powered miners) () - most hubs can power up to 4 of these miners (others may use more or less current). The project incorporates an LCD to display hashrate, error rate, share data, network difficulty, mining duration, & current exchange rates. Building this project will allow you to use a Raspberry Pi as a 'headless' controller and status monitor for your USB bitcoin mining devices. Initial Setup & Overview First off, if you're wondering what bitcoins are, Learn more here (). Next, we can find cgminer's process ID by entering the following: Option 2: Stop mining without shutting down ![]() ![]() Option 1: Stop mining & shutdown via the SELECT button PiMiner Raspberry Pi Bitcoin Miner Created by Collin Cunningham
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |