Bitcoin Forum
December 12, 2024, 07:40:31 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 6 »  All
  Print  
Author Topic: PiMiner - DIY mining controller/monitor with Raspberry Pi [v1.1]  (Read 35908 times)
LaserHorse (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile
June 23, 2013, 09:47:08 PM
Last edit: July 11, 2013, 01:40:05 AM by LaserHorse
 #1




The PiMiner project was conceived as a way to turn a Raspberry Pi into a bitcoin mining host 'appliance' with integrated LCD.
The project scripts currently display the following info:

    • Hashrate
    • Error %
    • Share data
    • Pool address & user name
    • Network difficulty
    • Mining duration / Uptime
    • Exchange rate via MtGox

Full tutorial available here:
http://learn.adafruit.com/piminer-raspberry-pi-bitcoin-miner

The tutorial contains information which should be helpful to anyone interested in mining with Raspberry Pi (even w/o an LCD, etc); including links to getting started with Pi, network setup, logging in via ssh, etc

Note: The tutorial example uses Block Erupter USBs, but minor software changes should allow use with any USB miner compatible with cgminer v3.1.1

New in v1.1:
    • Added mining auto-start after boot (see tutorial for setup)
    • Time format changed to dd:hh:mm
    • Abbreviated large share count (ex. 12300 == "12k3")
    • Revised error % calculation: 100 * HW / (diff1shares + HW)
    • Added MtGox last, high, & low price (currency can be changed in PiMinerInfo.py)
    • Removed cgminer data logging (was appending nohup.out)
    • Misc. tutorial revisions/clarifications




Feel free to make suggestions as to what you'd like to see added, or additional details to include in the tutorial.

Also, If you build this project - please share pics of your setup!

PiMiner - control & monitor your miners with Raspberry Pi   •   BTC: 1AV5JekeEVET5u2jTsLDMRsTtagrBnNTBR
gateway
Hero Member
*****
Offline Offline

Activity: 552
Merit: 500


View Profile
June 23, 2013, 10:51:56 PM
 #2

Very cool great job!
Red_Wolf_2
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
June 23, 2013, 10:58:10 PM
 #3

If you've got room on the bus, why not stick an RGB LED in there for instant status observation. Red for bad, blue for something, green for good, orange for warning (say if one or more asics isn't happy), etc...

Probably should put something here.... Maybe an LTC address?
LeNdJidEvsyogSu2KbC1u3bfJSdcjACFsF
LaserHorse (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile
June 23, 2013, 11:58:36 PM
Last edit: June 24, 2013, 05:52:28 AM by LaserHorse
 #4

If you've got room on the bus, why not stick an RGB LED in there for instant status observation. Red for bad, blue for something, green for good, orange for warning (say if one or more asics isn't happy), etc...

Plenty of room on the i2c bus - LED could def be handy.  Alternatively, could just use an LCD with an RGB backlight and change backlight color per status.
(The LCD in the pics above is actually RGB, just set to green)

PiMiner - control & monitor your miners with Raspberry Pi   •   BTC: 1AV5JekeEVET5u2jTsLDMRsTtagrBnNTBR
JLM
Full Member
***
Offline Offline

Activity: 164
Merit: 100



View Profile
June 24, 2013, 03:12:54 PM
 #5

Sweet.
I´ll try it.

1Hyawq17jkzfpunPC6tTikpgMGSsekd98z
cchan
Sr. Member
****
Offline Offline

Activity: 379
Merit: 250


View Profile
June 24, 2013, 03:27:23 PM
 #6

Cool
hotwired007
Hero Member
*****
Offline Offline

Activity: 585
Merit: 500


View Profile
June 24, 2013, 03:48:20 PM
 #7

Brilliant project! If only ASICMiner drops the price for their USB hardware ...

havent they just dropped them?

This account was hacked & possibly sold during the period of August 1st and October 24th 2017.
Anything done or said in this period wasnt me.
Many thanks to Cyrus for his help restoring access to my account.
forum2005
Full Member
***
Offline Offline

Activity: 127
Merit: 100


View Profile
June 24, 2013, 04:06:07 PM
 #8

interesting project... all in one.

Another pi miner, my mini rig


evilscoop
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
June 24, 2013, 04:12:26 PM
 #9

being an avid fan of mining with the pi, which I do already, ill keep an eye on this...

Was looking into putting an lcd shield on myself, but was after more graphical display of my cacti graphs...as I graph the cg/bfg miner api outputs
Pi's work well with the fpga's too Cheesy
erschiessen
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250



View Profile
June 24, 2013, 04:23:20 PM
 #10

This is so sweet.

I would like to build two. One for K1's and one for K16's.

Your Message Here
12KHW3i2Hamk1irY8b181N4vMXUnVYL1ah
hotwired007
Hero Member
*****
Offline Offline

Activity: 585
Merit: 500


View Profile
June 24, 2013, 04:31:41 PM
 #11

interesting project... all in one.

Another pi miner, my mini rig

[]http://anonymouse.org/cgi-bin/anon-www.cgi/http://img209.imageshack.us/img209/5761/usld.jpg[]

is this not a bit expensive now as the FPGA board does around 5-6Mhash for 70 and the USB Asic does 333 for around the same? (based on 0.99 BTC) (GBP prices)

This account was hacked & possibly sold during the period of August 1st and October 24th 2017.
Anything done or said in this period wasnt me.
Many thanks to Cyrus for his help restoring access to my account.
billotronic
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


Crackpot Idealist


View Profile
June 24, 2013, 05:12:12 PM
 #12

this is UBER sexy!

This post sums up why all this bullshit is a scam
Read It. Hate It. Change the facts that it represents.
https://bitcointalk.org/index.php?topic=1606638.msg16139644#msg16139644
Bitcoinorama
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500



View Profile
June 24, 2013, 06:19:13 PM
 #13

Very cool, love your anonymous Tor Pi project as well!

Make my day! Say thanks if you found me helpful Smiley BTC Address --->
1487ThaKjezGA6SiE8fvGcxbgJJu6XWtZp
MWNinja
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500



View Profile WWW
June 24, 2013, 06:24:54 PM
 #14

Cool project, I've added a few raspberry pi's to my collection of toys too.  That LCD is really trick, but the thought of having to solder is a bit off-putting.  It would be really cool if they were sold in a more "complete" state. Also I would love it if adafruit would accept bitcoin payment!
NR3000
Member
**
Offline Offline

Activity: 86
Merit: 10



View Profile
June 24, 2013, 09:51:33 PM
 #15

Where can I buy assembled Adafruit 16x2 LCD display? Thank you.

LaserHorse (OP)
Full Member
***
Offline Offline

Activity: 140
Merit: 100



View Profile
June 24, 2013, 11:22:01 PM
 #16

Thanks all - appreciate the feedback.

Assembled LCD kits are not currently available - but I will post here if they become available.
In any case - soldering is fun!  No, really - I quite enjoy it myself  Wink

PiMiner - control & monitor your miners with Raspberry Pi   •   BTC: 1AV5JekeEVET5u2jTsLDMRsTtagrBnNTBR
sdminer
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
June 26, 2013, 08:26:01 AM
 #17

how many usb block erupters can the rasberry pi handle?
it has two usb connections, so can I hook up 2 x 10 port hubs to it?
hotwired007
Hero Member
*****
Offline Offline

Activity: 585
Merit: 500


View Profile
June 26, 2013, 09:13:53 AM
 #18

how many usb block erupters can the rasberry pi handle?
it has two usb connections, so can I hook up 2 x 10 port hubs to it?

i would assume that the hard limit would be 127 *2 USB devices? depending on whether the the two USB ports are separate controllers...

This account was hacked & possibly sold during the period of August 1st and October 24th 2017.
Anything done or said in this period wasnt me.
Many thanks to Cyrus for his help restoring access to my account.
notlist3d
Legendary
*
Offline Offline

Activity: 1456
Merit: 1000



View Profile
June 26, 2013, 09:23:30 AM
 #19

Very cool with LCD.  Love this project.
tom_o
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


View Profile
June 26, 2013, 10:04:27 AM
 #20

Cool project. Wish I could afford to waste money on block erupters, here's my piminer running scrypt, only several orders of magnitude slower.
Pages: [1] 2 3 4 5 6 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!