STM32 Project Sharing: Smart Wardrobe

STM32 Project Sharing: Smart Wardrobe

Project finished product images: Bilibili video link: https://www.bilibili.com/video/BV1CQkTYzEQ9/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (Material sharing can be found at the end of the article) 01 — Project Introduction 1. Function Details STM32 Smart Wardrobe Functions are as follows: DHT11 detects temperature and humidity, sets thresholds for heating and ventilation RTC obtains real-time time and regularly performs UV disinfection Photoelectric sensor … Read more

Design Scheme of Bootloader for STM32

Design Scheme of Bootloader for STM32

ObjectiveThe purpose of this document is to develop a fully compatible bootloader based on the basic requirements for firmware upgrades (local upgrade via USB) for STM32.USB Upgrade Process  Detect if a USB drive is present during power-up;  If a USB drive is detected, check if there is an upgrade file with the corresponding … Read more

STM32 Project Sharing: Smart Home Security System

STM32 Project Sharing: Smart Home Security System

Project Finished Product Image: Bilibili Video Link: https://www.bilibili.com/video/BV1K1z3YJE6a/?share_source=copy_web&vd_source=097fdeaf6b6ecfed8a9ff7119c32faf2 (Material sharing at the end of the article) 01 — Project Overview 1. Function Details STM32 Smart Home Security System Functions are as follows: STM32F103C8T6 microcontroller board as the main control unit DHT11 temperature and humidity sensor for collecting temperature and humidity MQ-7 for collecting smoke concentration/carbon … Read more

STM32 Microcontroller #11.5 I2C Communication (Hardware Read/Write)

STM32 Microcontroller #11.5 I2C Communication (Hardware Read/Write)

Main reference materials: Bilibili @ Jiangxie Technology STM32 Beginner Tutorial – 2023 Edition Detailed Explanation with Chinese Subtitles Development materials 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 Introduction to I2C Peripherals • The STM32 integrates hardware I2C transceiver circuits, which can automatically execute clock … Read more

STM32 Microcontroller #12 SPI Communication (Software Read/Write)

STM32 Microcontroller #12 SPI Communication (Software Read/Write)

Main reference materials: Bilibili @ Jiangxie Technology STM32 Beginner 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 (available for purchase at the end of the article) SPI Communication • SPI (Serial Peripheral Interface) is … Read more

Unlocking New Potential: The Journey of Migrating USB Protocol Stack from STM32 to HPMicro

Unlocking New Potential: The Journey of Migrating USB Protocol Stack from STM32 to HPMicro

1. Introduction It has been a while since the last article update, but the HPMicro CANFD tool project is still ongoing. For those unfamiliar with this project, you can refer to the article titled “Challenge: Can We Build a 4-Channel CANFD Analyzer for Under 40 Yuan? Practical Edition”. In open-source projects based on STM32, especially … Read more

Getting Started with Embedded STM32: Downloading, Installing, and Registering Keil5 MDK

Getting Started with Embedded STM32: Downloading, Installing, and Registering Keil5 MDK

Click the blue text above tofollow us 1. Downloading and Installing Keil5 MDK 1. Obtain the installation package Reply with (Keil) to our public account to get the download link⤵️! 2. Install MDK5.41 Right-click to run the file framed in the image as an administrator Fill in the information as desired After the installation is … Read more

How to Master STM32 and 51 Microcontrollers?

How to Master STM32 and 51 Microcontrollers?

Personal Insights The best way to learn microcontrollers is to start programming them directly in C language, which saves time, is easier to learn, and allows for rapid progress. Let’s talk about microcontrollers. The STM32 and 51 microcontrollers are commonly used today, with abundant resources and a large market. The study of microcontrollers is a … Read more

Understanding Programming for STM32: A Comprehensive Guide

Understanding Programming for STM32: A Comprehensive Guide

Hello everyone, I am Liang Xu. This article is the 5th in the embedded series, and I plan to publish two articles per week in the future. The articles will be organized systematically to facilitate learning and communication. All of Liang Xu’s articles are first published on the website: www.lxlinux.net/e/, feel free to bookmark it. … Read more

Embedded Development Software Architecture in C: Interrupt Service Routines

Embedded Development Software Architecture in C: Interrupt Service Routines

1. Interrupt Mechanism of Microcontrollers The interrupt mechanism refers to the ability of a microcontroller to quickly handle external events (interrupt requests) while executing the main program. When an external event A occurs, the microcontroller pauses the current main program (interrupt response), saves the current state data, and then calls the handler for event A … Read more