Detailed Explanation of Ultrasonic Distance Measurement (HC-SR04) with STM32

Detailed Explanation of Ultrasonic Distance Measurement (HC-SR04) with STM32

Click the blue text above to follow us Embedded Training – Choose Jufeng Smart Link Introduction to Ultrasonics What is ultrasonic? Ultrasonic waves are sound waves with frequencies higher than the audible range of the human ear (approximately above 20 kHz). In this chapter, we will introduce the HC-SR04, a common ultrasonic sensor module used … Read more

STM32 Microcontroller #12.5 SPI Communication (Hardware Read/Write)

STM32 Microcontroller #12.5 SPI Communication (Hardware Read/Write)

Main reference materials: Bilibili @ Jiangxie Technology STM32 Beginner’s Tutorial – 2023 Edition Detailed Explanation with Chinese Subtitles Development material download link: https://pan.baidu.com/s/1h_UjuQKDX9IpP-U1Effbsw?pwd=dspb Microcontroller kit: STM32F103C8T6 development board microcontroller C6T6 core board experimental board minimum system board kit Article source file link: https://github.com/INKEM/Knowledge_Base Introduction to SPI Peripherals • The STM32 integrates hardware SPI transceiver circuits, … Read more

STM32 Project Share: Smart Home Appliance Control System

STM32 Project Share: Smart Home Appliance Control System

Project Finished Product Image: Bilibili Video Link: https://www.bilibili.com/video/BV1hZBBYwEHb/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See end of article for resource sharing) 01 — Project Introduction 1. Function Details STM32 Smart Home Appliance Control System Functions are as follows: STM32F103C8T6 microcontroller board as the main control unit Display function: Real-time display of temperature and humidity data on OLED screen Automatic control: Determine … Read more

STM32 Project Sharing: Smart Greenhouse (Bluetooth Version)

STM32 Project Sharing: Smart Greenhouse (Bluetooth Version)

Project Product Images: Bilibili Video Link: https://www.bilibili.com/video/BV1syFAe6Ee7/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (Material sharing can be found at the end of the article) 01 — Project Overview 1. Function Details STM32 Smart Greenhouse (Bluetooth Version) The functions are as follows: STM32F103C8T6 microcontroller as the main controller Waterproof DS18B20 detects soil temperature. When the temperature exceeds the set maximum value, an … Read more

STM32 Project Share: Smart Constant Temperature Box

STM32 Project Share: Smart Constant Temperature Box

Product images of the project: Bilibili video link: https://www.bilibili.com/video/BV1dGfiY2E6N/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (See the end of the article for resource sharing) 01 — Project Introduction 1. Function Details STM32 Smart Constant Temperature Box The functions are as follows: Obtains temperature and humidity through DHT11. When the set temperature and humidity are exceeded, it performs heating, cooling, humidifying, dehumidifying, … Read more

How to Locate HardFault in FreeRTOS?

How to Locate HardFault in FreeRTOS?

Source: WeChat Official Account 【Osprey Talks Microcontrollers】 Author: Osprey ID: emOsprey Hello everyone, I am Osprey. Due to some circumstances, this update is a bit late. However, I still strive for everyone to learn some practical technology from the Osprey official account each time, enhancing their core competitiveness. Thank you all for your continued support … Read more

From Schematic PCB to Porting RTOS: A Detailed Discussion on STM32 GPIO

From Schematic PCB to Porting RTOS: A Detailed Discussion on STM32 GPIO

Introduction Why Should We Understand Both Hardware and Software? In 2010, while I was at Huawei, I temporarily took a break from my regular duties to participate in recruitment efforts. To recruit more people for my department and compete for HC numbers (the number of positions available), I worked hard to ensure that every candidate … Read more

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

Collection of Microcontroller Design Examples

Collection of Microcontroller Design Examples

Alcohol Concentration Monitor Based on 51 Microcontroller Electronic Perpetual Calendar Design Based on 51 Microcontroller Smart Clothes Drying Rack Design Based on 51 Microcontroller Tetris Game Design Based on 51 Microcontroller DC Motor Speed Control Design Based on 51 Microcontroller Traffic Light Design Based on 51 Microcontroller Basketball Scoring System Design Based on 51 Microcontroller … Read more

STM32 Project Sharing: Intelligent Water Quality Detection System

STM32 Project Sharing: Intelligent Water Quality Detection System

Project finished product image: Bilibili video link: https://www.bilibili.com/video/BV1sPDVYLEpW/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (For material sharing, see the end of the article) 01 — Project Introduction 1. Function Details STM32 Intelligent Water Quality Detection System The functions are as follows: The main control chip is the STM32 microcontroller; 2. DS18B20 temperature sensor measures water temperature 3. TDS conductivity sensor measures … Read more