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

Microcontroller Interrupt System and Timer/Counter

Microcontroller Interrupt System and Timer/Counter

The interrupt system and timer/counter of a microcontroller are core modules for implementing real-time tasks and multitasking. 1. Interrupt System 1. Basic Concepts Interrupt: When a specific event (interrupt source) occurs, the CPU pauses the current task and executes the Interrupt Service Routine (ISR). After completion, it resumes the original task. Function: Improves CPU efficiency, … Read more

Temperature Upper and Lower Limit Alarm Based on 51 Microcontroller – LCD1602 Display

Temperature Upper and Lower Limit Alarm Based on 51 Microcontroller - LCD1602 Display

Click the blue text·Follow us Temperature Alarm Based on 51 Microcontroller (Simulation + Program + Schematic + Design Report) 01 Function Introduction Specific Functions: This product is designed using a 51 microcontroller + DS18B20 temperature sensor + LCD1602 display + transistor. 1. DS18B20 collects temperature, LCD1602 displays temperature; 2. Temperature measurement range: -55 to 125 … Read more

Object-Oriented Thinking in MCU Architecture

Object-Oriented Thinking in MCU Architecture

Follow+Star Public Account Number, don’t miss out on exciting contentSource | ERYUESANHIEditor | strongerHuangToday, I will share an article about the microcontroller program framework using time-slicing method combined with source code. Importance of Program Architecture Many people, especially beginners, often write code without an overall plan, leading to increasingly messy code and constant bugs.Ultimately, the … Read more

Keil uVision5 MDK Installation Guide

Keil uVision5 MDK Installation Guide

Software Download Long press to select and copy the link Keil uVision5 MDK (32/64-bit) Download Link https://docs.qq.com/doc/DZU1wR3N4TVR1ekFv * If the link is invalid, please contact WeChat ID: 3269361759 * If you are unsure about your computer’s system architecture, click here Software Introduction Keil C51 is a software that helps you develop microcontroller applications. You can … Read more