Bitcoin Forum
November 06, 2024, 03:49:55 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 »
1  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: July 24, 2023, 02:41:01 AM

One thing that is unclear to me from the online shop listings is whether it comes with the case and power supply or not.

Yes it comes with case and Power supply.
2  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: June 18, 2023, 10:23:04 PM
JaBIT Solo Miner (Bitaxe V2.2) using a Single BM1397 Chip has now officially been released: It's ideal for Solo home miners, new users , hobbyists, educators, students and developers who interested in understanding and learning about Bitcoin without making huge investments in bitcoin hardware

NOTE 1: Only purchase JaBIT Solo Miner (Bitaxe V2.2) from legitimate developers of bitaxe (Skot , Developeralgo and the bitaxe team) at

Marketplace to purchase:

My website:    https://www.algoceps.com/shop   ( Price will be a little cheaper compared to Amazon and Ebay. If i list it on Amazon or Ebay or any ecommerce site there is extra 15 to 25% fees that goes to those companies )

EBAY:   https://www.ebay.com/itm/256122322488  or https://www.ebay.ca/itm/256122322488

Amazon.com:     https://www.amazon.com/gp/product/B0C9HD5QW4 and select "See All buying options" button on the right then add to cart , if "add to cart" or "buy now" buttons don't show up immediately on the main page right side

Amazon.ca:     https://www.amazon.ca/gp/product/B0C9HD5QW4  and select "See All buying options" button on the right then add to cart , if "add to cart" or "buy now" buttons don't show up immediately on the main page right side

This is currently the only official release and websites to purchase JaBIT Solo Miner (bitaxe V2.2)

Methods of Payments:
Paypal & Crypto Currency ( Bitcoin (BTC) , Ethereum(ETH), USDT, USDC, BNB, ADA, RVN, LTC, ETC, and DOGE payments ) accepted at https://www.algoceps.com/shop .

NOTE 2: All information about JaBIT Solo Miner (Bitaxe V2.2) can be found on our discord channel
 - https://discord.gg/nRbcVjXm  
You can actually ask any questions to the actual developers and members of the bitaxe community.  

 

About JaBIT Solo Miner

- Is the first fully open source hardware Bitcoin ASIC miner
- Powerful bitcoin miner in small factor( just slightly larger than size of a credit card), can mine any SHA256 Coins such as BitCoin(BTC), Bitcoin Cash(BCH) , Bitcoin SV (BSV), Litecoin Cash (LCC), NameCoin, Digitbyte, etc
-Uses efficient BM1397 Asic chip for mining. It is unlocked for overclocking (Voids warranty). It features a single 7nm technology BM1397 chip.
- Stock hashing speed: 200 GH (please note: these miners run very hot and require active cooling such as fan). It comes equipped with high RPM fan.
- High Speed: 350 GH++ (Running at clock speed of 545 MHz Higher speed requires above spec). To reach max speed of 500GH you will need 3 Amps per miner or PSU to supply 3A per miner!.  JaBIT comes with PSU to supply 5V, upto a Max 6A. i.e Max 30W for each miner.
- Completely silent operation, includes Mini heatsink to cool miner.
- Compatible with Windows, Mac and Linux OS using cgminer software. Includes an Online user manual with instructions for easy setup.
- Mining Algorithm: SHA-256, Minable Coins: Bitcoin (BTC), BitcoinCash (BCH), Acoin (ACOIN), Curecoin (CURE), Joulecoin (XJO), Unbreakable (UNB), Peercoin (PPC), Mark (DEM), Terracoin (TRC), BitcoinSV (BSV)


Advantages:

- Standalone: can mine directly to your pool over WiFi. No External computer needed.
- Embedded: low cost, low maintenance, high availability, high reliability, low power.
- ASIC: based on the very efficient BM1397 from Bitmain.
- Versatile: solo/pool mining, autotune power/heat/efficiency.
- Open Source: All design files are available .


Features

- ESP32-S3-WROOM-1 wifi microcontroller on board
- TI TPS40305 buck regulator steps down the 5V input to power the BM1397
- Maxim DS4432U+ current DAC digitally adjusts the BM1397 core voltage from 0.04V to 2.4V
- TI INA260 power meter measures the input voltage and current of the miner
- Microchip EMC2101 measures the BM1397 internal diode temperature. Also PWM controls the fan and monitors tach output.
- Two sweet RGB status LEDs


Current Status:
- The hardware has been built and tested. Current Batch is shipping now.
- Using cgminer on a separate computer, the JaBIT Solo Miner (Bitaxe v2.2) can mine in excess of 400 GH/s
- ESP32 miner firmware is now available but also under very active development to enhnace it by adding several essential nice-to-have features.
3  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 19, 2023, 04:10:23 PM

I just checked on some used BM1397AG I have; there is about 30Ω between the bottom GND pad and the top. I also checked on my last remaining new BM1397AG and it's more like 90Ω.

It is my understanding that the S17 has individual heatsinks for each chip because of this problem.

i have seen several refits for S17+ using a single large combed Heatsink plate for several chips all at once ( 3 large heatsinks per Hashboard ) . Not sure , how they get them to work

I have heard from a guy on our discord (you should join!) that in some cases they sand off the copper top.. I didn't believe it, but he has some pictures.

I think they could also use a electrically insulating but thermally conductive layer too.

which discord group ? i belong to a couple . i was looking of using MG-Chemicals 8329TFF Thermally Conductive Adhesive https://www.mgchemicals.com/downloads/tds/tds-8329tff-2parts.pdf which as they say on their datasheet  --- It is a paste that cures to form a hard, durable polymer that is thermally conductive, yet electrically insulating. A few guys who repair S17+ recommended it to me for BM1397 Heatsinks . I am now doubting myself on this
4  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 19, 2023, 04:01:39 PM

I just checked on some used BM1397AG I have; there is about 30Ω between the bottom GND pad and the top. I also checked on my last remaining new BM1397AG and it's more like 90Ω.

It is my understanding that the S17 has individual heatsinks for each chip because of this problem.

i have seen several refits for S17+ using a single large combed Heatsink plate for several chips all at once ( 3 large heatsinks per Hashboard ) . Not sure , how they get them to work
5  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 19, 2023, 03:22:27 PM

A couple things you might watch out for;

- Careful of the BM1397 copper tops, they are connected to GND, which won't be at the same potential if you have the chips in series. ie, a common heatsink between two BM1397's in series is going to short them.


I thought the Bottom side is connected to GND and +Ve  while the top has copper insulating substrate below it not connected to GND . I believe what you mentioned in your comment , if correct then , a common Heatsink  for 2 chips is not possible. That's not a good design, i thought the top had great thermal conductivity  but poor/no electrical conductivity at all due to insulating substrate below the copper top

Can you elaborate ?
6  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 18, 2023, 01:53:10 PM
I second this; Discord is nice for streaming development chat. We’ll be hyper-vigilant about scammers!

Aaaaaaagh!!!! Those scammers on Discord are notorious , even though Discord is good for development chatting
7  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 16, 2023, 10:42:58 PM
that's sounds great,  i think the ESP32-S3 internal pull-up/pull-down resistors are usually 45k Ohms. How are you testing the BM1397 chip on the board ?

my bringup plan;

1. make sure I2C is working (done)
2. Make sure the DS4432U+ is alive (done)
3. Adjust the BM1397 core voltage to 1.5V with the DS4432U+ over I2C from the ESP32
4. Test the BM1397 with cgminer using the level shifted J6 debug header and a USB Serial cable
5. make some ESP32 FW to test the BM1397 from the ESP32

then..

6. Make proper drivers for the DS4432U+, EMC2102, INA260, and LEDs
7. Make sure the ESP32 can connect over WiFi (done)
8. Get stratum work from ckpool
9. Format work for the BM1397, and send it to the BM1397
10. send stratum responses

11. Mine BTC!

Can you upload that small testing code that you have or use to the github repo for testing .  i have managed to have the wifi connection done. Just started working on I2C
8  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 16, 2023, 08:45:59 PM
Actually... The ESP32 has configurable internal pullup resistors that can be used for the I2C pins. I think this means we don't need the external I2C pull-up resistors R18 and R19 at all. This means Pin-16/GPIO46 can be used for SDA after all.

that's sounds great,  i think the ESP32-S3 internal pull-up/pull-down resistors are usually 45k Ohms. How are you testing the BM1397 chip on the Bitaxe_V2 board ?
9  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 16, 2023, 02:14:15 PM

Did you cut the trace connecting SDA to ESP32 Pin-16/GPIO46? I am able to flash my ESP32 with SDA connected to ESP32 Pin-15/GPIO3 (and disconnected from ESP32 Pin-16/GPIO46). Using ESP-Prog I don't have to press the boot or reset button to program.

I suppose using Pin-15/GPIO3 is not the best idea, because like you said it is one of the strapping pins. GPIO3 strapping changes the JTAG source. Not sure yet what effect this has. On the next rev I'll make sure not to use a strapping pin for I2C!

Yea, i did cut the trace connecting SDA to ESP32-S3 Pin-16/GPIO46 and was able to flash it without pressing any buttons. But when i connected  the pull-up resistor R19 to ESP32-S3 Pin-15/GPIO3 , i could not flash it.  Using ESP32-S3 Pins 4 (GPIO 4) , Pins 5 (GPIO 5) , Pins 6 (GPIO 6)  or Pins 7 (GPIO 7)  might work to connect to SDA.
10  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 15, 2023, 09:08:27 PM
After removing the SDA I2C pull-up resistor I can program the ESP32 with ESP-Prog, so that's good news!

FYI,  i did test and try to flash it ,

1. When i connect ESP32-S3 Pin-15 to SDA I2C pull-resistor as you described  ? i tested one of my 1-chip Bitaxe_V2 board and it has the same behaviour as before where i could not flash it.

2. When i disconnected the airwire from R19 over to pin 15 on the ESP32 (pink line). i was able to flash the ESP32-S3 without actually pressing the reset button. i know that ESP32-S3 with ESP-PROG it can automatically pull-down when flashing , so you don't have to press the boot and reset buttons manually.

is this a strange behaviour ?
11  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 15, 2023, 07:40:06 PM

And of course I picked GPIO46 for I2C SDA, so it's pulled high.

https://github.com/skot/bitaxe/issues/18

After removing the SDA I2C pull-up resistor I can program the ESP32 with ESP-Prog, so that's good news!
Skot, did you manage when testing and sniffing the communication between BM1397 and ESP32-S3 Module to send a test mining job/work using the ESP32-S3 Pins ? Which pins did you use on ESP32-S3 module to communicate/Send and receive to BM1397 Chips?

Trying to quickly perform just a quick test to see what BM1397 chip responds as per your sniffing notes https://github.com/skot/ESP-Miner/blob/master/bm1397_protocol.md

12  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 15, 2023, 05:31:18 PM
Thanks. Yea I got the export done yesterday with KiCAD. Hoping for a complete 3d render of the Bitaxe with heatsink and fan. Going to get the specs hopefully and make one.

wow!!!, that's nice
13  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 14, 2023, 11:53:46 AM

Quote
GPIO46 must also be either left unconnected/floating, or driven Low, in order to enter the serial bootloader.

And of course I picked GPIO46 for I2C SDA, so it's pulled high.

https://github.com/skot/bitaxe/issues/18

After removing the SDA I2C pull-up resistor I can program the ESP32 with ESP-Prog, so that's good news!

Yes, GPIO3 = Pin 15 is  floating by default and is one of the strapping pins which includes ( GPIO0=Pin27, GPIO045=Pin26, GPIO46=Pin16, GPIO3=Pin15) . But GPIO0=Pin27, GPIO045=Pin26 and GPIO46=Pin16 are connected to the Chip's internal weak pull-down/pull-up during chip RESET and if they are unconnected or the connected external circuit is high-impedance, then the internal weak pull-up/pull-down will determine  the default input level of these strapping pins. So GPIO3 = Pin 15 should work.
14  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 14, 2023, 03:23:57 AM
Ooo that's annoying. I just got my ESP-Prog in the mail. I'll give it a try tonight with the bitaxeMax v2 and see if I can sort it out.

Finally got it sorted out. My USB power alone was not enough , i did have to juice it up with bench power to have the ESP32-S3 in bootloader mode
15  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 13, 2023, 07:05:15 PM
I think it makes sense to have a separate RTOS thread/task listening to, parsing and acting on BM1397 responses. Low latency with good hashes seems important!

I have been running into issues flashing the ESP32-S3 modules using the ESP-PROG board and Tag-Cable 2030 NL cable. For some reason all my FTDI serial connections on UBUNTU 20.04 are ok and double checked all pins, Voltages and everything is working correctly but for some reason i can't flash it. Opened up an issue on esptool Repo on github  https://github.com/espressif/esptool/issues/741

Keep getting this error: " Invalid head of packet (0x66): Possible serial noise or corruption. " . Any suggestions
16  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 13, 2023, 03:57:51 PM
I'm sure this will need some refinement, but the basic idea is what n0nce said; get the work over stratum, build a packet and send it to the BM1397. Wait for a response and if you don't get one in time, roll extra nonce and send another!

Check this out though; Someone did a research paper and posted code for a stratum implementation and CPU mining on ESP32 (and Playstation!) https://www.researchgate.net/publication/360353621_Implementation_of_an_efficient_portable_and_platform-agnostic_cryptocurrency_mining_algorithm_for_Internet_of_Things_devices

i had posted that same research earlier in previous posts and had tried it out but it had a few issues and also it still needs to communicate with BM1397 chip, will look at it later  . Also we need a way of finding out the status of work on chip then roll extra nonce and send another as you said. Is using the a timer to wait for response from the chip good enough considering all the constraints we are facing?
17  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 10, 2023, 11:17:56 PM

Okay, so those are general advantages that come with Rust. I thought there was something specific about MCUs. Do we need a lot of multithreading for this application, though? You request a block candidate over Stratum v2, build a packet for your miner and send it. Then wait for it to respond. As far as I know, that's the rough big picture.
Agreed , nothing  really special about MCU and Rust.
18  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 09, 2023, 09:35:10 PM

Which advantages exactly? (specific to microcontrollers)

Assuming that someone is competent in both C and Rust , IMHO ,  multithreaded/concurrent code that is correct and produces no undefined behavior is better.  Also memory safety is a key feature that Rust brings to the table. In C you are on your own with concurrency and God help you if you are new to C programming. You will get baptism by fire.

 C / C++ and Python are my go-to languages but C tends to be a little messy to code sometimes but gets better with age i guess.

19  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 09, 2023, 09:14:17 PM
Those are the ESP32's (plain 32, not 32-C3 or 32-S3), but what exactly did you develop for them? Mining firmware? That could indeed be useful; especially the Stratum v2 part, since that should be completely independent from the mining hardware (ASIC chips) used.

C code for ESP32 should also compile for ESP32-S3.

The hard part is figuring out an optimized and efficient communication between ESP32-S3-WROOM-1 chip and the BM 1397 chips and coding it in a stripped down embedded format so that it fits into tiny 16 MB Flash with additional 8 MB PSRAM on the ESP32-S3

Either C or Std Rust or NoStd Rust, we will still come very close to the memory threshold being completely utilized. i guess the goal is to strip down everything and have only bare-bone code but with standard ESP-IDF Version 5.0 / 5.1 to handle a lot of the headaches from std code

Good candidates is to use Cgminer (Kanoi version (C/C++)) , Braiins OS code base (Rust) as a Reference plus stratum V2 (Rust) code base and strip everything to the bone. Rust has few advantages when running on Microcontrollers compared to pure C code.
20  Bitcoin / Hardware / Re: Open Source Bitcoin ASIC miner project that uses 2x BM1387 (Antminer S9) on: January 08, 2023, 05:01:20 PM
Be careful about temps / cooling! Especially when you start attempting sending those chips commands. Don't want them to start hashing and immediately going up in flames. Tongue But Skot knows much more than myself about this (how / when they start hashing / getting hot).

It's just that I've experienced (as a customer) finished mining products hashing even when not getting supplied any data at all (not sure what they were doing - again: as a customer).
Just saying I've encountered it and I'm not sure whether that was just the 'idle behavior' of those chips (older stuff, not BM1397 for sure) or firmware-related.

Great advice. Coding an ESP Miner to test it correctly, is a pain. I hope to use ESP-IDF Version 5 (std) with ESP-Rust 1.66 (std) and code some minimal rust-based ESP Miner for testing.

The biggest problem i have encountered is the support and community for xtensa-esp32s3 using rust is minimal or non-existent at best. i have tested some simple ESP miner code on my ESP32-S3-WROOM-2-N32R8V Dev board that i have  and it runs fast but that is without it communicating or mining on BM1397 chips. Next step will be to try adapt this minimal testing code to communicate and mine on BM1397 chips and use it on the onboard ESP32-S3-WROOM-1-N16R8V on my ESP mining board.

that's a lot of grunt work to be done.
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!