Latest
External interrupt 0/1
External interrupt 0/1 External interrupt 0 or 1 is essentially the same, only EX and IT are changed to 0 or 1. Q: Then the question is: why do we have two very similar external interrupts 0 or 1? A: When there are two external interrupts, such as ...
Keywords: External interrupt MCU CPU processing
Publish Time:2024-08-15
LCD with character display I LOVE YOU
LCD with character display I LOVE YOU 1602 is a character LCD, which contains 128 ASCII characters, so it can display ASCII characters, but not Chinese characters. 1602 can display two lines of information, 16 characters per line, 5 ...
Keywords: LCD character liquid crystal display
Publish Time:2024-08-15
80C31 MCU external interrupt 0
80C31 MCU external interrupt 0 *External interrupt 0 interrupt, the effect is that the lower four bits are lit, when the interrupt occurs, the upper four bits are lit, after the interrupt ends, the program returns to the main program and continues to light up the lower four bits* include include ...
Keywords: 80C31 single chip microcomputer external interrupt 0
Publish Time:2024-08-15
Timer/Counter 0 (Counter)
Timer/Counter 0 (Counter) * Effect description: Counter interrupt: through the external design count, the program execution is interrupted once, when the interrupt occurs, the high four bits are bright, and after the interrupt occurs, it returns to the main program* include
Keywords: Timer counter MCS-51 microcontroller
Publish Time:2024-08-15
Timer/Counter 0 (Timer)
Timer/Counter 0 (Timer) *Effect description: Timer interrupt: The program is interrupted once a second through the microcontroller counting. When the interrupt occurs, the high four bits light up for one second, and then the program returns to the main program after the interrupt occurs. * include ...
Keywords: Timer Counter Timer Interrupt
Publish Time:2024-08-15
Digital tube eight-digit display clock
Digital tube eight-digit display clock *Eight-bit clock* include include define uchar unsigned char define uint unsigned intuchar code duanca[10 ...
Keywords: Digital tube eight-digit display clock
Publish Time:2024-08-15
Design of DC servo motor control system based on single chip microcomputer
Design of DC servo motor control system based on single chip microcomputer Design a DC servo motor control system. The control function requires the realization of six functions of the motor: start, stop control, forward, reverse, acceleration, and deceleration. In order to realize human-computer interaction, it is necessary to use ...
Keywords: Single chip microcomputer DC servo motor control system
Publish Time:2024-08-15
Timer accurately time eight-bit clock
Timer accurately time eight-bit clock *Timer accurately times 8-bit clock* include include define uchar unsigned char define uint unsigned intuchar c ...
Keywords: Timer accurate timing 8-bit clock
Publish Time:2024-08-14
Summary of knowledge points about microcontroller interrupt registers
MCU interrupt sources 1. Generally speaking, the MCS-51 MCU has 5 interrupt sources, namely: 1. External interrupt 0; 2. External interrupt 1; 3. Timer counter 0 interrupt; 4. Timer counter 1 interrupt; 5. ...
Keywords: MCU interrupt register external interrupt
Publish Time:2024-08-14
Controlling LED Lights with a Microcontroller (Project)
include define uchar unsigned charsbit LED_RED = P2^0;sbit LED_GREEN = P2^1;sbit LED_BLUE = P2^2; 要显示 ...
Keywords: Single chip control LED lights
Publish Time:2024-08-14
Smoke sensor based on AT89C51 microcontroller
Smoke sensor based on AT89C51 microcontroller include include define uchar unsigned char macro definition unsigned character type define uint unsigned int ...
Keywords: AT89C51 single chip microcomputer smoke sensor
Publish Time:2024-08-14
Digital-to-Analog Converter ADC08009 Application
Digital-to-Analog Converter ADC08009 Application 1 include header file 2 define uchar unsigned char macro definition unsigned character type 3 define uint unsigned ...
Keywords: Digital to analog conversion ADC08009 AT89C51
Publish Time:2024-08-14
Customize the reg52.h header file (key knowledge points of microcontroller learning)
*--------------------------------------------------------------------------Custom REG52 header file @auth lei @date 2017-05------------- ...
Keywords: Custom reg52 h header file microcontroller
Publish Time:2024-08-14
Homemade 51 MCU package library
The following includes: three files, main c, gpoi c, gpio h1 *2 *main function3 * 45 include 6 include 78 void main()9 10 ...
Keywords: Homemade 51 MCU package library
Publish Time:2024-08-14
Flashing LED lights
Flashing LED lights * Main c file generated by New Project wizard** Created: Friday May 5 2017* Processor: 80C31* Compiler: Keil for ...
Keywords: Flashing LED light 80c31
Publish Time:2024-08-14
Use of Keil C51 Compiler
For those who study 51 series MCU, Keil is the most familiar one. However, under the cover of Keil UI interface, we don’t know how a 51 HEX file is generated from source code. ...
Keywords: Keil C51 Compiler
Publish Time:2024-08-14
Let SlickEdit automatically compile Keil C51 projects
Let SlickEdit automatically compile Keil C51 projects The previous article has talked about how to manually call Keil's C51 compiler to compile our project. Today I will tell you how to configure the compilation command in the SlickEdit environment. First, create a SlickE ...
Keywords: SlickEdit automatic compilation Keil C51 project
Publish Time:2024-08-14
STC8A - Simple Graphics Editor Based on JLX12864
STC8A - Simple Graphics Editor Based on JLX12864   STC8A small production: a simple graphics editor based on JLX12864. This article will introduce the driver of JLX12864, as well as the implementation of Bresenham straight line algorithm and circle drawing algorithm. ...
Keywords: STC8A JLX12864 Simple Graphics Editor
Publish Time:2024-08-14
STC8A—Core Board
STC8A—Core Board   Compared with the traditional 8051 microcontroller, the enhanced 8051 microcontroller not only has larger internal Flash and RAM, but also has more peripheral resources, usually including IIC, SPI, ADC, EEPROM, PWM (timer special ...
Keywords: STC8A Core Board 8051
Publish Time:2024-08-14
Introduction to MCU—STC89C51
Introduction to MCU—STC89C51   I have been studying microcontrollers for some time. I often see the experts answering difficult questions in forums and learn their experiences and methods in blogs. I have benefited a lot. ...
Keywords: MCU STC89C51 simulation software
Publish Time:2024-08-14

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号