Raspberry Pi – Create a Flask Server

In this tutorial I will show you how to create a web server on your Raspberry Pi using the Flask framework. We will start with the setup and then see how you can connect some GPIOs with Flask. Install – Setup Raspberry Pi OS and Flask First you’ll need to make sure that you installed … Read more

What is Raspberry Pi?

In this article I will give you an overview of the different applications you can do with a Raspberry Pi, the history behind the board, and the different hardware components you can find on the board. >> Here is the video version of this article, which is also the 1st part in a Raspberry Pi … Read more

Raspberry Pi’s GPIOs Default State

So, you’ve been playing with your Raspberry Pi and the GPIO panel, and you’ve noticed that when you read the GPIOs, some of them give you the value HIGH (or 1) by default, some of them give you the value LOW (0). Why is that? In this tutorial I will show you what is the … Read more

How to Learn Python 3 with Raspberry Pi from Scratch

Learning Python 3 with Raspberry Pi is a great idea. You will be able to write programs producing real physical results, while also learning more about computer science in general, system administration, hardware, etc. Programming is not only about smashing code into a text editor. To be able to write great programs you also need … Read more

11 Raspberry Pi 4 Project Ideas

So, you’re starting to learn how to use your Raspberry Pi 4 board, and you may be wondering: what can you do with your Pi? What fun project can you start, and what can this project teach you so you’re progressing while building something? In this post I’ll give you some things to do with … Read more

Install ROS2 Humble on Raspberry Pi 4

In this tutorial you will learn how to install ROS2 Humble Hawksbill on Raspberry Pi 4. ROS2 is a great framework/middleware for robotics applications. With a Raspberry Pi board you can go much further, and embed a complete ROS2 application inside a small robot. For example, if you want to build a mobile base with … Read more

Raspberry Pi GPIO Interrupts Tutorial

In this tutorial I’ll teach you how to use GPIO interrupts on your Raspberry Pi, thanks to the RPi.GPIO library. You’ll see: Why and when you need interrupts. How to use interrupts in your programs. 3 working examples to practice on different situations. This tutorial works on Raspberry Pi 4 (and earlier, 3B, 3B+), with … Read more

Setup Raspberry Pi Hardware Permissions

Raspberry Pi hardware permissions can be quite tricky. So, you are using hardware functionalities with your Raspberry Pi 4 (or 3B, 3B+), and always getting errors such as “Permission denied”? This might be the case if you use I2C, SPI, UART, or simply the GPIOs on the Pi, with a user that isn’t root. In … Read more

Introduction to WiringPi (for Raspberry Pi)

[NOTE] The WiringPi library is not supported anymore by its initial author, however there is a fork on GitHub where the open source community is continuing to provide support updates. I am leaving this tutorial as it was first published, because it might still be useful, but be aware that some information might not be correct. [/NOTE] … Read more

WiringPi I2C tutorial with Rasperry Pi (using ADXL345)

[NOTE] The WiringPi library is not supported anymore by its initial author, however there is a fork on GitHub where the open source community is continuing to provide support updates. I am leaving this tutorial as it was first published, because it might still be useful, but be aware that some information might not be correct. … Read more

Raspberry Pi 4 Pins – Complete Practical Guide

The Raspberry Pi 4 board has a GPIO header with 40 pins. This GPIO header is also the same for Raspberry Pi 3 boards, so this guide applies to both versions. GPIOs allow you to easily use hardware features and communication, directly from a computer – the Raspberry Pi microprocessor. It brings the Raspberry Pi … Read more

Install and Use Vim on Raspberry Pi

So, you’re using a Raspberry Pi board, and are wondering which IDE you might use to write your code. As the Raspberry Pi resources are quite limited, and you’ll often use it headless (without a screen), the number of options you have is also quite limited. In this post I’ll show you how to install … Read more

Make a Raspberry Pi 4 program start on boot

Let’s say you have developed a super program running on your Raspberry Pi 4 board. But here’s the problem: to start it you always have to power on the board, log in (with a screen and keyboard or via ssh), and start your program. How could you make your Raspberry Pi 4 program start on … Read more