Proteus + STM32 Simulation + Code for Temperature, Humidity, Formaldehyde, and PM2.5 Monitoring with Sound and Light Alarm System

Proteus + STM32 Simulation + Code for Temperature, Humidity, Formaldehyde, and PM2.5 Monitoring with Sound and Light Alarm System

Bilibili video link: https://www.bilibili.com/video/BV1c1ZXYKEMN/?spm_id_from=333.1387.homepage.video_card.click&vd_source=430bddfa2f26cdc8e5c9331f2166f826 01 — Project Overview The system uses the STM32F103C8 as the main control chip, employing a serial port and OLED display for data output. It utilizes a buzzer and LED lights for sound and light alarms, and a KEY button for interface switching and threshold settings. The DS18B20 is used for … Read more

In-Depth Understanding of SPI Communication Protocol and Practical Applications with STM32 (W25Q128 Driver)

In-Depth Understanding of SPI Communication Protocol and Practical Applications with STM32 (W25Q128 Driver)

1. Introduction to W25Q128 W25Q128 is a 128M-bit (16MB) SPI interface Flash memory chip launched by Winbond, supporting standard SPI, Dual-SPI, and Quad-SPI modes. Key features include: Operating Voltage: 2.7V~3.6V Page Structure: 256 pages/block, 16KB per block, total of 1024 blocks Supports page programming (256 bytes/page) Erase operations supported: sector erase (4KB), block erase (32/64KB), … Read more

TCAN4550 SPI-CANFD Debugging Notes

TCAN4550 SPI-CANFD Debugging Notes

Table of Contents Standard Version and Q1 Version Schematic Diagram Physical Diagram Test Wiring Default Power-On Test STM32CubeMX Configuration Adaptation of SLLC469 Driver Library SPI Read ID Test Steps to Send and Receive CAN Messages MCAN and MRAM Configuration CAN Send Test CAN Receive Test VCCOUT Direct 5V Test Open Circuit, Short Circuit, and Busoff … Read more

Embedded Development with MCU – FPM383C Fingerprint Recognition

Embedded Development with MCU - FPM383C Fingerprint Recognition

The FPM383C is a high-performance fingerprint recognition module characterized by fast recognition and high precision. Among many fingerprint sensors, the FPM383C is favored, especially by students working on graduation projects or course designs. Today, I will guide you through the fingerprint module (FPM383C) sensor. 1. Searching and Purchasing the Sensor There are many websites to … Read more

Understanding the Driving Capability of MCU’s SPI Interface and GPIO: How Many Slave Devices Can SPI Connect?

Understanding the Driving Capability of MCU's SPI Interface and GPIO: How Many Slave Devices Can SPI Connect?

Friends involved in hardware design should be familiar with the SPI interface and the GPIO ports of MCUs, and many have personally designed SPI interfaces. When designing, did you consider this important parameter? — The driving capability of the SPI interface and ordinary GPIO ports. Today, let’s discuss how to evaluate the driving capability of … Read more

Study Notes: Embedded Technology (3): Design and Implementation of an Infusion Monitoring System Based on STM32

Study Notes: Embedded Technology (3): Design and Implementation of an Infusion Monitoring System Based on STM32

0 Introduction Intravenous infusion is one of the most commonly used auxiliary medical methods in clinical medicine. According to statistics, over 80% of hospitalized patients receive intravenous infusion therapy. During the infusion treatment, medical staff select the appropriate infusion speed based on the medication and the patient’s condition. Currently, most hospitals still rely on the … Read more

I2C Communication Principles and Programming Implementation

I2C Communication Principles and Programming Implementation

I2C (Inter-Integrated Circuit) is a serial communication protocol used for short-distance communication, typically for data transmission between microcontrollers and various peripheral devices (such as sensors, displays, memory, etc.). Characteristics of the I2C Protocol The I2C protocol has several notable features: Two-wire Communication: The I2C protocol uses only two signal lines: SDA (data line) and SCL … Read more

STM32 Microcontroller Communication Protocol: Bluetooth as a Wireless Link

STM32 Microcontroller Communication Protocol: Bluetooth as a Wireless Link

In today’s booming era of the Internet of Things (IoT), microcontrollers play a crucial role as core control units. Bluetooth technology, with its convenient wireless communication characteristics, has expanded the application space for microcontrollers. The STM32 series microcontrollers are favored by developers for their high performance and low power consumption. 1. Overview of Bluetooth (1) … Read more

Mastering Embedded Core: MCU I2C Bus Protocol and Sensor Integration Guide

Mastering Embedded Core: MCU I2C Bus Protocol and Sensor Integration Guide

The I2C bus is one of the most commonly used communication protocols in embedded systems, serving as a “dedicated highway” between microcontrollers and various sensors and memory devices. Today, let’s discuss how this protocol works and how to use it to read data from temperature and humidity sensors. I2C Protocol Basics The I2C protocol uses … Read more

An Embedded Time-Partition Real-Time System

An Embedded Time-Partition Real-Time System

Scan to FollowLearn Embedded Together, learn together, grow together Introduction to AnOs AnOs is an embedded time-partition real-time system developed based on the ARM M4 series. It is developed following the ideas of VxWorks653. https://gitee.com/personal_chenjl/AnOs The development environment uses Keil uVersion5. The sample program runs on the STM32F427 controller. The system aims to be applied … Read more