Basic Principles of STM32 Serial Communication

Basic Principles of STM32 Serial Communication

Background Knowledge of Communication Interfaces Ways of Communication Between Devices Generally, the communication methods between devices can be divided into parallel communication and serial communication. The differences between parallel and serial communication are shown in the table below. Classification of Serial Communication 1. According to the direction of data transmission, it can be divided into: … Read more

How to Control USB with STM32? A Comprehensive Guide!

How to Control USB with STM32? A Comprehensive Guide!

In STM32 microcontrollers, the microcontroller is equipped with a USB interface, designed to facilitate high-speed data transfer and communication between devices. The USB interface can be divided into two roles: Host and Device. So, how does STM32 control USB? 1. USB Device Function Control Enable USB device functionality: Enable the USB device functionality in CubeMX … Read more

Understanding the Interrupt System in STM32

Understanding the Interrupt System in STM32

Little Science Gas Station In embedded learning, the STM32 series chips are particularly favored due to their many excellent features, such as the STM32 MCU integrating a wealth of peripherals, including communication interfaces (like UART, SPI, I2C, CAN, etc.), analog and digital interfaces, timers, and interrupt controllers. Today, Little Science introduces the interrupt system of … Read more

Exploring Embedded Systems: How Close They Are to Us

Exploring Embedded Systems: How Close They Are to Us

This Saturday (September 7), I will join Teacher Xintian (the head of the embedded course) to participate in the STM32 national tour seminar in Nanjing. First, let me introduce that STM32 is a series of 32-bit microcontrollers (MCUs) produced by STMicroelectronics, designed with an ARM Cortex-M core, known for its high performance, low power consumption, … Read more

Disassembling a Ten-Year-Old Marvel: Miniware DS203 Mini Oscilloscope

Disassembling a Ten-Year-Old Marvel: Miniware DS203 Mini Oscilloscope

Miniware’s DS203 is one of the earlier mini oscilloscopes in China, followed by others like ZYBO and DreamSource. I bought this DS203 in 2014, and it is already 10 years old… Let’s open it up and appreciate the internal materials. The entire body is made of aluminum alloy CNC, with four hex screws at the … Read more

Development of an Automatic Tracking Car Based on STM32

Development of an Automatic Tracking Car Based on STM32

There is a small interactive gift at the end of the article, don’t miss it❤️ Overview Car Appearance: Function Introduction Utilizes a camera to recognize the rear of the car ahead with an AprilTag, obtains the position of the front car, sends it back to the STM32 main control board for processing, allowing the two … Read more

Complete Guide to Microcontroller Bootloader

Complete Guide to Microcontroller Bootloader

For a complex microcontroller project, having a BootLoader (hereinafter referred to as BL) is very important. It makes maintaining and upgrading your application code much easier. This article will help you understand why to design a Bootloader and how to design it, aiming to achieve a clear understanding of both its function and purpose. Through … Read more

ESP8266 Weather Clock Based on STM32 (Part 1)

ESP8266 Weather Clock Based on STM32 (Part 1)

▲Author: Yan Guiling Introduction: Today’s experiment mainly involves developing a small function based on STM32 that can obtain weather and time in real-time. This function can be applied to devices that need to display weather and time, and the hardware cost is very low. If anyone is interested, feel free to check it out! 1. … Read more

Detailed Explanation of STM32 Serial Communication Basics

Detailed Explanation of STM32 Serial Communication Basics

Communication Methods Between Devices Generally, the communication methods between devices can be divided into two types: parallel communication and serial communication. The differences between parallel and serial communication are shown in the table below. Classification of Serial Communication 1. According to the data transmission direction, it can be divided into: Simplex: Data transmission only supports … Read more

Mastering Autonomous Mobile Robots: Embedded Hardware Platform

Mastering Autonomous Mobile Robots: Embedded Hardware Platform

1. Overview The so-called embedded system is actually a dedicated microcomputer system, which includes two parts: embedded hardware and embedded software. The embedded hardware typically consists of a 32-bit (or lower) microprocessor and its related peripherals; the embedded software is the program written into the embedded hardware to achieve specific functions. The author summarizes that … Read more