How to Learn Microcontroller Data Communication? Make Good Use of This Tool: Serial Communication

How to Learn Microcontroller Data Communication? Make Good Use of This Tool: Serial Communication

When you first start learning about microcontrollers, you might feel excited when you successfully light up an LED or a seven-segment display using your code. This is a good thing and serves as motivation to continue learning. However, when it comes to experiments related to data communication, you may find it difficult to make progress. … Read more

Data Types in C Language for Microcontroller Development

Data Types in C Language for Microcontroller Development

In programming, data types are fundamental and important concepts, especially in embedded system development (such as microcontrollers), where various data types in C language are indispensable. Mastering these data types not only helps us allocate memory efficiently but also ensures the efficiency and correctness of the program. 1. Introduction to Basic Data Types In C … Read more

Understanding 4-Wire SPI in One Article

Understanding 4-Wire SPI in One Article

The Serial Peripheral Interface (SPI) is one of the most widely used interfaces between microcontrollers and peripheral ICs such as sensors, ADCs, DACs, shift registers, and SRAM. SPI is a synchronous, full-duplex, master-slave interface. Data from the master or slave is synchronized on the rising or falling edge of the clock. Both the master and … Read more

Curious Disassembly of My Son’s Toy Tank: Single-Layer Circuit Board + Multiple Motors, Supporting So Many Functions!

Curious Disassembly of My Son's Toy Tank: Single-Layer Circuit Board + Multiple Motors, Supporting So Many Functions!

While my son was at school, driven by curiosity, I secretly disassembled his remote-controlled tank to see its internal structure for future modifications. The toy’s existing functions include remote control for moving forward, backward, turning in place, side movement, and firing bullets. I directly removed the wheels, and the wheel structure is indeed clever. Reverse … Read more

Design Sharing | 51 Microcontroller TIMER0 Control for Running Lights

Design Sharing | 51 Microcontroller TIMER0 Control for Running Lights

Microcontroller design sharing and customization Diary of an Electronic Engineer’s Growth Specific Function Implementation: Using the 51 microcontroller TIMER0 to control an 8-bit running light. Design Introduction Introduction to the 51 Microcontroller The 51 microcontroller is a low-power, high-performance CMOS 8-bit microcontroller with 8K of programmable Flash memory, providing a highly flexible and efficient solution … Read more

Intelligent Trash Can Management System Based on 51 Microcontroller

Intelligent Trash Can Management System Based on 51 Microcontroller

With the acceleration of urbanization, the issue of waste management has become increasingly prominent. Traditional trash cans not only have a single function but also cannot effectively address problems such as overflowing waste and odor diffusion. To solve these issues, this article designs an intelligent trash can management system based on the 51 microcontroller, which … Read more

Input and Output Impedance of Microcontroller Ports

Input and Output Impedance of Microcontroller Ports

➤ 01 Background In the analysis of the power switch circuit in the electronic assistant circuit[1], the internal description of the output ports of the ATmega series microcontrollers was introduced[2]. Specifically, when the port is used as an IO output, it can be equivalently represented as being pulled up to VCC through resistors of 19Ω … Read more

Card Reading Induction and Code Driving of STM32F103C8T6 RFID NFC Module

Card Reading Induction and Code Driving of STM32F103C8T6 RFID NFC Module

RFID (Radio Frequency Identification) is a non-contact automatic identification technology that uses radio frequency signals to automatically identify target objects and obtain relevant data. It is widely used in logistics, retail, transportation, healthcare, and many other fields. The following is a detailed introduction from the aspects of technical principles, components, application scenarios, and advantages and … Read more

Introduction to Embedded Systems: The True Core of Robotics

Introduction to Embedded Systems: The True Core of Robotics

Course Objectives:This course aims to provide beginners with an introductory guide to embedded development, helping everyone understand the basic concepts of embedded systems, learning paths, and how to choose the appropriate learning direction based on personal needs. 1. Introduction to Embedded Development An embedded system is a specialized computer system that is typically embedded within … Read more

A Hardcore Microcontroller Programming Philosophy from an Embedded Engineer!

A Hardcore Microcontroller Programming Philosophy from an Embedded Engineer!

First, let me clarify a concept,bare programming, which refers to writing programs on bare metal. Bare metal, in the microcontroller field, refers to a microcontroller control system with hardware, so don’t get it twisted. Programming on bare metal is like cultivating a wasteland; every shovel that goes in will hit hard rocks. What’s the point … Read more