Introduction to WiringPi (for Raspberry Pi)

WiringPi is a Cpp library for Raspberry Pi. With this library you can use many of the functionalities provided by the GPIO header: digital pins, SPI, I2C, UART, etc. Although there are many Python libraries for Raspberry Pi GPIOs, Cpp is quite a bit behind. Fortunately, there is WiringPi. In this post you’ll install WiringPi, … Read more

WiringPi I2C tutorial with Rasperry Pi (using ADXL345)

In this tutorial I’ll show you how to write a Cpp program with WiringPi on your Raspberry Pi board, to communicate with a sensor through I2C protocol. Make sure to read this introduction to WiringPi before if you don’t know the library well. We’ll just use the basic functionalities of the ADXL345 here: read acceleration … 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