Home > other >  How to study 51 MCU
How to study 51 MCU

Time:11-16

When I first contact MCU completely don't know what is the single chip microcomputer in the university classroom listening is foolish at that time still a freshman learning school 51 single chip microcomputer to know about its pin function has a total of 20 pins clock reset crystals are used to start up the 51 single-chip microcomputer actually lies in the use of c language write function one by one and then we need to call in the main program,

CodePudding user response:

LZ continue refueling

CodePudding user response:

How to say,,, now just search on the net, a tutorial, is recommended from bi li bi miles to find tutorials,
Learning words, mainly in two ways:
1) hardware: 51 MCU peripheral hardware circuit is simple, actually other microcontroller circuit are also not too much, the clock, reset, the power supply, then, and you see those other chip circuit of a tutorial, individual is not very recommended directly buy a development board, best oneself buy a discrete component, get their piece of bread plate welding, in this way can impression more profound
2) software: 51 software is also very simple, after all, 8-bit microcontroller, also does not have too many resources, first look for C language tutorial on the net, personally, recommend dark horse programmer C language tutorial, C language almost, said another access to the single chip microcomputer (at least know basic control statements, variable, function, predefined, structures, arrays, pointer); Then, download a keil this is special microcontroller programming software, and then, his taobao buy a 51 minimum system board, first turn to buy a USB serial downloader, buy a few leds, several 1 k resistor, bread plate connected, follow the tutorial to learn lamps,
To this, congratulations, you have started

CodePudding user response:

Buy a development board, such as new tang N76E003, or directly buy STM32,
Development board supporting routines and video tutorials,
Go to the individual learning, insist is important, it is the C language, and understand the knowledge of the points on the body,
Clock, I/o port, timer, serial port, PWM, and add some small module to communicate, learn, IIC, SPI, etc

CodePudding user response:

refer to the second floor huaijin622 response:
how to say,,, now just search on the net, a tutorial, is recommended from bi li bi miles to find tutorials,
Learning words, mainly in two ways:
1) hardware: 51 MCU peripheral hardware circuit is simple, actually other microcontroller circuit are also not too much, the clock, reset, the power supply, then, and you see those other chip circuit of a tutorial, individual is not very recommended directly buy a development board, best oneself buy a discrete component, get their piece of bread plate welding, in this way can impression more profound
2) software: 51 software is also very simple, after all, 8-bit microcontroller, also does not have too many resources, first look for C language tutorial on the net, personally, recommend dark horse programmer C language tutorial, C language almost, said another access to the single chip microcomputer (at least know basic control statements, variable, function, predefined, structures, arrays, pointer); Then, download a keil this is special microcontroller programming software, and then, his taobao buy a 51 minimum system board, first turn to buy a USB serial downloader, buy a few leds, several 1 k resistor, bread plate connected, follow the tutorial to learn lamps,
To this, congratulations, you have already started


When you started MCU, you need to learn more knowledge!

First of all must be proficient in using C language, make a main is to use C language to develop,

For example:
1, bus class
I2C bus - corresponding device AT24C02, SD2405
SPI bus
RS232
RS485
2, the agreement
MODBUS RTU
TCP IP
MTQQ agreement
3, the operating system
FREERTOS
UCOSII
RT - THREAD

All in all, buy a secondary development just study hard! Famous development board are: accurate atomic development board, wildfires development board, enjoy wealth development board, the shenzhou development board,







CodePudding user response:

I think bi li bi li I is a good learning software, there are a lot of resources available, it is best to buy a single chip microcomputer development version, in accordance with the information to learn, he had to give the video re-read it, this is how I learn microcontroller, if there are any inappropriate, please forgive me

CodePudding user response:

Bi li bi li a lot of video

CodePudding user response:

Personal a total of four words, hard and soft inside, from outside to inside, from hard to soft, if further comprehensive study embedded the 51, for example, to understand the chip inside the building, with what register, what is the difference between the IO port, etc., to understand how to meet these you know peripherals, what need external pull-up resistor, what do not need, which received outside which pin is more convenient, etc., as to be familiar with the hardware can to improve your code, know when to set what level, and so on, to understand these basically is about the same on a chip,
Communication protocols, do software deal with software, hardware hardware agreement, understand the protocol is very convenient, if the company, other basically encapsulation, but agreement basically universal and enduring,
  • Related