Skip to content

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

Notifications You must be signed in to change notification settings

MarcelF807/NMMiner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

NMMiner - New ESP32 Solo Miner

  • BTC solo miner.
  • 120kH/s with a single chip and maintaining low power consumption.
  • Easy deployment with one click NMMiner Flash Tool.

Requirements

  • Boards with ESP32S3FN8 , ESP32S3R8 , ESP-WROOM-32 as so far.

Features

  • Deeply optimazation for ESP32-S3, max hashrate: 119 KH/s
  • Deeply optimazation for ESP-WROOM-32, max hashrate: 92 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.
hashrate lora32 v3.jpg
lilygo-t-display-s3.png lilygo-t-dongle-s3.png
cyd.jpg fig/pool.png

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)

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 Press and hold before reset Miner Configuration

NMMiner 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. In some areas, the pool is blocked by the local firewall. If you have an SSL encrypted channel, you can enable this option.

  3. 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. Press and hold the User button, then click the Reset button, wait until the QR code appears(screen board required), then release the User button.

  2. 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 of the ESP32, some high-difficulty mining pools currently reject our connections. public-pool.io is a mining pool that accepts low-difficulty miners. We appreciate their efforts.

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
  • Redirect to the web monitor for more details.
nmcontroller-details
web monitor

Board support from latest version:

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
[email protected] https://t.me/NMMiner NMTech

Release Log

(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

Releases

No releases published

Packages

No packages published

Languages

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