---
title: "RPi Pico Duino-Coin Dual-Core Miner with WIZnet W5100S"
url: "https://maker.wiznet.io/mason/projects/rpi-pico-duino-coin-dual-core-miner-with-wiznet-w5100s/"
markdown_url: "https://maker.wiznet.io/mason/projects/rpi-pico-duino-coin-dual-core-miner-with-wiznet-w5100s/md"
type: "WCC: WIZnet Created Content"
author: "MasonLee"
author_url: "https://www.hackster.io/user1959920/duino-coin-mining-with-wiznet-w5100s-evb-pico-using-dualcore-53f06b"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "MasonLee"
original_url: "https://www.hackster.io/user1959920/duino-coin-mining-with-wiznet-w5100s-evb-pico-using-dualcore-53f06b"
license: "Apache License 2.0 (Apache-2.0)"
published: "2022-09-21"
language: "en"
tags: ["C/C++", "Blockchain", "Cryptocurrency"]
hardware: ["WIZnet W5100S-EVB-Pico"]
likes: 26
views: 9140
comments: 2
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# RPi Pico Duino-Coin Dual-Core Miner with WIZnet W5100S

> Let's see how to mine the duino coin using WIZnet W5100S-EVB-Pico. Two mining on one board using Dualcore. !

Original author: MasonLee (source: https://www.hackster.io/user1959920/duino-coin-mining-with-wiznet-w5100s-evb-pico-using-dualcore-53f06b)

## Components

- **WIZnet W5100S-EVB-Pico** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5100S/w5100s-evb-pico))

## Documents and links

- [RP2040-HAT-MINING-C](https://github.com/Wiznet/RP2040-HAT-MINING-C.git) (code)
- [W5100S-EVB-Pico](https://github.com/Wiznet/Hardware-Files-of-WIZnet/tree/master/02_iEthernet/W5100S/W5100S-EVB-Pico) (schematics)

## Article

**Introduction**

This is an example project for mining duino coin with WIZnet W5100S-EVB-Pico. Through this project, Two mining machines are implemented on one board using Dualcore.

![image.png](https://hackster.imgix.net/uploads/attachments/1498047/image_8fahngWeKt.png?auto=compress%2Cformat&w=740&h=555&fit=max)

Let's get started!

**0. Preparation**
Duino Coin wallet: <https://wallet.duinocoin.com/>
W5100S-EVB-Pico or W5500-EVB-Pico or hardware with the same schematic
Micro USB cable
Internet router
Ethernet cable

**1. Download**

Clone the WIZnet RP2040 DUINO COIN Mining stack example code using the Git command on your environment

```plaintext
> git clone https://github.com/Wiznet/RP2040-HAT-MINING-C.git
```

**2. Input your Duino information**

Open file "*examples/miner_W5100S-EVB-Pico/miner_W5100S-EVB-Pico.c"* and inpur your user name and miner key

```plaintext
/* Duino coin information for the mining*/
// User name : input yours
#define  DUINO_USER_NAME  "user name"
// Miner key : input yours
#define  DUINO_MINER_KEY  "miner key"
```

**3. Build**

- Create build folder

```plaintext
> cd RP2040-HAT-MINING-C
> mkdir build
> cd build
```

- CMake and make

```plaintext
> cmake ..
> make -j8
```

option "-j8" means that 8 cores will be used to make

**4. Flash program**

After the build, a binary file is created in the following folder.

Master binary: *build/examples/miner_W5100S-EVB-Pico/miner_W5100S-EVB-Pico.uf2*

Binary file can be programed using BOOTSEL button on the RP2040 board. If the micro usb cable is connected to the PC while the button is pressed, it is recognized as an external storage device. Programming is done by simply copying the binary file to the external storage device.

**5. Test**

connect the your board to the internet router using ethernet cable. A few minutes after, you can see the logs through RP2040 USB CDC port.

![image.png](https://hackster.imgix.net/uploads/attachments/1498053/image_j4g5h9cvC2.png?auto=compress%2Cformat&w=740&h=555&fit=max)

Mining Status

The two miners status can be checked from the duino coin wallet web site too.

![image.png](https://hackster.imgix.net/uploads/attachments/1498054/image_3hjkclA6O0.png?auto=compress%2Cformat&w=740&h=555&fit=max)

Demo Video

[Embedded media](https://www.youtube.com/embed/zWmIeoC6GBE)

---

Source: https://maker.wiznet.io/mason/projects/rpi-pico-duino-coin-dual-core-miner-with-wiznet-w5100s/
