diff --git a/README.md b/README.md index 232fe0c4..e38bde54 100644 --- a/README.md +++ b/README.md @@ -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 👇) @@ -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] @@ -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 diff --git a/bin/bin ESP32-2432S028R/0x10000_firmware.bin b/bin/bin ESP32-2432S028R/0x10000_firmware.bin new file mode 100644 index 00000000..bbd6979a Binary files /dev/null and b/bin/bin ESP32-2432S028R/0x10000_firmware.bin differ diff --git a/bin/bin ESP32-2432S028R/0x1000_bootloader.bin b/bin/bin ESP32-2432S028R/0x1000_bootloader.bin new file mode 100644 index 00000000..bfc27cf6 Binary files /dev/null and b/bin/bin ESP32-2432S028R/0x1000_bootloader.bin differ diff --git a/bin/bin ESP32-2432S028R/0x8000_partitions.bin b/bin/bin ESP32-2432S028R/0x8000_partitions.bin new file mode 100644 index 00000000..1954582f Binary files /dev/null and b/bin/bin ESP32-2432S028R/0x8000_partitions.bin differ diff --git a/bin/bin ESP32-2432S028R/0xe000_boot_app0.bin b/bin/bin ESP32-2432S028R/0xe000_boot_app0.bin new file mode 100644 index 00000000..13562cab Binary files /dev/null and b/bin/bin ESP32-2432S028R/0xe000_boot_app0.bin differ diff --git a/bin/bin LILYGO TQ-T pro/0x0000_bootloader.bin b/bin/bin LILYGO TQ-T pro/0x0000_bootloader.bin index 96570fc3..0afd59b1 100644 Binary files a/bin/bin LILYGO TQ-T pro/0x0000_bootloader.bin and b/bin/bin LILYGO TQ-T pro/0x0000_bootloader.bin differ diff --git a/bin/bin LILYGO TQ-T pro/0x10000_firmware.bin b/bin/bin LILYGO TQ-T pro/0x10000_firmware.bin index 64743fa5..0951a946 100644 Binary files a/bin/bin LILYGO TQ-T pro/0x10000_firmware.bin and b/bin/bin LILYGO TQ-T pro/0x10000_firmware.bin differ diff --git a/images/bgNerdMinerV2.png b/images/bgNerdMinerV2.png new file mode 100644 index 00000000..3d718d10 Binary files /dev/null and b/images/bgNerdMinerV2.png differ diff --git a/platformio.ini b/platformio.ini index 446ac6c4..aad639e3 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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 @@ -164,6 +164,7 @@ lib_deps = [env:ESP32-2432S028R] platform = espressif32 board = esp32dev +framework = arduino monitor_speed = 115200 upload_speed = 921600 ;build_type = debug @@ -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 diff --git a/src/drivers/displays/tDisplayV1Driver.cpp b/src/drivers/displays/tDisplayV1Driver.cpp index 93174a11..ac05290b 100644 --- a/src/drivers/displays/tDisplayV1Driver.cpp +++ b/src/drivers/displays/tDisplayV1Driver.cpp @@ -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) @@ -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) @@ -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)