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
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:
- 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.
- 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
- Visit: https://konstakang.com/devices/rpi4/
- Download the latest version: https://konstakang.com/devices/rpi4/LineageOS20/
- Create a bootable SD card with the image and boot it
- Download the MindTheGapps file that matches your Lineage version and reboot into recovery mode, then load that file and Google Play Store will be ready to use.
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
Add-ons are only available with the Home Assistant Operating System.
After a while, this will be saying Hi to you:
You can give HA a try with Docker as well.
But you wont see these:
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:
- Google Pub/Sub: https://cloud.google.com/free/docs/free-cloud-features#pub-sub
https://www.youtube.com/watch?v=jYIgcdIW1yk
Analytical Software for IoT Projects
Tool | FOSS | Pros | Cons | |
---|---|---|---|---|
Metabase | Yes | Easy to use for creating dashboards and reports. Strong in data visualization and business intelligence. Supports a wide range of databases | Limited in advanced analytics capabilities. Not as flexible for custom data processing as some other tools | |
Apache Superset | Yes | Open-source data visualization and data exploration platform. Supports SQL querying. Customizable and extensible | Requires technical knowledge for setup and customization. May have performance issues with very large datasets | |
Kibana | Yes | Part of the Elastic Stack, excellent for visualizing Elasticsearch data. Great for log and time-series analytics. Real-time data visualization | Primarily tailored to Elasticsearch data. Can be complex to configure and optimize. Less versatile for non-Elasticsearch data | |
<!– | KNIME | Yes | User-friendly, visual data pipeline design. Extensive plugin ecosystem. Good for non-programmers. Strong in data preprocessing and analysis | Can be less intuitive for complex, custom data analysis. Performance issues with very large datasets |
Python Libraries (e.g., pandas, scikit-learn) | Yes | Highly flexible and powerful. Huge ecosystem and community. Ideal for custom, complex analysis | Requires programming knowledge. Steeper learning curve for non-programmers | |
R Libraries (e.g., ggplot2, dplyr) | Yes | Excellent for statistical analysis and data visualization. Large number of packages for various analyses. Strong academic and research community support | Requires 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/