-
Beginners of single-chip microcomputer should at least understand the working principle of single-chip microcomputer, let him talk about it. Then you should know the system clock, interrupts (external, internal, interrupt response flow), timing counters (timer usage?). What is the use of a baud rate generator?
How to operate the IO port (the type of monolithic machine may be different), serial port (working principle) ·· and other system resources. You should be familiar with a certain microcontroller, such as AT89S53, C8051F020....These are basic concepts and should be relatively clear.
When the concept of single-chip microcomputer system is clear, the program written and the system made in the future may be better. Finally, let's examine their ability to write programs, which is simple. It is mainly the application of system resources, and the application should not be investigated, after all, beginners can't write any good programs.
All of the above should be OK.
-
Let him write a running water lamp program, or control the digital tube display clock program.
-
I don't know if you are testing someone else, or being tested, looking at the literal meaning is like testing someone else, if you are being assessed.
Beginner. Just ask him:
1. 40% of whether you are interested in single-chip microcomputer
2. Basic circuit knowledge, such as: io structure, RAM, etc. 20%3. Let him talk about the working principle of an electrical appliance by himself, for example, the principle of a traditional TV or radio 20%.
4. Give him another 20% and have a chance to play completely independently.
-
MCU programming does not necessarily have to be assembly language, C language can be the same, and it is simpler than assembly.
-
You can first look at digital electricity and analog electricity, and then go to learn single-chip microcomputer. In fact, the assembly language of the single-chip microcomputer is not difficult, it is much easier than the C language, and some single-chip microcomputers support the C language.
-
In the process of learning single-chip microcomputer, learning assembly is very boring. Master in practice. You don't need to use compilations to make projects, but you need to understand the basics.
At present, it seems that assembly cannot be replaced by C. For example, when you learn arm, the startup ** is written in assembly.
-
To learn single-chip microcomputer is to learn assembly.
c language, since you already know it, put it aside first, write a big program later, and then use it.
Solidly learn the internal things of the single-chip microcomputer, and the hardware is the foundation.
-
The single-chip microcomputer I learned last semester, the book we used was "Single-chip Microcomputer Principles and Applications" published by Chongqing University, what I learned were all basic things, and I felt that it was quite simple to learn, you can take a look.
-
I'm also a beginner. It was 89s52 at the beginning. I don't think it's hard to get started. It's just about spending some money, it's true.
-
It would be more useful to read more books, and take a look at the program if you have nothing to do.
-
Beginners,It's best to buy a ready-made development board,This is conducive to learning from scratch,And the development board you buy can also come with learning materials,If it's less than 200 yuan,It is recommended that you buy a 51 series of single-chip microcomputer development boards,There is a search on the **,Arm's function is powerful,But the development boards are more than 500 yuan,In fact, the principle is almost the same。
-
200 pieces for a single-chip microcomputer? Are you crazy, isn't that chip factory getting big?
Let's learn C51 at the beginning, our school teaches with this, and other models can draw inferences.
If you have learned the principle of crisis, this course will be very fast, if you haven't learned, you have to work hard, I just didn't learn the microcomputer principle in school, and I made up for it when I opened a single-chip microcomputer in the second semester.
Go buy a primer, the computer books of Beihang are very good.
When our school opened a single-chip microcomputer class, I bought component welding products by myself, and I personally think that it is more efficient to do small projects by myself, and if you don't know how to do your project, you can't do it, and if you can't do it, you will be forced to turn the book to learn theoretical knowledge, so the cycle is still very good. What classic products can be made at the beginning, such as: running lights, 60-second countdowns, electronic clocks and so on.
Later, I could choose my own projects and plan my own goals, and I later made multi-functional electronic clocks, multi-functional electronic organs, etc.
As for the development board, I think the more you need the development board in the later stage, because when you write a subroutine about a certain external device, you need to verify the reliability on the development board, and you can't solder a board every time you verify the program. If you want to use it all the time in the future, buy the brand. If it's just for studying, just go and take a look at it, it's a lot, and it's cheap, and it won't exceed 250 yuan.
In addition, if you want to do low-level driver development in the future, you should learn basic courses such as digital circuits, analog electronics, and microcomputer principles. Otherwise, it will not be easy.
Still have questions to email me:
-
MCU, I'm only getting the 51 series now. It's okay to get this around.,It's easy to learn any series in the future.,Go buy a primer.,Learn and do it as you go.。
-
I bought an AT-12A 51 MCU learning development board.
**Look for it!
The tutorials are good too! You try!
-
The price paid for learning a microcontroller is the same as learning ARM, so it is better to learn ARM directly.
-
It feels like this app is a bit weird. When lighting the LED, there is no delay function to make the LED light up for a certain amount of time.
However, let's talk to the landlord as well.
The function of this program is to light up the digital tube and make the digital tube display the number ". But the single-chip microcomputer does not know how to display numbers", so the software decoding is used: the function of the dm[ ] array is to fill in the numbers you want to display in parentheses, and the dm[ ] automatically "translates" the high and low levels that the pins need to output, so that the digital tube displays the corresponding numbers.
So p0=dm[1] is to display the number "1". p0=0xff is to make all pins output high - extinguish all digital tubes.
-
Above is a program of four digital tubes forming a 100,000-bit display, the digital tube is connected to the common yang, unsigned char code dm[10]=; This array is the segment code of the digital tube display: 0,1,2,3,4,5,6,7,8,9, that is, when the P0 port register is 0xc0, the digital tube displays 0, 0xf9 displays 1, p0=dm[1]; It is to display 1, p0=0xff that is, the digital tube is not turned on at all, and nothing is displayed. When the program runs down, the digital tube will display "1234", and finally extinguish it because of the fast speed, you can't see the extinguishment.
-
I'm a little dizzy.,Dude is really a beginner.,But it's pure C language.,You can understand it without learning a single-chip microcomputer.。
dm[10] is a one-dimensional array with 10 elements from 0 to 9, dm[10]=;
dm[1] is the first element in the array dm[ ], which is 0xf9.
So p0=dm[1]; It is to assign the number of 0xf9 to the p0 port p0 is the io port of the single-chip microcomputer, there are a total of 8 pins, 0x is the prefix of the hexadecimal number, 0xff is equal to binary 11111111 is equal to 255 in decimal
p0=0xff , that is, let all the p0 ports output high.
-
My single-chip microcomputer is self-taught, just started to find some ** from the Internet, Guo Tianxiang's is very good, while reading** while reading, reading books is not the purpose, is to read as a reference book, **don't know how to read**, after reading a few lessons, I began to use the universal version of the welding circuit, first from the smallest system, and then add running lights, buzzers, etc., the process of welding is the real learning, really understand the circuit, you will have a harvest.
Finally, I wish you a speedy success.
-
Buy a learning board yourself, find some ** from the Internet, such as Guo Tianxiang, he is taught step by step, if you want to learn, you must learn to understand, as for the board If you want to learn faster, buy him, if you want to learn more, buy another, the advantage is that you can learn from the middle school to understand two different learning boards, quoting the words of the second floor: "Reading while reading, reading is not the purpose, that is, when the tool book is to read, **don't know how to read**, after reading a few lessons, I began to use the universal version of the soldering circuit, Start with the smallest system, then add running lights, buzzers, etc., the process of welding is the real learning, and if you really understand the circuit, you will have a harvest".
It's nothing more than the control of the pins, rest assured, it's not difficult.
-
Hardware structure.
If you don't manage and don't understand, you must keep in mind a sentence: hardware determines software.
-
It is best to order a magazine about electronic production, such as electronic production, wire and electricity, etc. are very good, and there are many electronic experiments that beginners do.
-
Well, you can go to Cepark E-Park and learn to see.
There are events every month ...
-
Of course, you have to use 5V, but you should choose a higher power one to prevent the current from being too large and the voltage from dropping, and the output power will be lower and lower, so that you can't drive your circuit.
-
MCU learning materials, MCU tutorials, a tutorial that does not occupy memory, there are cases.
-
1. There is a learning board, which does not need too many functions, and it is simple and convenient. Mainly include LED, digital tube, 24C02, 93C46, infrared, DS18B20, matrix button, independent button, 1602 LCD, 12864 LCD, etc. The above modules are all classic modules, and the ones involved are relatively comprehensive, such as IIC interface, SPI interface, single bus interface, etc., all of which are available.
If you can master the above modules well, you will have a foundation.
2. Do more hands-on programming, make up first, and then ask. When you encounter a problem, you can find a way to solve it, and if you can't solve it, you can ask your friends for help. It is not advisable to find someone to solve a problem as soon as you encounter it. Learn to find problems, analyze problems, and then solve them.
3. Look more. It is that you can look at other people's programming methods and ideas when you have time. **Don't just understand it, just understand the ideas.
Everyone has everyone's ** habits and structure, not that only those who can understand others are masters. Since you are a computer, you should know that ** is secondary, and process and architecture are the most important.
oral English More practice can achieve obvious results in a short period of time But once you stop, go back methods:Talk more Watch more English movies Cultivate language sense and English thinking Think about how to say a sentence in English Start with the simple.
See below for learning methods:
When learning the basics, you can apply for some financial management courses, or you can learn the basics in the app of investor education. There are many ways to manage money: wealth management products, treasury bonds, time deposits, and investors can choose the right products according to their own circumstances. >>>More
Novice makeup first moisten**, first apply the foundation evenly to the face with your hands, then apply the BB cream to the face, then apply the double eyelid patch, choose your favorite color for the eyeshadow part, then apply blush, and finally set the makeup with loose powder. >>>More
First of all, the defender, if a beginner has figured out their own positioning, then they can train with a purpose, and they can improve faster. The type of guard generally focuses on the ball control training of the left and right hands and the layup of the left and right hands, and the general training method is as follows: (the daily training time is not much, about an hour and a half can be completed, but the focus is on persistence, not how hard the training is). >>>More
Don't take their word for it, the Johnson JD16 is the brand's problem model, you should know that the thinner the panel, the better the tone, okay? In order to improve the tone, Johnson produced a batch of problems with thin faces, which would bulge the top due to the pull of the strings over time, and there was a possibility of cracks ......So whether it's a physical store or **JD16, it's quite cheap. >>>More