Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.6.2 #166

Merged
merged 7 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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