Learning PID – Implementation of Speed Control for Stepper Motors

Learning PID - Implementation of Speed Control for Stepper Motors

Overview of the Principle A stepper motor is a motor driven by digital signals, one of its main advantages being its excellent open-loop control capability, where the control system does not require sensors and corresponding circuits to feedback motor information. Under conditions where the load is not overloaded and the pulse frequency is appropriate, the … Read more

Microcontroller Association Laboratory Training Summary

Microcontroller Association Laboratory Training Summary

Microcontroller Association Laboratory Training Summary———“A Nurturing Ground for Technical Growth and Innovation” 1. Training Background and Objectives With the continuous development of electronic technology, microcontrollers play an irreplaceable role in various fields such as smart homes, industrial control, and Internet of Things devices. To enhance the members’ understanding and skills in microcontroller knowledge, and to … Read more

CLion Tutorial – STM32CubeMX Project

CLion Tutorial - STM32CubeMX Project

Operating System: Windows / Linux / macOS Required Tools: STM32CubeMX, GNU ARM Toolchain Project Format: CMake Compatible Configuration: OpenOCD Run and Debug / Embedded GDB Server For embedded projects targeting STM32 boards, CLion integrates with STM32CubeMX. You can open the .ioc file generated by CubeMX as a project, and CLion will automatically create the CMake … Read more

Embedded Time-Partitioned Real-Time System

Embedded Time-Partitioned Real-Time System

Introduction to AnOs AnOs is an embedded time-partitioned real-time system developed based on the ARM M4 series, modeled after the VxWorks653 approach. https://gitee.com/personal_chenjl/AnOs The development environment uses Keil uVersion5. The example program runs on the STM32F427 controller. The system aims to serve as an operating system application in high-security domains. Software Architecture The system consists … Read more

Complete Guide to STM32 Encryption: From Hardware to Software

Complete Guide to STM32 Encryption: From Hardware to Software

In embedded development, protecting code security is an eternal topic. Whether it’s to prevent competitors from copying or to avoid malicious tampering of products, encryption is an indispensable part. As a widely used MCU, STM32 offers a variety of encryption solutions. This article will comprehensively analyze the encryption strategies of STM32, from hardware to software, … Read more

Development of Integrated Beidou Communication and Navigation Intelligent Vehicle Network Terminal

Development of Integrated Beidou Communication and Navigation Intelligent Vehicle Network Terminal

Abstract: In order to achieve effective scheduling, coordinated control, and management of various vehicles, and to improve the efficiency and safety of logistics transportation, a Beidou navigation and communication integrated intelligent vehicle network terminal was designed and developed based on the STM32 microcontroller for the logistics system application environment. The terminal is centered around the … Read more

Modifying LoRaWAN Join Rate and Interval

Modifying LoRaWAN Join Rate and Interval

1. Modifying Join Rate In RegionCN470.c, there is the following function: int8_t RegionCN470AlternateDr( AlternateDrParams_t* alternateDr ){ int8_t datarate = 0; if( ( alternateDr->NbTrials % 48 ) == 0 ) { datarate = DR_0; } else if( ( alternateDr->NbTrials % 32 ) == 0 ) { datarate = DR_1; } else if( ( alternateDr->NbTrials % 24 … Read more

Research on AC Servo Drive Based on CANopen Protocol (Part 1)

Research on AC Servo Drive Based on CANopen Protocol (Part 1)

1. CANopen Motor Drive and Motion Control Sub-protocol DS-402 CANopen has developed relevant device sub-protocols DS-402 for motor drive and motion control devices, which standardizes the operation modes and parameters of servo drives, motion control cards, inverters, and other devices, greatly reducing development workload and improving device interconnectivity. From Figure 2-17, the CANopen control interface … Read more

Introduction to CANopen Protocol: Multi-Device Collaborative Communication Design

Introduction to CANopen Protocol: Multi-Device Collaborative Communication Design

Introduction to CANopen Protocol: Multi-Device Collaborative Communication Design In the field of industrial automation, multi-device collaborative communication is a common requirement. For example, multiple PLCs, sensors, and actuators on a production line need to coordinate with each other. To address this, the CANopen protocol was developed. It is a high-level protocol based on the CAN … Read more

Practical Experience Using STM32CubeProgrammer in Keil

Practical Experience Using STM32CubeProgrammer in Keil

Keywords: Keil, STM32CubeProgrammer Table of Contents 1. Introduction 2. Steps 3. Results 4. Conclusion 01 Introduction Early users of new STM32 MCU products sometimes encounter situations where the toolchain is still being perfected. For example, some STM32 tools already support the product, while others are still being updated. Specifically for Keil users, they may be … Read more