Common Confusions for Beginners in Microcontroller Programming

Common Confusions for Beginners in Microcontroller Programming

Limited Time Download: Reply “Tutorial” to get the microcontroller e-book, replySimulation to get Proteus simulation materials, the Baidu group share link update time: 2017-07-8, if invalid, please leave a message at the end of the article, do not leave a message in the background, you can also search for more resources you want in the background menu “Resource Search”!

I’ve seen several microcontroller beginners issues that everyone argues about a lot, so here I want to share my thoughts on a few questions.

1. What microcontroller should I start with?

People constantly ask in the group whether to learn 51, AVR, or PIC? Which configuration is good for the same series? I particularly emphasize that we are considering what microcontroller to learn as a beginner? It’s not that you will only use this microcontroller in the future. For beginners, we should choose the one with the most comprehensive materials, most representative, and most likely to be mastered, which is undoubtedly the 51. I have said this in the group before and mentioned it in previous blogs, and some people have doubts about it.

What are the differences between different series of microcontrollers? (51 and AVR belong to different series)

Let’s get specific about lighting up an LED. The method to light up an LED is: output a level that makes the LED light up from an IO port, regardless of what microcontroller it is, this is the idea; the difference is that we use different software to generate programs, we load different header files, and the names of the configured registers are different, but we still use C programming. It’s like learning to listen to music on a computer; do you care what computer, what operating system, or what playback software you use? As long as you learn the steps to listen to music, you can use anything, just getting familiar with the environment.

What we need to learn now is programming ideas; once you have the idea, you can learn any microcontroller.

What are the differences within the same series of microcontrollers?

The differences in the same series of microcontrollers are mainly the supported crystal oscillator frequency is getting higher, ROM and RAM capacity is increasing, read and write speed is getting faster, and the degree of integration is higher. Just like computers, no matter how your computer changes, it’s just that the speed is improving, the hard drive capacity is increasing, the memory is increasing, the read and write speed is improving, and the peripheral interfaces are richer or more integrated; operating it is still the same. Changing a computer doesn’t mean you won’t know how to use it; it’s just different needs and different configurations, that’s all.

In a word: Trust me, just listen to me, start with the 51.

2. Should I buy a development board?

Some people think they should buy it because they can get started quickly, with downloading lines and everything; others think they shouldn’t buy it to save money and increase practical ability by doing it themselves. I think both viewpoints are correct, mainly depending on your situation.

If you want to buy a board and say you don’t have money, I think that’s nonsense.

For those with no hardware foundation, I recommend buying a development board. A brother in the group soldered it himself, and it took him a week to solve a downloading line, which is too discouraging. Let alone the programming later; if you have problems, you really won’t know if it’s a hardware issue or a software issue, and I estimate you won’t be able to continue. Beginners must ensure that their hardware is fine; learning will be faster; after you’ve learned the software well, you can then work on the hardware. A sense of achievement is very important at the beginning; don’t get confused by hardware.

You originally wanted to “do” hardware but ended up finding that hardware “did” you.

In a word: Trust me, just listen to me, you need your own development board.

3. What textbook should I use?

Why bring up this question? A few days ago, someone in the group mentioned this issue, and I found the mentality of beginners very interesting, like a headless fly; as soon as they hear something good, they want to see it immediately, as if others have it, and they don’t feel like they’ve suffered a big loss, picking sesame seeds and losing watermelons should not be done again.

I found that everyone is now inclined to these two books:

“Step-by-Step Guide to Learning Microcontrollers” published by Beihang University Press, author Zhou Xinghua.

“New Concept 51 Microcontroller C Language Tutorial” published by Electronics Industry Press, author Guo Tianxiang.

My suggestion is that you only need one of the above; both are good, no need to read both, plus one:

“C Language Programming” published by Tsinghua University Press, author Tan Haoqiang.

Strongly recommend buying books, don’t just read PDF documents. (I am a bit surprised that a friend in the group graduated from university and doesn’t know what a PDF is)

In a word: Trust me, just listen to me, don’t waste time looking for books anymore.

Common Confusions for Beginners in Microcontroller Programming

Limited Time Download: Reply “Tutorial” to get the microcontroller e-book, reply “Simulation” to get Proteus simulation materials.

> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

How to Share to Moments

Click the three dots at the top right “…”, select “Share to Moments” from the pop-up menu

Microcontroller Subscription Account

WeChat Name: Microcontroller updates daily various knowledge, electronic DIY production, and the latest news in the electronic industry; follow us, awesome!Common Confusions for Beginners in Microcontroller Programming

Popular Article Recommendations

Reply with the numbers below or click directly, to get related articles:

001:Must-read for Microcontroller Beginners

002:Zhou Ligong’s Words for Young People Learning Microcontrollers

003:Experts Talk: The Difficulty of Getting Started with Software and Hardware and the Span of Mastery Time

004:Feelings on Learning the 51 Microcontroller; Recommended Learning Materials; A Few Essential Programs

005:Comparison of Several Microcontrollers Used

006:《ARM+LINUX Learning Path (Learning Order, Knowledge Points, and Book Recommendations)

007:Differences and Connections Between ARM/DSP/FPGA/CPLD/SOPC/SOC

008:Interesting Electronic Production: Food Power Generation in the Hands of Artists – Electronic DIY

009:My Experience: From a Production Line Worker to a Microcontroller Engineer

010:My Friend Brought Back a Toolbox from Germany for 200,000

Click the lower left corner “Read Original“, to enterForum for Communication!!!

Leave a Comment