DIY Simple STM32 Quadcopter

A quadcopter is a compact aircraft with a unique flight method, which has advantages such as simple structure, low failure rate, and the ability to generate greater lift per unit volume compared to ordinary aircraft. It has broad application prospects in both military and civilian fields. This article teaches you how to DIY a simple … Read more

A Method for Dynamically Loading Functions in MCU

A Method for Dynamically Loading Functions in MCU

We have all heard of static libraries and dynamic libraries. Static libraries are quite familiar to everyone, especially in microcontroller development. Dynamic libraries, however, are rarely seen in the microcontroller field. Today, I would like to share a method for dynamically loading functions, which is somewhat similar to dynamic libraries. Project Address: printf("hello world!"); Introduction … Read more

Unique Features of STM32 Low-Power Timer (LPTIM)

Unique Features of STM32 Low-Power Timer (LPTIM)

When developing low-power products, we pay close attention to the overall power consumption of the system. So, have you looked into the LPTIM low-power timer? 1 Introduction In earlier years, the term LPTIM was rarely heard. With the increasing demand for low-power products, MCU manufacturers have introduced LPTIM timers aimed at low-power applications. Timers are … Read more

Complete Open Source STM32F1 Quadrotor Resources Release

Complete Open Source STM32F1 Quadrotor Resources Release

This article is authorized by the WeChat public account Electronic Development Learning. Reply with “Little Horse Quadrotor” in the backend to obtain relevant materials for the Little Horse Quadrotor. RoboFly is a completely open-source quadrotor launched by the Little Horse team in August 2018. This article provides the complete set of materials for this quadrotor. … Read more

Implementing PID Control for Motors Using STM32

Implementing PID Control for Motors Using STM32

Implementing PID Control for Motors Using STM32 The PID control algorithm is quite old yet widely used, ranging from controlling the temperature of a kettle to managing the flight attitude and speed of drones. In motor control, the PID algorithm is particularly common. 1. Position PID 1. Calculation Formula In motor control, we output a … Read more

STM32 F103C8T6 Boot Configuration Tutorial

STM32 F103C8T6 Boot Configuration Tutorial

1. What is BOOT? Most beginners are often puzzled by the term BOOT when they first encounter it. Where did this strange thing come from that requires jumper caps? Why do we need to configure it to download programs via serial port? What happens if it is not configured correctly, leading to the microcontroller failing … Read more

Introduction to Bit-Banding Operation of STM32 Microcontroller

Introduction to Bit-Banding Operation of STM32 Microcontroller

The bit-banding operation of the STM32 microcontroller is a special memory mapping technique that allows developers to perform atomic read and write operations on specific memory bits, thereby improving the efficiency of operations on GPIO ports, registers, and individual bits of other peripherals. 1. Bit-Band Region and Bit-Band Alias Region The memory space of the … Read more

Understanding the Internal Bus of STM32 Microcontroller

Understanding the Internal Bus of STM32 Microcontroller

The STM32 microcontroller, based on the ARM Cortex-M3 architecture, has a complex and efficient internal bus structure that supports the entire system’s data flow and instruction execution, making it a key learning point for many embedded engineers. Below, we will list the main internal buses of the STM32 microcontroller and their functions. 1. I-Code Bus … Read more

ZigBee and STM32 Smart Home Control System

ZigBee and STM32 Smart Home Control System

This is a very practical share that not only introduces the project’s functions but also provides reasons for doing so. At the end, it offers learning suggestions for everyone. 01 Project Introduction The prototype of this project was my undergraduate graduation project, built from scratch, including hardware schematics, PCB, component soldering, lower machine programming, upper … Read more