The gpiod library (libgpiod) is the modern, kernel-recommended way to interact with GPIO pins on Linux systems like the Raspberry Pi. The latest 2.x API represents a significant improvement over the older sysfs interface and the 1.x API, offering better performance, cleaner syntax, and more reliable hardware access. To deepen my understanding of the Linux…
Raspberry Pi
IO μHat for the Raspberry Pi Zero 2W
In this blog entry, I will introduce my IO μHat (microHat) for the Raspberry Pi Zero 2W. This particular μHat provides: The IO μHat also hosts an I2C EEPROM as per the μHat specifications. The configuration of this EEPROM will be covered in a future entry. The schematic is shown below: Both the GPIO expander…
Interfacing an HD44780 LCD to a Raspberry Pi with Kernel Drivers
This blog entry demonstrates how to interface an HD44780 character LCD to a Raspberry Pi Zero 2W, using Linux kernel drivers. This approach should also work on other Raspberry Pi single-board computers. Configure and load the HD44780 kernel module at boot First, you’ll need to load the correct HD44780 Linux kernel module. This will only…


