Summary of C Language Knowledge for 51 Microcontrollers

Summary of C Language Knowledge for 51 Microcontrollers

1. Overview 1. Introduction to the advantages of C language for microcontrollers in conjunction with the 8051: · No need to understand the specific hardware of the microcontroller to write professional-level programs that conform to the actual hardware; · No need to understand the instruction set of the microcontroller to write perfect microcontroller programs; · … Read more

Essential Knowledge for Microcontrollers (1)

Essential Knowledge for Microcontrollers (1)

1. What is a Microcontroller? A microcontroller is an integrated circuit chip that incorporates a Central Processing Unit (CPU) with data processing capabilities, Random Access Memory (RAM), Read-Only Memory (ROM), various I/O ports, an interrupt system, timers/counters, and other functions (which may also include display driver circuits, pulse width modulation circuits, analog multiplexers, A/D converters, … Read more

Comparison of AVR, STC, and 51 Microcontrollers

Comparison of AVR, STC, and 51 Microcontrollers

STC is an improved version of the 51. The internal EEPROM makes it convenient for saving parameters, and its EMC performance is slightly better, with a relatively lower price. 1. Comparison of AVR Microcontroller and 8051 The main differences between AVR and 8051 are the core, instruction set, I/O structure, and peripherals. AVR microcontrollers have … Read more

8051 Microcontroller Pin Diagram and Function Introduction

8051 Microcontroller Pin Diagram and Function Introduction

8051 Microcontroller Pin Diagram and Function Introduction Microcontroller Pin Diagram The 40 pins can be roughly divided into four categories based on their functions: power, clock, control, and I/O pins. ⒈ Power: ⑴ VCC – Chip power supply, connect to +5V; ⑵ VSS – Ground terminal; Note: When testing the microcontroller pin current with a … Read more

New Tang 8051 Microcontroller: Sensorless BLDC Control Using Selective Filtering

New Tang 8051 Microcontroller: Sensorless BLDC Control Using Selective Filtering

Design Case (40mm Annular Control Board) This application design simplifies and optimizes the sensorless control algorithm for Brushless Direct Current (BLDC) motors, which is typically implemented by Digital Signal Controllers (DSC) or high-end 16/32-bit microcontrollers. It achieves complete control functionality on the New Tang enhanced 1T 8051 core microcontroller, highlighting the overall cost-performance ratio of … Read more

Guide to Using STC Microcontrollers in Intelligent Vehicle Competitions

Guide to Using STC Microcontrollers in Intelligent Vehicle Competitions

National College Student Electronic Design Competition, STC 32-bit 8051, fastest 1T 8051 selection, all STC chips are 【free + shipping】: 1 , Chips: 1T 8051, 32-bit 8051, chips in various packages Special reminder: The recommended competition chip for the 18th Intelligent Vehicle Competition is STC32/STC8H:STC32G12K128: Supports DMA / Supports simulationSTC8H8K64U: Supports DMA / Supports simulation. … Read more

Essential Knowledge for Microcontroller Beginners (2)

Essential Knowledge for Microcontroller Beginners (2)

The Six Important Parts of Microcontroller Learning Applications  1. Bus: We know that a circuit is always formed by connecting components through wires. In analog circuits, wiring is not a problem because the relationship between components is generally serial, and there are not many connections between components. However, computer circuits are different; they are centered around … Read more

Why Use RTOS with Limited Resources in Microcontrollers?

Why Use RTOS with Limited Resources in Microcontrollers?

For engineers working with microcontrollers, especially those using the 8051 series, the question often arises when discussing RTOS: “Why use RTOS? With such limited resources in microcontrollers, can RTOS ensure efficiency?” In response to this question, I would counter: “What is your purpose in using a microcontroller? Is it to program in C, assembly, or … Read more

Mastering Nuvoton Keil’s 8051 RAM Distribution and Operation Techniques Quickly

Mastering Nuvoton Keil's 8051 RAM Distribution and Operation Techniques Quickly

▲ Click☆to star me to prevent losing contact In embedded development, the distribution and usage of RAM are key factors affecting code efficiency and performance. Nuvoton, as a leading manufacturer of the 8051 series products, has launched several series such as MS51, ML51, CM1003, etc. This article will take you deep into the distribution of … Read more

AT89C51-Proteus Simulation of Microcontroller and LCD Interface (4-bit Mode)

AT89C51-Proteus Simulation of Microcontroller and LCD Interface (4-bit Mode)

Overview of 8051 Microcontroller and 4-bit LCD Interface This example explains how to connect a 16×2 LCD to the 8051 microcontroller in 4-bit mode, thereby reducing the number of microcontroller pins required. It covers software tools such as Keil uVision (for coding) and Proteus (for simulation). The code example demonstrates how to send commands to … Read more