Implementation of an ESP32-Based Lightweight Miner Using the Educational Duino-Coin Platform for Internet of Things Applications

Implementation of an ESP32-Based Lightweight Miner Using the Educational Duino-Coin Platform for Internet of Things Applications

Mohammadhossein Daneshpejooh1 Taleb Safinia2 Abolfazl Hasanpour3 Amirhossein Faghih4

1) B.Sc. in Computer Engineering, Jam Faculty of Engineering, Persian Gulf University
2) B.Sc. in Computer Engineering, Jam Faculty of Engineering, Persian Gulf University
3) Computer Engineering, Jam Faculty of Engineering, Persian Gulf University
4) B.Sc. in Computer Engineering, Jam Faculty of Engineering, Persian Gulf University

IOI Code : AAHD-ABBBKD
Publication : National Conference on Information Technology, Nanotechnology, Artificial Intelligence and Technological Futures Studies(itnaf.ir)
Abstract :
    : The expansion of the Internet of Things (IoT) and the growing need to enhance users’ technical knowledge in the field of blockchain have increased reliance on low-power devices with edge computing capabilities. Accordingly, this study investigates the feasibility and performance evaluation of implementing a lightweight cryptocurrency miner based on the ESP32 microcontroller within the Duino-Coin (DUCO) network. The primary objective is to assess the practical capability of low-power, resource-constrained hardware in executing hash-based computational tasks and to analyze their efficiency in a controlled educational environment. The study aims to practically demonstrate the processing capabilities of the ESP32, evaluate the benefits of parallel processing, and examine the stability of network communication during the mining process. To this end, a miner based on the lightweight DSHA1 hashing algorithm was designed and implemented using the FreeRTOS real-time operating system, leveraging both processing cores of the ESP32 to increase the hash rate. In addition, a built-in web-based interface was provided to enable local monitoring of mining status and real-time observation of performance metrics. Experimental results indicate that the ESP32 can participate stably in the Duino-Coin network and achieve an acceptable hash rate despite inherent hardware limitations. The use of multithreaded processing led to a noticeable performance improvement compared to single-core execution and established a suitable balance between power consumption and computational efficiency. The findings demonstrate that executing lightweight cryptographic computation tasks on IoT hardware is feasible and can serve as an effective platform for teaching concepts related to blockchain, edge computing, resource management, and the constraints of embedded systems. These results practically confirm the potential of the ESP32 and similar platforms for research and educational applications in emerging technologies.

Keywords : internet of things (iot) esp32 duino coin lightweight mining edge computing