I remember that when I was in school, I often used Keil and Protues to study C51 microcontrollers in the laboratory. Now it has been nearly a year and a half since I said goodbye to 51. These days, I am learning UCOSII and want to transplant UCOS to 51 microcontrollers, so I need the previous Keil and Protues, but I have forgotten them all. . . Well, let's briefly review:
1: Download Keil 4 from the Internet
Download protues from the Internet
2: Installing the above two software may require cracking (this should be known to everyone)
3: Write a simple LED flashing program in Keil 4
#include "AT89X51.H"
void sleep(int num)
{
while(num)
{
num--;
}
}
void main()
{
while(1)
{
P1_0 = 1;
sleep(100000);
P1_0 = 0;
sleep(100000);
}
}
4: Modify the output file type in Keil 4
5: Generate an executable program (suffix .hex)
6: Run ISIS (Protues simulation software)
Draw the simplest "circuit diagram"
Double-click AT89c51, AT89c52
Just select the xxx.hex file just generated by keil4
7: Click the Run button in ISIS to view the phenomenon
appendix:
Protues component name
Component Name Chinese Name Description
7407 Drive Door
1N914 diode
74Ls00 NAND Gate
74LS04 NOT Gate
74LS08 AND Gate
74LS390 TTL Dual Decade Counter
7SEG 4-pin BCD-LED output from 0-9 corresponds to the BCD code of 4 lines
7SEG 3-8 decoder circuit BCD-7SEG conversion circuit
ALTERNATOR
AMMETER-MILLI mA Ammeter
AND Gate
BATTERY
BUS
CAP capacitor
CAPACITOR
CLOCK Clock signal source
CRYSTAL
D-FLIPFLOP D Flip Flop
FUSE
GROUND
LAMP
LED-RED Red LED
LM016L 2 rows and 16 columns LCD can display 2 rows and 16 columns of English characters, with 8-bit data bus D0-D7, RS, R/W, EN three control ports (a total of 14 lines), working voltage is 5V. No backlight, the function and pins are the same as the commonly used 1602B (except for the two pins for adjusting the backlight)
LOGIC ANALYSER
LOGICPROBE Logic probe
LOGICPROBE[BIG] Logic probe is used to display the logic status of the connection location
LOGICSTATE Logical state Click with the mouse to change the logical state of the connection position of the box
LOGICTOGGLE Logic trigger
MASTERSWITCH button is closed manually and opens automatically immediately
MOTOR
OR Gate
POT-LIN Three-lead variable resistor
POWER
RES resistor
RESISTOR
SWITCH button manually presses a state
SWITCH-SPDT Two-way one-button
VOLTMETER
VOLTMETER-MILLI mV voltmeter
VTERM Serial port terminal
Electromechanical Motors
Inductors Transformers
Laplace Primitives Laplace Transform
Memory ICs
Microprocessor ICs
Miscellaneous various devices AERIAL-antenna; ATAHDD; ATMEGA64; BATTERY; CELL; CRYSTAL-crystal oscillator; FUSE; METER-meter;
Modelling Primitives Various simulation devices are typical basic component simulations, not indicating specific models, only used for simulation, no PCB
Optoelectronics Various light-emitting devices Light-emitting diodes, LEDs, LCDs, etc.
PLDs & FPGAs
Resistors
Commonly used devices in Simulator Primitives
Speakers & Sounders
Switches & Relays Switches, Relays, Keypads
Switching Devices
Transistors Transistors (Triodes, Field Effect Transistors)
TTL 74 series
TTL 74ALS series
TTL 74AS series
TTL 74F series
TTL 74HC series
TTL 74HCT series
TTL 74LS series
TTL 74S series
Analog Ics Analog circuit integrated chip
Capacitors Capacitors
CMOS 4000 series
Connectors
Data Converters ADC,DAC
Debugging Tools
ECL 10000 Series Various commonly used integrated circuits
Discrete component library component names and Chinese-English comparison
AND Gate
ANTENNA
BATTERY DC Power Supply
BELL bell
BVC Coaxial Cable Connector
BRIDEG 1 Rectifier bridge (diode)
BRIDEG 2 Rectifier Bridge (Integrated Block)
BUFFER
BUZZER
CAP capacitor
CAPACITOR
CAPACITOR POL Polarized capacitor
CAPVAR adjustable capacitor
CIRCUIT BREAKER
COAX Coaxial Cable
CON Socket
CRYSTAL Crystal Oscillator
DB parallel socket
DIODE
DIODE SCHOTTKY Zener Diode
DIODE VARACTOR
DPY_3-SEG 3-segment LED
DPY_7-SEG 7-segment LED
DPY_7-SEG_DP 7-segment LED (with decimal point)
ELECTRO Electrolytic Capacitors
FUSE
INDUCTOR
INDUCTOR IRON
INDUCTOR3 Adjustable Inductor
JFET NN channel field effect transistor
JFET PP channel field effect transistor
LAMP
LAMP NEDN Starter
LED Light Emitting Diode
METER
MICROPHONE
MOSFET MOS tube
MOTOR AC
MOTOR SERVO Servo motor
NAND Gate
NOR Gate
NOT Gate
NPN NPN transistor
NPN-PHOTO Photosensitive Transistor
OPAMP
OR Gate
PHOTO Photodiode
PNP transistor
NPN DAR NPN transistor
PNP DAR PNP transistor
POT Slide Wire Rheostat
PELAY-DPDT Double Pole Double Throw Relay
RES1.2 resistor
RES3.4 variable resistor
RESISTOR BRIDGE? Bridge resistor
RESPACK ? Resistance
SCR Thyristor
PLUG ?
PLUG AC FEMALE Three-phase AC plug
SOCKET?
SOURCE CURRENT
SOURCE VOLTAGE
SPEAKER
SW ? Switch
SW-DPDY ? Double Pole Double Throw Switch
SW-SPST ? Single Pole Single Throw Switch
SW-PB button
THERMISTOR
TRANS1 Transformer
TRANS2 Variable Transformer
TRIAC ? Three-terminal bidirectional thyristor
TRIODE ? Triode vacuum tube
VARISTOR
ZENER ? Zener diode
DPY_7-SEG_DP digital tube
SW-PB Switch
Previous article:Zigbee learning path (VI): Time3 (query method) 1. Introduction
Next article:Three modes of serial communication
Recommended ReadingLatest update time:2024-11-21 20:47
- Popular Resources
- Popular amplifiers
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- Single-chip microcomputer C language programming and simulation
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
- Single chip microcomputer control technology (Li Shuping, Wang Yan, Zhu Yu, Zhang Xiaoyun)
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- Breaking through the intelligent competition, Changan Automobile opens the "God's perspective"
- The world's first fully digital chassis, looking forward to the debut of the U7 PHEV and EV versions
- Design of automotive LIN communication simulator based on Renesas MCU
- When will solid-state batteries become popular?
- Adding solid-state batteries, CATL wants to continue to be the "King of Ning"
- The agency predicts that my country's public electric vehicle charging piles will reach 3.6 million this year, accounting for nearly 70% of the world
- U.S. senators urge NHTSA to issue new vehicle safety rules
- Giants step up investment, accelerating the application of solid-state batteries
- Guangzhou Auto Show: End-to-end competition accelerates, autonomous driving fully impacts luxury...
- Lotus launches ultra-900V hybrid technology "Luyao" to accelerate the "Win26" plan
- Is it necessary to use exhaust cleaner on new cars?
- Question about the method of reading the on-resistance of NMOS tube? ? ?
- Raspberry Pi Mini Game Console
- A new development board for the mobile station: LAUNCHXL-CC26X2R1
- Analysis of mosFET switching losses
- Industrial robot market encounters bottleneck, 3D machine vision provides guidance for robots
- Are the candied haws in a string 8? I think it should be 10
- P89LPC901-902-903 MCU Data Sheet
- Switching Power Supply Interest Group 14th Task
- Smart construction and ultra-wideband sensing of complex electromagnetic environments