Skip to content

Commit

Permalink
Merge pull request #166 from BitMaker-hub/dev
Browse files Browse the repository at this point in the history
Release 1.6.2
  • Loading branch information
BitMaker-hub authored Sep 12, 2023
2 parents 347358e + 25db0a4 commit 4ed1381
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 9 deletions.
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The main aim of this project is to let you **learn more about minery** and to ha

Original project https://github.com/valerio-vaccaro/HAN

![image](images/NerdMinerv2.jpg)
![image](images/bgNerdMinerV2.png)

## Requirements
- TTGO T-Display S3 or any supported boards (check Build tutorial 👇)
Expand All @@ -33,12 +33,17 @@ Every time an stratum job notification is received miner update its current work

## Build Tutorial
### Hardware requirements
- TTGO T-Display S3 > Buy it on aliexpress or amazon
- LILYGO T-Display S3 (original one) or any other supported boards
- 3D BOX [here](3d_files/)

#### Current Supported Boards
- TTGO T-Display S3 ([Aliexpress link](https://s.click.aliexpress.com/e/_Ddy7739))
- LILYGO T-Display S3 ([Aliexpress link](https://s.click.aliexpress.com/e/_Ddy7739))
- ESP32-WROOM-32, ESP32-Devkit1.. ([Aliexpress link](https://s.click.aliexpress.com/e/_DCzlUiX))
- LILYGO T-QT pro ([Aliexpress link](https://s.click.aliexpress.com/e/_DBQIr43))
- LILYGO T-Display 1.14 ([Aliexpress link](https://s.click.aliexpress.com/e/_DEqGvSJ))
- LILYGO T-Display S3 AMOLED ([Aliexpress link](https://s.click.aliexpress.com/e/_DmOIK6j))
- LILYGO T-Dongle S3 ([Aliexpress link](https://s.click.aliexpress.com/e/_DmQCPyj))
- ESP32-2432S028R 2,8" ([Aliexpress link](https://s.click.aliexpress.com/e/_DdXkvLv))

### Flash firmware
#### microMiners Flashtool [Recommended]
Expand Down Expand Up @@ -131,12 +136,13 @@ With the USB-C port to the right:
- [x] Add pool support for low difficulty miners
- [x] Add best difficulty on miner screen
- [x] Add suport to standard ESP32 dev-kit / ESP32-WROOM
- [x] Code changes to support adding multiple boards
- [x] Create a daisy chain protocol via UART or I2C to support ESP32 hashboards
- [x] Add support to TTGO T-display 1.14
- [x] Add support to Amoled

### On process
- [ ] Code changes to support adding multiple boards
- [ ] Create a daisy chain protocol via UART or I2C to support ESP32 hashboards
- [ ] Add support to TTGO T-display 1.14
- [ ] Add support to Amoled

- [ ] Create new screen like clockMiner but with BTC price
- [ ] Add support to control BM1397

Expand Down
Binary file added bin/bin ESP32-2432S028R/0x10000_firmware.bin
Binary file not shown.
Binary file added bin/bin ESP32-2432S028R/0x1000_bootloader.bin
Binary file not shown.
Binary file added bin/bin ESP32-2432S028R/0x8000_partitions.bin
Binary file not shown.
Binary file added bin/bin ESP32-2432S028R/0xe000_boot_app0.bin
Binary file not shown.
Binary file modified bin/bin LILYGO TQ-T pro/0x0000_bootloader.bin
Binary file not shown.
Binary file modified bin/bin LILYGO TQ-T pro/0x10000_firmware.bin
Binary file not shown.
Binary file added images/bgNerdMinerV2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[platformio]
globallib_dir = lib
default_envs = NerminerV2, ESP32-devKitv1, NerminerV2-S3-DONGLE, NerminerV2-S3-AMOLED, NerminerV2-T-QT, NerdminerV2-T-Display_V1
default_envs = ESP32-2432S028R ;NerminerV2, ESP32-devKitv1, NerminerV2-S3-DONGLE, NerminerV2-S3-AMOLED, NerminerV2-T-QT, NerdminerV2-T-Display_V1, ESP32-2432S028R

[env:NerminerV2]
platform = espressif32
Expand Down Expand Up @@ -164,6 +164,7 @@ lib_deps =
[env:ESP32-2432S028R]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
;build_type = debug
Expand Down Expand Up @@ -198,7 +199,6 @@ lib_deps =
arduino-libraries/NTPClient
bodmer/TFT_eSPI @ ^2.5.31


[env:NerdminerV2-T-Display_V1]
platform = espressif32
board = ttgo-lora32-v1
Expand Down
3 changes: 3 additions & 0 deletions src/drivers/displays/tDisplayV1Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ void tDisplay_MinerScreen(unsigned long mElapsed)

// Push prepared background to screen
background.pushSprite(0, 0);
background.deleteSprite();
}

void tDisplay_ClockScreen(unsigned long mElapsed)
Expand Down Expand Up @@ -134,6 +135,7 @@ void tDisplay_ClockScreen(unsigned long mElapsed)

// Push prepared background to screen
background.pushSprite(0, 0);
background.deleteSprite();
}

void tDisplay_GlobalHashScreen(unsigned long mElapsed)
Expand Down Expand Up @@ -193,6 +195,7 @@ void tDisplay_GlobalHashScreen(unsigned long mElapsed)

// Push prepared background to screen
background.pushSprite(0, 0);
background.deleteSprite();
}

void tDisplay_LoadingScreen(void)
Expand Down

2 comments on commit 4ed1381

@Cj0078
Copy link

@Cj0078 Cj0078 commented on 4ed1381 Oct 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How well will this new version update work, hope I won't see overheating and the miner restarting from the top cuz it's annoying and please don't make the miner restart with every interruption from power supply

@BitMaker-hub
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this "don't make the miner restart with every interruption from power supply" is impossible although you use a battery

Please sign in to comment.