Skip to content

odinstar/NMMiner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Downloads (all assets, all releases) GitHub commit activity

Join the global blockchain revolution!

NMMiner

Requirements

  • Boards with ESP32S3, ESP32D0 , ESP32C3 as so far.

Features

  • Deeply optimization for ESP32D0, max hashrate: 412 KH/s.
  • Deeply optimization for ESP32S3, max hashrate: 318 KH/s.
  • Deeply optimization for ESP32C3, max hashrate: 308 KH/s.
  • NMController_client, source code, we put the *_x64.msi and *_x86.msi in tool folder already, just install, only for Windows.
  • NMController_web, source code, it's a Python implement, for Windows and Mac.

Board support from the latest version:

Boards Performance Chip
ESP32-2432S028R 412.3KH/s ESP32-D0WDQ6
Heltec WiFi Lora32 v2 412.5KH/s ESP32-D0WDQ6
TTGO T Display 412.2KH/s ESP32-D0WDQ6
ESP32 DEVKitC 32 412.1KH/s ESP32-D0WDQ6
Heltec Wifi Kit32 v3 318.9KH/s ESP32-D0WDQ6
Heltec WiFi Lora32 v3 317.7KH/s ESP32-S3FN8
Heltec Wireless Stick Lite v3 317.3KH/s ESP32-S3FN8
Heltec Wireless Stick v3 315.2KH/s ESP32-S3FN8
NM Bot Chain v1 313.8KH/s ESP32-S3FN8
Lilygo T Display s3 amoled 310.1KH/s ESP32-S3R8
NM USB Chain v1 309.5KH/s ESP32-S3FN8
Lilygo T Dongle s3 308.3KH/s ESP32-S3R8
Heltec Vision Master T190 304.9KH/s ESP32-S3R8
Seeed xiao esp32 s3 318.7KH/s ESP32-S3FN8
Seeed xiao esp32 c3 308.6KH/s ESP32-C3
Lilygo T Display s3 307.5KH/s ESP32-S3R8
esp32 s3 geek 307.1KH/s ESP32-S3
heltec_t190 lora32_v2
lilygo-t-display-s3.jpg lilygo-t-dongle-s3.jpg
cyd.jpg fig/usb_chain.jpg
fig/lilygo-t-display-s3-amoled.jpg ttgo_display.jpg
fig/esp32_dev_kitc_32.jpg xiao_c3.jpg
pool

Buttons

Board with only one button(binding to boot pin)

Buttons Action Description
boot Long press Miner Configuration
boot Double click switch to nexe screen page(if a screen on board)
boot Single click Screen wake up(if a screen on board)

Board with two buttons(binding to boot pin and a gpio pin)

Buttons Action Description
boot Long press Clear all status from nvs(if enabled this feature)
boot Single click Screen wake up(if a screen on board)
boot Double click Screen wake up(if a screen on board)
user Single click Screen wake up(if a screen on board)
user Double click Switch to next screen(if a screen on board)
user Long press Miner Configuration

Screen

description

Configuration

Initiation configuration

  1. When the device is powered on, it will connect to the last WiFi connected by default. If it fails to connect to this WiFi after trying for 15s, it will automatically enter the configuration mode.

  2. Search for AP named: nmap-2.4g, enter password: 12345678

  3. If connect to AP via mobile phone and everything goes well, you will be redirected to the configuration page; if connect to AP via PC, just log in: 192.168.4.1.

config-1
  1. You will see the following page. Follow the steps to configure your mining machine. The larger the UI refresh value, the higher the hash rate, and the hash rate will also increase when the screen is turned off.
config-2
  1. You can return to the configuration page at any time and refer to the button operations.

  2. When you click Save it will take a while (10-15 seconds), do not reset the miner manually, just let it restart automatically.

Force configuration

  1. Long press boot button for one button board.

  2. Long press user button for two buttons board.

  3. Then follow Initiation configuration.

AP Config

Firmware update

Step 1: Open NMMiner Flash Tool in Chrome or Edge browser.

Step 2: Choose the board and start the firmware update, NMMiner Flash Tool will pull the latest version from github, and configure the flash parameters automatically.

NMMiner flash tool

Notice1: If you just update the latest firmware, that's all you need to do. if you are the first time flash the miner, firmware activation is required.

Notice2: If you lost your licence, just use the NMMiner Flash Tool flash your miner agin, the tool will send you a new one.

Firmware activation

Step 1: After you flash the firmware, get the licence follow the guide.

Licence

Step 2: Copy the the licence string back to licence code box, then click the button, you will see something exciting if everything goes well.

active

Step 3: If this is the first time you are flashing the miner, some basic and necessary configurations need to be set, just as below, certainly, you can config them via Buttons.

web_cfg

Step 4: Enjoy it!

Pool

  • Due to the very limited on-chip resources, some high-difficulty mining pools currently reject our connections, the following pools support low diff stratum connection.
  • Default primary pool : stratum+tcp://public-pool.io:21496
  • Default fallback pool: stratum+tcp://pool.tazmining.ch:33333

How to monitor

  • In fact, both NMController_client and NMController_web have the same feature, NMController_client for Windows, NMController_web for Windows and MACOS, We make an example by NMController_client here.

  • NMController_client, scan the machine in your LAN, just as below.

nmcontroller-home
  • configuration via NMControler client, Config single miner or gorup miners.(firmware v1.5.xx required)
nmcontroller-details

Contact

  • We are committed to supporting more models of Arduino development boards.
  • Anything do not work as your expectation, just let us know.
Email Telegram Home Page
nmminer1024@gmail.com https://t.me/NMMiner NMTech

Release Log

(2025.03.06) - v1.5.01

  • Add:
    • Configure NMMiner via the NMController client to make your life easier.
  • Fixed:
    • Restart issue.
  • Improved:
    • NMController client update to v0.4.
  • Modify:
    • None.

(2025.03.03) - v1.4.02

  • Add:
    • esp32-s3-geek support, upto 308kH/s.
  • Fixed:
    • Local diff infinite issues.
  • Improved:
    • NMController client update to v0.3.
  • Modify:
    • None.

(2025.02.27) - v1.4.01

  • Add:
    • None.
  • Fixed:
    • Freezing issues.
  • Improved:
    • NMController web server.
  • Modify:
    • None.

(2025.02.26) - v1.3.01

  • Add:
    • Led enable/disable option.
  • Fixed:
    • Fallback wallet address save failed issue.
  • Improved:
    • ESP32d0 upto 412kH/s
  • Modify:
    • Get DNS from router.
  • Known:
    • Freezing in some wifi environment.

(2025.02.21) - v1.2.01

  • Add:
    • None.
  • Fixed:
    • Reboot issue.
    • Freezing issue.
  • Improved:
    • ESP32d0 upto 375kH/s
    • ESP32s3 upto 318kH/s
    • ESP32c3 upto 308kH/s.
  • Modify:
    • UDP boardcast from 2s to 5s.
    • DNS fixed to 8.8.8.8 and 8.8.4.4

(2025.02.17) - v1.1.03

  • Add:
    • esp32 dev kitc 32 ,upto 340kH/s.
  • Fixed:
    • Reboot issue.
    • Freezing issue.
  • Improved:
    • ESP32d0 upto 340kH/s, ESP32s3 upto 291kH/s, ESP32c3 upto 284kH/s.
  • Modify:
    • None.

(2025.02.11) - v1.1.02

  • Add:
    • None.
  • Fixed:
    • Reboot issue.
    • Freezing issue.
  • Improved:
    • ESP32 d0 upto 224kH/s.
  • Modify:
    • Remove ssl connection.

(2025.02.08) - v1.1.01

  • Add:
    • Fallback pool option.
  • Fixed:
    • seeed xiao esp32 c3 configuration mode issue.
  • Improved:
    • ESP32 s3 upto 255KH/s,ESP32 c3 upto 240KH/s.
  • Modify:
    • SSL option, enable ssl connection in pool URL as "stratum+ssl://example-pool.com:12345"

(2025.01.31) - v0.6.02

  • Add:
    • None.
  • Fixed:
    • seeed xiao esp32 c3 configuration mode issue.
  • Improved:
    • None.
  • Modify:
    • None.

(2025.01.30) - v0.6.01

  • Add:
    • support: seeed xiao esp32 c3 ,seeed xiao esp32 s3
  • Fixed:
    • Pool connection time out.
    • Block counter issue.
  • Improved:
    • None.
  • Modify:
    • None.

(2025.01.12) - v0.5.03

  • Add:
    • support: lilygo-t-display-s3 amoled
  • Fixed:
    • None.
  • Improved:
    • UDP broadcast protocol format.
  • Modify:
    • Configuration mode time out logic.

(2024.12.19) - v0.5.02

  • Add:
    • support: holo-cubic-25mm, upto 117kH/s.
  • Fixed:
    • UTC issues.
    • Block counter flase count.
    • QR code issue.
    • Restart constantly.
  • Improved:
    • Sahre accept rate.
  • Modify:
    • Default Wifi change to 'NMMtech-2.4G'.
    • Default DNS get from LAN.

(2024.11.22) - v0.5.01

  • Add:
    • support: TTGO T display, upto 90~92kH/s.
    • Feature: Led indicator for nm-bot-chain.
    • Feature: Screen brightness adjustment from config page.
  • Fixed:
    • UTC issues.
    • Lilygo T Display s3 and TTGO T Display power supply issues.
    • Chip ESP32-D0WDQ6-v1 crashed issues, firmware compatible with ESP32-D0WDQ6-v3.
  • Improved:
    • None.
  • Modify:
    • User button long pressed to enter miner configuration for 2 buttons boards.
    • Logo 'lottery' to 'miner'.
    • Uptime 999 days maximum.

(2024.11.14) - v0.4.04

(2024.11.07) - v0.4.03

(2024.10.29) - v0.4.02

(2024.10.21) - v0.4.01

(2024.10.08) - v0.3.04

(2024.09.27) - v0.3.03

(2024.09.23) - v0.3.02

(2024.09.14) - v0.3.02

(2024.09.08) - v0.3.01

(2024.09.02) - v0.3.01

(2024.09.02) - v0.2.13

(2024.08.31) - v0.2.12

(2024.08.27) - v0.2.11

  • Add:
    • Web Monitor, makes it easy to monitor your machine without any special client tools. You only need a phone or computer's browser.
    • Heltec WiFi lora 32 v3 firmware
  • Fixed:
    • Some issues from WiFi.
  • Improved:
    • Memory management.
    • Almost reaching 120KH/s when USB CDC disable.
  • Baord support
  • Next
    • Some screenless board support.

(2024.08.15) - v0.2.10

  • Features:
    • BTC solo miner base on esp32s3 series
    • Up to 118kH/s
    • ssl connection support
    • Screen auto off in 60s
    • Real time clock
    • Configuration on websever, it's easy enough to build your first BTC Miner.
    • WiFi signal strength on screen.
  • Fixed:
    • Memory leak issues.
    • Stratum nBits sector parse issues.
  • Modify:
    • None
  • Baord support

(2024.08.13) - v0.2.02

  • Features:
    • BTC solo miner base on esp32s3 series
    • Up to 118kH/s
    • ssl connection support
    • Screen auto off in 60s
    • Real time clock
    • Configuration on websever, it's easy enough to build your first BTC Miner.
    • WiFi signal strength on screen.
  • Fixed:
    • Mining status clean issues.
  • Modify:
    • None
  • Baord support

(2024.08.10) - v0.2.01

  • Features:
    • BTC solo miner base on esp32s3 series
    • Up to 118kH/s
    • ssl connection support
    • Screen auto off in 60s
    • Real time clock
    • Configuration on websever, it's easy enough to build your first BTC Miner.
    • WiFi signal strength on screen.
  • Fixed:
    • Configuration of user BTC address not effective issue.
  • Modify:
    • Contact us, telegram group add.
    • Modify firmware update tools, make it easy to update firmware.
  • Baord support

(2024.08.09) - v0.1.55

  • Features:
    • BTC solo miner base on esp32s3 series
    • Up to 118kH/s
    • ssl connection support
    • Screen auto off in 60s
    • Real time clock
    • Configuration on websever, it's easy enough to build your first BTC Miner.
    • WiFi signal strength on screen.
  • Fixed:
    • Some ssl issues.
  • Modify:
    • Add some log on loading screen.
    • Hashrate upto 118K when screen off.
  • Baord support

(2024.08.02) - v0.1.54

  • Features:
    • BTC solo miner base on esp32s3 series
    • Up to 117kH/s
    • ssl connection support
    • Screen auto off in 60s
    • Real time clock
    • Configuration on websever, it's easy enough to build your first BTC Miner.
    • WiFi Signal Strength add.
  • Fixed:
    • Some issues after full chip erase.
  • Modify:
    • None
  • Baord support

(2024.08.01) - v0.1.53

  • Features:
    • BTC solo miner base on esp32s3 series
    • Up to 117kH/s
    • ssl connection support
    • Screen auto off in 60s
    • Real time clock
    • Configuration on websever, it's easy enough to build your first BTC Miner.
    • WiFi Signal Strength add.
  • Fixed:
    • Fixed default WiFi parameters issues.
    • Fixed parameter of 'screen off time out'.
  • Modify:
    • Some nvs handles, not compatible with v0.1.52.
  • Baord support

(2024.07.31) - v0.1.52

  • Features:
    • BTC solo miner base on esp32s3 series
    • Up to 117kH/s
    • ssl connection support
    • Screen auto off in 60s, can be setted from the Configuration Page
    • Real-time clock
    • Configuration on webserver, it's easy enough to build your first BTC Miner.
  • Fixed:
    • First push
  • Modify:
    • None
  • Board support

About

A tiny BTC miner base on esp32 series,I'd rather call it BTC lottery

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C 81.7%
  • Python 12.7%
  • HTML 5.0%
  • Other 0.6%