Getting Started with Raspberry Pi 5 GPIO

Getting Started with Raspberry Pi 5 GPIO

Getting Started with Raspberry Pi 5 GPIO GPIO, which stands for General Purpose Input/Output, is a critical interface for connecting external devices, transforming your Raspberry Pi into a multifunctional control center. GPIO is also key for Internet of Things (IoT) development, as many devices require data interaction through GPIO interfaces. The 40-pin header supports digital … Read more

Controlling Raspberry Pi GPIO with RPi.GPIO

Controlling Raspberry Pi GPIO with RPi.GPIO

The GPIO interface of the Raspberry Pi is like the nerve endings of a small computer, capable of sensing external signals and controlling various peripherals. Using the RPi.GPIO module, we can easily manipulate these pins with Python code. Whether it’s lighting up a small bulb, controlling a motor, or reading sensor data, it’s all possible. … Read more

Raspberry Pi IO Port Driver Development

Raspberry Pi IO Port Driver Development

Follow+Star PublicNumber, don’t miss the wonderful content Source | One Linux IO development is the most fundamental and essential skill for beginners. Although for many readers who have already entered the field, IO operations are quite simple, for many beginners, it is not that simple. Microcomputer Bus Address Address Bus: Baike Baidu Explanation: The address … Read more

Linux Kernel GPIO User Space Interface

Linux Kernel GPIO User Space Interface

GPIO (General Purpose Input/Output) is a pin on a microcontroller or microprocessor that can be programmed as an input or output for communication with external devices. In Linux systems, developers can easily read and set the state of GPIO through user space interfaces provided by the kernel, enabling control and monitoring of external devices. This … Read more

Getting Started: Bare-Metal Programming on ARM Cortex-M Microcontrollers

Getting Started: Bare-Metal Programming on ARM Cortex-M Microcontrollers

Getting Started: Bare-Metal Programming on ARM Cortex-M Microcontrollers Bare-metal programming typically refers to the process of writing programs to control hardware devices directly without an operating system. For embedded system developers, this is a fundamental and important skill. Today, I will guide you through how to implement bare-metal programming on ARM Cortex-M series microcontrollers. Starting … Read more

Cortex-M System Interrupt Latency and Measurement Methods

Cortex-M System Interrupt Latency and Measurement Methods

Hello everyone, I am Pi Zi Heng, a serious technical person. Today, I will share with you the Cortex-M System Interrupt Latency and Measurement Methods. In the embedded field, real-time performance is a concept we often emphasize. Here, real-time performance mainly emphasizes whether the system can respond within a specified time frame when external events … Read more

Advanced Uses of MCUs

Advanced Uses of MCUs

Scan to FollowLearn Embedded Together, learn and grow together There is a very popular question on Zhihu — “What are the advanced uses of MCUs?“ It is said that MCUs themselves are not particularly advanced, but during the MCU development process, certain standardizations must be followed, such as defining variables and functions, determining their lifecycle, … Read more

Introduction to Hardware Control with Python: Using RPi.GPIO

Introduction to Hardware Control with Python: Using RPi.GPIO

This is a tutorial article on Python hardware programming, using <span>RPi.GPIO</span> library to control Raspberry Pi GPIO ports for hardware operations. Python Hardware Programming: Controlling Raspberry Pi Hardware with RPi.GPIO Python is a powerful programming language that can be used not only for data analysis and web development but also for hardware control. With the … Read more

Beginner’s Guide to Raspberry Pi GPIO: Control an LED

Beginner's Guide to Raspberry Pi GPIO: Control an LED

Light Up an LED Overview The purpose of this tutorial is to light up an LED using a program, which will automatically turn off after 3 seconds. In all programming languages, the first program is called hello world, and today’s LED lighting tutorial is essentially the hello world of hardware programming, making it a very … Read more

FreeRTOS Operating System: A Comprehensive Guide

FreeRTOS Operating System: A Comprehensive Guide

The manual porting process is complex and tedious. First, use cubemx for quick configuration: First, print a message to the serial port: /* USER CODE BEGIN 2 */ printf("hello shxi\r\n"); /* USER CODE END 2 */ /* Call init function for freertos objects (in freertos.c) */ MX_FREERTOS_Init(); OK proves that the configuration is correct! Tasks … Read more