The Volatile Keyword You Might Overlook in MCUs

The Volatile Keyword You Might Overlook in MCUs

Click 👆👆👆 the blue text Follow “Passion Embedded” In embedded development, especially in the development of microcontrollers like STM32, the <span>volatile</span> keyword is a very important concept. 1. Concept of the volatile Keyword <span>volatile</span> is a type modifier in C/C++ that tells the compiler: The variable may be modified unexpectedly (e.g., by hardware, interrupts, or … Read more

STM32 Project Sharing: Eternal Calendar

STM32 Project Sharing: Eternal Calendar

Project Product Image: Bilibili Video Link: https://www.bilibili.com/video/BV1QD421g7kn/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (Resource sharing at the end of the article) 01 — Project Introduction 1. Function Details STM32 Eternal Calendar Functions are as follows: Real-time clock display Time setting, power-off memory Alarm setting, buzzer alarm Temperature and humidity collection and display, abnormal alarm 2. Material List STM32F103C8T6 Minimum System Board … Read more

STM32 Project Share: Smart Fan

STM32 Project Share: Smart Fan

Product images of the project: Bilibili video link: https://www.bilibili.com/video/BV1xw4m1Y7sA/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See the end of the article for resource sharing) 01 — Project Introduction 1. Function Details Smart fan system based on STM32 The functions are as follows: OLED displays the current temperature, humidity, fan gear, and speed, with automatic and manual modes. Buttons can switch between … Read more

Design of a Simple Temperature Control System Based on STM32 with LCD1602 Display Simulation

Design of a Simple Temperature Control System Based on STM32 with LCD1602 Display Simulation

Click the blue text to follow us Design of a Simple Temperature Control System Based on STM32 with LCD1602 Display Simulation (Proteus Simulation + Program Design + Design Report + Explanation Video) Simulation Diagram Proteus 8.9 Compiler: Keil 5 Programming Language: C Design Number: C0108 1. Main Functions Temperature control system simulation design based on … Read more

Understanding the Power-On Sequence of Cortex-M MCUs in 3 Minutes

Understanding the Power-On Sequence of Cortex-M MCUs in 3 Minutes

Hello everyone, today I, Xiao Zhao, will share some ARM core knowledge with you. Taking the Cortex-M4 as an example, when the MCU powers on, it retrieves the stack pointer from address 0x0 and fetches the address of the first function to be executed by the MCU from 0x4 (the address is four bytes, so … Read more

STM32 Project Share: Smart Voice Fan

STM32 Project Share: Smart Voice Fan

Product image of the project: Bilibili video link: https://www.bilibili.com/video/BV1AcwseTE6i/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (For material sharing, see the end of the article) 01 — Project Introduction 1. Function Details STM32 Smart Voice Fan The functions are as follows: STM32F103C8T6 microcontroller as the main control unit Temperature collection: DS18B20 sensor collects ambient temperature Human detection: Infrared sensor determines if someone … Read more

STM32 Project Share: Air Quality Detection System

STM32 Project Share: Air Quality Detection System

Product images of the project: Bilibili video link: https://www.bilibili.com/video/BV1DEC5YuEvh/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See the end of the article for data sharing) 01 — Project Introduction 1. Function Details STM32 Air Quality Detection System The functions are as follows: DHT11 temperature and humidity sensor detects air temperature and humidity information MQ-7 carbon monoxide sensor detects carbon monoxide content Formaldehyde … Read more

STM32 Project Share: Smart Aquarium/Aquaculture System

STM32 Project Share: Smart Aquarium/Aquaculture System

Product images of the project: Bilibili video link: https://www.bilibili.com/video/BV1s5qYYAEHh/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See the end of the article for data sharing) 01 — Project Introduction 1. Function Details STM32 Smart Aquarium/Aquaculture System The functions are as follows: Can detect temperature, water level, and TDS water quality, while displaying the data on an OLED screen. When the temperature is … Read more

STM32 Project Share: Smart Voice-Activated Waste Sorting Bin

STM32 Project Share: Smart Voice-Activated Waste Sorting Bin

Product images of the project: Bilibili video link: https://www.bilibili.com/video/BV1mcUWYgE3d/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See the end of the article for resource sharing) 01 — Project Introduction 1. Function Details STM32 Smart Voice-Activated Waste Sorting Bin The functions are as follows: 1. STM32F103C8T6 microcontroller system board as the main control unit 2. Servo drives to open and close the waste … Read more

STM32 Project Share: Smart Window

STM32 Project Share: Smart Window

Project finished product image: Bilibili video link: https://www.bilibili.com/video/BV11orNYeEN1/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See the end of the article for material sharing) 01 — Project Introduction 1. Function Details STM32 Smart Window The functions are as follows: Based on STM32F103C8T6 minimum system board MQ135 sensor detects air quality DHT11 detects environmental temperature and humidity Photoelectric infrared sensor detects intruders Rain … Read more