Tagged articles
GPIO
15 articles · Page 1 of 1
A comprehensive guide to Raspberry Pi covering its evolution from 2012 to 2023, hardware specs (GPIO, HDMI, USB, CSI/DSI), OS options (Raspberry Pi OS, Ubuntu, Kali, Home Assistant), headless setup via SSH, and practical projects like Pi-hole, media servers, smart home hubs, AI cameras, and retro gaming.
GPIOHome AssistantIoT
0 likes · 11 min read

This tutorial walks through STM32's eight GPIO operating modes—four inputs and four outputs—detailing their electrical behavior, typical use cases, configuration steps, and providing complete HAL code examples to help embedded developers choose the right mode for reliable designs.
C++EmbeddedGPIO
0 likes · 16 min read

This article introduces the lightweight lwbtn library for embedded C, explains its core features, shows how to integrate it on STM32 with a complete demo, and provides an in‑depth analysis of its architecture, state‑machine processing, click detection algorithm, configuration options, and practical usage tips.
C++EmbeddedGPIO
0 likes · 13 min read

This tutorial walks through creating a Linux kernel character driver that simulates four GPIO devices, compiles the module, loads it to automatically generate /dev/mygpio0‑3 nodes, and provides a user‑space program to control the GPIO states via ioctl, including full build and cleanup steps.
C++GPIOKernel Driver
0 likes · 12 min read

This article showcases a collection of sophisticated MCU practices—from UART idle‑line interrupts and timer‑based frequency measurement to RTOS scheduling, DVFS power management, flash wear‑leveling, hardware AES, Kalman filtering, bus arbitration, and a GPIO‑driven camera interface—demonstrating how microcontrollers can achieve high‑performance, low‑power, and secure solutions.
Camera InterfaceGPIOHardware Encryption
0 likes · 10 min read

This guide explains why and how to implement MDIO over GPIO on a Linux system, covering MDIO fundamentals, Clause22/Clause45 frame structures, YT8521 PHY pinout, required kernel drivers, device‑tree configuration, log verification, and command‑line usage.
Device TreeEmbedded LinuxEthernet PHY
0 likes · 8 min read

This article explains the Linux kernel's built‑in headphone jack detection mechanism, detailing the asoc_simple_init_jack function, device‑tree GPIO lookup, jack registration, event reporting flow, and highlights platform‑specific alternatives for Rockchip and MediaTek hardware.
ASoCGPIOJack Detection
0 likes · 10 min read

This guide explains Linux GPIO fundamentals, driver APIs for requesting, configuring, and reading/writing pins, and demonstrates how to use the pinctrl subsystem with device‑tree examples for both single GPIOs and GPIO arrays.
Device TreeGPIOLinux
0 likes · 7 min read

Raspberry Pi is a compact, low‑cost micro‑computer ideal for learning programming and IoT, and this guide explains its basics, how to program it with Python—including a LED‑blinking example using RPi.GPIO—and outlines the step‑by‑step installation process on an SD card.
GPIOIoTLED
0 likes · 6 min read

This guide walks you through the fundamentals of STM32 GPIO, covering pin naming, push‑pull vs open‑drain modes, wiring an LED, configuring PB8 with CubeMX, and using HAL functions to programmatically toggle the LED with concise code examples.
CubeMXGPIOHAL
0 likes · 8 min read

The article uses a cultural analogy about Emperor Yongzheng to introduce the concept of mapping, then explains how Linux's mmap can map a physical GPIO register into user space, provides a complete code example for toggling an LED, and discusses mmap's broader uses and performance trade‑offs.
EmbeddedGPIOLinux
0 likes · 10 min read

This article explains how infrared remote controls work, details the NEC protocol timing and encoding, and walks through the Linux kernel driver implementation—including GPIO‑IR receiver code, NEC decoder logic, device‑tree configuration, and key‑event reporting—providing a complete technical guide for developers.
Device TreeGPIOIR remote
0 likes · 17 min read


ITPUBDec 30, 2019 · Fundamentals
This article explains how Linux kernel abstracts diverse GPIO hardware through a layered software framework, covering hardware variations, pin control, GPIO subsystem design, and practical considerations for embedded engineers handling new boards and drivers.
GPIOLinux kernelPin Control
0 likes · 8 min read

This article introduces the GPIO interface, explains how to configure pins for input or output, details the step‑by‑step process of opening connections, reading and monitoring inputs, writing outputs, and closing the connection, and provides a complete Raspberry Pi hardware demo with code and results.
GPIOJavaRaspberry Pi
0 likes · 4 min read

This tutorial explains what Android Things is, guides you through preparing a Raspberry Pi 3, flashing the Android Things image, wiring an LED circuit, and running a sample Blink application that uses a SeekBar to control GPIO‑driven LED blinking.
Android ThingsAndroid developmentGPIO
0 likes · 10 min read
