Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Bitcoin Mining on Raspberry Pi: A Step-by-Step Guide, Schemes and Mind Maps of Construction

Learn how to mine Bitcoin using a Raspberry Pi with this comprehensive tutorial. Discover the required supplies, installation process, creating a Bitcoin wallet, joining a mining pool, installing the miner, and optional automatic start on boot. Recommended for university students and lifelong learners interested in cryptocurrency and Raspberry Pi projects.

What you will learn

  • How do I install Raspbian on the Raspberry Pi?
  • What are the two types of Bitcoin wallets and which one is recommended for offline mining?
  • What equipment is needed for Bitcoin mining on a Raspberry Pi?

Typology: Schemes and Mind Maps

2021/2022

Uploaded on 09/27/2022

seymour
seymour 🇬🇧

4.8

(16)

216 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
instructables
Bitcoin Mining on Your Raspberry Pi
by alexposcher
Bitcoin is a cryptocurrency, a form of electronic cash. It is a decentralized digital currency without a central
bank or single administrator that can be sent from user to user via the bitcoin network.
There are two main methods for obtaining bitcoin: mining and purchasing. In this tutorial we will focus on
cryptocurrency mining on the Raspberry Pi!
Supplies:
For your bitcoin miner you need the following equipment:
Raspberry Pi
AntMiner U3 USB Miner
MicroSD Card with Raspbian
Ethernet Cable or WiFi Dongle (Pi 3 has WiFi inbuilt)
Power Adapter
Raspberry Pi Cooling Case (highly recommended)
Bitcoin Mining on Your Raspberry Pi: Page 1
pf3
pf4
pf5

Partial preview of the text

Download Bitcoin Mining on Raspberry Pi: A Step-by-Step Guide and more Schemes and Mind Maps Construction in PDF only on Docsity!

instructables

Bitcoin Mining on Your Raspberry Pi

by alexposcher Bitcoin is a cryptocurrency , a form of electronic cash. It is a decentralized digital currency without a central bank or single administrator that can be sent from user to user via the bitcoin network. There are two main methods for obtaining bitcoin: mining and purchasing. In this tutorial we will focus on cryptocurrency mining on the Raspberry Pi! Supplies: For your bitcoin miner you need the following equipment: Raspberry Pi AntMiner U3 USB Miner MicroSD Card with Raspbian Ethernet Cable or WiFi Dongle (Pi 3 has WiFi inbuilt) Power Adapter Raspberry Pi Cooling Case ( highly recommended )

Step 1: Construction

Raspbian, or any other appropriate operating system must be installed on the Raspberry Pi. How to install Raspbian on the Raspberry Pi? Construction

  1. Plug in the power adapter of the Raspberry Pi adapter and connect it to your Pi
  2. Connect the Pi to the internet
  3. Plug in the power adapter of the USB Miner and connect it to the USB Miner
  4. Connect to USB Miner to your Pi, by plugging the USB into the Raspberry Pi and the other end into the USB Miner

Step 2: Check for Updates

Type in this command to check for updates: sudo apt-get update You might have to upgrade your operating system too, if its a older version: sudo apt-get upgrade

Step 4: Enter a Mining Pool

A mining pool is the pooling of resources by miners , who share their processing power over a network , to split the reward equally , according to the amount of work they contributed to the probability of finding a block. How to enter a mining pool?

  1. Sign up to Slushpool
  2. Open the profile settings (click the user icon on the top right corner > click on 'Settings')
  3. Click on the 'Bitcoin' tab
  4. Click on 'BTC Payouts'
  5. Add your wallet address (on Coin Space, the address can be found by clicking on receive) You are now part of a mining pool! Optional: You can create workers by clicking on the workers tab and 'new worker'. 'worker1' is already created during the registration process.

Step 5: Install the Miner

The miner is responsible for the actual mining part. It uses the power of the USB Miner and searches for blocks. In this tutorial we use cgminer , a multi-threaded multi-pool miner for bitcoin.

  1. Install the dependencies 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
  2. Clone the cgminer repository from github git clone https://github.com/bitmaintech/cgminer
  3. Install and configure the miner cd cgminer sudo ./autogen.sh export LIBCURL_CFLAGS=’-I/usr/include/curl’ sudo ./configure --enable-bmsc sudo make
  4. Start the miner sudo ./cgminer --bmsc-options 115200:0.57 -o POOL -u USERNAME -p PASSWORD --bmsc- voltage 0800 --bmsc-freq 1286 POOL: the url to the pool. Default: stratum+tcp://stratum.slushpool.com: USERNAME: [your_slushpool_username].[your_worker] Default: yourusername.worker PASSWORD: anything, you don't need to enter your login password For more information about available pools on slushpool click here. I highly recommend using a cooling case for your Raspberry Pi, to avoid overheating.