Posts Tagged ‘Orange Pi 5 VerusCoin miner

If you are considering using an Orange Pi 5 for Mining VerusCoin (VRSC) (Ad) one thing you should have for sure is an additional cooling solution like the GeeekPi Orange Pi 5/5B Cooling Fan with Heatsink, however although good and working well this solution is far from optimal and can benefit from some additional tweaking. The main thing that you can improve is the heat transfer efficiency since the default thermal transfer material that sits in between the CPU and the cooler is a pretty thick thermal pad. Thicker thermal pads are not that efficient, however with a big gap you cannot replace a pad with just thermal paste so you need another solution here…

What you need is a solid copper thermal pad to replace the pink thermal interface that the cooler kit comes with. There are a lot of different copper pads available both in terms of size and in terms of thickness. The ideal width and height would be 18 by 18 millimetres, though there are harder to find and you can go with 15 mm or 20 mm just fine as you can see on the photo above, we went for the bigger one as it covers a larger area. The more important thing here is the thickness and what worked out very well for us is a 1.2 mm thick copper pad (Ad), though you could probably use 1 mm or 1.5 mm as well and compensate with more or less thermal compound. Good thermal compound that we like to use is ARCTIC MX-4 Thermal Compound (8 g) (Ad), though you can use anything else that has good capabilities and you may have lying around already.

The average temperature with the active cooler installed with the default flexible thermal interface pad we have observed was around 65-67 degrees Celsius while mining VerusCoin (VRSC) or around 40 without 100% load. Without the active cooler installed the temperature quickly hits 85 degrees Celsius when the miner is started, so the cooler is doing quite a good job in reducing that operating temperature, however it is still higher than we would like to be for a device running 24/7 mining crypto currencies.

As for the hashrate, a little below 6.6 MH/s average hashrate with a power consumption of about 9 Watts measured at the wall. This is again the result with the active cooler installed with the default flexible thermal interface pad, but as we’ve mentioned things can be improved by replacing the flexible thermal interface pad with a solid copper pad and good thermal compound… the question is how much of an improvement will that bring.

In terms of operating temperature, quite a significant improvement when we add the 20×20 mm copper pad with thickness of 1.2 mm and MX4 thermal compound in between… there is more than 20 degrees Celsius drop in the operating temperature. The newly measured stable operating temperature of the CPU of the Orange Pi 5 with the copper pad is now around 43.5 degrees Celsius, just a little bit higher than the Pi 5 with no active cooling and no load. You can hardly get any lower than that probably with conventional air cooling and you probably would not want to do it anyway as that operating temperature is really what we are more than fine with while mining.

After replacing the flexible thermal pad with a copper pad, we are seeing a slight increase in the average hashrate produced of a little over 100 KH/s to about 6.7 MH/s which might not be that much but is still somewhat of an improvement. There is also a slight drop of the power usage, we’ve measured 8.8 Watts at the wall down from 9 Watts before, so 0.2 Watts decrease in power usage. Again, might not be much but is still something that if you put in a large-scale perspective might build up to more significant numbers over time. The main goal was to lower the operating temperature while mining, but it has led to some other slight improvements as well, so a good job doing this little bit of modification to improve things overall. So, if you have an Orange Pi 5 or a few and if you are using them for mining VRSC or for other things that actually do require more processing power you might consider doing this modification for the cooling as well.

For a guide on setting up and using Orange Pi 5 for mining verusCoin (VRSC)…

VerusCoin (VRSC) is an interesting project that has been available for a while already, but has more recently been generating attention among miners this year thanks to its ability to efficiently mine it with power efficient ARM-based devices such as smartphones and microcomputers. The focus of this article is how to set up VerusCoin (VRSC) mining on an Orange Pi 5 device (similar to Raspberry Pi, but more powerful) thanks to the use of a Rockchip RK3588S 8-core 64-bit processor that is capable of quite decent performance with a low power usage, making it one of the best options for efficiently mining VRSC or other similar crypto coins. We are going to be doing a separate guide on how to mine VRSC on an Android-based mobile device, so stay tuned for that as well… You can now also read how to Easily Start Mining VerusCoin (VRSC) With an Android-Based Smartphone.

So, what do we need to get started? Obviously, we first need to acquire an Orange Pi 5 board, a 5V USB-C power adapter capable of at least 10 Watts (2 Amps), along with an additional cooling as the CPU gets hot while mining as you should already know, then we also need a 16GB/32GB micro-SD flash card with a card reader. Do note that we don’t need the more complex, feature rich and expensive Orange Pi 5 Plus variant for mining or the 5B wit WiFi module, nor do we need more than the cheapest 4GB RAM version of the Orange Pi 5 board (it is available with up to 32 GB RAM). The official white power adapter capable of 5V 4A is fine for the purposes we are going to use the device, so you can get that one or skip the extra cost if you already have a 5V capable of 2A or more USB-C power adapter sitting unused. As for cooling, there are a number of options available, though the GeeekPi Orange Pi 5/5B Cooling Fan with Heatsink does seem to be a popular solution for active cooling that does the job well, even though it could’ve been made even better and more efficient. You would also need an ethernet cable to connect the Orange Pi 5 to a router or a switch for Internet connectivity, since we are not using the more expensive 5B versions that has an extra WiFi adapter, although you might want to go for that one and ditch the cables as well and go the wireless way.

Summary of what we need:
Orange Pi 5 4GB with Rockchip RK3588S @ $79.99 USD
Orange Pi 5 4GB with Rockchip RK3588S + PSU @ $89.99 USD
GeeekPi Orange Pi 5/5B Cooling Fan with Heatsink @ $17.99 USD
SanDisk 32GB Ultra MicroSDHC UHS-I Memory Card with Adapter @ $9.95 USD

After we have all the available hardware for our mining setup we need to prepare the software, the first thing is to download the latest Ubuntu Server image for the Orange Pi 5 board we are using, you can do so from the official Oange Pi 5 Ubuntu repository here, make sure you download the Orangepi5b_1.0.2_ubuntu_jammy_server_linux5.10.110.7z image from there as we don’t really need to use the desktop versions for our mining purposes. The image is archived with 7-Zip (7z), so you need to decompress it first and extract the Orangepi5b_1.0.2_ubuntu_jammy_server_linux5.10.110.img file from the archive that you will then proceed to write on the micro-SD flash card. There are a number of tools available for writing image files to flash cards, but one of the easiest and straightforward ones we like is the Balena Etcher, you can go for the portable version that does not need to be installed first and can directly be run and go to flash the Ubuntu IMG file on the micro-SD flash card.

While the image is being written on the SD flash card you can proceed and install the GeeekPi Orange Pi 5/5B Cooling Fan with Heatsink on the Orange Pi 5 board, it is a straightforward and easy to do so, even though the manual you get with the cooler can be a not so user friendly. There is quite a bit of a gap between the CPU of the board and the cooler when you are assembling it and it is covered with the included thermal pad that ensures thermal transfer, though less space and good thermal paste would probably make for much better thermal conductivity resulting in further lowering the operating temperature while mining. That is something that needs some extra work, but it is not necessary for the normal mining operation of the Orange Pi 5 as even with the default setup of the cooler when you plug in the fan the operating temperature under load sits at around 65 degrees Celsius (it quickly hits 85 without the cooling) while the idle temperature we have measured after an hour of being plugged in was in the 40s. You need to be careful when plugging in the power pins of the cooling fan in the board’s header pins. You need to use the second and third pin on the side near the edge of the board closer to the flash card slot, the second pin is for the red (power) cable and the third is for the black (ground) cable. Connecting them right should result in the RGB lighted fans to start spinning (why the need for RGB here?) when you plug in the power cable and turn on the Orange Pi.

After you flash the Ubuntu server image on the micro-SD card, insert the card in the Orange Pi 5 slot, attach the cooler and fans, connect the Ethernet cable to your router or switch and the board you need to plug in the USB-C power adapter and everything should work just fine. Now you need to figure out what is the IP of the Orange Pi 5 in your local network as the device will utilize DHCP to get an IP address assigned automatically (unless you do not have active DHCP service in the local network). An easy way to see the IP address is to use an IP scanner and scan the IP range that your router uses (usually either 10.X.X.X or 192.168.X.X). We like the ease of use of the Angry IP Scanner especially the Legacy version that we’ve been using for ages, though feel free to use any IP scanner you like. Alternatively, you can also check if your router has a page reporting all the connected devices and their IPs, that could also work, the Orange Pi 5 should report itself with a hostname orangepi5b.lan. In our case the IP address of the Orange Pi 5 board we’ve had was 192.168.1.73 as you can see from the screenshot above, you’ll need this address in the next step where you will actually connect to the Orange Pi 5 via SSH with the help of PuTTY or your favourite SSH client.

The default username of the Orange Pi 5 Ubuntu Server Linux distribution is root and the default password is orangepi, so you’ll be using these to login and you can change the user and or password should you wish to make things more secure etc. The next step you need to do is to install the VerusCoin (VRSC) miner that you will be running on the Orange Pi 5 and for that we are going to be using the optimized ARM version of ccminer from Oink70. What you need to run now over the SSH connection to your Orange Pi 5 board is the following command:

curl -o- -k https://raw.githubusercontent.com/Oink70/Android-Mining/main/install.sh | bash

It is an installation script that will update your Ubuntu Linux and make sure it has all the needed libraries installed for the miner to work and then also download the latest ccminer, so you would be able to start mining after this procedure is finished, it could take a bit to download and install everything, so be patient. If there are no error messages when the installation script finishes you are good to continue, if you encounter some errors you might want to restart (literally type restart) the Orange Pi 5 and then reconnect and run the installation script to finish properly with the updates this time.

The next step is to edit the configuration file where you will enter your pool address and wallet address, there are already default ones set in the config, so make sure you change them, so that the miner will mine to your own VRSC wallet. You can check to confirm everything is working properly in the statistics of the pool you choose when you finish setting up everything and actually start mining. To edit the configuration file first enter the folder where the miner has been setup using cd ccminer and then just type:

nano config.json

Make the changes for the pool address (url) and the wallet address (user), the default config has a main pool and a backup pool set, you can actually use these pools too, although we like to go for Luckpool, but you must change the wallet address to your own. After you finish changing hit Ctrl + X and confirm with Y that you want to write the changes. For easier editing you can alternatively use SCP connection with a software such as WinSCP for example that can make it easier to make changes, especially copy and pasting.

You can now do a test run with ./ccminer -c config.json in order to see that everything will be running just fine, before you configure the Orange Pi 5 to automatically start the miner on every start by taking advantage of the crontab functionality of Linux. If running the miner manually results in normal operation, then you can proceed to configuring crontab by running:

crontab -e

Then selecting 1 for the Nano text editor we’ve used in the previous step for the config file for the editing, go to the end of the file and type the following:

@reboot ~/ccminer/start.sh

Hit Ctrl + X and confirm with Y to save the changes you’ve made, then you can just type reboot to restart the Orange Pi 5 and when the device starts up again it will automatically run the ccminer and it will start mining VRSC. In order to check the current status of the miner you will need to login via SSH again and type screen -x CCminer to see the output of the miner, otherwise you will be presented with juts the normal command line after you login even though ccminer will still be running in the background.

What can you expect from the Orange Pi 5 mining VRSC in terms of hahsrate, well the latest ccminer does manage to provide you with around 6.6 MH/s to 6.7 MH/s hashrate with a power usage measured at the wall at 9W (using the official Orange Pi 5 white power adapter). Efficiency wise very good, especially when compared to what you can get from a desktop CPU that although might provide more hashrate will do so with significantly higher power usage compared to the Orange Pi 5. The hashrate and efficiency of the Orange Pi 5 mining VRSC is also generally better than what you’d normally get while using an Android-based smartphone to mine, though that could depend on a lot of factors.

In the end, a quick word about VRSC mining profitability on the Orange Pi 5. At the moment the price of VRSC is around $0.40 USD per coin and the current block reward is 6 coins and what you can expect to mine for a day with a single Orange Pi 5 device is around 0.08-0.1 VRSC at the moment. So, let us say you will be making around 4 US cents per day with something like half of that going for the electricity used as a rough estimate… it will take quite a while to even just pay off for the Orange Pi 5 itself. Profitability wise doesn’t make much sense to go for it at the moment, but if you like to play around and experiment with mining, then you are more than welcome to do so with Orange Pi 5 and VRSC mining. Just make sure not to blindly invest into a large-scale mining setups as the daily trading volume of VerusCoin is low and it might not be able to handle it very well and VRSC is already at over 89% of its total supply of coins. So, just be mindful of these things and do have a backup plan for what you can use an Orange Pi 5 for should you decide to stop mining VRSC, the good news is that this device actually has a lot of other possible uses aside from mining VRSC… unfortunately not a lot of viable alternatives in other things to mine with it besides VerusCoin though.


top