1. Which microcontroller should I start with?
In the group, people keep asking, should we learn 51, AVR or PIC? Which configuration is better for the same series? I especially emphasize that everyone should understand that what microcontroller we are considering now is to learn for entry? It does not mean that you will only use this microcontroller in the future. For entry, we should choose the one with the most complete information, the most representative, and the most likely to be mastered, which must be 51. I have said this in the group and mentioned it in the previous blog. Some people have doubts about this.
What are the differences between different series of microcontrollers? (51 and AVR belong to different series)
Let's talk about lighting up a LED. The way to light up a LED is to output a voltage level to an IO port to light up the LED. This is the same idea regardless of the microcontroller. The only difference is that we use different software to generate the program, load different header files, and configure different register names. We still use C programming. Just like we learned to listen to music on a computer, do you care what computer, operating system, and playback software you use? As long as you learn the steps to listen to music, you can use anything to listen to it. It's just a matter of getting familiar with the environment.
What we need to learn now is programming ideas. With the ideas, you can learn any microcontroller.
What are the differences for microcontrollers in the same series?
The difference between the same series of single-chip microcomputers is nothing more than the higher supported crystal oscillator frequency, larger ROM and RAM capacity, faster read and write speed, and high integration. Just like a computer, no matter how your computer changes, it is nothing more than faster speed, larger hard disk capacity, higher memory, faster read and write speed, richer or highly integrated peripheral interfaces, and your operation is still the same. It doesn't mean that you won't be able to use it if you change a computer, it's just that different needs require different configurations, that's all.
In a word: trust me, just listen to me, use 51 to get started.
2. Should I buy a development board?
Some people think you should buy it, because you can get started quickly and there are download lines and so on; some people think you shouldn't buy it, because you can save a lot of money and you can do it yourself to improve your practical skills. I think both views are correct, and the most important thing is to look at your own situation.
If someone wants to buy a board but says they don’t have money, I think that’s bullshit.
If you have no hardware foundation, I suggest you buy a development board. There is a brother in the group who soldered it himself and couldn't solve the problem of a download line in a week. This is really a big blow to enthusiasm. Not to mention programming later. When you have a problem, you really don't know whether it is the hardware or the software. I guess you can't do it. Beginners must ensure that their hardware is fine, so that they can learn quickly; when you have learned the software, you can do the hardware. The sense of achievement is very important when you are a beginner. Don't confuse yourself because of the hardware.
You originally wanted to "work with" hardware, but in the end you find that you are "worked with" by the hardware.
In a word: trust me, just listen to me, you need your own development board.
3. What textbooks to use
Why do I raise this question? Someone in the group mentioned this question a few days ago, and I found that the mentality of beginners is very interesting. They are like headless flies. When they hear something good, they want to see it immediately, as if others have it and they have suffered a great loss if they don’t have it. Don’t do things that are like picking up sesame seeds and losing watermelons.
I find that people are now leaning towards these two books:
"Teaching You How to Learn Microcontrollers Step by Step" published by Beijing University of Aeronautics and Astronautics Press, author Zhou Xinghua.
"New Concept 51 Single Chip Microcomputer C Language Tutorial" was published by the Publishing House of Electronics Industry, written by Guo Tianxiang.
My suggestion is that you only need one of the above books. Both are good, so there is no need to read both. You can also read one more:
"C Language Programming" published by Tsinghua University Press, author Tan Haoqiang.
I strongly recommend buying books, not just reading PDF documents. (I was a little surprised that a friend in the group graduated from college and didn't know what PDF was.)
In other words: trust me, just listen to me, and stop wasting time looking for books.
Three people go together there must be my teacher.
A teacher teaches, imparts knowledge, and resolves doubts!
Previous article:Common Problems for C Language Beginners
Next article:What is a microcontroller? What can a microcontroller do?
Recommended ReadingLatest update time:2024-11-16 14:57
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [NXP Rapid IoT Review] Finally received it, routine unboxing
- STM32F429 uses freemodbus to communicate with the computer and shows a write communication error
- Talking about RF5 architecture
- EEWORLD University ---- High-speed data converter signal processing: real and complex modulation
- Ultra-low power Bluetooth controlled, cost-effective, dimmable smart lighting solution
- How to use the serial port of Sinlinx A33 development board
- EEWORLD University Hall----Live Replay: New requirements for connectors in 5G multi-scenario terminal applications and Molex's 5G connection solutions
- MSP430F1232 Minimum System Test MCU AD10 Programming
- Top 10 Noise Issues in High-Resolution Delta-Sigma ADCs
- 【NXP Rapid IoT Review】+ 4. Simple temperature and humidity monitoring