Setting up a Raspberry Pi for DecBC (Article)

In this tutorial, we are going to learn how to run a DecBC or a ZooBC node on a Raspberry Pi. 

Here, I have a classic kit of  Raspberry Pi, so when I open the box, the first thing we see is an HDMI cable which is necessary to connect the Raspberry Pi to a video recorder. This is very useful as we would like to capture on a video things which happen in the Raspberry Pi as we are using it. The other things you will see in the kit are a power adapter and a small box to which we insert the Raspberry Pi. Finally, in the kit you will also discover the most important object: the tiny Raspberry Pi computer itself.

Furthermore, we also have a microSD card which is used as the computer drive. 

The computer has several components, namely: four USB ports, one HDMA, a power supply and an SD card. 

We also have this white object which works in keeping the processor’s low temperature to prevent overheating. I’m going to stick this on the Raspberry Pi as before I begin using the computer.

Next, we have an adaptor which we can use to read the microSD card on the computer, and a small instruction manual to get you started quickly. 

Now that we have already understood the functions of the components in the Raspberry Pi kit, let us get on with the business of assembling the Raspberry Pi, which is a very interesting process.

  1. First, we have to open the Raspberry Pi’s black casing, to make it easier to put it back together again once we have finished assembling the computer
  1. Take the cooling processor and stick it to the Raspberry Pi. 
  1. Now, we need to match the ports that are open here, so we’ll be able to tell which one is for the microSD and which ones are for the USBs.
  2. Last but not least, now we shut the cover. 
  1. After we shut the cover, we will need a power supply. So we will have to connect the power supply; we will also connect a keyboard and a mouse to the computer. Next, we’re going to see how we can install the node and how we can set the Raspberry Pi up properly. 

Another part of the process which I want to show you is how to prepare the operating system for the Raspberry Pi. To do that, we need to first of all open a browser on your computer. Then, we have to search for a Raspberry Pi imager. Here is the raspberry pi imager, the new imaging utility we have. With this, we can create an SD card with whatever operating system we need. In this tutorial, I am using Mac OS, so I’m going to download it for Mac OS, but we can also use it for Windows and for Ubuntu.

After you’ve finished downloading the Raspberry Pi program, open the file and copy it into the application, thus finishing the installation process! 

If you go to the application, you can find the Raspberry Pi logo there. You can then click the application. 

First you need to choose the operating system (OS) then, choose the Raspberry Pi OS. 

Next, we need to choose the storage. For this process, we need to take the microSD card and put it in an adapter so the computer can read it.  We insert the microSD in the computer using an adapter. From there,we can choose the storage we prefer. Then, we click the “write” button. From this point on, it is going to take a little bit of time to process the microSD card. 

It’s interesting to see how such a small object has evolved from a very big computer which, 20 years ago, would have occupied quite a space and required lots of fans to keep it cool. It’s amazing how today, the Raspberry Pi has become so small like this, not taking up too much space and requiring too many fans.

Now that the microSD card has been installed, we are now verifying it. Once all the processes are finished, we will receive a notification of their completion. The notification also lets us know that now it is safe for us to remove the USB with a microSD card. Careful to remove it before pressing “continue”, because only then, the card is going to be mounted in the computer, requiring you to eject it to remove it from the system. Look at how I removed it and now it’s with me. Now I am able to press “continue”, thus finishing the operation. Having finished this operation, I am ready to do an operation with another card.

Here we have this USB that has the microSD inside. Now I take this microSD and put it on the Raspberry Pi with its back facing up like this once we’ve booted the Raspberry Pi.

Once you are done, we’re booting into the operating system of the Raspberry Pi. There are very interesting settings here, which are very different from the virtual private server. It needs to be done in a Raspberry Pi to run our node but for this tutorial all we see is how to set up the Raspberry Pi, put it together and create an image with the command line interface onon the operating system and the Raspberry Pi. 

If you want to find out more  details about this tutorial, check out our tutorial : Setting up a Raspberry Pi on Youtube.