Real-Time Temperature Measurement Using Thermistor and Displaying on a Digital Tube with Microcontroller

Real-Time Temperature Measurement Using Thermistor and Displaying on a Digital Tube with Microcontroller

Welcome to click “The Beauty of Algorithms and Programming” ↑ to follow us! This article was first published on WeChat public account: “The Beauty of Algorithms and Programming”, feel free to follow for timely updates on more articles in this series. The 51 microcontroller development board has high functional module independence and can achieve various … Read more

FreeRTOS-rust: A Rust Embedded Development Library Simplifying the Use of FreeRTOS

FreeRTOS-rust: A Rust Embedded Development Library Simplifying the Use of FreeRTOS

In the field of embedded system development, the Rust language is increasingly favored for its advantages in safety, performance, and concurrency. However, seamlessly integrating Rust with the mature real-time operating system (RTOS) FreeRTOS has always been a challenge.<span>FreeRTOS-rust</span> project has emerged to provide developers with a convenient way to build efficient and reliable FreeRTOS applications … Read more

Comprehensive Official Resources on STM32 IAP

Comprehensive Official Resources on STM32 IAP

ISP uses communication interfaces for programming, and the boot code is written by the manufacturer and cannot be changed. IAP (In-Application Programming) refers to the ability of an MCU to obtain new code and reprogram itself, allowing a program to change the program. In application programming (IAP), the user’s application code erases/programs the internal Flash … Read more

Introduction to Embedded Software Development for ARM Cortex-M3/M4 (Part 2)

Introduction to Embedded Software Development for ARM Cortex-M3/M4 (Part 2)

Software Development Process: (1) Create a project, specifying the location of source files, compilation targets, memory configuration, and compilation options. (2) Add files to the project. (3) Set project options, such as compiler optimization options, memory mapping, and output file types. (4) Compile and link. (5) Flash programming, downloading the program to flash memory. (6) … Read more

Embedded Development: Choosing Between Microcontroller + RTOS or Linux?

Embedded Development: Choosing Between Microcontroller + RTOS or Linux?

🍊1. Technical Entry Difficulty: Microcontroller + RTOS is Easier to Get StartedMicrocontroller + RTOS (e.g., STM32 + FreeRTOS) Advantages: Low Hardware Resource Threshold: You can get started with a development board costing only a few hundred yuan (e.g., STM32F103), with memory requirements in the KB range, suitable for beginners. Simplified Development Process: Focuses on hardware … Read more

A Microcontroller Approach to Driving LCDs!

A Microcontroller Approach to Driving LCDs!

There are many methods for microcontrollers to drive LCDs, and numerous examples available online. However, among the thousands of examples, which one is your “no.1”? Today, I will share an object-oriented approach to driving an LCD with a microcontroller. Overview of LCD Types Before discussing how to write an LCD driver, let’s first understand the … Read more

Installation Package and Detailed Installation Guide for Keil uVision 2 C51

Installation Package and Detailed Installation Guide for Keil uVision 2 C51

SoftwareIntroduction Keil uVision 2 C51 is one of the high-quality software for developing applications for various microcontrollers, supporting all derivatives of the 8051 series. It integrates editing, compiling, and simulation, supporting both assembly and C language programming. The interface is user-friendly, making it easy to learn and use. Keil C51 is a C language software … Read more

What is SPI Communication? An Introduction to SPI Hardware Design

What is SPI Communication? An Introduction to SPI Hardware Design

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

Microcontroller Serial Interfaces and Communication Technologies

Microcontroller Serial Interfaces and Communication Technologies

Microcontroller Serial Port Communication Technology The serial interface and communication of microcontrollers are core technologies for data transmission between devices in embedded systems. 1. Basics of Serial Communication 1.Serial vs Parallel Communication Serial communication: Transmits data bit by bit, using fewer pins (14), suitable for long distances and low power consumption scenarios. Parallel communication: Multiple … Read more

How to Optimize Microcontroller Program Code?

How to Optimize Microcontroller Program Code?

Optimizing microcontroller programs usually refers to optimizing program code or execution speed. Optimizing code and optimizing speed are actually a unified contradiction. Generally, optimizing the size of the code will lead to an increase in execution time; if the execution speed of the program is optimized, it usually results in an increase in code size. … Read more