Post

Getting Started with Raspberry Pi Projects

Getting Started with Raspberry Pi Projects

A journey with the Raspberry Pi.

Fuel your curiosity with Raspberry Pi - the single board computer that’s redefining the future of technology.

Why RPi?

The Raspberry Pi is a tiny computer, low power consumption (ARM based) that you can use to learn programming through fun, practical projects and also allow us to have our own server to run 24/7 tasks that don’t require the expensive hardware of a PC.

It can run Linux distributions like: Debian, OpenMediaVault or most commonly Raspbian OS.

It can also run Android.

All of the services/projects that we can make the RPi to run, can be easily ported to some cloud service, VPS and so on.

So it serves as an entry point to learn also about Cloud/Linux/Docker as well.

And ofc, the IoT: sensors, electronic…with its great GPIO.

How to Get Started with a RPi?

First I would recommend you to install Raspbian to the RPi.

  • Raspbian/Raspberry Pi OS is based on Debian, a Linux distribution.
  • You can also Try Home Assistant OS, with strong Focus on IoT Home Project, even Android!

But you dont have to be worried about this as I have created to onboard anyone to Linux and particularly to Debian based distros here.

If you are doing the RPi Setup, 99% of that information is applicable to our SBC.

Install Raspbian from any computer with RPi Imager:

1
2
3
4
apt update
apt upgrade

sudo snap install rpi-imager

rpi-imager Getting the OS ready at the RPi

Now plug the SD Card to the RPi and make sure to enable SSH Access & open the related port 22.

You can pre-enable SSH Access by:

  1. Open the boot partition of the SD card. This partition should be automatically accessible from any computer, as it is formatted in a standard FAT32 format.
  2. In the root (main) directory of the boot partition, create an empty file named ssh. Ensure the file has no file extension — it should not be ssh.txt or any other variant.

There are other Single Board Computers out there that you can use to do similar projects.

Other OS’s

Android in a Raspberry Pi?

Yes, it is possible to run Android in our SBC.

Lineage OS

Light OS for Raspberry Pi

  • Raspberry Pi OS Lite
  • DietPi

Home Assistant OS

Get ready RPi Imager and Select: Other Speficic Purpose OS -> HA and Home Automation.

Make sure your Pi is connected to ethernet when booting and you will get a local IP with port 8123 to see the UI of the installation

Desktop View

Add-ons are only available with the Home Assistant Operating System.

After a while, this will be saying Hi to you:

Desktop View

You can give HA a try with Docker as well.

But you wont see these:

Desktop View

1
ha --help

Other Home Automations / IoT OS

  • Homebridge
  • OpenHAB… (you can also install them with Rpi Imager).

You can also use it with the Cloud:

https://www.youtube.com/watch?v=jYIgcdIW1yk

Analytical Software for IoT Projects

ToolFOSSProsCons 
MetabaseYesEasy to use for creating dashboards and reports. Strong in data visualization and business intelligence. Supports a wide range of databasesLimited in advanced analytics capabilities. Not as flexible for custom data processing as some other tools 
Apache SupersetYesOpen-source data visualization and data exploration platform. Supports SQL querying. Customizable and extensibleRequires technical knowledge for setup and customization. May have performance issues with very large datasets 
KibanaYesPart of the Elastic Stack, excellent for visualizing Elasticsearch data. Great for log and time-series analytics. Real-time data visualizationPrimarily tailored to Elasticsearch data. Can be complex to configure and optimize. Less versatile for non-Elasticsearch data 
<!–KNIMEYesUser-friendly, visual data pipeline design. Extensive plugin ecosystem. Good for non-programmers. Strong in data preprocessing and analysisCan be less intuitive for complex, custom data analysis. Performance issues with very large datasets
Python Libraries (e.g., pandas, scikit-learn)YesHighly flexible and powerful. Huge ecosystem and community. Ideal for custom, complex analysisRequires programming knowledge. Steeper learning curve for non-programmers 
R Libraries (e.g., ggplot2, dplyr)YesExcellent for statistical analysis and data visualization. Large number of packages for various analyses. Strong academic and research community supportRequires programming knowledge. Less intuitive for those unfamiliar with R–>

How to BackUP a RPi

  • https://www.reddit.com/r/selfhosted/comments/1advwg7/best_way_to_backup_everything_from_raspberry_pi/
This post is licensed under CC BY 4.0 by the author.