Pages:
Author

Topic: My portable Raspberry Pi setup for mining - page 2. (Read 14161 times)

legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 26, 2016, 12:33:45 PM
#56
How long does it run on the battery.

Second I think you should mine Burstcoin instead of bitcoin. The miner is built into the app now.

https://play.google.com/store/apps/details?id=burstcoin.com.burst

Yeah. I own some BURST and have been mining it with my laptop's HDD. However, I wouldn't risk myself doing it with the Raspberry Pi's microsd card as it will shorten its lifespan (and also they are not designed for constant read/write like HDD) I'm looking into setting up an external HDD connected to the Pi for this task.

The Pi runs almost all day with the 10,000mah battery so I can leave it for a couple of hours and mine some coins. But, I think that this depends on the processing power being used at the Pi, which will cause even greater power consumption. Imagine running the Pi with a 20,000mah battery. It will last even longer!  Cheesy
hero member
Activity: 726
Merit: 504
September 24, 2016, 09:47:47 PM
#55
How long does it run on the battery.

Second I think you should mine Burstcoin instead of bitcoin. The miner is built into the app now.

https://play.google.com/store/apps/details?id=burstcoin.com.burst
hero member
Activity: 810
Merit: 1000
September 22, 2016, 07:20:01 PM
#54

That would be quite an interesting concept to do to print a paper wallet once a certain amount of coins has been received. And would reduce the amount of money lost from hacking once the node and mining hardware is operational.
However, again, that printer would require more electricity which may then make it less portable.

I also have beenunable to get the GPIO pins to work as well (apart from redirecting the power of oneof te pins to the USB sockets).

True, but maybe if I use one of those small printers used for receipts then it may use very little amount of power. I was thinking about using one of these: http://www.ebay.com/itm/58mm-Mini-Portable-Bluetooth-4-0-Wireless-Receipt-Thermal-Printer-for-Android-EA-/262163057371?hash=item3d0a22cadb:g:nw4AAOSwHQ9WWCKO

It is a very small printer that uses its own battery for power. Basically, it is mainly used for printing receipts but I could make it to print small paper wallets in the form of a receipt containing both public and private keys. As for GPIOs, I think that it would be of no luck to try getting a GPU to work with it, which is why I think that it is best to stick onto external ASIC miners (or coin staking) at the moment on the Pi.



I have been looking at this concept for a few months to utilise some old mining gear, some minor solar panels (~200W in total) and establish some nodes (especially PoS wallets I have had for a few years).

Mind if I get some more data of you such as Pi OS & miner you are using?

The OS I'm using is the default Raspbian OS. It has been operating under default settings, using a 32GB microSD card as its storage. The Pi is powered via an external 10,000mah power bank and the connection to the Android tablet is done via USB tethering using a VNC app to connect to the Pi with an assigned static IP address (make sure to setup tightvncserver on your Pi for this) With the VNC, I can use the tablet as both display and input (mouse, keyboard) for the Pi.

I've only been using the Pi with ASIC miners that have very low hashrate, which only serves the purpose for fun and learning. CGMiner is the mining software I've been using for my block erupter miner, and now most recently an Antminer U3 I've bought used from ebay.

Just in case, here are the instructions to setup CGMiner on the Pi:

Code:
sudo apt-get update
sudo apt-get upgrade

Install 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

Clone cgminer from here:
git clone https://github.com/bitmaintech/cgminer

type the following (input your own pool, username and password):
sudo ./cgminer -o POOL -u USERNAME -p PASSWORD

cheers
newbie
Activity: 1
Merit: 0
September 20, 2016, 04:42:33 AM
#53
some mr robot shit going on here
legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 19, 2016, 06:37:29 PM
#52

I was thinking that as well. Gymns could power their tread mills from energy produced from things like rowing machines and exercise bikes.
Also, I'm not sure hand crank raspberry PI would be a good idea as so much effort would be needed just to power it. You may also be sat there for around 8 hours a day just spinning the thing to charge it (Trust me, it does get boring doing it for more than 5 minutes)!

Are the pucks definitely needed for the newer models of the power generator? Older models did need on, but I thought the new one were just salt and water and nothing else?

Yeah the new models need the puck too (as stated on their website) so it is one time use and then you will have to replace it with another puck. Depending on the price of each puck, it will be determined whenever you will save more energy by using this method or not. Still, once I finish my college courses this semester, I will have time to experiment even more with my Raspberry Pi. First, I will try the solar charger, then the water and salt generator, and finally figure out a way how to make a GPU to work with the Pi via GPIO or USB.

I have so many ideas and perhaps if I put them all together, I can come up with something big. Just wait and see.  Roll Eyes
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
September 19, 2016, 04:30:25 PM
#51

Better yet tie the output of all the exercise bikes, stair climbers, treadmills, etc. to a generator.  I have always thought the energy output of all that cardio workout equipment around the world should be harnessed to do something...

Great idea mate. By doing that you can rest assured to have a better healthy life, while at the same time producing energy for all your devices. In addition to this, I was thinking of producing power with your sweat as well. There are so many ideas out there in order to create a cost effective energy solution to power your devices like, in my case, the Pi.  Grin

I was thinking that as well. Gymns could power their tread mills from energy produced from things like rowing machines and exercise bikes.
Also, I'm not sure hand crank raspberry PI would be a good idea as so much effort would be needed just to power it. You may also be sat there for around 8 hours a day just spinning the thing to charge it (Trust me, it does get boring doing it for more than 5 minutes)!

Are the pucks definitely needed for the newer models of the power generator? Older models did need on, but I thought the new one were just salt and water and nothing else?
legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 19, 2016, 01:36:38 PM
#50

Better yet tie the output of all the exercise bikes, stair climbers, treadmills, etc. to a generator.  I have always thought the energy output of all that cardio workout equipment around the world should be harnessed to do something...

Great idea mate. By doing that you can rest assured to have a better healthy life, while at the same time producing energy for all your devices. In addition to this, I was thinking of producing power with your sweat as well. There are so many ideas out there in order to create a cost effective energy solution to power your devices like, in my case, the Pi.  Grin
legendary
Activity: 2646
Merit: 1138
All paid signature campaigns should be banned.
September 18, 2016, 05:44:50 PM
#49

Be interesting if you could use that water as a cooler for the miner (the same water used to power that miner)!
I thought the puck was for the older models and not the newer ones?

(Also, the contents of the "puck" would not be too expensive to buy individually - I don't think)

(silicon, water and boron are probably really cheap as there is lots of them. Not sure about sodium though, that might be slightly more expensive).

Yeah that would be great for maximum coolness of the miner. Maybe the pucks won't be that expensive after all, but we will know once its price is announced. One thing that has gone though my mind, is the ability to make a hand crank powered Raspberry Pi.  Cheesy
Better yet tie the output of all the exercise bikes, stair climbers, treadmills, etc. to a generator.  I have always thought the energy output of all that cardio workout equipment around the world should be harnessed to do something...
legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 18, 2016, 04:49:08 PM
#48

Be interesting if you could use that water as a cooler for the miner (the same water used to power that miner)!
I thought the puck was for the older models and not the newer ones?

(Also, the contents of the "puck" would not be too expensive to buy individually - I don't think)

(silicon, water and boron are probably really cheap as there is lots of them. Not sure about sodium though, that might be slightly more expensive).

Yeah that would be great for maximum coolness of the miner. Maybe the pucks won't be that expensive after all, but we will know once its price is announced. One thing that has gone though my mind, is the ability to make a hand crank powered Raspberry Pi.  Cheesy
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
September 18, 2016, 02:04:04 PM
#47

Interesting.  Here is the real reaction from their web site  http://www.myfcpower.com/pages/faq

The big question is:

How much does each puck cost ($) and how much energy is release (KWh).

Given those two numbers you can find out how much the electricity from these pucks is costing you in $/KWh and compare it to your normal electricity costs (residential rates usually between $0.05/KWh and $0.12/KWh in the US).

I am betting you will find this to be a very expensive source of energy because you buy the pucks, use them once, then throw them away.  There is no way this process can compete with burning dirt (coal) or better yet hydroelectric.

Actually I was thinking about the same thing as you. This solution wouldn't be worth it at all, since you would need to buy pucks each time to use the water and salt generator thus making it practically about the same expense as using electricity. As of now, there is no price announced yet but once it becomes available for purchase, we will be able to see the price in order to calculate the costs. Better yet, I think that it would be great to make a hydroelectric solution for the pi. I'm going to research more about this.  Grin

Be interesting if you could use that water as a cooler for the miner (the same water used to power that miner)!
I thought the puck was for the older models and not the newer ones?

(Also, the contents of the "puck" would not be too expensive to buy individually - I don't think)

(silicon, water and boron are probably really cheap as there is lots of them. Not sure about sodium though, that might be slightly more expensive).
legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 17, 2016, 06:41:51 PM
#46

Interesting.  Here is the real reaction from their web site  http://www.myfcpower.com/pages/faq

The big question is:

How much does each puck cost ($) and how much energy is release (KWh).

Given those two numbers you can find out how much the electricity from these pucks is costing you in $/KWh and compare it to your normal electricity costs (residential rates usually between $0.05/KWh and $0.12/KWh in the US).

I am betting you will find this to be a very expensive source of energy because you buy the pucks, use them once, then throw them away.  There is no way this process can compete with burning dirt (coal) or better yet hydroelectric.

Actually I was thinking about the same thing as you. This solution wouldn't be worth it at all, since you would need to buy pucks each time to use the water and salt generator thus making it practically about the same expense as using electricity. As of now, there is no price announced yet but once it becomes available for purchase, we will be able to see the price in order to calculate the costs. Better yet, I think that it would be great to make a hydroelectric solution for the pi. I'm going to research more about this.  Grin
legendary
Activity: 2646
Merit: 1138
All paid signature campaigns should be banned.
September 17, 2016, 06:04:45 PM
#45
Hmm, what does that produce?
H2O + NaCl → H2 + Na3OCl?
It must be something like that to produce a solution. They are correct that hydrogen gs can be produced and it's probably ignited to produce the charge so that is quite a good idea (Once hydrogen is ignited, it reacts with oxygen in the air and produces water)! Meaning that was is left in the container is an base solution (which is probably harmless).

Let me know if it works if you get one as it looks an interesting and good buy!

On the ubuntu idea, you can easily get into tablets and change the SD card, but it's probably not worth it!

Interesting.  Here is the real reaction from their web site  http://www.myfcpower.com/pages/faq

Quote
The PowerTrekk uses a fuel cell to convert hydrogen gas and oxygen into usable energy. The hydrogen needed for this process is generated within the Puck. Each Puck contains two water reactive materials —sodium silicide (NaSi) and sodium borohydride (NaBH4). The mixture that is stored within the Puck is a solid powder; when water is delivered into the Puck, it initiates a chemical reaction that produces the hydrogen needed by the fuel cell.

While both of these materials will individually generate hydrogen, each generates the hydrogen differently. Sodium silicide extracts the hydrogen externally from the water (H2O), while the sodium borohydride breaks the hydrogen bonds that are internal to the compound (BH4). When the hydrogen generation process begins within a Puck, the sodium silicide is the first material to produce hydrogen. Sodium silicide generates hydrogen according to the following chemical reaction:

2 NaSi (solid) + 5 H2O (liquid) → 5 H2 (gas) + Na2Si2O5 (aqueous) + Heat

The heat that is generated by the sodium silicide reaction is then used to initiate the sodium borohydride reaction process according to the following chemical reaction:

Heat + NaBH4 (solid) + 2 H2O (liquid) → 4 H2 (gas) + NaBO2 (aqueous)

The two materials generate hydrogen simultaneously until the mixture is fully depleted. If the delivery of water is halted during this process, the hydrogen generation process will stop.

The big question is:

How much does each puck cost ($) and how much energy is release (KWh).

Given those two numbers you can find out how much the electricity from these pucks is costing you in $/KWh and compare it to your normal electricity costs (residential rates usually between $0.05/KWh and $0.12/KWh in the US).

I am betting you will find this to be a very expensive source of energy because you buy the pucks, use them once, then throw them away.  There is no way this process can compete with burning dirt (coal) or better yet hydroelectric.
legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 17, 2016, 05:57:44 PM
#44

HDD use a lot of power so sad is probably best!
Kingston are a great company to use and I personally prefer them to SanDisk. My phone has been using a 32gb micro SD card from them and it's lasted for over 2 years with intense daily use.
Also, if the raspberry pi says it only supports up to 32GB it means that 32 GB or less is optimal. But adding more than 32GB may mean it takes slightly longer, but shouldn't cause too many bad effects.

Yeah. I currently have a Kingston 32GB microsd card on the Pi being used for the loading of the OS. This microsd has been used before for my smartphones and it has 3 years since purchase. Up to this date, it works perfectly fine and continues to serve its task on my Raspberry Pi 3. Now, I'm not sure if the Pi could really support the 128GB microsd card but if it does, they it will be very suitable for my little project. I have the cheap Samsung 128GB on my watch list, to purchase it later and try it with my Pi. If it doesn't work, then I'll just use a USB adapter for the microsd card connected to the Pi externally.

For the moment, the Pi is very efficient for coin staking where it requires very minimal power for you to earn coins. I am testing this now with OKCash.  Smiley
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
September 17, 2016, 05:40:32 PM
#43

I am at work but sure I will take some pictures later today, I would suggest against the external hdd incase you decide to switch over to solar and with the extremely cheap prices of microsd currently.

128gb microsd by samsung for $38 https://goo.gl/mz6Mdq

Yeah. I wouldn't risk myself putting the external hdd without case when using it solar. That Samsung microsd is certainly a deal, although I think that the Raspberry Pi 3 supports up to 32gb microsd card? (or maybe I'm wrong) Still, this could be used as an external drive by putting the microsd card into an USB adapter for use with my Pi. Looking forward for those pictures of your setup.



Kingston are the best drives to get (In my optinion), you can usually get a good class 10 128GB micro sd for a cometative rate.
Hard drives are cheaper but do require lots more power and also require mounting on the raspberry pi with specific commands.
You could always get something like a USB stick an backup the information on the SD to it and put that onto a hard drive so you don't have to do the re-initialization of the blockchain once the (micro sd) drive fails each time.

Thanks for the tip. Kingston is one of the best drives out there, as well as SanDisk for high performance, and reliability. Right now, I would look for cheap solutions in order to have all my blockchain files into that external drive and at the same time protect the lifespan of the Pi's microsd card being used for the Raspbian OS.

I think that at least a 64GB to 128GB HDD or SSD would be ideal for this operation.  Roll Eyes

HDD use a lot of power so sad is probably best!
Kingston are a great company to use and I personally prefer them to SanDisk. My phone has been using a 32gb micro SD card from them and it's lasted for over 2 years with intense daily use.
Also, if the raspberry pi says it only supports up to 32GB it means that 32 GB or less is optimal. But adding more than 32GB may mean it takes slightly longer, but shouldn't cause too many bad effects.
legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 17, 2016, 03:41:24 PM
#42

I am at work but sure I will take some pictures later today, I would suggest against the external hdd incase you decide to switch over to solar and with the extremely cheap prices of microsd currently.

128gb microsd by samsung for $38 https://goo.gl/mz6Mdq

Yeah. I wouldn't risk myself putting the external hdd without case when using it solar. That Samsung microsd is certainly a deal, although I think that the Raspberry Pi 3 supports up to 32gb microsd card? (or maybe I'm wrong) Still, this could be used as an external drive by putting the microsd card into an USB adapter for use with my Pi. Looking forward for those pictures of your setup.



Kingston are the best drives to get (In my optinion), you can usually get a good class 10 128GB micro sd for a cometative rate.
Hard drives are cheaper but do require lots more power and also require mounting on the raspberry pi with specific commands.
You could always get something like a USB stick an backup the information on the SD to it and put that onto a hard drive so you don't have to do the re-initialization of the blockchain once the (micro sd) drive fails each time.

Thanks for the tip. Kingston is one of the best drives out there, as well as SanDisk for high performance, and reliability. Right now, I would look for cheap solutions in order to have all my blockchain files into that external drive and at the same time protect the lifespan of the Pi's microsd card being used for the Raspbian OS.

I think that at least a 64GB to 128GB HDD or SSD would be ideal for this operation.  Roll Eyes
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
September 16, 2016, 03:41:13 PM
#41
Mining Bitcoin with that, might as well mine with your watch. But I understand it's for fun. I saw something with a solar panel for one of those Pos coins.

Found it, here it goes. https://twitter.com/AvdiuSazan/status/756816182632734720
I have a similar setup, to avoid weather issues and possible 18650 cells exploding and burning they are in an ammo box and locked down. My only issue is getting the software to run, I may switch to an nxt node though.

Sounds like a great little setup you got there. Care to share a few pics about it? A NXT node would be great too as it is a really good coin with very cool features.  I'm planning on setting up a swap partition for my Pi in order to increase virtual RAM capacity.  Also,  it would be best to use an external HDD with the Pi for all the blockchain data files.  Cheesy
I am at work but sure I will take some pictures later today, I would suggest against the external hdd incase you decide to switch over to solar and with the extremely cheap prices of microsd currently.

128gb microsd by samsung for $38 https://goo.gl/mz6Mdq

Kingston are the best drives to get (In my optinion), you can usually get a good class 10 128GB micro sd for a cometative rate.
Hard drives are cheaper but do require lots more power and also require mounting on the raspberry pi with specific commands.
You could always get something like a USB stick an backup the information on the SD to it and put that onto a hard drive so you don't have to do the re-initialization of the blockchain once the (micro sd) drive fails each time.
legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 15, 2016, 09:32:37 AM
#40
Mining Bitcoin with that, might as well mine with your watch. But I understand it's for fun. I saw something with a solar panel for one of those Pos coins.

Found it, here it goes. https://twitter.com/AvdiuSazan/status/756816182632734720
I have a similar setup, to avoid weather issues and possible 18650 cells exploding and burning they are in an ammo box and locked down. My only issue is getting the software to run, I may switch to an nxt node though.

Sounds like a great little setup you got there. Care to share a few pics about it? A NXT node would be great too as it is a really good coin with very cool features.  I'm planning on setting up a swap partition for my Pi in order to increase virtual RAM capacity.  Also,  it would be best to use an external HDD with the Pi for all the blockchain data files.  Cheesy
legendary
Activity: 3220
Merit: 1363
www.Crypto.Games: Multiple coins, multiple games
September 10, 2016, 02:21:16 PM
#39

That would be quite an interesting concept to do to print a paper wallet once a certain amount of coins has been received. And would reduce the amount of money lost from hacking once the node and mining hardware is operational.
However, again, that printer would require more electricity which may then make it less portable.

I also have beenunable to get the GPIO pins to work as well (apart from redirecting the power of oneof te pins to the USB sockets).

True, but maybe if I use one of those small printers used for receipts then it may use very little amount of power. I was thinking about using one of these: http://www.ebay.com/itm/58mm-Mini-Portable-Bluetooth-4-0-Wireless-Receipt-Thermal-Printer-for-Android-EA-/262163057371?hash=item3d0a22cadb:g:nw4AAOSwHQ9WWCKO

It is a very small printer that uses its own battery for power. Basically, it is mainly used for printing receipts but I could make it to print small paper wallets in the form of a receipt containing both public and private keys. As for GPIOs, I think that it would be of no luck to try getting a GPU to work with it, which is why I think that it is best to stick onto external ASIC miners (or coin staking) at the moment on the Pi.



I have been looking at this concept for a few months to utilise some old mining gear, some minor solar panels (~200W in total) and establish some nodes (especially PoS wallets I have had for a few years).

Mind if I get some more data of you such as Pi OS & miner you are using?

The OS I'm using is the default Raspbian OS. It has been operating under default settings, using a 32GB microSD card as its storage. The Pi is powered via an external 10,000mah power bank and the connection to the Android tablet is done via USB tethering using a VNC app to connect to the Pi with an assigned static IP address (make sure to setup tightvncserver on your Pi for this) With the VNC, I can use the tablet as both display and input (mouse, keyboard) for the Pi.

I've only been using the Pi with ASIC miners that have very low hashrate, which only serves the purpose for fun and learning. CGMiner is the mining software I've been using for my block erupter miner, and now most recently an Antminer U3 I've bought used from ebay.

Just in case, here are the instructions to setup CGMiner on the Pi:

Code:
sudo apt-get update
sudo apt-get upgrade

Install 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

Clone cgminer from here:
git clone https://github.com/bitmaintech/cgminer

type the following (input your own pool, username and password):
sudo ./cgminer -o POOL -u USERNAME -p PASSWORD
hero member
Activity: 810
Merit: 1000
September 08, 2016, 07:03:42 PM
#38
I have managed to make portable Raspberry Pi 3 mining setup that runs on an external battery power bank of 10,000mAh and uses an Android tablet as its screen, mouse, and keyboard.



This setup will be mainly for on the go mining, but I can also use it for staking coins if I wish. Now, all I need is a mobile hotspot and I will be complete. Also, I was thinking of changing the external power bank to a solar one (which I could buy at ebay)

What do you think about it?  Smiley

I have been looking at this concept for a few months to utilise some old mining gear, some minor solar panels (~200W in total) and establish some nodes (especially PoS wallets I have had for a few years).

Mind if I get some more data of you such as Pi OS & miner you are using?
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
September 08, 2016, 06:55:29 PM
#37

The GPIO pins are probably the best part of the PI for this.
I think there are live pins, neutral pins and pins to transfer data so they may be good for a connection to a GPU.
I'm not sure about this but if you research it I'm sure you can find something (BTW, the power needed to for the converters comes from one of those GPIO pins anyway).

Thanks for the info. But I think this requires some knowledge in electronics, right? Because I'm still a noob when it comes to working with electronics stuff such as soldering and working with the GPIO pins. However, if it is possible to have a workaround like this then it will be a blast! I will figure this out and keep you updated.

I'm still waiting for the price of the water and salt generator (battery) to be announced as I can't wait to try it with my little experiment. Now, I want to add sort of like a miniature printer onto the Pi to generate paper wallets instantly from within it. This last thing is optional, and mostly for fun.  Cheesy

That would be quite an interesting concept to do to print a paper wallet once a certain amount of coins has been received. And would reduce the amount of money lost from hacking once the node and mining hardware is operational.
However, again, that printer would require more electricity which may then make it less portable.

I also have beenunable to get the GPIO pins to work as well (apart from redirecting the power of oneof te pins to the USB sockets).
Pages:
Jump to: