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