This is an example project for mining duino coin with WIZnet W5100S-EVB-Pico. Through this project, Two miner are implemented on one board using Dualcore.
Let's get started!
0. Preparation- Duino Coin wallet: https://wallet.duinocoin.com/
- W5100S-EVB-Pico or hardware with the same schematic (for example Raspberry Pi Pico + W5100S)
- Micro USB cable
- Internet router
- Ethernet cable
Clone the WIZnet RP2040 DUINO COIN Mining stack example code using the Git command on your environment
> git clone https://github.com/Wiznet/RP2040-HAT-MINING-C.git
2. Input your Duino informationOpen file "examples/miner_W5100S-EVB-Pico/miner_W5100S-EVB-Pico.c" and inpur your user name and miner key
/* 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
> cd RP2040-HAT-MINING-C
> mkdir build
> cd build
- CMake and make
> cmake ..
> make -j8
option "-j8" means that 8 cores will be used to make
4. Flash programAfter 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. Testconnect the your board to the internet router using ethernet cable. A few minutes after, you can see the logs through RP2040 USB CDC port.
Mining Status
The two miners status can be checked from the duino coin wallet web site too.
Demo Video
Comments