The Flexibility of a Raspberry Pi
Published: 2020-11-17 13:57:42

![the pi 4](https://dev-to-uploads.s3.amazonaws.com/i/cqldcwr99a6lfqlzq6ys.jpg)
## What is this thing?
A raspberry pi? That's food right? What's it doing on a tech blog?  Well, its actually not food this time around.  A raspberry pi is a small computer roughly the size of a credit card.  There are various models out currently, with the newest being the raspberry pi 4, which has various RAM configurations. These Pis are pretty powerful for their size and plenty capable since they can run linux. There are pre-packaged kits that one may buy when purchasing a Pi but if one wanted to go barebones on a Pi build, users will need at the minimum a:
<ol>
<li>microSD card - this is where the OS lives.</li>
<li>a microSD card reader - on a working computer to setup the SD card</li>
<li>A power adapter -  Depends on model raspberry pi but either USB-C or micro-usb.  A cellphone charger will do in a pinch most of the time</li>
<li>A raspberry Pi</li>
</ol>

## What model of Pi do I need?
This depends entirely on the work load a user will demand from the raspberry pi.  If the goal is to simply learn and experiment, picking up the previous generation pi, the raspberry pi 3B, might be the best option as they can be had on eBay for very little.  On the other hand, if a user will be placing a demanding workload on the computer, the raspberry pi 4 model B may be the winner. It starts at $35 and has RAM variants of 2gb, 4gb, or 8gb.

## Basic Setup
Most of the time, I recommend using the Rasbian OS that is made specifically for the Pi. It's a custom flavor of linux for our Pi created by the creators of Raspberry Pi themselves. The easiest way to do so is to use their tool called [Raspberry Pi Imager](https://www.raspberrypi.org/software/)
<ol>
<li>Download and install the imager</li>
<li>Select Raspian Os</li>
<li>Choose your SD card</li>
<li>Write!</li>
</ol>

There are a couple more things to do before booting up the Pi for the first time.
If you would like to run the machine headless or access it via SSH, we need to configure it first.  It's painless though.
<ol>
<li>Navigate to your SC card in either your browser or from the command line.</li>
<li>Enter the /boot directory</li>
<li>Create a file named 'ssh' - DO NOT PUT A FILE EXTENSION</li>

Configure WIFI:
<ol>
<li>Create or edit the file 'wpa_supplicant.conf' in the /boot directory</li>
<li>The network portion of this file at the end should read:
```
network={
    ssid="myNetworkName"
    psk="myNetworkPassword"
}
```
Replace the SSID and PSK strings with your network information.</li>
</ol>

Now the Pi should be configured and ready to go.  Decide on a project, and you're off to the races.

## What Can I Do With This Thing?
This little computer is so low power and versatile you could have it powered on and running all the time without even knowing it. Yet it is powerful enough to do some incredibly cool tasks.  I'd suggest exploring a couple of the following options:
<ul>
<li>Install NodeJS and Host Your Own Web Apps</li>
<li>Install [PiHole](https://pi-hole.net/), a popular network wide ad blocker.</li>
<li>Host a Media Server like Plex, Emby, or Jellyfin</li>
<li>Use NextCloud to setup a personal home cloud service</li>
<li>Install RetroPi instead and use it to emulate your odl game consoles.  Who needs an NES Classic?</li>
<li>Create a secondary Git repository</li>
<li>Use it as learning opportunity for children, it's cheap enough and not dangerous.</li>
</ul>