-
I was self-taught, in June last year. To learn single-chip microcomputer, you need to know a little bit of the most basic knowledge of analog electricity (such as how to light up the LED, how to use the transistor, etc.), and you also need to understand some digital electricity (at least to know the three logical relationships between and or not, and some basic knowledge of logic operations and digital electricity). In terms of programming, I think the C language is more suitable for beginners to get started, at least I started with the C language first (I also had zero knowledge of the C language before), and the curriculum of our school is also only to learn the C language development of the single-chip microcomputer.
In fact, I think assembly is also a very powerful language (I only started to learn to assemble by myself this spring), it has its own advantages and disadvantages with the C language, the C language is closer to human thinking, has been developing complex large-scale programs, and it is relatively fast to get started, and the portability is strong (that is, a program developed for this kind of single-chip microcomputer, which can be used on other types of single-chip microcomputers without particularly large changes), but the efficiency is low, and there are a small number of functions The C language cannot be realized. Assembly language has high efficiency and can be optimized and written according to hardware, but the disadvantage is poor portability, readability is inferior to C language, and programming ideas are closer to machine language.
-
The knowledge of the transistor in the analog circuit must be understood, the digital circuit must be understood, if you learn the assembly language carefully, and then use c to learn this when developing, first understand the circuit of the development board, for example, it is better to use the assembly lamp to practice, first use assembly, and then use c
-
Oh digital circuits and analog circuits! These two subjects must be learned, and learning these two subjects is as simple as eating
-
The courses you need to learn to learn microcontroller are: digital circuits, analog electronics, and C language.
Related introduction: 1. MCU is an integrated electrical or circuit chip, which is a small and perfect microcomputer system composed of a small and perfect microcomputer system composed of ultra-large scale integrated circuit technology to integrate the functions of the first processor CPU, random access memory RAM, read-only memory ROM, timer and counter with data processing ability into a silicon wafer, which is widely used in the field of industrial control.
2. The circuit that uses digital signals to complete arithmetic and logical operations on digital quantities is called a digital circuit, or a digital system. Because it has logic operation and logic processing functions, it is also called a digital logic circuit. Modern digital circuits are constructed from several digitally integrated devices made in semiconductor processes.
3. The signal is a continuous change signal in time and value, which is called an analog signal. Then the electronic device that transmits by analog signals is called analog electron.
4. C language and brigade is a general-purpose computer programming language with a wide range of applications. C is designed to provide a programming language that can compile in a simple way, handle low-level memory, generate a small amount of machine code, and run without any runtime support.
You use a P1 port to control the dynamic scanning of 8 digital tubes, and the dynamic scanning display of digital tubes needs to be blanked. >>>More
void key0()
if(p1_0!=1) *If the key 0 is pressed. >>>More
Step 1: ANL is Logic and Operation.
That is to say, the first step is to perform and calculate the content in A and 47h in 34h. a=10000011 34h=00110100 >>>More
Overview of microcontrollers.
1. What is a single-chip microcomputer A computer that can work should be composed of several parts: CPU (for operation and control), RAM (data storage), ROM (program storage), input and output devices (such as: serial port, parallel output port, etc.). >>>More
A: The bit-addressing area is located between 20F and 2Fh in the data memory. The registers in this interval can be bit-addressed, and they can be bit-manipulated and bit-arithmetic. >>>More