STM32 vs ESP32: How to Choose the Most Suitable Microcontroller for You?

Introduction In embedded development, STM32 and ESP32 are two of the most popular microcontroller solutions. However, many developers still feel confused when selecting a microcontroller for their projects:Should you choose the powerful STM32 or the wireless-integrated ESP32?This article will compare them across multiple dimensions such as hardware resources, development scenarios, and cost analysis to help … Read more

Four-Year Learning Path for Embedded Engineers in University

Four-Year Learning Path for Embedded Engineers in University

1. Reference Articles Embedded Learning Path, University Four-Year Plan: From a Freshman to an Embedded Expert A carefully summarized embedded learning roadmap by a programmer with three years of experience! Zero-based entry into embedded systems (hardware section) learning path sharing Github Address https://github.com/m3y54m/Embedded-Engineering-Roadmap The following images are sourced from: CSDN, Blogger CodeSheep 2. Video Explanation … Read more

STM32 Peripheral Driver Module: DS1302 Real-Time Clock Module

STM32 Peripheral Driver Module: DS1302 Real-Time Clock Module

unsetunset1. Introductionunsetunset 1. Learning Objectives The goal of this article is to guide you through the use of the DS1302 real-time clock module to display the current time in real-time on an OLED display. We will help you gain a comprehensive understanding of the DS1302 module by introducing hardware connections, basic module configurations, and program … Read more

A Detailed Example of Layered Framework Design in Embedded Software

A Detailed Example of Layered Framework Design in Embedded Software

Introduction To achieve better development speed and future iterations and portability of products, layered frameworks are essential. However, strictly adhering to these principles for small to medium-sized projects can consume excessive energy in system design, which is a decision-making process. 1. What is Layered Framework? In embedded architecture, it is generally divided into hardware architecture … Read more

Introduction: A Beginner’s Embedded Practice, Starting with Driving an LED Strip

Introduction: A Beginner's Embedded Practice, Starting with Driving an LED Strip

Hello everyone, I am a newly hired embedded engineer. Like many friends who are just starting out, I feel both excited and a bit anxious in the vast ocean of technology: how can I transform the theories from books into the ability to solve real problems? My answer is – to get hands-on with a … Read more

Various Methods for Sending Strings via STM32 UART

Various Methods for Sending Strings via STM32 UART

Using USART to send strings with STM32: The meaning of the code is: When there is data on the receive pin, the status register USART_FLAG_RXNE will be set to 1. At this point, the return value of USART_GetFlagStatus(USART1, USART_FLAG_RXNE) will be 1 (SET), and if there is no data, it will be RESET. Common code … Read more

Intelligent Monitoring and Management System for Old Clothes Recycling Based on STM32 and WeChat Mini Programs

Intelligent Monitoring and Management System for Old Clothes Recycling Based on STM32 and WeChat Mini Programs

♻️ Intelligent Monitoring and Management System for Old Clothes Recycling Based on STM32 and WeChat Mini Programs 📱 The traditional old clothes recycling system faces issues such as poor management and delayed collection. This study designs and implements a smart monitoring and management system for recycling bins based on STM32 microcontroller, sensor technology, and WeChat … Read more

STM32 Serial Bootloader Implementation

STM32 Serial Bootloader Implementation

1. Introduction A bootloader is a critical program responsible for booting and updating embedded devices. In automotive ECUs, during OTA upgrades, the bootloader is responsible for downloading, verifying, and writing new firmware, ensuring that in case of an anomaly, it can revert to the old version to guarantee driving safety. Mobile system updates rely on … Read more

Using DWT Peripheral to Write Delay Functions in STM32

Using DWT Peripheral to Write Delay Functions in STM32

DWT is a debugging peripheral, and one of its core functions is CYCCNT, which is a 32-bit incrementing counter used to record the number of clock cycles executed by the CPU. We can achieve rewriting the HAL_Delay function or implement microsecond-level delays by monitoring the changes in this counter. Appendix: 1. Source Code dwt.delay.h file … Read more