Pages:
Author

Topic: Is there interest in a standalone low power miner? - page 2. (Read 590 times)

full member
Activity: 212
Merit: 241
bitaxe.org
Anyway, that's not the case with an S19 chip - it does work generation in the chip - so you don't have to send work very often at all.

Whoa! This is blowing mind! Is the BM1398 (and BM1362) version rolling on the chip?? I would love to learn more about this.

Or maybe they are ntime rolling? I guess that’s a lot easier.
newbie
Activity: 16
Merit: 41
Yes indeed the 'ticket mask' decides on nonces returned, and yes you still have to send work every few ms for a number of BM1397.

Alas I'm not sure what this overpowered computer is that you seem to think you need.
For a single BM1397 you can run about a dozen on tiny RPi power
That's about the block generation on the controller, and that's not hard to do even on tiny hardware (to be more specific regarding the esp32-c3; its a single core that also has to do the wireless comms, and the time needed for that depends on the link quality and so does the jitter in block generation timing).
legendary
Activity: 4466
Merit: 1798
Linux since 1997 RedHat 4
"irrelevant" is badly chosen. I mean it is unavoidable to always have to send work updates, whereas tickets posted by the miner can be avoided by choosing a high difficulty.
I'm no pool operator (obviously), but keeping connections up will use up some memory and every client connected increases the latency. As I don't know the specifics I won't go into that, like I said, maybe CK can answer that.
I'll practice with the 'quote' button more so I'll only post a single reply to a topic instead of a reply to every post I quoted.
Yes indeed the 'ticket mask' decides on nonces returned, and yes you still have to send work every few ms for a number of BM1397.

Alas I'm not sure what this overpowered computer is that you seem to think you need.
For a single BM1397 you can run about a dozen on tiny RPi power

Anyway, that's not the case with an S19 chip - it does work generation in the chip - so you don't have to send work very often at all.
newbie
Activity: 16
Merit: 41
"irrelevant" is badly chosen. I mean it is unavoidable to always have to send work updates, whereas tickets posted by the miner can be avoided by choosing a high difficulty.
I'm no pool operator (obviously), but keeping connections up will use up some memory and every client connected increases the latency. As I don't know the specifics I won't go into that, like I said, maybe CK can answer that.
I'll practice with the 'quote' button more so I'll only post a single reply to a topic instead of a reply to every post I quoted.
legendary
Activity: 2170
Merit: 6279
be constructive or S.T.F.U
Well, the pool needs to send new work every 30s/60s, whether you are mining with 1MH/s or 100PH/s..
The few bytes that get send back from the miner are irrelevant

Not sure why you think the data from the miner to the pool is irrelevant, I think it requires more computational resources than the former, and the block template/work sent by the pool is nearly identical to all miners (with some pre-determined minor changes), the submitted shares need to be checked individually and thus probably require a lot more resources.

So while the "traffic size" from the pool to the miner is larger, the "computation power" is higher for the return route, correct me if am wrong.

With that said, we are talking about a few hundred bytes exchanged every "MERKLE_REFRESH_INTERVAL" which is probably 30/60 seconds for most pools, any decent pool should be able to handle hundreds of thousands of miners regardless of their hashrate, I am not aware of any mining pool that requires a minimum hashrate, they all have minimum difficulty and that's all about it, you can mine with a Pentium 1 CPU if you wish, it's all just matter of getting any valid hashes or not.

On a side but related note, posting consecutive posts is against the form rules and might get your posts deleted if someone reports them or a mod sees them, please edit the first post to include the other 2 replies and delete those.

Good luck.
newbie
Activity: 16
Merit: 41
In my opinion, the real advantage would be to produce ready-to-sell PCBs and offer DIY kits if you want to sell cheaply, but that would limit the customer base even more.
My goal would be to bring the pcb to market and let the end user fiddle with the cooling. Cooling will not be hard as the asic is the sole component on the side of the pcb it is mounted on, so different size heatsinks will work. But a plug and play version would be possible too.
The distinction is that the ESP32 doesn't run Linux. Because of that it can be significantly lower performance, and cheaper. All the while still being a very decent miner for ~6 ASICs

IMO BM1397 is still in the sweet spot of price, performance and efficiency (for people who aren't Bitmain). For example the BM1397 has a higher hashrate per chip and is cheaper in small-ish quantities than the BM1398 (S19) and BM1362 (S19J Pro)
I guess the esp's are more than fast enough to handle several asics. I will do some profiling so see what the actual number is.

I think sadly the BM1397 is the last asic suitable for these kind of miners. If you do the math you will find that newer asics need 20A or even 40A to run, and those kind of currents are not easily managed on 2-layer pcb's (or even 4-layers, just look at the current shunts plastered all over antminer hash boards).

(*) I'm not sure if any (solo) pool will support low hash rate miners in the future. Pool operators have to pay for their hardware and connection, and a low hash rate miner costs them as much as a complete mining farm. Maybe CK can answer that.

I think 0.2th - 0.25th is and will be for a good period of time enough hashrate to reasonably connect to any mining pool, it's completely fine if I get a valid share every 5 mins instead of every 5 seconds, the pool manages its resources through share difficulty and the hashrate of the device is irrelevant to them, they maintain certain traffic between their server and your miner/proxy by raising/lowering the difficulty.

Now the real question is, what is the price tag? I know you said you don't know, for you to get answers you need to find the answer to that question first, i might be interested in buying a few if it was $50, maybe buy 1-2 if it was $100, ditch the idea altogether if it was $200, so ya, sadly, it all boils down to the price.
Well, the pool needs to send new work every 30s/60s, whether you are mining with 1MH/s or 100PH/s..
The few bytes that get send back from the miner are irrelevant (also I've limited the max. tickets in my software to 3 per minute, but if you compile from source you could remove that limit).
Just think what 1000 of these miners will do for damage, or 10000?
I'm thinking of also creating a simple proxy (also on an ESP) so the pool would only have to supply work to one connection instead of having to waste resources on multiple miners on the same IP address.

Regarding the price; the estimate is nothing more than an estimate, but much more precise than a guess Wink
But I have no idea about margins. Like I said, I don't want to do anything myself regarding manufacturing and sales.
legendary
Activity: 2170
Merit: 6279
be constructive or S.T.F.U
(*) I'm not sure if any (solo) pool will support low hash rate miners in the future. Pool operators have to pay for their hardware and connection, and a low hash rate miner costs them as much as a complete mining farm. Maybe CK can answer that.

I think 0.2th - 0.25th is and will be for a good period of time enough hashrate to reasonably connect to any mining pool, it's completely fine if I get a valid share every 5 mins instead of every 5 seconds, the pool manages its resources through share difficulty and the hashrate of the device is irrelevant to them, they maintain certain traffic between their server and your miner/proxy by raising/lowering the difficulty.

Now the real question is, what is the price tag? I know you said you don't know, for you to get answers you need to find the answer to that question first, i might be interested in buying a few if it was $50, maybe buy 1-2 if it was $100, ditch the idea altogether if it was $200, so ya, sadly, it all boils down to the price.
full member
Activity: 212
Merit: 241
bitaxe.org

But the ESP32-C3 is a computer... All asic miners have one to run the mining software (aka "control" board), they are ARM based, but i assume sooner or later they will switch to RISC-V like you did. China is particularly strongly interested in moving out from arm into risc-v.

So technically you just need to plug the Compac F to one of those SoC solutions via USB and port/compile cgminer to the appropriate architecture or replace it with your own mining software.

I'm curious about the availability of BM1397 at this point, shouldn't you aim for later chips now?

The distinction is that the ESP32 doesn't run Linux. Because of that it can be significantly lower performance, and cheaper. All the while still being a very decent miner for ~6 ASICs

Cgminer is really setup to run on a desktop OS (like Linux, macOS or Windows), and will not easily port to bare metal or an RTOS on the ESP32.

IMO BM1397 is still in the sweet spot of price, performance and efficiency (for people who aren't Bitmain). For example the BM1397 has a higher hashrate per chip and is cheaper in small-ish quantities than the BM1398 (S19) and BM1362 (S19J Pro)
legendary
Activity: 1988
Merit: 1561
CLEAN non GPL infringing code made in Rust lang
The big difference is that the Compac F needs a computer attached to it to run as it uses cgminer software that requires hefty hardware to run on. My miners are standalone and require no computer.
Some links to my github;
Picture of webinterface of my software https://github.com/rapsacw/Basic-BM1387-miner/blob/main/aSiNine%20ESP%20miner%20v0.01.png
(this runs on the miner)
Github page to hard&software (to be updated soon, I'm only one person doing ALL the work) https://github.com/rapsacw

But the ESP32-C3 is a computer... All asic miners have one to run the mining software (aka "control" board), they are ARM based, but i assume sooner or later they will switch to RISC-V like you did. China is particularly strongly interested in moving out from arm into risc-v.

So technically you just need to plug the Compac F to one of those SoC solutions via USB and port/compile cgminer to the appropriate architecture or replace it with your own mining software.

I'm curious about the availability of BM1397 at this point, shouldn't you aim for later chips now?
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
I think if you can have such a device for under 100 USD then there is a good chance that it will catch on.

Yes indeed, but even if the price of such an ASIC was well over 100 usd it would sell itself easily. Gekkoscience Compac F offers the same kind of performance (approximately) and can be bought for between 250 and 400 usd depending on the reseller and the time.
It doesn't have to be so cheap to be sold IMO.

In my opinion, the real advantage would be to produce ready-to-sell PCBs and offer DIY kits if you want to sell cheaply, but that would limit the customer base even more.
In any case, as OP said, it's not at that stage yet  Smiley

Quote from: rapsacw
So, should I invest the time (and money) in this for you? Or is this a niche product? I have no idea what the retail price will be in the end, but the pcb hardware and assembly should not be much more than $50, add to that a margin the the sales & production, an included cooling solution (say $5 for the heatsink and another $2 for a fan, $x for 2 small 3D printed clips to mount everything) and that should be it.

Quote
Its too early for resellers, first comes the manufacturing, and I've sniffed enough leaded solder and flux in my life to even attempt doing it myself Wink
hero member
Activity: 938
Merit: 642
Magic
I think the potential user base is pretty big. If the power consumption is so low that you can basically not recognize it on your monthly bill, then it would basically be a free nerd lottery where you can just simply run it forever and hope to hit a block.

Do you have any estimates how much such a device would cost to produce and what it would finally cost to sell so it makes sense for you?

I think if you can have such a device for under 100 USD then there is a good chance that it will catch on.
newbie
Activity: 16
Merit: 41
Such a nice project I'd like to have them but still it depends on the price of this unit and it depends on the specs like how much power this miner can consume (it looks the same as Compac F that can be consumed around 15w).
Yes, 15W max as that is the maximum power a usb charger can handle @5V. The miner in the screenshot consumes ~13W from the wall, the efficiency of the charger is 87%, so the miner itself uses ~11.3W at ~250GHs.
I like the dashboard the design is very simple and since you said you can connect through wifi and it doesn't need Raspi because the board is Arduino then that's a big advantage compared to Compact F.
So for me, I like it but I don't know if I can afford it that is why like I said it depends on the price of your miner.
You've only seen the polished part of it  Wink
The input side is 'rough', to get it working (from 'new') you need to
- Enter your Wifi credentials (the miner turns into an access point if it isn't configured or can't find the configured Wifi, connect to that ap and open page at 192.168.4.1) by entering 'write /wifi.cfg: '
- Enter the miner configuration (best after a reboot so you can connect to it over your newly configured wifi) by entering 'write /sys.cfg: <#asics in series> <#asic parallel> ', all this info is hardware (&revision) dependent.
- Enter the pool configuration by entering 'write /pool.cfg: '
- Enter the asic settings by entering 'write /asic.cfg: '
Then finally after a reboot the miner will run as configured. Other possible commands are;
- r for reboot
- format to format the internal storage (factory reset)
- type to show contents of file
- dir
- c to calibrate the core voltage (this is needed as the actual core voltage will drop when you increase the load by increasing the asic's frequency due to droop in the charger, charger cable and pcb traces)
- f+ & f- to increase or decrease the asic frequency in 5MHz steps
- v+ & v- to increase or decrease the core voltage in 5mV steps
- s to save the current asic settings to /asic.cfg so it will reuse these settings after a reboot

It seems the idea comes from Duino mining from Gunther where you can mine Duco?
Never heard of anything you mentioned here..

Welcome back on the forum OP!

..
I'd even like to be a reseller in Europe for you if you're interested, if after I've been able to test them everything's OK, I'd be sincerely interested.

I'm currently in the process of learning how to make Bitaxe myself, a DIY sha256 ASIC based on BM1397 created by Skot (who replied to you above) that reminds me a lot of what you're describing. Feel free to check out this Github if you're interested: https://github.com/skot/bitaxe

Don't hesitate to contact me privately if you'd like to chat, and I wish you all the best!
Its too early for resellers, first comes the manufacturing, and I've sniffed enough leaded solder and flux in my life to even attempt doing it myself Wink
Bitaxe is cool, I wish Skott all the best. He started his project roughly at the same time as I did, but I only discovered it 6 month ago (I was too busy developing things to search github, although I did search github before I started working on it). His hardware should be easy to implement in my miner software, all that is needed is modifying the routines to use his dac.
Yes, do it!! The world needs open source Bitcoin mining hardware and firmware!  Grin
Well hello there Wink
hero member
Activity: 504
Merit: 1065
Crypto Swap Exchange
Welcome back on the forum OP!

Very interesting project.

Yeah, personally I'd be interested in supporting your project and would happily buy a few units from you, I love letting little ASICs like those (usually from Gekkoscience) run solo.

I'd even like to be a reseller in Europe for you if you're interested, if after I've been able to test them everything's OK, I'd be sincerely interested.

I'm currently in the process of learning how to make Bitaxe myself, a DIY sha256 ASIC based on BM1397 created by Skot (who replied to you above) that reminds me a lot of what you're describing. Feel free to check out this Github if you're interested: https://github.com/skot/bitaxe

Don't hesitate to contact me privately if you'd like to chat, and I wish you all the best!
full member
Activity: 212
Merit: 241
bitaxe.org
Yes, do it!! The world needs open source Bitcoin mining hardware and firmware!  Grin
legendary
Activity: 3234
Merit: 2943
Block halving is coming.
Such a nice project I'd like to have them but still it depends on the price of this unit and it depends on the specs like how much power this miner can consume (it looks the same as Compac F that can be consumed around 15w).


I like the dashboard the design is very simple and since you said you can connect through wifi and it doesn't need Raspi because the board is Arduino then that's a big advantage compared to Compact F.
So for me, I like it but I don't know if I can afford it that is why like I said it depends on the price of your miner.

It seems the idea comes from Duino mining from Gunther where you can mine Duco?
newbie
Activity: 16
Merit: 41
The big difference is that the Compac F needs a computer attached to it to run as it uses cgminer software that requires hefty hardware to run on. My miners are standalone and require no computer.
Some links to my github;
Picture of webinterface of my software https://github.com/rapsacw/Basic-BM1387-miner/blob/main/aSiNine%20ESP%20miner%20v0.01.png
(this runs on the miner)
Github page to hard&software (to be updated soon, I'm only one person doing ALL the work) https://github.com/rapsacw
legendary
Activity: 3458
Merit: 6231
Crypto Swap Exchange
What is the difference between yours and the GekkoScience Compac F?
https://bitcointalksearch.org/topic/gekkoscience-has-a-new-stickminer-that-does-300gh-5355470

Things like this are and will always be a hobby project for people to play with but there is nothing wrong with making it and trying to sell it.

Just keep in mind, you will have to support it, and deal with issues with them and so on.

But, it still looks like a cool project.
Post image links, since you are a new users they will not show up in the post but people can quote / click on them.

-Dave
newbie
Activity: 16
Merit: 41
I'm developing a series of standalone miners built around BM1387 & BM1397 asics and an ESP32-C3. I've been working on these for over 1 year now and I think I've got enough knowledge now to make a version that can be mass produced, the question I have now: is anyone interested in such a miner?
The configuration I'm thinking of has the following properties:
- Standalone, only a usb charger with 5V/3A needed and a wireless connection.
- Single BM1397 asic.
- Hash rate of 200GHs upto 250GHs (and more probably).
- Power consumption out of the wall 8-15W (depending on efficiency of the charger and hash rate).
- My own miner software (open source, in beta stage, fully working but lousy UI) based on Arduino libraries that allows manual on the fly voltage and frequency settings.
- totally not worth running on a non-solo pool, but a cheap lottery ticket where you enter the drawing for free every 10 minutes for as long as you live(*)..

I've designed my hardware around parts that are for sale on aliexpress, but for mass production I will have to redesign parts of it using components for sale at mouser.com , and I will need to find a company willing to produce them (a problem as the asics are not sold by any big electronics reseller), and also sell them. Currently I'm thinking of seeedstudio.com, but I haven't contacted them yet to see if they are both willing and capable (sourcing the bm1397's and soldering them on the backside of the pcb).
There is also a open source version with bm1387 asics (that I could also redesign to use mouser parts) that you can built yourself (advanced electronic soldering capabilities/tools required).
I have 6 prototypes running, live stats https://solo.ckpool.org/users/1KgwWwBh7qGtcWJ9ZRNTUbVCR1L2qYkzcy, 3 bm1387 versions (2 with 2 asics, one with 4 asics), and three single bm1397 versions (workernames containing 'test').
I started out designing the miners for personal use and therefor used parts from aliexpress but I'm so satisfied with them (they will run as long as the internet connection is up, and will reconnect in 99.9% of the cases when it is not, the 0.01% is caused by a quirk in the esp software) that *I think* others might be interested in them also.
But it will require another hardware redesign which is not needed for my personal use miners.
So, should I invest the time (and money) in this for you? Or is this a niche product? I have no idea what the retail price will be in the end, but the pcb hardware and assembly should not be much more than $50, add to that a margin the the sales & production, an included cooling solution (say $5 for the heatsink and another $2 for a fan, $x for 2 small 3D printed clips to mount everything) and that should be it.
Comment in this topic if interested, or if you think this is stupid, you won't hurt my feelings as I have already got what I set out to achieve.

(*) I'm not sure if any (solo) pool will support low hash rate miners in the future. Pool operators have to pay for their hardware and connection, and a low hash rate miner costs them as much as a complete mining farm. Maybe CK can answer that.

ps: new forum user with (unknown to me) restrictions, my old user name got lost in 2016)

edit:
I've redesigned the miner to use standard parts, but sadly i'll have to make another one as one of the buck converters from mouser.com is apparently a fake Sad
Anyway, I did some stress testing to see what it can handle and got this https://github.com/rapsacw/aSiNine-ESP-miner/blob/main/ui.png
Pages:
Jump to: