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

Raspberry Pi 3B+ TM1637 Digital Tube Clock

Raspberry Pi 3B+ TM1637 Digital Tube Clock

Operating the TM1637 four-digit digital tube on Raspberry Pi – Only Learning for a Long Time https://blog.whwtf.com/index.php/2022011324.html General Technology Raspberry Pi Display Time https://testerhome.com/topics/12130 Raspberry Pi 3B+ TM1637 4-digit digital tube Raspberry Pi GPIO T-type expansion version connection wire Dupont wire (new) Raspberry Pi 4B system image and WIFI remote configuration information link: https://pan.baidu.com/s/1Jan7v6DuHxY6VmYcLNfTHQ Extraction … Read more

Comprehensive Guide to STM32 GPIO

Comprehensive Guide to STM32 GPIO

1. Introduction to GPIO GPIO stands for General-Purpose Input/Output, which can be simply understood as the pins controllable by STM32. The GPIO pins of the STM32 chip connect to external devices, enabling communication, control, and data acquisition with the outside world. The GPIO pins of the STM32 chip are divided into several groups, each with … Read more

Installing Mosquitto on Raspberry Pi for MQTT Implementation

Installing Mosquitto on Raspberry Pi for MQTT Implementation

MQTT is a messaging protocol developed by IBM. MQTT is a lightweight publish-subscribe messaging transport protocol designed for M2M and IoT connections. Mosquitto is an open-source message broker that implements the MQTT v3.1 protocol, providing a lightweight, publish/subscribe messaging model that makes short message communication between devices simple and easy to use. If you are … Read more

Getting Started with Raspberry Pi GPIO

Getting Started with Raspberry Pi GPIO

Click the “Mechanical and Electronic Engineering Technology” above to follow us 1. Introduction to GPIO The Raspberry Pi (GPIO) is a digital input/output interface used to control and monitor electronic components. Input pins can be used to read signals from external devices such as sensors or buttons; output pins can be used to output voltage … Read more