Introduction to Keil Development Tools

Introduction to Keil Development Tools

Keil Keil consists of µVision + Development Tool Kit. µVision is the shell, while the development tool kit is the core, combined to form four complete software products. For example, keil5 (Keil µVision5) includes four products: • Keil for Arm • Keil for C51 • Keil for C251 • Keil for C166 Similarly, Keil4, Keil3, … Read more

Instruction Format and Basic Syntax of Assembly Language

Instruction Format and Basic Syntax of Assembly Language

Analysis of Assembly Errors in Microcontroller Assembly Language Currently, there are two different standards for the instruction format of assembly language: Assembly languages on Windows generally follow Intel-style syntax, such as MASM and NASM; whereas assembly languages on Unix/Linux generally follow AT&T-style syntax; 1. General Format of Assembly Language Statements [Name[:]] Opcode [First Operand][,Second Operand] … Read more

Microcontroller Basic Assembly Language Programming Examples

Microcontroller Basic Assembly Language Programming Examples

1. Write a program to implement the logic function “P1.4=P1.0∨(P1.1∧P1.2)∨P1.3” using bit manipulation instructions. MOV C,P1.1 ANL C,P1.2 ORL C,P1.0 ORL C,P1.3 MOV P1.3,C 2. Write a program that jumps to the LABLE storage unit if the contents of accumulator A meet the following conditions. Assume the unsigned number is stored in A. (1) A≥10; … Read more

315M Wireless Module Reception Program and Code

315M Wireless Module Reception Program and Code

Here is a summary of the 315M wireless module’s reception program. #include <AT89X52.H> #include "string.h" // LCD Block #define LCM_RW P3_6 // Define pin #define LCM_RS P3_5 #define LCM_E P3_7 #define LCM_Data P1 #define Busy 0x80 // Used to detect Busy flag in LCM status word typedef int byte; typedef unsigned int word; void Read_Temp(void); … Read more

Basics and Applications of Microcontrollers | 04 80C51 Instruction System

Click the blue text to follow us 1. Overview of the Microcontroller Instruction System 1. Instruction Overview Instructions: Commands executed by the CPU based on human intention to perform certain operations. Instruction System: The set of all instructions that a computer can execute. Program: A sequence of instruction operations compiled according to human requirements. This … Read more

An Overview of Intelligent Vehicle Modules

An Overview of Intelligent Vehicle Modules

Click on the above “Chuangxue Electronics” to follow and easily learn electronic knowledge. Chuangxue Electronics Subscription Account Daily updates on technical articles in the electronics industry and the latest news on microcontrollers, making it easy to learn anytime, anywhere. I was fortunate to participate in the National College Student Electronic Design Competition during the summer … Read more

Comprehensive Practical Tutorial on 51 Microcontroller

Comprehensive Practical Tutorial on 51 Microcontroller

Course Details: This course mainly introduces the process, methods, techniques, and design concepts of 51 microcontroller application system development through typical examples, focusing on the system design of the 51 microcontroller, combining software and hardware in a simple and understandable manner. This book comprehensively explains various technologies in microcontroller development through 26 module examples, including … Read more

Typical Applications of Jihai APM32F407

Typical Applications of Jihai APM32F407

A PLC (Programmable Logic Controller) is a digital electronic system used for controlling, executing, and monitoring automated machinery. It is widely applied in various fields such as building equipment control, water treatment, energy, and industrial automation, forming a large market scale. With the development of the “New Four Modernizations” in automotive electronics, the growth rate … Read more

Accurate Delay Methods for 51 Microcontroller

Accurate Delay Methods for 51 Microcontroller

There are generally two methods for implementing precise delays in the 51 microcontroller: one is hardware delay, which requires the use of timers/counters. This method can improve CPU efficiency and achieve precise delays; the other is software delay, which mainly uses loops. 1 Using Timer/Counter for Precise Delay The microcontroller system typically selects an 11.0592 … Read more

10 Essential Circuits for Mastering Microcontrollers

10 Essential Circuits for Mastering Microcontrollers

Source: ICisC Nanjing Integrated Circuit Industry Service Center 1. Choosing Pull-up Resistors for Microcontrollers As can be seen in the reset circuit, when resistor R1=10k, RST is high, but when R1=50, RST is low. It is clear that R1=10k is incorrect, as the microcontroller remains in the reset state and cannot function at all. The … Read more