A few months ago, we published a tutorial on extracting a currency called DuinoCoin. Now we performed the extraction operation with the help of ESP32 and with OLED, we displays Walt inventory values, number of miners, and various values at the same time as mining.
- Show wallet balance
- Display the number of miners
- Mine at the same time as displaying wallet information
We will use ESP32 as a processor. and we will add an OLED displays Walt inventory values, number of miners, and various values at the same time as mining.
- ESP32
- Oled 0.91 SSD1306
We have the pins related to the I2C protocol to communicate between the OLED display and the ESP32 board. In the ESP32 board, we will use pins D21, and D22, and in the OLED display, SCL and SDA pins. We will also use VIN or 5V pins on the ESP32 board for the power supply.
Make the connections according to the table and schematic below.
ESP32 | Oled 0.96 |
---|---|
D22 | SCL |
D21 | SDA |
5v | VDD |
GND | GND |
- Complete Schematic
Change the following according to your Wi-Fi network information and your Doinocoin account name.
const char *wifi_ssid = "C1F3R";
const char *wifi_password = "314159265";
const char *username = "CiferTech";
This is the case for your ESP32 chip version. If you have a serious problem uploading the code, comment on the first line and remove the second line from the comment.
#include "hwcrypto/sha.h"
//#include "sha/sha_parallel_engine.h"
Finally, after changing the information mentioned in the code, establishing connections and finally uploading the code, the values in the wallet, the number of miners and the estimated amount of mines based on the number of miners and HASH RATE are displayed in the OLED display, values after a short period They are updated according to the time of mining your board and changing the received information.
Distributed under the MIT License. See LICENSE.txt for more information.
CiferTech - @twitter - [email protected]
Project Link: https://github.com/cifertech/DucoMiner-Monitor-ESP32
Special Thanks to ...