These are my blogs

and also my life

Using libgpiod to detect input events

2021-05-17 hardware gpio

One of the most fundamental requirements for GPIO is the ability to execute user defined code when an external event has happened. This is typically ... Read More

GPIO Input with libgpiod

2021-05-10 hardware raspberry-pi

We can use the libgpiod library to configure a GPIO line as input and read it’s value. We’ll create a switch circuit so we can test the ... Read More

Blinking and LED with libgpiod

2021-05-03 hardware raspberry-pi

In the previous post we introduced libgpiod. In this post we’ll use the command line tools to blink and LED. Finally, we’ll write some C ... Read More

The new GPIO Interface on the Rasberry PI: libgpiod

2021-05-02 hardware gpio

The GPIO Sysfs Interface is deprecated. The deprecated Sysfs would interact with GPIO using the /sys/class/gpio pseudo-filesytem. The Application ... Read More

Raspberry Pi SPI Explained

2021-04-21 hardware raspberry-pi

This post attempts to provide some finer details when using SPI on Raspberry Pi as it pertains to using the Chip Select pins and multiple SPI ... Read More

Audio Clip Capture by Threshold

2021-04-10 hardware raspberry-pi alsa

Here is a command line tool to capture audio clips based on a threshold. The setup is a microphone attached to a Raspberry Pi. I used multiple ... Read More

TF Mini Plus Unix Agent for the Raspberry Pi

2020-10-12 hardware lidar Range Finder

In this post we will create a Unix agent for the TF Mini+ LiDAR Range Finder. We’ll run the agent on a Raspberry Pi B+ as a daemon. This agent ... Read More

SX1276 LoRa Module on Raspberry Pi

2020-09-15 hardware lora wireless

I recently purchased two E32 868T20D LoRa wireless modules from Amazon. These E32 modules run off the SX1276 LoRa Chip. In this post I’ll ... Read More

LSM9DS1 Command Line Tool for Raspberry Pi

2020-06-03 hardware raspberry-pi

I recently created a LSM9DS1 Command Line Tool for the Raspberry Pi. This tool was used to capture Accelerometer and Gyroscope data. I did an ... Read More

UART Between Raspberry Pi and Arduino

2020-03-18 c hardware arduino raspberry-pi

Using a 2-wire serial connection we can communicate from a Rapsberry Pi (RPi) to an Arduino. For the Rasperry Pi we’ll use the built in UART ... Read More