Bitcoin Forum
June 26, 2024, 05:25:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 [3] 4 »
41  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: November 13, 2022, 08:40:53 PM
So has somebody here actually done it and built this miner and can tell what is the efficiency in comparison to simply using a complete S9? I would be interested in pulling apart an S9 to do the project, but so far I’m not shure if it is really worth it.

¿Can help you with this? Code Miner for ESP32 (arduino)

https://github.com/joric/arduino-bitcoin-miner

I have a few knowledge with this and other Arduinos Codes for ESP32, only a few but I was figthing with this same weeks. (excume for my English)




i have looked at running bare-metal Linux 5.0 kernel and cgminer 4.12 on ESP32-C3-DevkitC-02 but can't seem to find a better clean way to do it. Everything seems so complex with tons of bugs to accomplish. The best way is always the simplest way.

Just to run bare-metal Linux 5.0 kernel on ESP32-C3 you need to add external memory using the SPI at least  8 MB (preferably 16 MB )  PSRAM plus 2 or 4 MB Flash and then connect a MicroSD for storage (32 or 64 GB ). Should we rethink using ESP32-C3-DevKitC-02 ? and try something else ? Not sure what it might be.

How about using  -- The Raspberry Pi Zero 2 W  for US $15-- it has everything we need with 40-pin breakout with all the pins we need and might act as drop in replacement for ESP32-C3-DevkitC-02. it can run 32bit & 64Bit ubuntu 20.04, 21.04 and so on. All we need is to add cgminer 4.12 (Kanoi version ) . Any ideas or experience about this ? i think Nonce did something similar .


Porting Cgminer 4.12 drivers for Gekko Compac-F to ESP32 is something we really need !!! .
42  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: November 13, 2022, 03:27:49 AM
So has somebody here actually done it and built this miner and can tell what is the efficiency in comparison to simply using a complete S9? I would be interested in pulling apart an S9 to do the project, but so far I’m not shure if it is really worth it.

i think Skot has 2 working development versions with
1. with 2 x BM1387 (bitaxe) and
2. with 1 x BM1397(bitaxeMax)

and i am just finishing the PCB assembly of  bitaxeMax (1 x BM1397) version for dev testing. Also started working on a schematic with 4 chips in series but have not done much on that it will be interesting to see and discover. 
43  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: November 12, 2022, 11:02:27 AM
Skot, i wanted to send you bitaxeMax4 schematic that i was working on so that you can check it out, its still WIP schematic. If you can create DEV branch on the bitmax4 github repo and add me as a contributor so that i can upload the dev bitaxeMax4 schematic that would be great. i have a forked repo of bitaxeMax4 that i am using for now to try out various schematic designs  

Skot, Any progress with cgminer software (Kanoi version) running on FreeRTOS on the ESP32-C3-Devkit ?  any instructions so as to test the complete setup.  

Hey, sorry for the delay! gotta make sure I get the work stuff done.... so I can buy more parts haha.

I _think_ the thing to do is fork the repo on GitHub, do your experiments there. Then you can send me a pull request and I can merge it back into my bitaxeMax repo (if you want). I could take a look too at what you have if you send me your git repo url.

I have played around with the cJSON library a bit for parsing Stratum messages on the ESP32. nothing solid to report yet. Any firmware people out there want to help?!

Hi, I speak spanish but I will try to write In English. If you need a code for to create a Miner BTC with ESP32 there are a code for Arduino.
The Code generate a Miner and conect with BFGMiner. ¿Do you need this?

i have come across some info from a paper and some project work by Kinshuk Dua on ESP32 which can be used as a starting point. It is basically a simple BTC stratum miner running on ESP32-C3_DevKitC-02. You would need to port Kanoi's version of Cgminer 4.12 to run on ESP32 or extract and port the Drivers used by gekko Compac-F for BM1387 and BM1397. The issue is that the gekko driver does utlize the standard Linux distro libraries and i am not sure if ESP32 with FreeRTOS will have what is needed to do that

https://anonymous.4open.science/r/cryptominer
https://arxiv.org/pdf/2205.01646v1.pdf
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=4047844

If anyone can help with this,  it would be great. ESP32-C3 does not have much memory  just 4 MB SPI flash

44  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 28, 2022, 02:01:28 PM
Skot, i wanted to send you bitaxeMax4 schematic that i was working on so that you can check it out, its still WIP schematic. If you can create DEV branch on the bitmax4 github repo and add me as a contributor so that i can upload the dev bitaxeMax4 schematic that would be great. i have a forked repo of bitaxeMax4 that i am using for now to try out various schematic designs  

Skot, Any progress with cgminer software (Kanoi version) running on FreeRTOS on the ESP32-C3-Devkit ?  any instructions so as to test the complete setup.  
45  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 25, 2022, 01:32:02 PM
i finally got the initial BM1397 bitaxeMax boards that i ordered and started assembly. Hope to test it this coming week. Also working from the BitaxeMax4 schematic that skot has updated to see if i can add power delivery system with an EMI filter or  Maxim DS4432 on the board

Thats awesome! There is one goof (that I've found so far) on the R1 PCBs. Should be an easy bodge wire fix; I put details in the GitHub issue; https://github.com/skot/bitaxe/issues/9

lemme know if you have questions..

i checked out the R1 PCB which is what i have. Did you update that wire from TP10 to TP1  in the Kicad PCB on github yet ? probably rename the PCB to R2 after update

Skot,What kicad plugin do you use for Auto routing and placement on the PCB from bitaxeMax4 schematic ? Is there an easier way than updating and doing placement and routing manually ? i usually use Freerouting plugin in Kicad. Maybe there is a better way ? i know Altium and other CAD software do have such plugins.
46  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 24, 2022, 10:34:24 PM
~
Fuzzy! You legend! Thanks for all this information again.. Cheesy It makes total sense.

Due to limited time I may just quickly order some BitaxeMAX boards and probe around those with my scope; I feel like getting my breakout board to run is pointless after the insane progress lately, made by Skot.
Hopefully I can contribute more by analyzing his latest boards and checking what can be improved.

i finally got the initial BM1397 bitaxeMax boards that i ordered and started assembly. Hope to test it this coming week. Also working from the BitaxeMax4 schematic that skot has updated to see if i can add power delivery system with an EMI filter or  Maxim DS4432 on the board
47  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 21, 2022, 06:54:29 PM
skot, have you managed to test the load on the TPS40305 Power delivery board that you got ? if yes, have you by any chance managed to update the schematic / pcb for a combined single board with 2 or 4 chips considering what the Notfuzzywarm mentioned about high ripple across the power plane.

Just got the bitaxeMax (single BM1397) setup today and started testing with the TPS40305_supply board.. It works!

here is an exciting line from cgminer:
0: GSF 3NNU10x0: BM1397:01+ 445.00MHz T:600 P:311 (28:14) | 66.1% WU: 65% | 174.6G / 151.9Gh/s WU:2122.0/m

I was playing around with the core voltage a bit and the TPS40305 seemed to be able to handle 17 Watts. The mosfets and inductor definitely got warm, but not hot.

I forgot to pull the enable line on the bitaxe 25MHz oscillator high. once I air wired that, everything came alive. https://github.com/skot/bitaxe/issues/9

I'm in between oscilloscopes at the moment, so it will be a bit before I can try NotFuzzyWarm's tip to measure the core voltage ripple at the ASIC.

Sweet line and great progress. I checked the TPS40305 reference design on TI website with WEBENCH Designer  even with an EMI filter added and lowest Ripple on the power plane , i could only simulate it pulling out  total power of 18W. So at 17W then you must be almost at Max for that buck converter.

Did you get it anywhere above 300 GH/s in your test? Can Maxim Voltage adjuster  be used to push it above 300 GH/s ?
48  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 20, 2022, 04:29:05 PM
skot, have you managed to test the load on the TPS40305 Power delivery board that you got ? if yes, have you by any chance managed to update the schematic / pcb for a combined single board with 2 or 4 chips considering what the Notfuzzywarm mentioned about high ripple across the power plane.
49  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 20, 2022, 04:09:38 PM

Wow, that's a trip to see that old development thread.

Quote

0.85BTC per chip (25GH). At $150/BTC, that's $127.50 per 25 GH, or $5.1/GH


Those ASICs were expensive!

Agree !!!!! that was extremely expensive for that to survive. Currently  New BM1397 @$20/chip @ 300GH/s  @ 20W = approx  $0.067/GH @ 15GH/W
50  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 19, 2022, 01:01:14 PM
Quote
How close do you think an Antminer is to passing a Part 15 EMC test?
I'd be surprised if it does not pass as a Class-B device.

The main point about the RF design aspects of feeding these chips is not so much about cutting down EMI as it is about making sure that the Vcore at the IC pads stays within very tight limits as the clock cycles the gazillions of logic gates in the chip on/off all at the same time.


Edit: When I started in this Forum in early 2014 I did a fair bit of forensics on the CoinCraft miner from the Swiss company Bitmine.ch (now out of business) that used the A1 chip which Innosilicon designed for them, more precisely their "Made in USA" miner that they 'partnered' with AMT to make & sell here in the USA. Exact-same miner, just with parts sourced, PCB's (using Bitmine's gerber files & BOM's) made by and the miners assembled by the US company IMET. A very large part of their problem was due to absolutely clueless design of the PDN on their hash boards. 2nd issue was Bitmine having absolutely no idea about the proper thermal design that the chips required, 3rd was IMET's lack of experience in dealing with high power chips & the needed *very* thick power planes & thermal vias to move heat leading to innumerable issues...

Even Inno repeatedly pointed out the errors but the Powers-That-Be ignored their advice with disastrous consequences. OTOH, the company that did the famous DragonMiner (not to be confused with the far later DragonMint) that used the exact same A1 ASIC knew how to do things right and produced 1 damn fine miner.

wow!! that's a great advice in power delivery design for mining chips

Since you have experience with Mining chip power delivery systems , can you help skot and community with power delivery system so that all of us can benefit from your long-term experience.
51  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 17, 2022, 10:35:31 PM

Quote
Later once we have ironed out everything, if we can source every part cheaply i have a long-term PCB manufacuring relationship with a few PCB Fab houses in China, HK & Taiwan , i can offer to manufacture everything at volume for an affordable cost for the community or each member can have it done themselves. Or if you have a different option , chime in , that would be great.

Absolutely! That sounds like a great idea. What kind of quantity does it make sense to start at with your fab?


In order to lower the 2 major costs associated with fabrication and assembly to an affordable and acceptable entry level for the community on

1. Material / parts
2. Assembly

we need to order the parts in bulk and fabricate for the community in batches . Let's say we start with 50 or 100 complete units and then slowly increase to 200 or 500 or 1000 complete units per batch depending on demand from the community. Normally ordering small/tiny parts on a Reel is much cheaper than a Tape cut. A reel contains usually 1000 or 10000 for very tiny pieces , 100 or 1000 for medium but still slightly small pieces.

Once you add test TPS40305 power delivery to the board PCB, schematic, Gerber files, i will order the next prototype batch of 5 so that we can test it quickly. if you DM me i can send you a few pieces of that batch for testing.
 
52  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 17, 2022, 08:58:23 PM
Finally ordered the PCB fab plus Assembly plus Stencil , ESP32-C3_devkitC-02U and BM1397AG chip. i will wait for everything to be delivered in 3 weeks before starting to test the hell out of it.

For Skot, Have you tested the TPS40305 power delivery  with BitaxeMax single chip yet? will it be part of a single complete board or  an Add-on daughter board ?

That's awesome, I'm excited to have you working on this as well!

I just got the first TPS40305_supply board put together today, and It seems to be working! I haven't tried it out under load yet, and I haven't put together a BitaxeMax yet. Hopefully that will happen this week, I'll keep you posted.

Fantastic , that's good news about TPS40305_supply board . Let's us know after load test. i was in the process of ordering a few to test with bitaxeMax


53  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 17, 2022, 04:02:33 PM
Finally ordered the PCB fab plus Assembly plus Stencil , ESP32-C3_devkitC-02U and BM1397AG chip. i will wait for everything to be delivered in 3 weeks before starting to test the hell out of it.

For Skot, Have you tested the TPS40305 power delivery  with BitaxeMax single chip yet? will it be part of a single complete board or  an Add-on daughter board ?
Very nice! Excited to hear about your results.
I'll take out some time to get back on these projects very soon, as well; right now I still got to order my ('external') 0.8V power supply for powering 2 BM1387 hashboards.


Nonce or Skot ,  For the assembly of the top of bitaxeMax  that includes ESP32-C3-Devkit and BM1397AG chips  do you guys personally solder them by hand or you use an assembly service to do it. I am looking for a way to streamline the Complete parts order (Except the BM1397) at JLCPCB or PCBWAY or etc

1. Order all parts on JCLPCB or PCBWAY or any other fab house ( both JLCPCB/PCBWAY inventory and external globally sourced) --Note: Globally sourced parts are ordered by the Fab house and shipped to them for your assembly work.
2. Wait for all globally sourced parts required for the bitaxeMax board assembly to arrive at the Assembly factory (JLCPCB / PCBWAY  / others)
3. Place an order for PCB Fabrication with Assembly Service and choose or use the global pre-ordered parts that are now available for this  assembly work
4. Have the completed assembled boards shipped  for the final assembly of BM1397 chips on it ( Skot or Nonce -- do you know any assembly service that can do BM1397 chips & ESP32-C3-DevKitC-02 assembly in North America ? )
5. Test all the boards


i am trying to see if its possible to streamline every process to lower the costs as much as possible so that its affordable even at lower volume e.g 5 , 10 or even 50 fully assembled boards. if we can get the each complete production board cost below let's say below $50 or $60 or $70 or $80 not including taxes, duty and shipping that would fantastic. The lower the price & power consumption the better
54  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 16, 2022, 05:03:32 PM
Finally ordered the PCB fab plus Assembly plus Stencil , ESP32-C3_devkitC-02U and BM1397AG chip. i will wait for everything to be delivered in 3 weeks before starting to test the hell out of it.

For Skot, Have you tested the TPS40305 power delivery  with BitaxeMax single chip yet? will it be part of a single complete board or  an Add-on daughter board ?
55  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 16, 2022, 01:48:38 PM
Looking on Aliexpress for  ESP32-C3-DevkitC-02. There are a ton of ESP32 Devkit variants some are 30-Pins and others are 38-pins. The schematic for board says we need 30-pins  ESP32-C3-DevkitC-02. i see

ESP32 30Pin, ESP32-WROOM-32D(38pins), ESP32-WROOM-32U(38Pins)

Can say which will work with our design ? if you can provide the aliexpress link for ESP32-C3-DevkitC-02 that you got.

Yeah, you’re right there are a ton of ESP32 devkits. For this first version I used the Espressif ESP32-C3 dev kit, ESP32-C3-DevkitC-02U. I got it from Digikey https://www.digikey.com/en/products/detail/espressif-systems/ESP32-C3-DEVKITC-02U/15199039 I’m sure you can find it on AliExpress, but you’ll have to sort through a lot of clones of varying compatibility.

I think in the future it makes more sense to just use the ESP32-C3-WROOM-02U module directly. It’s a SMD part and will be a bit more trouble to experiment with.

May be later down the road we should also look at the ESP32-WROOM-32D(38pins) Devkit, ESP32-WROOM-32U(38Pins) Devkit  which are cheaply available and are upgrades .

Later once we have ironed out everything, if we can source every part cheaply i have a long-term PCB manufacuring relationship with a few PCB Fab houses in China, HK & Taiwan , i can offer to manufacture everything at volume for an affordable cost for the community or each member can have it done themselves. Or if you have a different option , chime in , that would be great.

For those looking for ESP32-C3-DevkitC-02 here is the Aliexpress official Expressif store  and also from Digikey has been posted above by skot. Note the difference between 02 with integrated antenna and 02U with external antenna variants is only the maximum ambient operating temp (-40C to 85C  and -40C to 105C ) , everything else is the same
https://www.aliexpress.com/store/1100220184?spm=a2g0o.store_pc_home.pcShopHead_2001819947281.0
56  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 15, 2022, 12:58:54 PM
Looking on Aliexpress for  ESP32-C3-DevkitC-02. There are a ton of ESP32 Devkit variants some are 30-Pins and others are 38-pins. The schematic for board says we need 30-pins  ESP32-C3-DevkitC-02. i see

ESP32 30Pin, ESP32-WROOM-32D(38pins), ESP32-WROOM-32D(38Pins)

Can say which will work with our design ? if you can provide the aliexpress link for ESP32-C3-DevkitC-02 that you got.
57  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 14, 2022, 09:57:45 PM
Skot or nonce, do you have a draft schematic for dual BM1397 or BM1398 or BM1398BB chips for bitaxeMAX as a reference? . I just started working on Dual BM1398BB schematic to see it would work with ESP32-C3-DevkitC-02 using your work as a reference.

I have just started working on a quad BM1397, but I haven't finished the schematic much less tested it; https://github.com/skot/bitaxe/tree/max4 If you have any thoughts on this lemme know!

All we really have are these repair guides.
BM1397; https://www.zeusbtc.com/manuals/Antminer-S17-Hash-Board-Repair-Guide.asp
BM1398; https://www.zeusbtc.com/manuals/Antminer-S19-Pro-Hash-Board-Repair-Guide.asp

I am a bit hesitant to work with the BM1398, because it's like $10 more per IC, but only a tiny tiny bit more efficient than the BM1397.

After taking a deeper look at BM1398 i think we are better off with BM1397 in terms of price , efficiency and availability
58  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 14, 2022, 09:31:36 PM
Quote
I am a bit hesitant to work with the BM1398, because it's like $10 more per IC, but only a tiny tiny bit more efficient than the BM1397.
A bigger problem is that you need the driver for the BM1398 to use it with miner software. Cgminer only supports up to the s17 chip and that is because Kano wrote the driver and put it into cgminer for Sidehack to use with his Compac-F.

Btw: bfgminer as well as -ck's much older version of cgminer do NOT have a driver for the BM1397 chip much less one for the BM1398.

Thanks . i was actually taking a look at the efficiency and power consumption graph for Bitmain chips



S17 Pro chips (144 Chips(BM1397) / Miner ) --- 270 - 350 GH/s per chip  @ 18W @ 7nm

S19 Pro chips (342 Chips(BM1398) / Miner ) --- 190 GH/s per chip @ 9W @ 7 nm

I think i will stick with BM1397 the efficiency is not that bad compared to that of BM1398.

As Skot mentioned if we can get  2 or 3 Chips per board coupled with a small power delivery system . if we can at least keep it below 65W for 3-chip(BM1397) board that would be nice.

59  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 14, 2022, 06:27:28 PM

you thought of increasing the sequence of chips per plate, copying the original chaining

Yes! All the time. There is a sweet spot somewhere with price and power consumption. I want to the bitaxe to overcome some of the barriers to entry on the Antminers, but still do some decent hashing.

Skot or nonce, do you have a draft schematic for dual BM1397 or BM1398 or BM1398BB chips for bitaxeMAX as a reference? . I just started working on Dual BM1398BB schematic to see it would work with ESP32-C3-DevkitC-02 using your work as a reference.
60  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: October 14, 2022, 03:23:18 PM
ESP32-C3-DevKitC-02 is an entry-level development board based on ESP32-C3-WROOM-02, a general-purpose module with 4 MB SPI flash. This board integrates complete Wi-Fi and Bluetooth LE functions. I think according to specification It's a little powerful than Raspberry Pi Pico W with RP2040 ( single RISC-V @160 MHz vs 2 x Cortex-M0 @133 MHz ). For what we are trying to do , i think ESP32-C3-DevkitC-02 should work but i am not sure how to run FreeRTOS on the ESP32-C3-DevkitC-02 with cgminer. Anyone with experience please chime in

https://docs.espressif.com/projects/esp-idf/en/latest/esp32c3/hw-reference/esp32c3/user-guide-devkitc-02.html

Pages: « 1 2 [3] 4 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!