Skip to main content

Browser-based

Instructions to onboard your DIY miner using the ESP Tool web interface

Prerequisites

  • A web browser
  • 2.4GHz WiFi connection
  • Android or IOS phone

MAKE SURE YOUR USB CABLE IS A DATA CABLE. MANY USB CABLES ARE POWER ONLY CABLES AND WILL NOT WORK FOR PROGRAMMING OR MONITORING!!!

Guide

Step 1: Download your firmware

  • Download the firmware binary and note its location in your filesystem
    • The filename will look something like ***.bin where *** is unique to you

Step 2: Connect to computer

  • Use a cable to connect your board to the USB port of your computer
    • Boards have one or two USB connectors; on boards with two, either will work

Step 3: Open the browser

Step 4: Connect to the serial port

  • You may need to install a driver to allow the board to communicate with your computer

    • Instructions are here
  • Under "Program", click Connect

    • Leave the baud rate set to 115200

alt text

  • Select the COM port corresponding to your device
    • If there are multiple options and you do not know which one to choose:
      • Close the dialog window and disconnect your board
      • Click on Connect and note which port disappeared
      • Close the dialog window and reconnect the board

alt text

  • After connecting, the console will display information that you have succesfully connected

alt text

Step 5: Erase the flash

  • Under "Program", click on Erase Flash

alt text

  • The console screen will provide some information:

alt text

  • The operation should complete quickly:

alt text

Step 6: Flash your device

  • Set the flash address from the default 0x1000 to 0x0000

alt text

  • Click on Choose File and select your firmware file from Step 1

alt text

  • Click on Program
    • The console should output something like the following:

alt text

  • Click on Disconnect

alt text

Step 7: Verify that everything works

  • Under "Console" on Start

alt text

  • Select the same port as in Step 4
  • Click on Connect and then Reset
  • If successful, the console should show something like the below:

alt text

  • In the following steps, you may leave the console connected to monitor the firmware

Step 8: Connect to WiFi [ESP32 boards only support the 2.4GHz band]

  • Download an ESP WiFi config app from your app store

  • Connect your phone to your WiFi access point

  • Open the app and share the password with the device

Step 9: Set it and forget it

  • Monitor the device using the serial console for as long as you like

  • Disconnect and plug the device to a 5V power source

    • Any USB adapter should work
    • Average current draw will be about 20mA, spiking to about 0.5A when connecting to WiFi, i.e., the power consumption is about 0.1W