Some doubts about microcontroller beginners

Publisher:创意梦者Latest update time:2015-10-22 Source: eefocusKeywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
I have just opened a few microcontroller beginner groups, and I have seen that there are a lot of debates on several issues. I would like to share my views on a few of these issues here.

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!

Keywords:MCU Reference address:Some doubts about microcontroller beginners

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

AVRWARE++ Development Notes 7: 74HC595 Serial Control LED Light Experiment
         This article is only for beginners, experts please skip it!     1. Experimental purpose Use the IO port of the microcontroller to simulate the SPI bus timing logic, control 24 LEDs through 74HC595, and learn how to use 74HC595 serial control.        2. Experimental content     Write a program to light up al
[Microcontroller]
AVRWARE++ Development Notes 7: 74HC595 Serial Control LED Light Experiment
Power-off protection of AVR microcontroller
Introduction: How to protect data in EEPROM during power failure I want to save data (3 bytes) to EEPROM when power is off, and use BOD power-off detection, but I don't know how to use it. I hope experts can give me some advice: 1. After setting BODEN and BODLEVEL in the BOOT area, how should the software be set late
[Microcontroller]
Microcontroller C language tutorial: C51 constants
In the previous article, we learned about the data types supported by the KEIL C MCU C language compiler. How are these C51 data types used in the definition of constants and variables? Is there anything to pay attention to? Constants are quantities that cannot change their values ​​during program execution, while v
[Microcontroller]
Microcontroller C language tutorial: C51 constants
MCU code for fully automatic washing machine controller design
The washing machine controller based on the single chip microcomputer uses a two-digit digital tube to display the washing time, and uses a driver chip to control the motor rotation . The course design of the fully automatic washing machine is based on the 51 single chip microcomputer and implemented in C language.
[Microcontroller]
MCU code for fully automatic washing machine controller design
Two methods of 51 single chip microcomputer output PWM
The 51 series microcontroller has no PWM output function, but can use the timer and software to output. It is very practical for occasions where the accuracy requirement is not high. The circuit diagram is shown in Figure 1, which uses a high-speed optical isolation (6N137) output and inverts the PWM signal.
[Microcontroller]
Two methods of 51 single chip microcomputer output PWM
Students who like single chip microcomputers, come and have a look, the experience of those who have experienced it
Today is Saturday. Since it is the off-season, I don't have to work overtime on Sunday. I got up early in the morning and took my newly bought mobile hard drive to download the PIC test materials from the office. I started studying on the computer in my dormitory. Since I want to study hard, I can't just talk about it
[Microcontroller]
Creating Machine Life with AVR MCU
1 What is machine life?        Machine life is a machine that can survive autonomously, a machine that automatically struggles to survive. For machine life, survival means that the power supply is not cut off and it continues to run. Machine life has the characteristics of completely autonomous decision-making, autono
[Microcontroller]
Creating Machine Life with AVR MCU
Design of microcontroller emulator based on SST89C54/58
1 Overview   SST89C54/58 (referred to as 89C54/58) is a multi-purpose 51 series microcontroller launched by the American SST Company. It integrates a 20 kB/36 kB SuperFlashE'PROM program memory, which is divided into BLOCK0 (16kB/32kB) and BLOCKl ( 4kB) two pieces. Among them, BLOCKl can be mapped to the highest or l
[Microcontroller]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号